Preprint
Article

HyPedSim: A Multi-level Crowd Simulation Framework – Methodology, Calibration, and Validation

Altmetrics

Downloads

118

Views

72

Comments

0

A peer-reviewed article of this preprint also exists.

This version is not peer-reviewed

Submitted:

01 February 2024

Posted:

02 February 2024

You are already at the latest version

Alerts
Abstract
Large-scale crowd phenomena are complex to model because the behaviour of pedestrians needs to be described at both strategic, tactical, and operational levels and is impacted by the density of the crowd. Microscopic models manage to mimic the dynamics at low densities, whereas mesoscopic models achieve better performances in dense situations. This paper proposes and evaluates a novel agent-based architecture to enable agents to dynamically change their operational model based on local density. The ability to combine microscopic and mesoscopic models for multi-scale simulation is studied through a use case of pedestrians at the Festival of Lights, Lyon, France. Pedestrian outflow data is extracted from video recordings of exiting crowds at the festival. The hybrid model is calibrated and validated using a genetic algorithm that optimizes the match between simulated and observed outflow data. Additionally, a local sensitivity analysis is then conducted to identify the most sensitive parameters in the model. Finally, the performance of the hybrid model is compared to different models in terms of density map and computation time. The results demonstrate that the hybrid model has the capacity to effectively simulate pedestrians across varied density scenarios while optimizing computational performance compared to other models.
Keywords: 
Subject: Computer Science and Mathematics  -   Computer Science

1. Introduction

Pedestrian simulation is an effective tool to model and study the behaviour of pedestrians in various contexts, from optimisation of pedestrian flows to safety issues [1]. Pedestrian behaviour can commonly be modelled into a three-layer level architecture [2]:
  • Strategic level: pedestrians determine a list of activities (or targets) and when they want to perform these activities.
  • Tactical level: pedestrians choose a path to the predefined destinations based on information about the environment.
  • Operational level: pedestrians adjust their local movements such as collision avoidance to adapt to the surrounding area.
In order to build a pedestrian simulation, modellers have to effectively instantiate their model for at least one of the three layers, that is to say at least one strategic model (also referred to as goal selection model) [3,4], or one tactical level model (also known as path planning model) [5,6], or one operational level model [7,8]. The majority of research contributes to the operational level because this level addresses the immediate, physical behavior of pedestrians such as collision avoidance or local movements. This paper focuses on selecting the proper algorithm for the operational level which computes the velocities and speed of each pedestrian based on local information.
Many types of operational models exist in the literature, each model being built to capture and mimic a specific phenomenon [9]. Therefore, their performance differs if they are put into context for which they have not been designed. Microscopic models are usually used to simulate pedestrians in low- and medium-density situations, where the density level is less than 2 p e d / m 2 [1]. These models encounter specific problems when applied to high-density situations, such as abnormal vibrations with the Social Force Model [10], congestion in dense bidirectional flow with the Velocity Obstacle model [11], unrealistic results in terms of collision metrics with the data-driven models [12,13]. On the other hand, pedestrian dynamics in high-density situations are similar to fluid flow [14], and fluid-like equation models [14,15] are particularly appropriate for these scenarios due to their assumption of the continuous of pedestrian flow. Given the observed variability in the performance of pedestrian simulation models across different crowd densities, the integration of multiple models is required to accommodate the full spectrum of potential scenarios.
This contribution proposes and evaluates an agent-based architecture to enable agents to dynamically change their operational model based on local density to adapt to their dynamic environments. Local density estimation is achieved through predefined regions in the environment, which enables contextual and structured adaptation to various environments. Additionally, the use of predefined areas can facilitate the implementation of the model by providing a more intuitive and manageable approach to estimating density. The ability to combine microscopic and mesoscopic models for multi-scale simulation is studied through a use case of pedestrian crowds at the Festival of Lights, Lyon, France - therefore so-called HyPedSim framework.
The paper is organized as follows. Relate works are summarized in Section 2. Section 3 describes our proposed agent-based architecture for the multi-level behaviour of pedestrians. Next, Section 4 illustrates the ability to couple models through the applications of simulating pedestrian crowds at the Festival of Lights. The performance of the hybrid model in comparison to other models is then demonstrated in Section 5. Finally, the paper ends with a conclusion and discussion in Section 6.

2. Related Work

