Last modified on 3 August 2009, at 11:53

Simulation with AnyLogic/Pedestrian Simulation/Step 5. Running the model

Step 5. Running the ModelEdit

We have finished creating a simple model using AnyLogic Pedestrian Library. Now you can run the model.

Build your model by clicking the Build Model Step 7. Running the model.gif toolbar button. If there are some errors in your model, the building fails and the Problems view appears listing all the errors found in your model. Double-click an error in the list to open the location of the error and fix it.

Problems view

After the model is successfully built, you can start it. Running the simulation, you automatically bring the current model up to date.

Step 1. Creating a new model1.gif Start the model

  1. Click the Run Step 7. Running the model2.gif toolbar button and choose the experiment you want to run from the drop-down list. Your simulation experiment is called Subway Entrance/Simulation.
    Step 5. Running the model 2.png
    In the case this model is the only one opened in the workspace at the moment you will be prompted to run this particular experiment. Later on this button will start the previously run experiment. To run any other experiment, right-click the experiment in the Project view and choose Run from the context menu.

Having started the model, you will see the presentation window. It displays the presentation designed for your simulation experiment.

Step 5. Running the model 3.png

Click the button to Run the model and switch to Main view and observe the process you have modeled. You can see that the model behaves correct: passengers enter the subway entrance and pass through the corridor leading to the subway trains.

Step 5. Running the model 4.png

You can adjust the execution speed to your needs using Slow down and Speed up Step 7. Running the model 4.png toolbar buttons. You can also switch to virtual time mode to view simulation run at its maximum speed and simulate a long period of time. To enable virtual time mode click the Toggle real/virtual time mode Step 5. Running the model 5.png toolbar button.