Processes Step by Step

Experimentation

Conclusion

   
 

Congratulations! You have completed your first process-oriented simulation with DESMO-J.

There are many more aspects to DESMO-J like using statistical data collectors or advanced model components, or applying other modelling styles. These are covered in other sections of this tutorial. But with completing this section, you've learned which necessary steps to take to get a (process-oriented) DESMO-J model up and running.

Let us briefly summarise what we've done in this section of the tutorial:

  1. We've started with designing a conceptual model of a system found in the "real" world and identified the most important entities (parts) of that model.
  2. Then we've implemented our model class. Starting with the static model components (queues, distributions...) we've worked our way through the constructor, the description(), init() and the doInitialSchedules() methods. Last but not least, we've implemented a main() method to be able to run our model.
  3. We've then implemented each of the dynamic model components as simulation processes, which includes defining their behaviour in the lifeCycle() method.
  4. Finally, we've run the model and taken a look at the results. We've also changed our model slightly (varied a model parameter) in order to optimise the queueing system's throughput.


   
  http://desmoj.sourceforge.net/tutorial/processes/exp4.html