Universite-Gustave-Eiffel / PedSim

Pedestrian simulator by Eléonore Fauchet, ENTPE intern, as part of her second year engineering 16-weeks internship at Université Gustave Eiffel, supervised by Ludovic Leclercq and Mahendra Paipuri.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pedestrian traffic meets a lot of issue as daily operations optimization or management in crowded areas such as airports or train stations, or as linked to the safety and evacuation plans issues.

We develop a platform coded in Python to model pedestrian flows.

The built model is macroscopic dynamic, so we consider the traffic as a continuous flow, and pedestrians’ general behavior is treated by analogy to transport models in fluid dynamics. The equilibrium relation links pedestrians’ speed with their density.

Pedestrians are divided into different layers according to their original direction, that is to say, according to their entrance and exit doors. Thus, we separately compute the pedestrian density of each layer before the global density.

Functioning of the platform

The platform enables us to describe the pedestrian traffic evolution in a network. A mesh modelizes the latter. So, we compute the pedestrian density in each cell of the mesh for each layer. The code returns the global density at each time step. For some of them, it displays for each layer, the layer density (so the pedestrian flow for each pedestrian class), and the global density (so the general pedestrian traffic).

Test cases

The code integrates several test cases to become aware of what the platform can provide. Thus, there are simple tests with only two layers to examine what precisely happens at crossing points. We also find test cases with multiple layers, and somewhere pedestrian demands fluctuate over time.

To learn more about the different test cases

Use of the platform

It is suitable for many test cases. Users can create a new one by defining the domain, entrances, exits, the number of layers, obstacles. To learn more about the use of the platform

Areas of improvement

This platform has been developed as part of a 3-month engineering internship, so there are many opportunities for improvement. To learn more about areas of improvement paths )

Models and assumptions used to develop the platform

Flow equations, numerical schemes, and boundary conditions

We essentially used flow equations and numerical schemes described in Stéphane Mollier’s thesis, « Two-dimensional models for large-scale traffic networks » [1] to construct the model. Thus, we use the WENO scheme, the total variation diminishing (TVD) Runge Kutta time discretization, and the dimensional splitting. It is a fifth-order method in space and a third-order in time. That provides us the convergence, stability, and consistency of the solution.

To learn more about flow equations, numerical schemes and boundary conditions

Global and local direction

We use the paper of Hoogendoorn Serge P.et al., «Continuum theory for pedestrian traffic flow: Local route choice modeling and its implications » [2] about the pedestrian direction. It includes a global component determined before their start and a local one that adjusts the original direction according to local variations.

We first compute the pedestrian direction with the fast marching method. We assume the presumption that pedestrians will use the shortest way, that is to say, the one with the lowest travel time, which takes into account the distance and the delay caused by high density. We add a local term reflecting that pedestrians will try to avoid pedestrians who do not have the same direction as them (not the same layer).

To learn more about global and local direction

Global variables and parameters used

To learn more about parameters and global variables used

Bibliography

To learn more about bibliography

Computer programming

Functions used

To learn more about functions used

General loop

To learn more about the general loop

About

Pedestrian simulator by Eléonore Fauchet, ENTPE intern, as part of her second year engineering 16-weeks internship at Université Gustave Eiffel, supervised by Ludovic Leclercq and Mahendra Paipuri.


Languages

Language:Python 100.0%