AnyLogic
Expand
Font size

Running the model

To run the model, you actually should run one of its experiments. By default each model has one simulation experiment named Simulation.

Simulation experiment is the simplest type of experiment that enables to create animation for a model and simulate it for some time with the visualization.

To run the model

  1. In the Projects view, right-click (macOS: Ctrl + click) the model you want to run (and in case it has several experiments, choose the experiment to be launched from the popup menu), or
    Right-click (macOS: Ctrl + click) the experiment, which settings you want to use, and choose Run from the popup menu, or
    Choose Model > Run from the main menu, or click the arrow to the right of the Run  toolbar button and choose the experiment you want to run from the drop-down list.

Running the simulation, you automatically bring the current model up to date.

To run the previously launched experiment

  1. Click the Run  toolbar button, or
    Press F5.

Having launched the model, you will see the model window. It displays the presentation of the top-level agent of this experiment (by default it is Main).

By default, the model window opens in the Chromium browser. You can select a different browser in the Preferences dialog.

When you run the model, it is launched automatically. If you need to see the experiment screen before launch (e.g. you’ve added some controls to tweak the model parameters, or you have placed the model description there), then go to the properties of the Simulation experiment and deselect the Skip experiment screen and run the model option.

With this option deselected, you will see the experiment presentation when the model window opens. To launch the model, click the Run  button.

How can we improve this article?