Jump to content

Simulation with AnyLogic/Pedestrian Simulation

From Wikibooks, open books for an open world

Pedestrian Simulation

[edit | edit source]

AnyLogic provides the Pedestrian Library, a higher-level library for simulating pedestrian flows in “physical” environment. It allows creating models of pedestrian buildings (like subway stations, security checks, etc.) or streets (big number of pedestrians). The Pedestrian Library allows you to create flexible models, collect basic and advanced statistics, and effectively visualize the process you are modeling to validate and present your model. You may collect statistics on pedestrian density in different areas, to assure acceptable performance of service points with hypothetic load, estimate lengths of stay in specific areas, detect potential problems with interior geometry – effect of adding obstacles and many other applications. In models created with Pedestrian Library, pedestrians move in continuous space, reacting on different kinds of obstacles (walls, different kinds of areas) and other pedestrians.

In this tutorial you will learn how to create models with Pedestrian Library. We will create a simple illustrative example of subway entrance . This model demonstrates how to simulate simple pedestrian flow and services using AnyLogic Pedestrian Library

Note that there is a reference model Subway Entrance available representing the milestones of the editing. You can use it if you experience any difficulties creating a model and you would like to compare your model with the reference file. Use Sample Models page of the Welcome page to open this example.

Please refer to Pedestrian Library Reference Guide for more information about Pedestrian Library blocks and their functions and parameters.

You can run this model online.

Subway Entrance Model

[edit | edit source]
  1. Step 1. Creating a new model
  2. Step 2. Creating a model animation
  3. Step 3. Adding a passenger flow
  4. Step 4. Configuring the simulation
  5. Step 5. Running the model
  6. Step 6. Adding ticket control gates
  7. Step 7. Changing passenger arrival rate interactively
  8. Step 8. Adding ticket windows