Hybrid modeling is a methodology that incorporates different modeling techniques into a sigle framework. In pedestrian modeling, a hybrid model usually integrates macroscopic or mesoscopic models with microscopic models [16]. This combination enables the hybrid model to exploit the strengths of both approaches, thereby achieving a balance between simulating global crowd dynamics with reasonable computational cost while preserving the detailed representation of individual behaviour.
The classification of hybrid models relies on the communication mechanism between different simulation models, which can be categorized into two main types: auto-switch models and region-based models. Auto-switch models [17,18,19] allow only one model to run at a time but can switch from macroscopic model to microscopic model and vice versa based on a trigger condition. In contrast, the region-based model [20,21] assigns certain areas in the environment for each model and runs these models concurrently. A mechanism for the aggregation and disaggregation of crowds is required for hybrid models to have a consistent transition between the macroscopic and microscopic levels.
On the other hand, the calibration of pedestrian simulation models is an essential step to improve the realism of simulation results. This step involves fine-tuning the parameters of a pedestrian simulation model to ensure that simulation outputs match observed data [22]. Various techniques have been used to calibrate simulation models such as genetic algorithm [23], Bayesian inference [24], maximum likelihood estimation [25]. However, calibrating hybrid models requires greater complexity, as there are more parameters across multiple constituent models. Another difficulty specific to crowd models is the lack of empirical pedestrian data in high-density situations due to challenges in accurately extracting pedestrian features from video recordings of crowds [26].
Currently, there is a lack of a general framework for modeling multi-level pedestrian behaviour that allows agents to dynamically change their operational models. Although Curtis et al. [27] proposed the Menge framework, a crowd simulator that aggregates different modeling algorithms for each level of pedestrian behaviour; however, this framework only allows one modeling technique to be implemented at the operational level in the simulation. To tackle this challenge, our work focuses on developing an agent-based architecture that models multi-level pedestrian behaviour and is compatible with various modeling algorithms at each level. Furthermore, this architecture enables pedestrian agents to switch their operational models in response to changes in local density. A detailed description is provided in the following section.

3. HyPedSim framework

This section presents HyPedSim, a framework that allows agents to dynamically change their operational models. Note that while our primary focus is at the operational level, the tactical level component is also described to demonstrate that this approach is extensible to model the higher levels of pedestrian behavior.

3.1. General overview

The environment is divided into different zones, as illustrated in Figure 1. This division of the environment can be based on expert knowledge or particular crowd characteristics and environmental criteria. An appropriate model is selected to simulate pedestrians in each zone depending on crowd density. Each zone is associated with specific triggering rules and transition functions.
The triggering rules evaluate pedestrian and environmental characteristics within the respective zone to select suitable models for pedestrian simulation. Due to the varying performance of pedestrian models across different crowd densities, these rules identify appropriate models to accurately capture the dynamics within each area. When new individuals enter a zone, the transition functions are activated to adapt their information, facilitating a smooth transition from their previous zone to the current one.
When entering a new zone, pedestrians adjust their tactical and operational models to align with the requirements of the corresponding zone. To ensure a generic and extensible approach for various models, an agent-based architecture is proposed in Section 3.2 to model the multi-level behaviour of pedestrians. This agent-based architecture enables pedestrians to dynamically select the appropriate modeling algorithm at each level of behaviour.

3.2. Agent-based architecture for multi-level behaviour

To develop an agent-based architecture for multi-level pedestrian behaviour, an abstraction is first introduced to describe the problem of pedestrian modeling. The problem is divided into two subproblems: tactical and operational subproblem1. Suppose that S = { E , A } , where E and A are the environment and the set of agents in simulation respectively. The tactical subproblem can be formalized by the function T, T : S × t × R 2 R 2 , which maps the simulation state, time, and the agents’ destination to the local target which is in R 2 . The operational subproblem can be formalized as follows: O : S × t × R 2 × [ 0 , 1 ] R 2 . The function O maps the local simulation state S, time, local target, and check if agents in high-density zones to a feasible velocity, which is then used to update agents’ locations in the next simulation step. In general, the problem of pedestrian modeling can be stated by the following mathematical formulation:
v i ( t ) = O i ( T i ( t ) )
p i ( t + 1 ) = p i ( t ) + v i ( t ) Δ t
where v i ( t ) and p i ( t ) are the velocity and the location of agent i in the xy-coordinate system at time t respectively and Δ t is the duration of a simulation step.
Given the description above, an agent-based architecture is designed as shown in Figure 2. To include different modeling algorithms, each subproblem is represented by an abstract class. The tactical subproblem is presented by the Tactical level while the Operational level class presents the operational subproblem. Each abstract class can contain different inheritance subclasses, where each subclass represents a specific model to simulate various behaviour depending on the situations (strategy pattern). The pedestrian agents are only allowed to present one model for each level of behaviour at a time, but that model may be changed based on the state of the environment in which the pedestrian agents are operating.
Each modeling algorithm for each level needs to inherit the corresponding abstract class. The Tactical Level and Operational Level classes return the local target and feasible velocity for pedestrians, respectively. What should be noted here is that in the simulation environment, excluding Pedestrian class, only one single instance of each class is created (singleton pattern). Therefore, our architecture does not increase complexity but improves the flexibility of simulation. Furthermore, it is possible to change the modeling algorithm at each level of behaviour by simply updating the variables t and o in Pedestrian class.

3.3. Pedestrian activity diagram

