Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
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 7.9 shows an example. Notice that the ID corresponds to either the server or the queue as given in the dictionary in Figure 7.8.

datacomp.gif (2804 bytes)

Figure 7.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 1.5) is selected.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.