DESMO-J Distilled

Experimentation

   
 

Having successfully compiled all classes you are ready to run your model. A DESMO-J experiment automatically produces a number of pre-formatted files (default is HTML output):

  1. <Experiment_Name>_report.html contains the model’s results as computed by the used data collectors.
  2. <Experiment_Name>_trace.html contains a detailed trace of the model’s behaviour. Note that you have to set a trace period as one of the experiment’s parameters before running the model in order to generate any content in here.
  3. <Experiment_Name>_debug.html contains snapshots of the event list. As with the trace file, you have to set a debug period in order to generate content for this file.
  4. <Experiment_Name>_error.html contains any warnings or error messages that occurred during the simulation run, e.g. if an attempt was made to remove an entity from a queue in which it wasn’t contained. Such an error in the model’s logic might not result in an immediate abortion of the run. Thus, you should always have a look at the error file since a completed experiment does not guarantee the model is working correctly.

These files are usually placed in the current working directory. They can be redirected by explicitly specifying a path when instantiating an experiment.



   
  http://desmoj.sourceforge.net/tutorial/distilled/4.html