Setting up Time Mode and Simulation Speed

AnyLogic model can be run either in real time or virtual time mode.

In real time mode, the mapping of AnyLogic model time to the real time is made, i.e. you specify how many model time units one second takes. It is frequently needed when you want your presentation to appear as in real life.

In virtual time mode, the model runs at its maximum speed and no mapping is made between model time units and seconds of astronomical time. This time mode is useful when you need to simulate your model for a long period of time.

In real time mode, you can increase or decrease model simulation speed by changing the model simulation speed scale. The default 1x scale means that the model is simulated with the model simulation speed defined in the properties of the current AnyLogic experiment; 2x means that model is run twice faster than the specified model speed, etc. For instance, if the model speed is 6 model time units per second, 2x means that 12 model time units correspond to 1 second.

 To set a time mode and simulation speed
  1. In the Projects view, select the experiment you are working with.
  2. In the Model time section of the experiment's Properties, set the time mode using the controls in the Execution mode section.
  3. If you want to run your model in virtual time mode, select the Virtual time (as fast as possible) option.
  4. Otherwise, if you want to set the mapping between model time and real time units, select Real time with scale and set the scale value (number of model time units executed per one second) from the drop-down list to the right. 

Related topics

Setting time units

Setting start and stop time