Analyzing the Sample Path |
Suppose that you have built the model in Figure 9.1.
You start and stop this simulation
using the button on the command panel in the simulation window.
The
button starts the simulation by sending a start message to each of the components in the model.
Similarly, the
button stops the simulation.
Figure 9.2: The Command Panel and Buttons
Also note that the button stops and resets the simulation by sending the reset message to each component. But first it stops the simulation, resets the simulation clock, and removes all pending actions. For example, all queues are emptied and transactions in service are discarded.
The button toggles animation on and off. Animation is one effective way to validate a model. You simply turn animation on and observe the simulation behavior. In addition, you can add Triggers and StringHolders to display and print state information to help you with model validation.
Another way to control the simulation is with the Component
Control Panel
as shown in Figure 9.3.
Figure 9.3: The Component Control Panel
Notice the buttons on the right side of the control panel. When any of these buttons are clicked, a message is sent to each of the selected components. For example, you can select a component from the Components list box and start it only by clicking the Start button. It sends the start message to the selected component. This is typically not the way to start the simulation since not all components will be started, but it is the typical way to analyze component performance with the Analyze button.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.