Processes Step by StepExperimentation
Compiling and Running the Model |
||
Now that all necessary classes are implemented, you need to compile them in order to be able to run the model. In case you did not succeed with implementing the classes on your own, you may download the complete source code of the van carrier model. Of course you will also need the DESMO-J framework, so if you haven't downloaded it yet, now is the time to do so. Make sure you add the desmoj-2.5.1c-complete-bin.jar file (or a different distribution you have chooen) as a library to your IDE or - if you don't use an IDE - place it in the same directory as your source files. Compiling and running the model is easiest from inside an IDE. If you don't use an IDE, follow these steps:
With or without IDE, running the model will produce output to the shell. You will see the following start-up message: ProcessesExampleExperiment starts at simulation time 0.0 ...please wait...
If you've set the experiment to show a progress bar (via
The execution stops quite unspectacularly with the message: ProcessesExampleExperiment stopped at simulation time 1500.0 |
||
http://desmoj.sourceforge.net/tutorial/processes/exp0.html |