GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor:...
-
Upload
duane-reed -
Category
Documents
-
view
235 -
download
0
Transcript of GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor:...
![Page 1: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/1.jpg)
GUI For A Virtual Pipeline Simulation Testbed
By,Revathi Manni Ranganathan
Major Professor:Dr.Virgil Wallentine
![Page 2: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/2.jpg)
Agenda
Pipeline Editor – Introduction
Previous Work by Oyenan
New Requirements
Design and implementation
User Feedback
Demo
![Page 3: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/3.jpg)
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
![Page 4: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/4.jpg)
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
![Page 5: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/5.jpg)
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
![Page 6: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/6.jpg)
Pipeline Editor – A snapshot
![Page 7: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/7.jpg)
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
![Page 8: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/8.jpg)
New Requirements
Connector – generic type
Modification of Pipe
Compression Units
Connection to the Parallel Simulator
Connection to the Sequential Simulator
![Page 9: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/9.jpg)
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
![Page 10: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/10.jpg)
Pipes
Should support visualization of the leftmost and
rightmost nodes
Implemented by class MyEdge – extension of
JGraph’s Edge
Required modification in DataCell
![Page 11: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/11.jpg)
Pipe – Snap Shot
![Page 12: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/12.jpg)
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
![Page 13: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/13.jpg)
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
![Page 14: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/14.jpg)
Compression Units-Snap Shot
![Page 15: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/15.jpg)
Database Design
![Page 16: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/16.jpg)
Adaptations
Customized UserObject for each component
Customized method to draw property panel
Provision to group properties meaningfully
![Page 17: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/17.jpg)
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
![Page 18: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/18.jpg)
GUI-Parallel Simulator
![Page 19: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/19.jpg)
GUI to Parallel Simulator-Snap Shot
![Page 20: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/20.jpg)
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.
![Page 21: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/21.jpg)
GUI-Sequential Simulator
GraphParser – Input text file generator
Covert .vps to .txt
![Page 22: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/22.jpg)
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
![Page 23: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/23.jpg)
Sequential Simulator - GUI
![Page 24: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/24.jpg)
GUI to Simulators - Supported Features
Simulate (Only in Parallel version)
Replay
Stop
Pause / Resume
Step / Skip Forward
Step / Skip Backward
![Page 25: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/25.jpg)
Class Diagram
![Page 26: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/26.jpg)
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
![Page 27: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/27.jpg)
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
![Page 28: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/28.jpg)
Pipeline Editor in Action -A Demo
![Page 29: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/29.jpg)
References
www.jgraph.org Oyenan Wallemitien’s documentation on the
Pipeline Editor www.java.sun.com
![Page 30: GUI For A Virtual Pipeline Simulation Testbed By, Revathi Manni Ranganathan Major Professor: Dr.Virgil Wallentine.](https://reader036.fdocuments.net/reader036/viewer/2022062301/56649ead5503460f94bb3eb2/html5/thumbnails/30.jpg)
Acknowledgements
Dr. Virg Wallentine
Dr. Dan Andresen
Dr. Prakash Krishnaswamy