Download presentation
Presentation is loading. Please wait.
Published byDuane Reed Modified over 9 years ago
1
GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine
2
Agenda Pipeline Editor – Introduction Previous Work by Oyenan New Requirements Design and implementation User Feedback Demo
3
Pipeline Editor- An introduction Tool to create and manipulate virtual pipeline systems. Window to the Simulators Cut, Copy, Paste, drag and drop Store / Retrieve pipeline system in.vps format Visualize the results
4
Pipeline Editor Developed using Java Swing, JGraph, Oracle 8i Can be started on a remote machine Requirements – Java Web Start, Web browser, JDBC driver Connects to the Simulator on the remote server
5
JGraph Graph drawing component purely in Java Swing Based on Model-View-Controller framework Graph Theory + Swing Architecture = JGraph Provides cut, copy, paste, drag & drop, zoom
6
Pipeline Editor – A snapshot
7
Earlier Work by Oyenan Basic Version of the GUI Editor built on top of JGraph Modeling of pipeline components – pipes, compressors Job Control Optimizer Result Visualization
8
New Requirements Connector – generic type Modification of Pipe Compression Units Connection to the Parallel Simulator Connection to the Sequential Simulator
9
Connector Generic Type Component Multiple incoming and outgoing branches Number decided by the user at run time Replaces 2-way & 3-way Split, 2-way & 3way Combine
10
Pipes Should support visualization of the leftmost and rightmost nodes Implemented by class MyEdge – extension of JGraph’s Edge Required modification in DataCell
11
Pipe – Snap Shot
12
Compression Units Generic Type Component Comprises of a Driver and Compressor Four Basic types – Reciprocating Engine – Reciprocating Compressor Gas Turbine – Centrifugal Compressor Reciprocating Engine – Centrifugal Compressor Gas Turbine – Reciprocating Compressor
13
Compression Unit - Design Different models under each type Properties can be grouped meaningfully – Simulation Data, Operational Data, Manufacturer’s Data Type and model name can be chosen at run time. New models can be created and stored in the database
14
Compression Units-Snap Shot
15
Database Design
16
Adaptations Customized UserObject for each component Customized method to draw property panel Provision to group properties meaningfully
17
GUI- Parallel Simulator Connection is through sockets Two separate threads are used to avoid GUI freezing SimulatorClient – send user commands SimulatorDataClient – get data and status
18
GUI-Parallel Simulator
19
GUI to Parallel Simulator-Snap Shot
20
GUI-Sequential Simulator Communication is through text files in ASCII format Input text file contains graph data Output text file contains simulation data Option to set global parameters available for input text file.
21
GUI-Sequential Simulator GraphParser – Input text file generator Covert.vps to.txt
22
Sequential Simulator - GUI The Sequential Simulator generates output in standard text format. The text file is parsed by the GUI to create a live simulation effect Simulation is the same as replay
23
Sequential Simulator - GUI
24
GUI to Simulators - Supported Features Simulate (Only in Parallel version) Replay Stop Pause / Resume Step / Skip Forward Step / Skip Backward
25
Class Diagram
26
User Feedback “The GUI application fully implements these features and let users construct a natural gas pipeline system via drag-and-drop. The interface is very friendly. It can send requests to the server (simulator) and display the results back from the server in real- time. In the future, more components may be supported. The display of the results may be improved. In a word, the GUI is excellent.” - Liubo Chen, Programmer – Parallel Simulator “The GUI for the VPST is a very useful tool for the user to create any pipeline network and run the simulation process. The GUI in its present form contains all the basic components that a Pipeline network comprises off. - Ravi Kiran Addanki, Programmer – Sequential Simulator
27
Conclusion The new requirements have been satisfied The basic software has been adapted to meet the complex demands The tool is fully functional with minimum system requirements
28
Pipeline Editor in Action -A Demo
29
References www.jgraph.org www.jgraph.org Oyenan Wallemitien’s documentation on the Pipeline Editordocumentation www.java.sun.com www.java.sun.com
30
Acknowledgements Dr. Virg Wallentine Dr. Dan Andresen Dr. Prakash Krishnaswamy
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.