Numerical investigation of agent controlled pedestrian dynamics using a structure preserving finite volume scheme

Jan‐Frederik Pietschmann, Ailyn Stötzner, Max Winkler · DOI

Abstract

This paper provides a numerical realization of an optimal control problem for pedestrian motion with agents, building upon the theoretical framework established in Herzog, Pietschmann, and Winkler (2020). The model utilizes a regularized variant of Hughes' model for pedestrian dynamics, coupled with ordinary differential equations (ODEs) that describe the motion of agents capable of influencing the crowd via attractive forces. We devise a finite volume scheme that preserves the box constraints inherent in the model and discuss its mathematical properties. Finally, we apply this scheme to an objective functional tailored for evacuation scenarios and perform numerical simulations across several practically relevant geometries.

Introduction

Managing the flow of large crowds is a critical safety challenge, particularly during emergency evacuations. Mathematical models like the Hughes’ model treat a crowd as a continuous fluid that moves toward exits while simultaneously avoiding high-density areas. However, these models are notoriously difficult to solve numerically because they involve a complex coupling between a transport equation (governing density) and an Eikonal equation (governing the perception of distance to the exit).

Furthermore, most existing models are descriptive rather than prescriptive. This research moves into the realm of optimal control: if we have a few mobile agents who can influence the crowd (e.g., stewards or robots), where should those agents go, and how "attractive" should they be to maximize evacuation efficiency? A key technical hurdle is ensuring that numerical simulations do not produce unphysical results, such as negative densities or crowd concentrations exceeding the maximum physical capacity of a room.

The Mathematical Framework

The authors employ a multi-step numerical approach to solve the coupled PDE-ODE system:

  1. The Regularized Hughes’ Model: The crowd density ($\rho$) is governed by a nonlinear transport equation, while the "potential" ($\phi$), representing the time-to-exit, is solved via a regularized Eikonal equation. This regularization helps handle the mathematical singularities common in the standard Hughes' model.
  2. Agent Coupling: Agents are modeled as points that exert an attractive force on the crowd. Crucially, the agents' own speed is limited by the local crowd density—meaning they cannot move at full speed through a dense crush of people, reflecting physical reality.
  3. Optimization: To find the best agent paths, the researchers use projected gradient descent. They derive "adjoint equations"—essentially running the simulation backward in time—to efficiently calculate how small changes in agent movement affect the total evacuation time.

Structure-Preserving Finite Volume Scheme

The core technical contribution of this work is the development of a structure-preserving finite volume (FV) scheme. The authors utilize an implicit-explicit (IMEX) time-stepping scheme combined with Lax-Friedrichs numerical fluxes.

This specific setup is mathematically proven within the paper to preserve "box constraints." This ensures that the crowd density is guaranteed to stay between 0 and 1 (where 1 represents maximum capacity) throughout the simulation. The authors prove (Theorems 3.1 and 3.2) that their scheme maintains these bounds under a specific stability condition (CFL condition) and remains mass-conserving, preventing the numerical "creation" or "destruction" of pedestrians.

Numerical Experiments and Insights

As a theoretical numerical study, the framework was evaluated on three synthetic but practically relevant geometries:

  • Example 1: A room with one large exit and two smaller, more obvious exits that tend to clog.
  • Example 2: A domain with a narrow slit causing massive congestion, testing if agents can lead people to larger, more distant exits.
  • Example 3: A square room with exits of varying widths.

Key Findings

  • Agents as Flow Valves: The optimization does not simply make agents lead people in a straight line. Instead, agents often move to bottlenecks to "pull" people away from congested areas toward underutilized exits.
  • The "Turn-Off" Strategy: In several simulations, the optimal strategy for an agent was to be highly attractive initially to redirect the crowd, and then "turn off" their influence (intensity $c_i \to 0$) once the pedestrians were on a clear path to a better exit.
  • Evacuation Speedup: In the "narrow slit" scenario, the uncontrolled crowd experienced massive congestion. The optimized agents successfully identified that leading people away from the closest (but narrow) exit toward larger ones significantly reduced the total time for the room to clear.

Conclusion and Future Work

The study demonstrates that a structure-preserving numerical scheme can effectively solve complex optimal control problems in pedestrian dynamics. While the current model assumes pedestrians have a "global" view of the environment and involves high computational complexity due to the adjoint system, it provides a robust foundation for future developments.

Future research may focus on scaling these solvers for larger urban environments, incorporating more complex social behaviors (such as panic or herd mentality), and calibrating the "attractiveness" parameters using real-world video data to improve the model's predictive power in actual emergency scenarios.

Summary updated

BibTeX
@article{pietschmann2024numerical,
  author = {Jan‐Frederik Pietschmann and Ailyn Stötzner and Max Winkler},
  title = {{Numerical investigation of agent controlled pedestrian dynamics using a structure preserving finite volume scheme}},
  journal = {Adv. Comput. Math},
  year = {2024},
  doi = {10.1007/s10444-023-10098-0},
}
Figure