Pipes
Java Discrete Event Simulator
Razvan Surdulescu (c) 2003
[See my other software on SOFTPEDIA.]
Abstract
Pipes is a Discrete
Event Simulator written in Java. It was written entirely from
scratch as a final project for CS380n.
It was inspired by HyPerformix's Workbench
product, from which it borrows a number of concepts and visual
elements.
Documentation
The documentation for Pipes is available here.
Here are the final presentations:
- Final Presentation 1: PDF,
HTML
- Final Presentation 2: PDF,
HTML
Source
The source for Pipes is available here.
Here is how to compile the source:
- Install and configure Apache Ant,
version 1.5.2 or newer.
- Install The Mind Electric's,
Electric XML
parser, version 6.0.3 or newer.
- Download Pipes-src.zip and save it
somewhere on your hard drive.
- Unzip it: this will create a subdirectory called "Pipes".
- Go to the Pipes subdirectory.
- Edit the file "build.xml" and change the line
"<fileset dir="d:/Dev/electric/lib">" to point to
the path where you installed Electric XML.
- Type "ant" to build the Pipes binary.
Binaries
In order to run Pipes you need to have a Java Virtual Machine installed
on your computer. The product has been tested only using Sun
Microsystems' Java version 1.3.1, but it should work on newer
virtual machines as well.
You can run Pipes in two different ways (see below for
details):
-
Command line: download and execute manually
-
Java WebStart:
execute automatically
Command line execution
-
Check that you have a Java Virtual Machine installed by
typing java -version. Here is an
example:
C:\>java -version
java version "1.3.1_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03)
Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed mode)
If you do not have a Java Virtual Machine installed, or if it
is the wrong version, download one from here.
-
Download the following files and store them in the
same directory anywhere on your hard drive:
-
-
Launch Pipes by typing java -jar Pipes.jar
in the directory where you stored all the binaries above.
The main window will appear on the screen shortly. Open
"CarWash.xml" and play with it.
Java WebStart execution
-
Check that you have Java WebStart installed by launching a
demo application at the demos
site. If you do not have Java WebStart installed, download
it from here.
-
Download the file CarWash.xml
somewhere on your hard drive.
-
Launch Pipes:
Note: You will be prompted
with a window telling you
that Pipes needs unrestricted access to your local machine:
this is because Pipes must be able to load and save models.
Click "Start" to continue or "Exit" if
you are not comfortable with this requirement.
The main window will appear on the screen shortly. Open
"CarWash.xml" and play with it.