See the schedule help and
tutorial 3 for more information on the
schedule property.
The schedule property defines the execution schedule of the actions
defined in your network plot
Although there are no user-definable actions associated with the
Network Plot component, SimBuilder implicitly defines one action
that you MUST schedule in order for plotting to work. In addition
a second action will be available if you have choosen to record the
plotted statistics to a file. These two actions are:
- step. Calculates the current value of the statistics you have
chosen to plot, and plots those values.
- writeToFile. Writes the statistical values recorded and plotted
by step to the file specified by the File Name property.
A typical execution scheme for the Network Plot might have the
step action scheduled to execute every tick, and the writeToFile action
(assuming recording to a file is desired) every 40 or 50 ticks executing
LAST as well as the at the end. The point being that writeToFile should occur
at some large interval.
Note that you can edit the relative order of all your scheduled action executions in
the master schedule property of your model component. Doing so, you
can ensure that step and write are executed when you want them to
relative to the rest of your simulation.
|