Figure 3 illustrates the activity diagram of pedestrian agents at each simulation step. Initially, the agents perceive their surrounding environment to identify neighboring agents. Subsequently, if the agents have either reached their current local target or do not have a local target, they execute define local target behaviour which invokes their corresponding inheritance model from the Tactical level class to assign a new local target. Afterward, pedestrian agents perform the move behaviour using the returned velocity from their respective inheritance model in the Operational level.
After moving to new locations, pedestrians check whether they have arrived at their destination. If yes, their movement is completed. Otherwise, they determine if they have transitioned into a new zone. In such cases, pedestrian agents need to update their states by sending a request to the Zone entity to obtain information about the tactical and operational models employed in this new zone. This query returns the results o n e w and t n e w , which represent the operational and tactical in use within the zone, respectively. Pedestrians then update their attributes by setting their operational variable o to o n e w and their tactical variable t to t n e w .
This continuous process of perceiving the environment, defining local targets, moving, and updating states based on zone transitions enables pedestrian agents to navigate through the simulation space effectively. This dynamic approach allows for the modeling of complex scenarios and interactions between agents, accounting for varying tactical and operational models across different zones.

4. Application to the Festival of Lights

This section demonstrates the capacity of the HyPedSim framework to model large, dense crowds in mass-gathering events such as the Festival of Lights. The festival is first introduced, followed by a discussion of empirical data collection. The pedestrian simulation models and their coupling used in the HyPedSim framework are then described in detail. Finally, the calibration of the framework using a genetic algorithm along with the validation and sensitivity analysis of the calibration results are presented.

4.1. Festival of Lights

The Festival of Lights [28] is an annual art festival in Lyon, France. During the Festival of Lights, visitors gather to watch light shows projected onto the walls of the city’s most beautiful monuments. Figure 4 shows pedestrians watching a light show in Place des Terreaux (as highlighted by the red rectangle), the festival’s central plaza and most crowded area. After the show ends, pedestrians head towards the two pre-configured exit roads (Constantine road and Chenavard road) designed for safety management, as illustrated by the bottom-left blue arrows.

4.2. Data collection

Two cameras are used to record the crowd exiting, with each camera corresponding to one exit road. Subsequently, the pedestrian outflow on each road is manually calculated. Figure 5 shows the instant outflow of pedestrians over time on Constantine and Chenavard road. A total of 3833 pedestrians are counted, with 1803 pedestrians on Constantine road and 2030 pedestrians on Chenervard road, respectively. The exit time of the crowd lasts almost 400 seconds. The Gaussian filter method with a standard deviation of 2.0 for the Gaussian kernel is applied to reduce fluctuation error and improve the consistency of the outflow.

4.3. Pedestrian simulation models

During the pedestrian exit process, the plaza experiences high density, while the two exit roads exhibit lower density. Our proposed agent-based architecture can effectively simulate these situations where density varies spatially and temporally. To achieve this, two pedestrian simulation models - the Social Force Model [7] and the Continuum Crowds model [15], as well as their hybridization in HyPedSim - are incorporated at the operational level of the framework to simulate dense crowds exit scenarios at the Festival of Lights.

4.3.1. Social Force Model

This section presents the simplified Social Force Model (SFM) [7] used in the framework, which describes pedestrian motion as driven by social forces. These forces result from both internal factors, such as an individual’s attraction towards a personal goal, and external factors, like repulsion from neighboring pedestrians. The SFM is formulated based on Newton’s second law:
a i ( t ) = v i p r e f v i ( t ) τ + j N ( i ) n i j ( t ) A exp d i j ( t ) B
where a i ( t ) , v i ( t ) are the acceleration vector and velocity vector of pedestrian i at time t, respectively. Let v i p r e f denote preferred velocity of pedestrian i, and V p r e f = v p r e f represent the preferred speed of pedestrians. The first term of Equation 3 accounts for the acceleration from the current velocity to the preferred velocity within the reaction time τ . The second term in Equation 3 describes distance-based repulsion forces with other pedestrians in the neighbor set N ( i ) , where A , B are the parameters controlling the strength and range of the repulsion forces and:
d i j ( t ) = x i ( t ) x j ( t ) ( r i + r j ) and n i j ( t ) = x j ( t ) x i ( t ) x i ( t ) x j ( t )
where x i ( t ) and r i are the position at time t and radius of pedestrian i, respectively. d i j ( t ) is the separation distance between pedestrian i and j, n i j ( t ) is the unit vector pointing from x j ( t ) to x i ( t ) . Figure 6 illustrate intuitively the repulsion force f i j between pedestrian i and j.
The SFM has been demonstrated to realistically reproduce self-organization phenomena in low-density situations such as lane formation and arc-shaped clogging at bottlenecks [7]. There are four parameters of the SFM for calibration including: A , B , V p r e f , τ .

4.3.2. Continuum Crowds model

