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 (Mac OS: 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 (Mac OS: Ctrl+click) the experiment, which settings you want to use, and choose Run from the popup menu, or
  2. Alternatively, 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 designed for your experiment. 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 created but not run - it waits to be started. When the user clicks the Run  button, the model is launched and the presentation of the top-level agent of this experiment (by default it is Main) is shown in the window.

Related topics

     Model window

    Controlling the model execution programmatically