AnyLogic
Expand
Font size

Model window. Control panel

Control panel is displayed at the bottom of the model window.

Run [Visible if the model is not running at the moment]
Runs the simulation. Starts the execution, or if the simulation was paused, resumes the simulation from the current state.
Pause [Visible if the model is running at the moment]
Pauses the simulation. You can resume the paused simulation any time.
Stop Terminates the current model execution.
Progress of parallel runs [Only visible when running a multiple-run experiment, e.g. optimization, calibration, etc.]
Displays the progress of parallel runs.
Set real time scale x1 Sets the real time mode to the default scale.
Slow down Slows down the model simulation by decreasing the scale of model time to real time.
Scale of model time to real time Displays the current scale ratio of model time and real time.
You can change the current value using Slow down and Speed up buttons along the edges of this control.
Speed up Speeds up the model simulation by increasing the scale of model time to real time.
Run as fast as possible (virtual time mode) Switches to the real or virtual time mode. If virtual time mode is set, the button is shown pressed.
Responsiveness and network access Displays the responsiveness of the model presentation.
About AnyLogic... Provides access to:
  • AnyLogic website — opens the software vendor web site in the user’s default web browser.
  • Terms of use — displays the AnyLogic Model End User Agreement.
  • About AnyLogic — opens the About... dialog box providing the users with the information about AnyLogic Engine used to run the model.
Status Shows the simulation status of the current run:
  • Loading — model data is being loaded. Appears at the very first model launch.
  • Running — model is running.
  • Please wait — engine is executing an non-interruptible command (e.g. pausing he model).
  • Paused — model is paused.
  • Idle — model is either stopped, or hasn’t been launched yet.
  • Finished — model execution has been completed.
  • Error — runtime error occurred. Click the state name (Error!) to open the console with the error log.
Toggle full screen mode Switches the window to the full screen mode. To return to the original window size, right-click (Mac OS: Ctrl + click) the empty area of the presentation and choose Full Screen from the popup menu.
Open developer panel Opens the developer panel, which provides access to the additional model controls, simulation data, and console with experiment’s output.

The simulation progress bar shows how far the simulation has advanced relative to the total simulation time.

Enabling or disabling control panel buttons programmatically

Run, Pause, and Stop buttons can be disabled from code at the model runtime by calling the setRunControlEnabled(boolean false) function. To check whether these buttons are enabled or disabled, you can call the isRunControlEnabled() function.

The group of buttons used to control the model execution speed (Set real time scale x1, Slow down, Speed up, Run as fast as possible (virtual time mode)) can be disabled from code by calling the setSpeedControlEnabled(boolean false) function. To check whether these buttons are enabled / disabled, you can call the isSpeedControlEnabled() function.

For more information on this topic, refer to the Control panel section in Accessing the presentation.

How can we improve this article?