On the other hand, Treuille et al. [15] proposed the Continuum Crowds (CC) model which treats pedestrian flow similarly as a continuum without taking into account individual differences. Global navigation is managed by dynamic potential field using the eikonal equation (Equation 5):
ϕ ( x ) = C
v = f ( x , θ ) ϕ ( x ) ϕ ( x )
where ϕ represents the potential function and C denotes the estimated unit cost in the direction of the gradient ϕ . The cost value to the goals is evaluated based on distance, time and discomfort factors. Pedestrian velocity is determined by the direction opposite the gradient, with the magnitude depending on the speed field f ( x , θ ) evaluated at the position x with the moving direction θ .
The CC model is suitable for simulating large crowds in extreme-density situations with computational efficiency. To apply the CC model, the environment is discretized into cells. Pedestrians in the same cells, with the same target, have the same velocity. The magnitude of velocity in each cell, assuming that the environmental topography is characterized with no effect of slope, is defined based on local density:
f ( x , θ ) = f m a x ρ ( x + r n θ ) ρ m i n ρ m a x ρ m i n ( f m a x f f l o w ( x , θ ) )
where ρ m a x , ρ m i n are the maximum and minimum density thresholds affecting the speed value, respectively. f f l o w ( x , θ ) represents the average flow speed in the direction θ at the position x . Likewise, ρ ( x + r n θ ) denotes the local density evaluated at the point x + r n θ which is at distance r from x in the direction θ .
Figure 7 describes the relationship between density and pedestrian speed. Pedestrian speed reaches its maximum value when the density is below ρ m i n . In contrast, if the density exceeds ρ m a x , pedestrian speed is limited to the average flow speed of crowds. The minimum value of average flow speed is set at f m i n . Between these density thresholds, pedestrian speed linearly decreases from its maximum value to its minimum value. Therefore, the parameters that need to be calibrated are: f m i n , f m a x , ρ m i n , ρ m a x .

4.3.3. Hybrid model

Pedestrian agents follow to the activity diagram depicted in Figure 3 in general, with additional details when specifically applied to simulate crowds at the Festival of Lights.
Specification of operational level models: during the pedestrian exit process at the Place des Terreaux, the plaza experiences high density, while the two exit roads exhibit lower density. To handle these multi-density dynamics, the environment is divided into three distinct zones (as illustrated by the three rectangles in Figure 4). The plaza is specified as a high-density zone (red rectangle) and two exit roads are specified as low-density zones (blue rectangles). Each zone is characterized by one specific operational level model for pedestrian simulation. The specifications of the operational level models for these zones are as follows:
  • The CC model [15] for a single target cell is used to simulate pedestrians in the high-density zone due to its effectiveness in dense scenarios. This approach leads to further discretization into cells, each storing information about the environment and the pedestrians, such as average velocity and local density.
  • The SFM [7] is applied to the two low-density zones to simulate pedestrians who have exited the plaza to one of the two exit roads, as it can realistically simulate pedestrians in low-density situations.
Criteria to transition operational level models: the transition criteria are activated as soon as pedestrian agents move out of the high-density zone into a new, low-density zone. When this occurs, the transition rule is applied, which sets the operational level variable o = S F M . Additionally, the parameter t d e l a y is introduced to provide better control over the transition by causing pedestrians to stand still for a short period after exiting the high-density zone.
Exit choice behaviour: once pedestrians meet the transition criteria, they probabilistically select one of the two available exit roads. The probability of choosing an exit road depends on the distance to each of the exit roads at that time:
  • If pedestrians are closer to Constantine road, they choose Constantine road as the exit road with the probability of α and Chenavard road with the probability of 1 α .
  • Conversely, if pedestrians are closer to Chenavard road, they choose Chenavard road as the exit road with the probability of β and Constantine road with the probability of 1 β .

4.4. Model calibration

Calibration of the framework is needed to realistically reproduce the pedestrian outflow of the crowd exiting during the Festival of Lights. Three types of parameters in the framework are specified for calibration:
  • Hybridization: t d e l a y , α , β .
  • Parameters of SFM: A , B , V p r e f , τ .
  • Parameters of CC: f m i n , f m a x , ρ m i n , ρ m a x .
