Saving and Restoring

Component State Sample Paths

The component state information is saved in the data set WORK.SAMPLE. For each change of state in the simulation, a new observation is added. This data set contains three variables: TIMENOW, the simulation time when the state change occurred; ID, the id of the component that is changing state; and STATE, the value of the new state. Figure 8.9 shows an example. Notice that the ID corresponds to either the server or the queue as given in the dictionary in Figure 8.8.

datacomp.gif (2804 bytes)

Figure 8.9: An M/M/1 Component State Sample Path Data Set

Sample path data are not saved to WORK.SAMPLE until the Collect Data check box in the Simulation control panel (see Figure 2.5) is selected.

Previous Page | Next Page | Top of Page