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
Running the simulation, you automatically bring the current model up to date.
To run the
previously launched experiment
Having launched the model, you will see the presentation window. It displays the presentation designed for your experiment.
By default the experiment presentation looks as shown on the figure above and contains Run button.
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.
This button is actually the button AnyLogic control element, which you can edit as you like: change its label, action, or
even delete it and use the toolbar solely to control the model
Controlling the model execution programmatically