Genetic Algorithm (GA) is used to calibrate the framework due to the large and non-linear search space. The objective fitness function is calculated as mean normalized absolute error:
f i t n e s s = 1 N i = 1 N ( | f i o b s f i s i m | f i o b s ) C o n s t a n t i n e + ( | f i o b s f i s i m | f i o b s ) C h e n a v a r d
where f o b s , f s i m are the observed and simulated pedestrian outflow, respectively. The objective fitness function measures the similarity between the simulated and observed outflow across N observations, with lower fitness values indicating better agreement. The GA is operated through the following steps:
  • Initialization: a population of 128 individuals is initialized, with each individual representing a chromosome consisting of 11 genes corresponding to 11 parameters for calibration. Each parameter gene was initialized by random sampling from a defined range of minimum to maximum values specific to that parameter. The value interval of the parameters for each pedestrian simulation model is chosen based on settings commonly used in the literature [7,15]. Let ϕ i denote the i t h parameter gene in each chromosome, where ϕ i m i n and ϕ i m a x are the minimum and maximum allowable values of the parameter ϕ i , respectively. Table 1 depicts the range of values for the parameters.
  • Fitness evaluation: the fitness of individuals in the population is evaluated by comparing the simulated outflow data, extracted from simulations of crowd exiting at the Festival of Lights, with observed outflow using the fitness function in Equation 8. A total of N = 20 observations is selected by systematic sampling. Implementation details of the simulations are described in the next section.
  • Selection: this process refers to choosing individuals with the best fitness values from the population to serve as parents for generating offspring for the next generation. In this work, 50% of individuals with the lowest fitness values in each generation are selected as parents for crossover and retained for the next generation.
  • Crossover: pairs of parent individuals in the best-selected set are combined to reproduce offspring. Uniform crossover is used with each gene of an offspring’s chromosome having a 0.5 probability of originating from the corresponding gene of either parent, as shown in Figure 8.
  • Mutation: the mutation operator randomly alters chromosomes to prevent converging to a locally optimal solution. A mutation rate of 0.01 is applied to each gene in a chromosome. If a mutation occurs for the parameter gene ϕ i :
    ϕ i = ϕ i m i n + γ ( ϕ i m a x ϕ i m i n ) , 0 γ 1 .
    where γ is a random value between 0 and 1.
Figure 9 presents the flow of the calibration process executed using the GA. An individual, which represents a set of parameters, is input into the crowd exiting simulation on the GAMA platform [29] to evaluate fitness. The GA stops when the number of generations exceeds 150.

4.5. Simulation details

The experiment configuration for simulating the crowd exit scenario is as follows:
  • The simulation is conducted with a time step Δ t = 0.1 s , with 3883 agents.
  • Pedestrians are initialized with a uniform distribution across the high-density zone.
  • All simulations are conducted using the GAMA platform [29] on a M1 MacBook Pro with 32 GB of memory.

4.6. Calibration results

Figure 10 shows the average fitness value and best fitness value of the population over 150 generations. It can clearly be seen that the average fitness exhibits an exponential decrease in the first 10 generations. Then, it declines gradually until generation 35, where it stabilizes for the remaining duration. Similarly, the best fitness value of the population drops rapidly until generation 30 before reaching a stable state.
Table 2 presents the optimal parameter values obtained through the calibration process. The calibrated α and β values indicate that pedestrians are more likely to choose the closest road to exit. However, β is lower than α . This can be explained that there are more pedestrians near the Chenavard road than the Constantine road at the time when the exit choice behaviour is performed.

4.7. Model validation

The calibrated parameters are used to reproduce the pedestrian outflow of the crowd exiting at the Festival of Lights. A total of 90 simulations are conducted with the calibrated parameters. The simulated outflow is extracted and the average is computed with a 95% confidence interval. Figure 11 presents the comparison of simulated outflow and observed outflow for the two exit roads. As illustrated, the simulated outflow exhibits close alignment with the observed outflow data.

4.8. Sensitivity analysis

It is important to understand how different parameters in the calibrated model can influence the simulation results. A local sensitivity analysis is therefore conducted by individually varying the value of one parameter at a time around its calibrated value while holding all other parameters constant. The values vary from 25 % to 25 % in increments of 5% as long as they fall within their corresponding permissible ranges, except for t d e l a y because of its dependence on discrete time step value. For each combination of parameter values, 40 simulations are run to compute the average pedestrian outflow and its 95% confidence interval.
Figure 12 presents the local sensitivity analysis results for each parameter. For all hybridization parameters, the fitness function generally reaches the optimal value at the calibrated value of each parameter. The parameter β demonstrates the strongest sensitivity to the simulation results, with the fitness value increasing sharply as β moves away from 0.75. In contrast, although t d e l a y and α display similar trends, their effects on fitness values are less pronounced than those of β .
On the other hand, for the parameters of the pedestrian simulation models, the sensitivity results differ between the SFM and CC models. For the parameters of the SFM, the fitness values remain largely unchanged, indicating that the SFM parameter variations do not substantially affect the fitness value and the outflow results. For the parameters of the CC model, only those parameters specifying pedestrian speed, including f m i n and f m a x , exhibit strong sensitivity to the fitness values, with a rapid increase when these parameters deviate from their calibrated values. In contrast, the parameters ρ m i n and ρ m a x have almost no impact on the fitness value.

5. Performance analysis

This section demonstrates the performance of the hybrid model in simulating a large number of pedestrian agents. As such, the hybrid model is compared to three others, including:
  • SFM-only model: the SFM is applied in all three zones.
  • 3-CC-1 model: consists of three separate CC models, each with one target cell for simulating one single zone.
  • 1-CC-2 model: one CC model for simulating the entire environment, with two designated target cells representing two exit roads. This configuration increases computational complexity compared to using only one target cell.
For each simulation, two indicators are computed, and an average is determined from a total of 15 simulations for each model:
  • Density map (in p e d / m 2 ) of pedestrian density distribution across the simulation area.
  • Computation time (in s) required to calculate one simulation step.
Figure 13 presents the density maps of various models over different time steps ( t = 60 s , 150 s , 240 s ) . In the SFM-only model, the highest density area, with a maximum density of 3.5 p e d / m 2 , is observed in both the plaza and the two exits. Similarly, the 3-CC-1 model and 1-CC-2 model can simulate extremely high densities of 6 8 p e d / m 2 , but these extremely high-density areas also appear in both the plaza and the two exits. In contrast, the hybrid model exhibits a clear difference in density levels between the plaza and the two exits. These results indicate that the hybrid model can effectively simulate pedestrians in environments with a mix of low- and high-density situations. Furthermore, a key advantage of this architecture is its generic nature and flexibility, as it can accommodate any combination of zones and models, enabling the modeling of various scenarios and crowd dynamics.
Next, various numbers of pedestrian agents ( 3 K to 15 K ) are used to evaluate the simulation time of different models. Figure 13a displays the simulation of 6000 agents at Place des Terreaux using the hybrid model, with pedestrians in the high-density zone represented in red and pedestrians in the low-density zones shown in blue. The results, shown in Figure 13b, indicate that the SFM-only and 3-CC-1 models have the longest simulation times, which increase significantly as the number of pedestrians grows, while the 1-CC-2 model has a similar simulation time to them at first but drops as the number of agents increases. In contrast, our model demonstrates superior performance in terms of simulation time, with a large difference from the other models observed as the number of pedestrians grows. This finding indicates that using mesoscopic models for low-density regions is unnecessary, and they can be replaced with microscopic models. These results suggest that having different modeling algorithms at each level not only improves the variety of behaviour observed in various scenarios but also enhances overall performance compared to using only microscopic models or multiple mesoscopic models.

6. Conclusion and Discussion

Large-scale crowd phenomena are complex to model as the behaviour of pedestrians needs to be described at both strategic, tactical, and operational levels and it is impacted by the density of the crowd. Particularly in the operational level modeling, each model can only simulate a single type of pedestrian dynamic, while pedestrian dynamics vary significantly depending on the density of the environment. This paper proposes an agent-based architecture for simulating the multi-level behaviour of pedestrians, where agents are able to dynamically change their operational model based on local density. The ability to combine different models of the proposed agent-based architecture for multi-scale simulation is evaluated through a use case of pedestrians at the Festival of Lights, Lyon, France.
The hybrid model is calibrated using a genetic algorithm using pedestrian outflow data extracted from video recordings of exiting crowds at the festival. Simulation results of the calibrated model show a match between simulated and observed pedestrian outflow over time. Furthermore, a local sensitivity analysis is then conducted to identify the most sensitive parameters in the model. Finally, the performance of the hybrid model is compared to different models in terms of density map and computation time. The comparison results demonstrate that the hybrid model has the capacity to effectively simulate pedestrians across varied density scenarios while optimizing computational performance compared to other models. Our architecture is not only generic in the domain of pedestrian modeling but also extensible to other domains such as traffic simulation and social simulation.
Our future work aims to incorporate a greater variety of modeling algorithms for each level of behaviour, particularly at the operational level. Then, the selection of an optimal algorithm at each level of behaviour and the criteria for switching these algorithms must be defined based on the density of each region. Another promising direction involves applying density-based clustering algorithms to pedestrian coordinates in order to dynamically estimate the local density of environments.

Author Contributions

Huu-Tu Dang: Conceptualization, Methodology, Software, Formal analysis, Data curation, Visualization, Writing - Original draft, Writing - Review and editing / Benoit Gaudou: Conceptualization, Methodology, Writing - Review and editing, Funding acquisition, Supervision / Nicolas Verstaevel: Conceptualization, Methodology, Writing - Review and editing, Funding acquisition, Supervision. All authors have read and agreed to the published version of the manuscript.

Funding

The authors acknowledge the Franco-German research project MADRAS funded in France by the Agence Nationale de la Recherche (ANR, French National Research Agency), grant number ANR-20-CE92-0033, and in Germany by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), grant number 446168800.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SFM Social Force Model
CC Continuum Crowds
GA Genetic Algorithm

References

  1. Duives, D. C.; Daamen, W.; Hoogendoorn, S. P. State-of-the-art crowd motion simulation models. Transportation Research Part C: Emerging Technologies 2013, 37, 193–209. [Google Scholar] [CrossRef]
  2. Hoogendoorn, S. P.; Bovy, P. H. L. Pedestrian Route-choice and activity scheduling theory and Models. Transportation Research Part B: Methodological 2004, 38, 169–190. [Google Scholar] [CrossRef]
  3. Haghani, M.; Sarvi, M. Human exit choice in crowded built environments: Investigating underlying behavioural differences between normal egress and emergency evacuations. Fire Safety Journal 2016, 85, 1–9. [Google Scholar] [CrossRef]
  4. Kielar, P. M.; Borrmann, A. Modeling pedestrians’ interest in locations: A concept to improve simulations of pedestrian destination choice. Simulation Modelling Practice and Theory 2016, 61, 47–62. [Google Scholar] [CrossRef]
  5. van Toll, W. G.; Cook, A. F.; Geraerts, R. Real-time density-based crowd simulation. Computer Animation and Virtual Worlds 2012, 23, 59–69. [Google Scholar] [CrossRef]
  6. Jiang, Y.; Chen, B.; Li, X.; Ding, Z. Dynamic navigation field in the social force model for pedestrian evacuation. Applied Mathematical Modelling 2020, 80, 815–826. [Google Scholar] [CrossRef]
  7. Helbing, D.; Farkas, I.; Vicsek, T. Simulating dynamical features of Escape panic. Nature 2000, 407, 487490. [Google Scholar] [CrossRef]
  8. van den Berg, J.; Guy, S. J.; Lin, M.; Manocha, D. Reciprocal N-body collision avoidance. Springer Tracts in Advanced Robotics 2011, 3–19. [Google Scholar]
  9. Papadimitriou, E.; Yannis, G.; Golias, J. A critical assessment of pedestrian behaviour models. Transportation Research Part F: Traffic Psychology and Behaviour 2009, 12, 242–255. [Google Scholar] [CrossRef]
  10. Pelechano, N., Allbeck, J. & Badler, N. Controlling Individual Agents in High-Density Crowd Simulation. In Proceedings of Eurographics/SIGGRAPH Symposium On Computer Animation, San Diego, California, USA, August 2-4, 2007; pp. 99–108.
  11. Zhao, M.; Zhong, J.; Cai, W. A role-dependent data-driven approach for high-density crowd behavior modeling. ACM Transactions on Modeling and Computer Simulation 2018, 28, 1–25. [Google Scholar] [CrossRef]
  12. Korbmacher, R.; Dang, H.-T.; Tordeux, A. Predicting pedestrian trajectories at different densities: A multi-criteria empirical analysis. Physica A: Statistical Mechanics and its Applications 2024, 634, 129440. [Google Scholar] [CrossRef]
  13. Dang, H.-T.; Korbmacher, R.; Tordeux, A.; Gaudou, B.; Verstaevel, N. TTC-SLSTM: Human trajectory prediction using time-to-collision interaction energy. In Proceedings of the 2023 15th International Conference on Knowledge and Systems Engineering (KSE), Hanoi, Vietnam, 18-20 October 2023; pp. 1–6. [Google Scholar]
  14. Helbing, D. A Fluid Dynamic Model for the Movement of Pedestrians. Complex Systems 1992, 6, 391–415. [Google Scholar]
  15. Treuille, A.; Cooper, S.; Popović, Z. Continuum crowds. ACM Transactions on Graphics 2006, 25, 1160–1168. [Google Scholar] [CrossRef]
  16. Siyam, N.; Alqaryouti, O.; Abdallah, S. Research issues in agent-based simulation for pedestrians evacuation. IEEE Access 2020, 8, 134435–134455. [Google Scholar] [CrossRef]
  17. Göttlich, S.; Pfirsching, M. A micro-macro hybrid model with application for material and pedestrian flow. Cogent Mathematics & Statistics 2018, 5, 1476049. [Google Scholar]
  18. Xiong, M., Cai, W., Zhou, S., Low, M., Tian, F., Chen, D., Ong, D. & Hamilton, B. A case study of multi-resolution modeling for crowd simulation. In Proceedings of the 2009 Spring Simulation Multiconference, San Diego, California, USA, March 22-27, 2009; pp. 1–8.
  19. Xiong, M.; Tang, S.; Zhao, D. A hybrid model for simulating crowd evacuation. New Generation Computing 2013, 31, 211–235. [Google Scholar] [CrossRef]
  20. Xiong, M.; Lees, M.; Cai, W.; Zhou, S.; Low, M. Y. Hybrid modelling of crowd simulation. Procedia Computer Science 2010, 1, 57–65. [Google Scholar] [CrossRef]
  21. Biedermann, D. H.; Clever, J.; Borrmann, A. A generic and density-sensitive method for multi-scale pedestrian dynamics. Automation in Construction 2021, 122, 103489. [Google Scholar] [CrossRef]
  22. Sparnaaij, M.; Duives, D. C.; Knoop, V. L.; Hoogendoorn, S. P. Multiobjective calibration framework for pedestrian simulation models: A study on the effect of movement base cases, metrics, and density levels. Journal Of Advanced Transportation 2019, 2019, 1–18. [Google Scholar] [CrossRef]
  23. Zeng, W.; Chen, P.; Yu, G.; Wang, Y. Specification and calibration of a microscopic model for pedestrian dynamic simulation at signalized intersections: A hybrid approach. Transportation Research Part C: Emerging Technologies 2017, 80, 37–70. [Google Scholar] [CrossRef]
  24. Gödel, M.; Bode, N.; Köster, G.; Bungartz, H.-J. Bayesian inference methods to calibrate crowd dynamics models for safety applications. Safety Science 2022, 147, 105586. [Google Scholar] [CrossRef]
  25. Hoogendoorn, S. P.; Daamen, W.; Landman, R. Microscopic calibration and validation of pedestrian models — cross-comparison of models using experimental data. In Proceedings of the Pedestrian and Evacuation Dynamics 2005, Vienna, Austria; 2005; pp. 253–265. [Google Scholar]
  26. Feng, Y.; Duives, D.; Daamen, W.; Hoogendoorn, S. Data collection methods for studying pedestrian behaviour: A systematic review. Building and Environment 2021, 187, 107329. [Google Scholar] [CrossRef]
  27. Curtis, S.; Best, A.; Manocha, D. Menge: A modular framework for simulating crowd movement. Collective Dynamics 2016, 1, 1–40. [Google Scholar] [CrossRef]
  28. Festival of Lights. Available online: https://www.fetedeslumieres.lyon.fr (accessed on 30 January 2024).
  29. Taillandier, P.; Gaudou, B.; Grignard, A.; Huynh, Q.-N.; Marilleau, N.; Caillou, P.; Philippon, D.; Drogoul, A. Building, composing and experimenting complex spatial models with the Gama Platform. GeoInformatica 2018, 23, 299–322. [Google Scholar] [CrossRef]
