A simulation report is a text file that contains information regarding the transitions that occur during a simulation.
Simulation reports for a given net are saved in simulation output directories as determined by Output management. The location of simulation output directories is determined, in part, by the output option in the net overview of the net. Simulation reports are saved by default as
If the simulation output directory cannot be found or created, then an error will be reported.
A simulation report will be created only if the “Save Report” option is checked. Click the check box next to the “Save Report” entry, if it is not already checked.
When the “Save Report” option is checked, transition names are recorded in the simulation report. For each simulation step, a line is stored whose syntax is:
step time TransitionName @ (Instance:PageName)
An example of a simulation report can be found below.
A more detailed simulation report will be saved if the “Save Bindings” entry is also checked.
In this case, bindings of variables are also saved in the simulation report. For each simulation step, a line for each variable of the transition is stored. The syntax of the line is:
- variable = value
The following is an example of a simulation report for the Resource allocation example system, which is one of the Example nets. The simulation report contains, among other things, information about the first four steps of the simulation.
CPN Tools simulation report for: C:\Program Files\CPN Tools\Samples\ResourceAllocation\ResourceAllocation.cpn Report generated: Fri Jan 27 10:12:48 2006 1 0 T2 @ (1:Top) 2 0 T1 @ (1:Top) 3 0 T3 @ (1:Top) - i = 0 - x = p 4 0 T4 @ (1:Top) - i = 0 - x = p
The second line shows the path to the net file. The third line shows the time at which the report was created. The fifth line specifies that in Step 1, a transition named
The simulation report was generated as follows: