DESMO-J at Work

The Plain Variant

The Debug and Error Reports

   
 

There are two more report files generated after the simulation run by the framework:

The debug file contains additional information that might aid the modeller in the validation of their model. In our example, the access of the berths (modelled as a desmoj.core.advancedModellingFeatures.Res object) is logged in detail. Every time a ship requests a number of resources or returns its resources after use, the current state of the resource object is listed in the debug file. Thus you can see exactly how many resources are obtained by which ship processes and which processes are currently waiting because their requests couldn't be satisfied yet.

Open the debug report!

The error file contains every warning or error message regarding (logical) error situations that did not cause abortion of the simulation run. A warning message is generated by DESMO-J, for instance, if you try to activate a process after a non-existing process, or if you try to remove a process from a queue that doesn't contain this process. An error message is generated, for example, if you try to create a simulation time object with a negative value.

Hopefully, you'll find the error file as void of error messages like in our example. You should note, though, that an empty error file does not automatically guarantee that your model is valid!

Open the error report!



   
  http://desmoj.sourceforge.net/tutorial/at_work/plain3.html