1
The integration of strategic subproblem is not in the scope of this paper.
2
Figure 1. General overview.
Figure 1. General overview.
Preprints 97943 g001
Figure 2. Agent-based architecture for multi-level pedestrian behaviour.
Figure 2. Agent-based architecture for multi-level pedestrian behaviour.
Preprints 97943 g002
Figure 3. Pedestrian’s activity diagram at each simulation step.
Figure 3. Pedestrian’s activity diagram at each simulation step.
Preprints 97943 g003
Figure 4. A screenshot of pedestrians watching the show at the Place des Terreaux in 20222 and main circulation of the exiting crowd.
Figure 4. A screenshot of pedestrians watching the show at the Place des Terreaux in 20222 and main circulation of the exiting crowd.
Preprints 97943 g004
Figure 5. Empirical outflow of pedestrians.
Figure 5. Empirical outflow of pedestrians.
Preprints 97943 g005
Figure 6. Description of repulsion force f i j between pedestrian i and j.
Figure 6. Description of repulsion force f i j between pedestrian i and j.
Preprints 97943 g006
Figure 7. Parameters of CC model.
Figure 7. Parameters of CC model.
Preprints 97943 g007
Figure 8. Crossover.
Figure 8. Crossover.
Preprints 97943 g008
Figure 9. Flow of the calibration process.
Figure 9. Flow of the calibration process.
Preprints 97943 g009
Figure 10. Average and best fitness value over the generations.
Figure 10. Average and best fitness value over the generations.
Preprints 97943 g010
Figure 11. Comparison of observed and simulated outflow for the two exit roads.
Figure 11. Comparison of observed and simulated outflow for the two exit roads.
Preprints 97943 g011
Figure 12. Local sensitivity analysis for different parameters.
Figure 12. Local sensitivity analysis for different parameters.
Preprints 97943 g012
Figure 13. Density maps among different models with 6000 simulated agents.
Figure 13. Density maps among different models with 6000 simulated agents.
Preprints 97943 g013
Figure 14. Simulation results.
Figure 14. Simulation results.
Preprints 97943 g014
Table 1. List of parameters and their ranges.
Table 1. List of parameters and their ranges.
Type Parameter ϕ i ϕ i m i n ϕ i m a x
Hybrid t d e l a y 0.0 1.0
α 0.0 1.0
β 0.0 1.0
SFM A 0.5 5.0
B 0.1 0.5
V p r e f 0.8 1.5
τ 0.4 0.6
CC f m i n 0.05 0.25
f m a x 0.8 1.6
ρ m i n 0.05 0.5
ρ m a x 6.0 8.0
Table 2. Optimal parameter values obtained from the calibration process.
Table 2. Optimal parameter values obtained from the calibration process.
Parameter ϕ i t d e l a y α β A B V p r e f τ f m i n f m a x ρ m i n ρ m a x
Best value 0.9 0.91 0.76 1.83 0.45 1.25 0.57 0.15 1.35 0.11 6.36
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated