Pausing and Stepping through a Simulation

Once a simulation begins, the toolbar looks like this:

The Pause button (second button from the left) can be used to pause the simulation.

If you press the Pause button in the Run Control toolbar while a simulation is running, the model will be paused, and this will be indicated in the status bar:

   Note: GoldSim also provides the option to pause the model immediately (in the “Ready” state, before the simulation begins) by pressing the Ctrl key while pressing the Run button or F5.

Once a model is paused, you can browse the model and view results in the same manner you would if you were in Result Mode.

When a model is paused, tool-tips displayed when you hold the cursor over an element or output show the Last Value calculated prior to pausing the model. Since a model can be paused in the middle of a timestep (such that some of the elements have been updated for the timestep and others have not), the tool-tip indicates whether or not the value has been updated for the current timestep.

If you are viewing a Time History Result element while running the simulation, GoldSim will plot a update the time history of the current realization whenever you pause the model.  

While a model is paused, you can navigate it, open property dialogs, and view result plots. You cannot, however, edit the model in any way that would change its behavior (e.g., you cannot change values in property dialogs or add or delete elements). You also cannot close or save a model while it is paused.

   Note: You can change values for some elements (Data elements) while a model is paused if and only if the element is linked to a Dashboard control.

While the model is paused, the Run Control toolbar changes its appearance:

Pressing the Abort button (first button from the left) aborts the simulation.

The Run button can be used to restart the run. Just to the right of the Run button are two additional buttons for stepping through the simulation one timestep or one realization at a time:

Simulate one timestep

 Simulate one realization

If you press the button for simulating one timestep, GoldSim will complete the next timestep and then pause. If you press the button for simulating one realization, GoldSim will complete the next realization and then pause.

On the right side of the Run Control toolbar is a slider that can be used to artificially slow down a simulation. This is useful primarily if you want to pause the simulation at a specific point, or you have set up some results plots (or Dashboards) that you want to be able to view evolving slowly over the course of a simulation.

   Warning: By default, the slider is all the way to the right (Fast). If you want the simulation to run as quickly as possible, make sure that the slider stays in this position. If you move it to the left, the simulation will take longer!

Related Topics…

Learn more about: