Font size

Pedestrian tutorial. Designing the subway entrance hall

AnyLogic Pedestrian Library

Complexity: grade grade grade grade grade

Modeling approach: discrete-event

Features: Pedestrian Library walls services density map

AnyLogic Pedestrian Library is dedicated to simulate 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 we will create a model simulating passenger flow in the subway entrance hall. To get to subway trains passengers need to go through fare gates. Some passengers may have their tickets already bought earlier to avoid frustration queuing while their train is about to depart. Those may directly go to trains. Passengers without tickets need to buy tickets at the ticket office and only then may go through fare gates. This model demonstrates how to simulate pedestrian flow and services using AnyLogic Pedestrian Library.

There are several reference models available representing the milestones of the editing. You can use them if you experience any difficulties creating a model and you would like to compare your model with the reference file. The links to the reference models are given at the end of some steps. Just click the link to open the corresponding model.

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

How can we improve this article?