Solving the Model

To solve the model, click on the Simulation Module. For this model, we will use . The Stop Condition can be the G_Queue.Service (Event Stop Condition), for instance, with 140 triggers or Time 1200. In this case, the simulation will finish when one of the conditions is true.

An can also be performed. Using interactive simulation we are able to observe the simulation step by step, and to follow the evolution of the model states. To use the Interactive Simulation, choose the Interactive tabbed pane. Set, for example, Number of transitions to 10. So the state variables of the model can be visualized (on the screen) every 10 model transitions.

In order to visualize the state variables, the user should include in the Watches attribute the name of the state variables that he/she wishes to observe. If no state variables are included in the Watches attribute for an object, the simulator does not display any state variables for that object.

NOTES

  1. There is a limitation on the total number of variables displayed during an interactive simulation. In this version, the total number of variables that can be observed at once is 200.
  2. The user can change the variable that is been displayed at any time during the interactive simulation.
  3. The Watches= attribute must exist if an interactive simulation is performed, even if no variable is associated with it.
  4. The state variables are re-written on the canvas at each interactive simulation step. The color and font size and style used during state variable re-writing is that currently set in TGIF. However, they can be changed after a step is executed.
  5. The interactive simulation stops after the execution of an event. If simultaneous events occur, the simulation stops after each one is executed. The user should observe the simulation clock (top left corner of canvas) to see the model evolution with time.

Guilherme Dutra Gonzaga Jaime 2010-10-27