Simulation with AnyLogic/System Dynamics/Step 8. Configuring simulation

From Wikibooks, open books for an open world
< Simulation with AnyLogic‎ | System Dynamics
Jump to: navigation, search

Step 8. Configuring Simulation

Model simulation has a set of specific settings. A group of model settings is called an experiment, and experiments are displayed at the bottom of the model branch in the workspace tree. You can create several experiments for the same model with alternative model settings. One experiment is created by default and named Simulation.

Step 8. Configuring simulation 1.png

It is a simulation experiment, enabling model simulation with customized parameter values.

There are also other types of experiments (optimization, risk assessment, parameter variations experiment), used when the model parameters play a significant role and you need to analyze how they affect the model behavior, or when you want to find optimal parameters of your model.

If we start the model, it will work 100 time units and then will stop. Since we want to observe only how the model behaves when the adoption process takes place, we need to stop the model when the system comes to equilibrium. The adoption process in this model lasts something over 10 years.

Step 1. Creating a new model1.gif Set the model to stop at time 10

  1. In the Project view, click the Simulation:Main experiment item.
  2. On the Model Time tab of the Properties window, choose Stop at specified time from the Stop drop-down list. In the edit box on the right, type 10. The model will stop after 10 model time units elapse.
    Step 8. Configuring simulation 2.png

Before running the model, we will set the real time mode to control the execution speed and, consequently, animation speed. In real time mode, the model is executed regarding the physical time.

Step 1. Creating a new model1.gif Set the real time execution mode

  1. In the Project view, click the Simulation experiment.
  2. On the Presentation page of the Properties view, go to the Execution mode section and choose the Real time with scale option.
  3. Specify the model execution speed, i.e., how many model time units will be executed in one second. In the edit box to the right, type 2.
    Step 8. Configuring simulation 3.png