A traffic hub pedestrian flow macro-micro integrated simulation and evacuation guidance method and system
By using a macro-micro integrated simulation method for pedestrian flow in transportation hubs, combined with K-medoids clustering and NS equations, efficient and stable optimization of evacuation guidance in transportation hubs is achieved. This solves the problems of disconnect between evacuation simulation and optimization timing and insufficient accuracy in existing technologies, and improves the efficiency and robustness of emergency evacuation in transportation hubs.
Patent Information
- Application Number
- CN202611688899.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing simulation and optimization methods for evacuation of transportation hubs suffer from problems such as a disconnect between evacuation simulation and optimization timelines, insufficient simulation accuracy, excessively time-consuming optimization algorithms, and a lack of a unified closed-loop framework for modeling-simulation-optimization-verification, resulting in low evacuation efficiency and poor robustness.
A macro-micro integrated simulation method for pedestrian flow in transportation hubs is adopted, which combines K-medoids clustering, NS equations and random forest surrogate model to construct a macro-micro integrated simulation system, realizing spatiotemporal joint optimization of pedestrian spatial clustering, pressure propagation simulation, exit allocation and departure delay.
It significantly improves the emergency evacuation efficiency of large transportation hubs, reduces bottleneck congestion pressure, and enhances the stability and robustness of the evacuation process. It is suitable for complex scenarios such as high-speed rail stations, subway stations, and airports.
Smart Images

Figure CN123179945A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of transportation hub technology and relates to a macro- and micro-integrated simulation and evacuation guidance method and system for pedestrian flow in transportation hubs. Background Technology
[0002] With the acceleration of urbanization and the continuous expansion of the scale of integrated transportation hubs, the high passenger density, complex spatial structure, and densely intersecting flow lines within these hubs make them highly susceptible to congestion bottlenecks in emergency scenarios such as fires, earthquakes, and equipment failures. This leads to a "fast is slow" effect, resulting in high-risk problems such as low evacuation efficiency, prolonged evacuation time, and localized stampedes. Current simulation optimization methods for evacuation guidance in transportation hubs mainly suffer from the following technical shortcomings:
[0003] (1) The evacuation simulation and optimization timing are disconnected, and the spatiotemporal coordination mechanism is lacking. Traditional methods often optimize spatial indicators such as exit allocation and path planning separately, generally ignoring the staggered scheduling of departure time, which leads to a large number of pedestrians rushing to the exit at the same time, causing instantaneous congestion. This makes it impossible to break through the capacity limit of the physical bottleneck and achieve global optimization.
[0004] (2) The simulation accuracy of high-density pedestrian flow is insufficient, and it is difficult to balance computational efficiency and physical realism. Microscopic models can characterize individual behavior, but the computational cost is extremely high and cannot support real-time simulation of large-scale hubs; traditional macroscopic models only consider mass conservation and are difficult to accurately simulate complex fluid dynamic behaviors such as pressure wave propagation, shear viscosity, and start-stop oscillation, resulting in a large deviation between simulation results and real-world scenarios.
[0005] (3) Optimization algorithms are difficult to adapt to mixed variables and high-dimensional nonlinear scenarios. Evacuation optimization involves both discrete exit selection and continuous departure delay. Traditional Gaussian process proxy models are difficult to handle mixed variables and are prone to getting trapped in local optima. Existing methods rely on a large number of simulation iterations, which take too long and cannot meet the requirements of rapid emergency decision-making.
[0006] (4) Lack of a unified "modeling-simulation-optimization-verification" closed-loop framework. Existing technologies do not systematically integrate spatial clustering, fluid simulation, intelligent optimization and dual-scale verification, resulting in insufficient reliability and weak generalization ability of the solutions, making it difficult to maintain stable performance in extreme scenarios such as complex obstacles and large passenger flow.
[0007] In summary, existing simulation optimization methods cannot simultaneously meet the requirements of high-precision simulation, high-efficiency optimization, spatiotemporal coordination, and strong robustness. There is an urgent need for a complete, unified, and engineerable simulation optimization method for emergency evacuation guidance. Summary of the Invention
[0008] The purpose of this invention is to provide a macro- and micro-integrated simulation and evacuation guidance method and system for pedestrian flow in transportation hubs. It realizes the integrated collaborative operation of spatial modeling of transportation hubs, pedestrian clustering and grouping, high-precision simulation of high-density pedestrian flow, and spatiotemporal collaborative optimization, which significantly improves the emergency evacuation efficiency and system robustness of large transportation hubs, effectively alleviates bottleneck congestion, and its evacuation guidance scheme and simulation effect are more in line with the real emergency scenarios of complex transportation hubs.
[0009] To solve the above-mentioned technical problems, the present invention is implemented using the following technical solution.
[0010] Firstly, this invention proposes an integrated macro- and micro-level simulation and evacuation guidance method for pedestrian flow in transportation hubs, comprising:
[0011] Step S1: Construct a simulation environment for the spatial geometry and pedestrian distribution of the transportation hub, complete spatial geometry modeling, divide feasible and infeasible regions, and set the influence zone of attractants to form the evacuation simulation boundary and initial conditions.
[0012] Step S2: Based on K-medoids clustering, spatial feature identification and pedestrian group division are performed on pedestrians in the transportation hub. The optimal number of clusters is determined by combining the elbow rule error function, profile coefficient and DBI index to obtain independent evacuation units.
[0013] Step S3: Construct a macroscopic fluid simulation model based on the Navier-Stokes equations to achieve macroscopic simulation of pressure propagation, viscous shear, congestion evolution, and obstacle constraints; construct a microscopic simulation model based on a traffic simulation platform to verify the accuracy and error boundary of the macroscopic fluid simulation model in depicting large-scale crowd evacuation, and confirm the real effectiveness of the optimal evacuation strategy in the time dimension.
[0014] Step S4: Construct a Bayesian optimization framework using random forest as the surrogate model, generate an initial scheme through Latin hypercube sampling, and perform spatiotemporal joint optimization of exit allocation and departure delay for each pedestrian group to obtain the optimal evacuation strategy.
[0015] Step S5: Input the optimal evacuation strategy into the macroscopic fluid simulation model and the microscopic simulation model respectively, and then compare the output results of the macroscopic fluid simulation model and the microscopic simulation model to complete the simulation verification.
[0016] In conjunction with the first aspect, step S1 further includes:
[0017] Step 1.1: Decompose the transportation hub into a two-dimensional simulation area according to the planar projection, and use different geometric shapes to represent the size and position of each facility in the transportation hub on the two-dimensional simulation area. The facilities include turnstiles, service counters, and waiting areas.
[0018] Step 1.2: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the two-dimensional simulation area is discretized with a uniform rectangular grid. The grids containing obstacles and fixed facilities are marked as infeasible regions, and the passages and walking areas are marked as feasible regions.
[0019] Step 1.3: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the attraction influence zone is divided according to the location of the exit, gate, transfer point, and waiting area. Velocity boundary, pressure boundary and no-slip constraint are set to form the evacuation simulation boundary and initial conditions.
[0020] In conjunction with the first aspect, step S2 further includes:
[0021] Step 2.1: Generate a random pedestrian distribution in the two-dimensional simulation area. Based on the initial spatial coordinates of the pedestrians, use Euclidean distance as a similarity metric and perform K-medoids clustering.
[0022] Step 2.2: Calculate the elbow rule error, profile coefficient, and DBI index respectively, and score them according to the preset weights to determine the optimal number of clusters k;
[0023] Step 2.3: Treat each pedestrian group as an independent evacuation unit and output the spatial range, number of pedestrians, and center location of each pedestrian group.
[0024] In conjunction with the first aspect, step S3 further includes:
[0025] Step 3.1: Establish a continuity equation to achieve the conservation of pedestrian mass, and establish a momentum equation to achieve the balance between pedestrian driving force, pressure, viscous force and obstacle repulsive force;
[0026] Step 3.2: Construct pressure and viscosity models to simulate high-density crowd compression, velocity gradient, pressure wave, and start-stop wave phenomena;
[0027] Step 3.3: The NS equations are solved discretically using the finite volume method. The time step is dynamically adjusted based on the CFL condition to ensure numerical stability and computational efficiency.
[0028] Step 3.4: Output the total evacuation time as the optimization target and evaluation index.
[0029] Step 3.5: Construct a microscopic simulation model based on the traffic simulation platform for dual-scale verification in subsequent steps.
[0030] The Navier-Stokes equations include the continuity equation and the momentum equation:
[0031] The expression for the continuity equation is:
[0032] ;
[0033] In the formula: Density (people / square meter), specifically pedestrian density; For time; Speed (meters per second); It is a divergence operator;
[0034] The momentum equation is expressed as follows:
[0035] ;
[0036] In the formula, Driven by pedestrians For pressure, It is a viscous force. It is a repulsive force from an obstacle.
[0037] The Navier-Stokes equations also include a pressure model, a viscosity model, and boundary conditions:
[0038] The pressure model expression is:
[0039] ;
[0040] in, Indicates the stress term. Indicates density, Indicates the reference pressure constant. This represents the reference density (usually taken as the limiting blockage density). The thermal insulation index represents the "stiffness" of pedestrian fluid.
[0041] The expression for the viscosity model is:
[0042] ;
[0043] in, Represents the viscous term. Represents the fundamental viscosity constant;
[0044] The boundary conditions are:
[0045] Wall boundary setting The simulation assumes pedestrians cannot penetrate the wall, so the normal velocity is forced to 0, and the tangential velocity decreases to 0 at the wall surface to reflect the friction effect between the pedestrian and the wall. Atmospheric pressure is used as the pressure boundary at the exit, allowing pedestrians to leave the two-dimensional simulation area and ensuring that the pressure gradient drives the flow towards the exit. Once a pedestrian crosses the exit boundary, evacuation is complete. Internal obstacles (columns, seats, etc.) use the same boundary conditions as the walls. Pedestrians are prohibited from crossing this area.
[0046] In conjunction with the first aspect, step S4 further includes the following steps:
[0047] Step 4.1: Set the exit allocation as a discrete decision variable and the departure delay as a continuous decision variable to construct a mixed-type decision vector and constraints;
[0048] Step 4.2: Use Latin hypercube sampling to uniformly cover the decision space, generate an initial evacuation strategy, and obtain the target value through simulation using a macroscopic fluid simulation model;
[0049] Step 4.3: Using a random forest as a surrogate model, fit the nonlinear mapping relationship between the two decision variables and the total evacuation time;
[0050] Step 4.4: Using the expected increase as the acquisition function, balance exploration and development, and iteratively search for the optimal spatiotemporal combination;
[0051] Step 4.5: Within the boundary conditions of the NS equation, output the optimal spatiotemporal differentiated evacuation guidance strategy, which is the combination of exit allocation and departure delay that minimizes the total evacuation time.
[0052] In conjunction with the first aspect, the specific steps of step S5 are as follows:
[0053] Step 5.1: Input the optimal evacuation strategy into the macroscopic fluid simulation model and output the total pedestrian evacuation time, bottleneck density, and pressure field distribution under the strategy;
[0054] Step 5.2: Input the optimal evacuation strategy into the microscopic simulation model to simulate pedestrian microscopic obstacle avoidance, path following and conflict behavior;
[0055] Step 5.3: Verify the improvement effect of the optimal evacuation strategy and form the final executable evacuation guidance plan.
[0056] Secondly, this invention proposes an integrated macro- and micro-level simulation and evacuation guidance system for pedestrian flow in transportation hubs, used to implement the aforementioned integrated macro- and micro-level simulation and evacuation guidance method for pedestrian flow in transportation hubs, including:
[0057] The simulation environment construction module is configured to construct a simulation environment for the spatial geometry and pedestrian distribution of a transportation hub, complete spatial geometry modeling, feasible and infeasible domain division, and attraction influence zone setting, forming evacuation simulation boundaries and initial conditions;
[0058] The optimal cluster number determination module is configured to perform spatial feature recognition and pedestrian grouping of pedestrians in transportation hubs based on K-medoids clustering. It combines the elbow rule error function, profile coefficient and DBI index to determine the optimal cluster number and obtain independent evacuation units.
[0059] The macroscopic simulation and macroscopic fluid simulation model verification module is configured to build macroscopic fluid simulation models based on the Navier-Stokes equations to achieve macroscopic simulations of pressure propagation, viscous shear, congestion evolution, and obstacle constraints; and to build microscopic simulation models based on a traffic simulation platform to verify the macroscopic fluid simulation models.
[0060] The optimal evacuation strategy module is configured to build a Bayesian optimization framework using random forest as the surrogate model. It generates an initial scheme through Latin hypercube sampling and performs spatiotemporal joint optimization on the exit allocation and departure delay of each pedestrian group to obtain the optimal evacuation strategy.
[0061] The simulation verification module is configured to input the optimal evacuation strategy into the macroscopic fluid simulation model and the microscopic simulation model respectively, and then compare the output results of the macroscopic fluid simulation model and the microscopic simulation model to complete the simulation verification.
[0062] Thirdly, the present invention proposes a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-mentioned integrated macro-micro simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0063] Fourthly, the present invention provides a computer device comprising:
[0064] Memory, used to store computer programs;
[0065] A processor is used to execute the computer program to implement the steps of the above-described integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0066] Fifthly, the present invention proposes a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-mentioned macro-micro integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0067] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:
[0068] (1) This invention realizes spatial modeling of transportation hubs, pedestrian clustering and grouping, and high density (high density refers to a density greater than 3.0 people / m²). 2The integrated operation of high-precision pedestrian flow simulation and spatiotemporal collaborative optimization significantly improves the emergency evacuation efficiency and system robustness of large transportation hubs, effectively alleviating bottleneck congestion. Its optimization scheme and simulation effect are more in line with the real emergency scenarios of complex transportation hubs, and can effectively solve the problems of spatiotemporal optimization fragmentation, insufficient simulation accuracy, low optimization efficiency and poor adaptability to extreme scenarios in traditional evacuation methods. While ensuring the safe and orderly evacuation of pedestrians at transportation hubs, this invention significantly reduces the total evacuation time and congestion pressure in key areas (key areas refer to areas with high pedestrian density such as hub entrance / exit gates, security checkpoints, ticket gates, and waiting hall entrances / exits), improving the stability and robustness of the entire evacuation process. The macroscopic fluid model based on the Navier-Stokes (NS) equations proposed in this invention can accurately characterize the pressure propagation, viscous shear, and congestion evolution characteristics of high-density crowds. The combination of the random forest surrogate model and Bayesian optimization can efficiently handle the mixed variable optimization problem of discrete exit selection and continuous departure delay, significantly reducing the number of simulation iterations while ensuring optimization accuracy and improving overall decision-making efficiency. The resulting spatiotemporally differentiated evacuation guidance strategy can be widely applied to various large transportation hubs such as high-speed rail stations, subway stations, and airports, maintaining reliable performance under different passenger flow scales and complex obstacle scenarios. It can provide solid technical support and decision-making basis for emergency evacuation plan formulation, transportation hub safety design, and intelligent evacuation scheduling.
[0069] (2) Based on the spatial modeling of transportation hubs, the present invention uses pedestrian space clustering as the unit, high-fidelity Navier-Stokes equation fluid simulation as the core, and random forest proxy model-driven Bayesian optimization as the engine to construct a closed-loop system of "spatiotemporal joint optimization + dual-scale verification" to achieve efficient, safe and orderly evacuation of high-density crowds.
[0070] (2) This invention is applicable to the evacuation guidance of transportation hubs. It can realize the integrated simulation of pedestrian space clustering, macro-micro simulation of pedestrian flow, spatiotemporal joint optimization and dual-scale verification, and provide decision support for the formulation of emergency evacuation guidance strategies, bottleneck optimization and safety management of transportation hubs. Attached Figure Description
[0071] Figure 1 This is a flowchart illustrating the simulation and evacuation guidance method in Embodiment 1 of the present invention;
[0072] Figure 2 This is a schematic diagram of the layout of the station hall in the transportation hub simulation scenario of Embodiment 1 of the present invention;
[0073] Figure 3 This is a schematic diagram of the scene layout simulation of a transportation hub using a microscopic simulation model in Embodiment 1 of the present invention;
[0074] Figure 4This is a schematic diagram of pedestrian space clustering results and evacuation guidance in Embodiment 1 of the present invention, where the shortest path is used as the evacuation strategy (referred to as evacuation strategy A).
[0075] Figure 5 This is a schematic diagram of pedestrian spatial clustering results and evacuation guidance in Embodiment 1 of the present invention, where only spatial optimization is used as an evacuation strategy (referred to as evacuation strategy B).
[0076] Figure 6 This is a schematic diagram of pedestrian space clustering results and evacuation guidance in the case of using spatiotemporal differential guidance as an evacuation strategy (referred to as evacuation strategy C) in Embodiment 1 of the present invention.
[0077] Figure 7 for Figures 4 to 6 The diagram shows a performance comparison of the three evacuation strategies.
[0078] Figure 8 This is a heat map of pedestrian density distribution at t=5 seconds during the evacuation process using evacuation strategy A (i.e., shortest path, i.e., evacuation to the nearest exit) in Embodiment 1 of the present invention.
[0079] Figure 9 This is a heat map of pedestrian density distribution at t=20 seconds during the evacuation process using evacuation strategy A (i.e., shortest path, i.e., evacuation to the nearest exit) in Embodiment 1 of the present invention.
[0080] Figure 10 This is a heat map of pedestrian density distribution at t=185 seconds during the evacuation process using evacuation strategy A (i.e., shortest path, i.e., evacuation to the nearest exit) in Embodiment 1 of the present invention.
[0081] Figure 11 This is a heat map of cumulative pedestrian density distribution simulated using a microscopic simulation model in Embodiment 1 of the present invention;
[0082] Figure 12 In Embodiment 1 of the present invention, considering the obstacle scenario, the shortest path is used as the evacuation strategy (referred to as evacuation strategy A) for evacuation. The pedestrian space clustering results and evacuation guidance diagram are shown.
[0083] Figure 13 In Embodiment 1 of the present invention, spatial guidance is used as an evacuation strategy (referred to as evacuation strategy B) in the case of obstacle scenario. The pedestrian spatial clustering results and evacuation guidance diagram are shown.
[0084] Figure 14 In Embodiment 1 of the present invention, considering the obstacle scenario, a spatiotemporal differentiated guidance is adopted as an evacuation strategy (referred to as evacuation strategy C) for evacuation. The pedestrian space clustering results and evacuation guidance diagram are shown.
[0085] Figure 15 for Figures 12 to 14 The diagram shows a performance comparison of the three evacuation strategies. Detailed Implementation
[0086] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations thereof. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0087] The term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0088] Example 1
[0089] like Figure 1 As shown, the steps of the integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs in this embodiment are as follows:
[0090] Step S1: Construct a simulation environment for the spatial geometry and pedestrian distribution of the transportation hub, complete spatial geometry modeling, feasible and infeasible domain division, and attraction influence zone setting, forming a standardized evacuation simulation boundary and initial conditions.
[0091] Step S2: Based on K-medoids clustering, spatial feature identification and pedestrian group division are performed on pedestrians in the transportation hub. The optimal number of clusters is determined by combining the elbow rule error function, contour coefficient and DBI index (i.e., the optimal number of clusters is determined by multi-index weighting) to obtain independent and differentiated evacuation units.
[0092] Step S3: Construct a macroscopic fluid simulation model of high-density pedestrian flow based on the Navier-Stokes equations to realize macroscopic simulation of pressure propagation, viscous shear, congestion evolution and obstacle constraints; construct a microscopic simulation model based on the traffic simulation platform to verify the accuracy and error boundary of the macroscopic fluid simulation model in characterizing large-scale crowd evacuation, and confirm the real effectiveness of the optimal evacuation strategy in the time dimension.
[0093] Step S4: Construct a Bayesian optimization framework using random forest as the surrogate model, generate an initial scheme through Latin hypercube sampling, and perform spatiotemporal joint optimization of exit allocation and departure delay for each pedestrian group to obtain the optimal evacuation strategy.
[0094] Step S5: Output the optimal evacuation strategy with spatiotemporal differences, and complete the dual-scale verification through macroscopic fluid simulation model and microscopic simulation model.
[0095] In one specific implementation of this embodiment, to achieve standardized modeling and unified spatial constraints for transportation hub evacuation scenarios, a simulation environment for the spatial geometry and pedestrian distribution of the transportation hub is constructed, forming a complete system of feasible regions, infeasible regions, and boundary conditions. This provides a unified spatial foundation for subsequent pedestrian clustering and evacuation simulation. The specific steps of step S1 are as follows:
[0096] Step 1.1: Decompose the multi-level space of the transportation hub into a two-dimensional simulation area according to the planar projection, and use different geometric shapes to represent the size and location of each facility in the transportation hub on the two-dimensional simulation area. For example, use geometric combinations such as rectangles and circles to represent the structural dimensions and locations of walls, columns, turnstiles, service counters, waiting areas, stairwells, etc.
[0097] Step 1.2: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the two-dimensional simulation area is discretized with a uniform rectangular grid. The grids containing obstacles and fixed facilities are marked as infeasible regions, and the passages and walking areas are marked as feasible regions.
[0098] Step 1.3: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the attraction influence zone is divided according to the location of the exit, transfer point, gate and waiting area. Velocity boundary, pressure boundary and no slip constraint are set to form a complete evacuation simulation boundary and initial conditions, and thus form a complete simulation environment.
[0099] In one specific implementation of this embodiment, to achieve differentiated management and precise guidance of pedestrians, pedestrians are divided into homogeneous groups based on spatial distribution characteristics. The optimal number of clusters is determined by comprehensively considering multiple indicators to form evacuation units that can be independently scheduled. The specific steps of step S2 are as follows:
[0100] Step 2.1: Generate a random pedestrian distribution in the two-dimensional simulation area, using the initial spatial coordinates of the pedestrians as input, and employing Euclidean distance as a similarity metric to perform K-medoids clustering;
[0101] Step 2.2: Calculate the elbow rule error, profile coefficient, and DBI index (Davis-Bolton index) respectively, and score them according to preset weights to automatically determine the optimal number of clusters k;
[0102] Step 2.3: Treat each cluster (each pedestrian group) as an independent evacuation unit, and output the spatial range, number of pedestrians, and center location of each pedestrian group to provide a basis for subsequent spatiotemporal optimization.
[0103] In one specific implementation of this embodiment, to accurately characterize the evacuation dynamics of high-density crowds, a macroscopic fluid simulation model is constructed based on the Navier-Stokes equations. This model balances computational efficiency with physical realism, accurately reproducing congestion, pressure propagation, and viscous shear behavior. The specific steps of step S3 are as follows:
[0104] Step 3.1: Establish a continuity equation to ensure the conservation of pedestrian flow mass, and establish a momentum equation to achieve the balance of pedestrian driving force, pressure, viscous force, and obstacle repulsive force;
[0105] Step 3.2: Construct density-related pressure and viscosity models to accurately simulate behaviors such as high-density pedestrian crushing, velocity gradients, pressure waves, and congestion propagation;
[0106] Step 3.3: The NS equations are solved discretically using the finite volume method. The time step is dynamically adjusted based on the CFL condition to ensure numerical stability and computational efficiency.
[0107] Step 3.4: Output the total evacuation time as the optimization target and evaluation index.
[0108] Step 3.5: Construct a microscopic simulation model of multiple agents based on the traffic simulation platform for dual-scale verification in subsequent step S5.
[0109] In one specific implementation of this embodiment, the Navier-Stokes equations include the continuity equation and the momentum equation:
[0110] The expression for the continuity equation is:
[0111] ;
[0112] In the formula: Density (people / square meter), specifically pedestrian density; For time; Speed (meters per second); It is a divergence operator;
[0113] The momentum equation is expressed as follows:
[0114] ;
[0115] In the formula, Driven by pedestrians For pressure, It is a viscous force. It is a repulsive force from an obstacle.
[0116] The Navier-Stokes equations also include a pressure model, a viscous model, and boundary conditions:
[0117] The pressure model expression is:
[0118] ;
[0119] in, Indicates the stress term. Indicates density, Indicates the reference pressure constant. This represents the reference density (usually taken as the limiting blockage density). The thermal insulation index represents the "stiffness" of pedestrian fluid.
[0120] The expression for the viscosity model is:
[0121] ;
[0122] in, Represents the viscous term. Represents the fundamental viscosity constant;
[0123] The boundary conditions are:
[0124] Wall boundary setting The simulation assumes pedestrians cannot penetrate the wall, so the normal velocity is forced to 0, and the tangential velocity decreases to 0 at the wall surface to reflect the friction effect between the pedestrian and the wall. Atmospheric pressure is used as the pressure boundary at the exit, allowing pedestrians to leave the two-dimensional simulation area and ensuring that the pressure gradient drives the flow towards the exit. Once a pedestrian crosses the exit boundary, evacuation is complete. Internal obstacles (columns, seats, etc.) use the same boundary conditions as the walls. Pedestrians are prohibited from crossing this area.
[0125] In one specific implementation of this embodiment, to achieve efficient collaborative optimization of exit allocation (in the spatial dimension) and departure delay (in the temporal dimension), a Bayesian optimization framework with random forest as the surrogate model is constructed to handle discrete-continuous mixed variables and quickly search for the optimal evacuation strategy in space and time. The specific steps of step S4 are as follows:
[0126] Step 4.1: Set the exit allocation as a discrete variable and the departure delay as a continuous variable, and construct a mixed decision vector and constraints; where the constraints refer to the exit capacity and maximum departure delay constraints.
[0127] Step 4.2: Use Latin hypercube sampling to uniformly cover the decision space, generate an initial evacuation strategy, and obtain the target value through simulation using a macroscopic fluid simulation model, that is, simulate to obtain the total evacuation time in the initial evacuation strategy;
[0128] Step 4.3: Using a random forest as a surrogate model, fit the nonlinear mapping between the decision variables and the total evacuation time;
[0129] Step 4.4: Using the expected improvement (EI) as the acquisition function, balance exploration and development, and iteratively search for the optimal spatiotemporal combination;
[0130] Step 4.5: Under the constraints of exit capacity and maximum departure delay, output the optimal solution with the goal of minimizing the total evacuation time, that is, obtain the optimal evacuation strategy, which is to obtain the exit allocation and departure delay of each pedestrian group.
[0131] In one specific implementation of this embodiment, to ensure the reliability of the evacuation strategy output in step S4, dual-scale verification is performed using both macroscopic and microscopic fluid simulation models to ensure the final evacuation strategy is effective, stable, and feasible. The specific steps of step S5 are as follows:
[0132] Step 5.1: Input the optimal evacuation strategy into the macroscopic fluid simulation model to simulate pedestrian evacuation efficiency, macroscopic flow state, and bottleneck area distribution.
[0133] Step 5.2: Input the optimal evacuation strategy into the microscopic simulation model to simulate the microscopic characteristics of pedestrians, namely, to simulate pedestrians' microscopic obstacle avoidance, path following, and conflict resolution behaviors.
[0134] Step 5.3: Compare the simulated and quantified evacuation guidance effects of Steps 5.1 and 5.2 to form the final executable evacuation guidance plan. Specifically, compare the pedestrian density distribution heatmap and the total evacuation time index to see if the evacuation time under the same evacuation guidance plan corresponds and matches between the macro and micro simulations, and whether the pedestrian density distribution heatmap reflects any obvious congestion.
[0135] Example 2
[0136] This embodiment further illustrates the macro-micro integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs using more specific data.
[0137] The method for integrated macro- and micro-level simulation and evacuation guidance of pedestrian flow at transportation hubs in this embodiment includes the following specific steps:
[0138] (a) Constructing a simulation environment for the spatial geometry and pedestrian distribution of transportation hubs.
[0139] like Figure 2 and Figure 3 As shown, a two-dimensional simulation area is established on a plane, taking a 500m×500m integrated transportation hub as the object; a combination of rectangles and circles is used to represent facilities such as walls, columns, turnstiles, service counters, and waiting areas; the space is discretized with a uniform grid, and feasible and infeasible regions are marked; the influence zone of the attraction is divided according to the location of the exit, transfer point, turnstile, and waiting area; no-slip boundary and exit pressure boundary are set, the initial velocity field is 0, and the initial density field is determined by the clustering results.
[0140] like Figure 2 and Figure 3 As shown, Figure 2E0-E7 indicate entrances and exits, and the central circular area is the information service desk. Figure 3 The solid blue lines on the left and top are coordinate system lines, the dashed green lines on the outside are the station hall boundaries, the brown rectangular blocks are walls, the brown circular blocks are information service counters, the gray rectangles are waiting areas, the green line groups corresponding to each waiting area represent ticket gates (each ticket gate is surrounded by walls), the solid green lines are entrances and exits, and E0-E7 represent entrances and exits.
[0141] Two scenarios were set up: a baseline scenario and an obstacle scenario. The baseline scenario did not consider the layout of obstacles within the transportation hub, while the obstacle scenario included facilities such as waiting areas and service counters. Three sets of comparative experiments were set up, corresponding to three evacuation strategies. The three sets were: the shortest path group, the space optimization-only group, and the spatiotemporal differentiated guidance group. The shortest path group and the space optimization-only group corresponded to existing evacuation guidance strategies; the shortest path group evacuated based on the shortest path strategy without guidance, while the space optimization-only group optimized the exit selection for pedestrians. The spatiotemporal differentiated guidance group corresponded to the spatiotemporally differentiated evacuation strategy of this invention, optimizing the exit selection and departure time for pedestrians. Specific experimental results are described below.
[0142] (ii) Pedestrian K-medoids spatial clustering.
[0143] Collect the initial spatial coordinates of pedestrians and perform K-medoids clustering using Euclidean distance as the metric; calculate the elbow rule error, profile coefficient, and DBI index, and score them according to preset weights to determine the optimal number of clusters k; output k pedestrian groups as differentiated evacuation basic units, i.e., as independent evacuation units.
[0144] (III) Simulation of high-density pedestrian flow using the Navier-Stokes equation.
[0145] A continuity equation and a momentum equation are constructed, coupling pedestrian driving force, pressure, viscous force, and obstacle repulsive force. Pressure and viscous force change nonlinearly with density to simulate real congestion behavior. The finite volume method is used for discretization, and the time step is dynamically adjusted based on CFL conditions. The total evacuation time is output as the optimization objective and evaluation index.
[0146] (iv) Random forest proxy model and Bayesian optimization.
[0147] For each of the k pedestrian groups, exit allocation and departure delay are performed respectively; Latin hypercube sampling is used to generate an initial evacuation strategy, and the target value is obtained through simulation using a macroscopic fluid simulation model; a random forest surrogate model is trained to fit the mapping from the mixed decision variables to the total evacuation time; the next evaluation point is selected with the expected improvement in EI as the acquisition function, and iterative optimization is performed until convergence; the exit allocation and departure delay (off-peak departure) scheme that minimizes the total evacuation time is output, i.e., the optimal evacuation strategy is output.
[0148] (v) Dual-scale verification and scheme output.
[0149] The optimal evacuation strategy is input into the microscopic simulation model to verify the rationality of the microscopic behavior. Compared with the baseline strategy, the simulation and evacuation guidance method in this embodiment effectively reduces the total evacuation time. The macroscopic and microscopic simulation errors are less than 3%, indicating that the evacuation strategy is reliable and effective, thus forming the final evacuation guidance strategy.
[0150] like Figures 4 to 6 As shown, Figures 4 to 6 The evacuation guidance strategies for the baseline scenario are shown respectively: shortest path evacuation, spatial optimization evacuation, and spatiotemporally differentiated evacuation. The red pentagrams represent the cluster centers of each pedestrian group (G0-G9 are 10 pedestrian groups, and different colored dots are used to represent each group of pedestrians). G0-E4 means that pedestrian group G0 leaves from entrance / exit E4. t represents the time when evacuation starts, such as t=0 means that the time when evacuation starts is 0s.
[0151] like Figure 7 As shown, by Figure 7 The performance comparison of the three evacuation strategies shows that the evacuation time using the shortest path evacuation strategy (Evacuation Strategy A, i.e., the evacuation route is the nearest exit to the pedestrian group) is 199.4 seconds, and the evacuation time using the spatial optimization-only evacuation strategy (Evacuation Strategy B, i.e., the evacuation strategy with exit optimization) is 144.5 seconds. However, the evacuation time using the spatiotemporal differentiated guidance evacuation strategy of this invention (Evacuation Strategy C, i.e., the evacuation strategy with exit + waiting optimization) is 106.3 seconds. This represents a 46.7% reduction in evacuation time compared to the shortest path evacuation strategy and a 26.4% reduction compared to the spatial optimization-only (i.e., exit optimization-only) evacuation strategy. Therefore, this invention significantly improves emergency evacuation efficiency and alleviates bottleneck congestion.
[0152] like Figures 8 to 10 As shown, Figures 8 to 10 The image shows heatmaps of pedestrian density distribution at three time points: t=5s, t=20s, and t=185s. The color change from blue to red indicates increasing pedestrian density, depicting the dynamic evolution of pedestrian flow from congestion and high-pressure bottlenecks to gradual dissipation. After the evacuation order is issued, a large number of pedestrians simultaneously rush towards the nearest limited exit. The local pressure in the flow field increases rapidly with increasing pedestrian density, forming a large red high-pressure area. The high viscosity of the flow causes the microscopic movement of pedestrians to shift from orderly parallelism to chaotic and inefficient motion. Figure 11As shown, this is a heat map of cumulative pedestrian density distribution generated by the microscopic simulation model of the present invention. It summarizes the pedestrian dwell time throughout the evacuation process and comprehensively represents the continuous congestion of the passage and the high-incidence areas of congestion. The dark red high-incidence points shown in the figure confirm the existence of the long-term blocking effect of high-pressure and high-viscosity areas in the macroscopic fluid simulation model from the perspective of microscopic dwell time.
[0153] like Figures 12 to 14 As shown, X and Y represent the length and width of the two-dimensional simulation area of the integrated transportation hub, i.e., the horizontal and vertical coordinates, respectively. t represents time. Figures 12 to 14 This section showcases evacuation guidance strategies for obstacle-prone scenarios, including shortest path evacuation, space-optimized evacuation only, and spatiotemporally differentiated guided evacuation. Red pentagrams represent the cluster centers of each pedestrian group (G0-G9, with different colored dots representing each group). G0-E4 indicates that pedestrian group G0 exits from exit E4. Green rectangles indicate that this group departs at t=0, and red rectangles indicate that this group has a departure delay (e.g., t=4.9s). Figure 15 The performance comparison of the three evacuation strategies shows that, considering obstacle scenarios, the evacuation time using the shortest path evacuation strategy (Evacuation Strategy A) is 100.3 seconds, and the evacuation time using only spatial guidance (i.e., exit optimization) evacuation strategy (Evacuation Strategy B) is 125.0 seconds. However, the evacuation time using the spatiotemporal differentiated guidance strategy of this invention (Evacuation Strategy C) is 93.3 seconds, a reduction of 7.0% compared to the shortest path evacuation strategy and a reduction of 25.4% compared to the only spatial guidance (i.e., spatial optimization) evacuation strategy. Therefore, this invention significantly improves emergency evacuation efficiency and alleviates bottleneck congestion.
[0154] Example 3
[0155] Based on the same inventive concept as Embodiment 1, this embodiment introduces an integrated macro- and micro-scale simulation and evacuation guidance system for pedestrian flow in transportation hubs, used to implement the aforementioned integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs, including:
[0156] The simulation environment construction module is configured to construct a simulation environment for the spatial geometry and pedestrian distribution of a transportation hub, complete spatial geometry modeling, feasible and infeasible domain division, and attraction influence zone setting, forming evacuation simulation boundaries and initial conditions;
[0157] The optimal cluster number determination module is configured to perform spatial feature recognition and pedestrian grouping of pedestrians in transportation hubs based on K-medoids clustering. It combines the elbow rule error function, profile coefficient and DBI index to determine the optimal cluster number and obtain independent evacuation units.
[0158] The macroscopic simulation and macroscopic fluid simulation model verification module is configured to build macroscopic fluid simulation models based on the Navier-Stokes equations to achieve macroscopic simulations of pressure propagation, viscous shear, congestion evolution, and obstacle constraints; and to build microscopic simulation models based on a traffic simulation platform to verify the macroscopic fluid simulation models.
[0159] The optimal evacuation strategy module is configured to build a Bayesian optimization framework using random forest as the surrogate model. It generates an initial scheme through Latin hypercube sampling and performs spatiotemporal joint optimization on the exit allocation and departure delay of each pedestrian group to obtain the optimal evacuation strategy.
[0160] The simulation verification module is configured to input the optimal evacuation strategy into the macroscopic fluid simulation model and the microscopic simulation model respectively, and then compare the output results of the macroscopic fluid simulation model and the microscopic simulation model to complete the simulation verification.
[0161] Example 4
[0162] Based on the same inventive concept as other embodiments, this embodiment introduces a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described integrated macro-micro simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0163] Example 5
[0164] Based on the same inventive concept as other embodiments, this embodiment introduces a computer device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the above-described integrated macro-micro simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0165] Example 6
[0166] Based on the same inventive concept as other embodiments, this embodiment introduces a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described integrated macro-micro simulation and evacuation guidance method for pedestrian flow in transportation hubs.
[0167] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0168] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0169] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0170] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0171] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other modifications under the guidance of the present invention, and these modifications are all within the protection scope of the present invention.
Claims
1. A macro- and micro-integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs, characterized in that, include: Step S1: Construct a simulation environment for the spatial geometry and pedestrian distribution of the transportation hub, complete spatial geometry modeling, divide feasible and infeasible regions, and set the influence zone of attractants to form the evacuation simulation boundary and initial conditions. Step S2: Based on K-medoids clustering, spatial feature identification and pedestrian group division are performed on pedestrians in the transportation hub. The optimal number of clusters is determined by combining the elbow rule error function, profile coefficient and DBI index to obtain independent evacuation units. Step S3: Construct a macroscopic fluid simulation model based on the Navier-Stokes equations to achieve macroscopic simulation of pressure propagation, viscous shear, congestion evolution, and obstacle constraints; A microscopic simulation model was constructed based on a traffic simulation platform to verify the macroscopic fluid simulation model. Step S4: Construct a Bayesian optimization framework using random forest as the surrogate model, generate an initial scheme through Latin hypercube sampling, and perform spatiotemporal joint optimization of exit allocation and departure delay for each pedestrian group to obtain the optimal evacuation strategy. Step S5: Input the optimal evacuation strategy into the macroscopic fluid simulation model and the microscopic simulation model respectively, and then compare the output results of the macroscopic fluid simulation model and the microscopic simulation model to complete the simulation verification.
2. The integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs according to claim 1, characterized in that: Step S1 specifically includes: Step 1.1: Decompose the transportation hub into a two-dimensional simulation area according to the planar projection, and use different geometric shapes to represent the size and position of each facility in the transportation hub on the two-dimensional simulation area. The facilities include turnstiles, service counters, and waiting areas. Step 1.2: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the two-dimensional simulation area is discretized with a uniform rectangular grid. The grids containing obstacles and fixed facilities are marked as infeasible regions, and the passages and walking areas are marked as feasible regions. Step 1.3: Based on the two-dimensional simulation area and the size and location of each facility in the transportation hub represented on the two-dimensional simulation area, the attraction influence zone is divided according to the location of the exit, gate, transfer point, and waiting area. Velocity boundary, pressure boundary and no-slip constraint are set to form the evacuation simulation boundary and initial conditions.
3. The integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs according to claim 2, characterized in that: Step S2 specifically includes: Step 2.1: Generate a random pedestrian distribution in the two-dimensional simulation area. Based on the initial spatial coordinates of the pedestrians, use Euclidean distance as a similarity metric and perform K-medoids clustering. Step 2.2: Calculate the elbow rule error, profile coefficient, and DBI index respectively, and score them according to the preset weights to determine the optimal number of clusters k; Step 2.3: Treat each pedestrian group as an independent evacuation unit and output the spatial range, number of pedestrians, and center location of each pedestrian group.
4. The integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs according to claim 1, characterized in that: Step S3 specifically includes: Step 3.1: Establish a continuity equation to achieve the conservation of pedestrian mass, and establish a momentum equation to achieve the balance between pedestrian driving force, pressure, viscous force and obstacle repulsive force; Step 3.2: Construct pressure and viscosity models to simulate high-density crowd compression, velocity gradient, pressure wave, and start-stop wave phenomena; Step 3.3: The NS equations are solved discretically using the finite volume method. The time step is dynamically adjusted based on the CFL condition to ensure numerical stability and computational efficiency. Step 3.4: Output the total evacuation time as the optimization target and evaluation index; Step 3.5: Construct a microscopic simulation model based on the traffic simulation platform for dual-scale verification in subsequent steps.
5. The integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs according to claim 4, characterized in that: The Navier-Stokes equations include a pressure model, a viscosity model, and boundary conditions: The pressure model expression is: ; in, Indicates the stress term. Indicates density, Indicates the reference pressure constant. Indicates the reference density. Indicates the adiabatic index; The expression for the viscosity model is: ; in, Represents the viscous term. Represents the fundamental viscosity constant; The boundary conditions are: Wall boundary setting The simulation assumes pedestrians cannot penetrate the wall, so the normal velocity is forced to zero, and the tangential velocity decreases to zero at the wall surface to reflect the friction effect between the pedestrian and the wall. Atmospheric pressure is used as the pressure boundary at the exit, allowing pedestrians to leave the two-dimensional simulation area and ensuring that the pressure gradient drives the flow towards the exit. Once a pedestrian crosses the exit boundary, evacuation is complete. Internal obstacles use the same boundary conditions as the wall. Pedestrians are prohibited from crossing this area.
6. The integrated macro- and micro-scale simulation and evacuation guidance method for pedestrian flow in transportation hubs according to claim 5, characterized in that, Step S4 specifically includes the following steps: Step 4.1: Set the exit allocation as a discrete decision variable and the departure delay as a continuous decision variable to construct the decision vector and constraints; Step 4.2: Use Latin hypercube sampling to uniformly cover the decision space, generate an initial evacuation strategy, and obtain the target value through simulation using a macroscopic fluid simulation model; Step 4.3: Using a random forest as a surrogate model, fit the nonlinear mapping relationship between the two decision variables and the total evacuation time; Step 4.4: Using the expected increase as the acquisition function, balance exploration and development, and iteratively search for the optimal spatiotemporal combination; Step 4.5: Within the boundary conditions of the NS equation, output the optimal spatiotemporal differentiated evacuation guidance strategy, which is the combination of exit allocation and departure delay that minimizes the total evacuation time.
7. A macro- and micro-integrated simulation and evacuation guidance system for pedestrian flow in transportation hubs, characterized in that, The method for implementing the integrated macro- and micro-scale simulation and evacuation guidance of pedestrian flow in transportation hubs as described in any one of claims 1 to 6 includes: The simulation environment construction module is configured to construct a simulation environment for the spatial geometry and pedestrian distribution of a transportation hub, complete spatial geometry modeling, feasible and infeasible domain division, and attraction influence zone setting, forming evacuation simulation boundaries and initial conditions; The optimal cluster number determination module is configured to perform spatial feature recognition and pedestrian grouping of pedestrians in transportation hubs based on K-medoids clustering. It combines the elbow rule error function, profile coefficient and DBI index to determine the optimal cluster number and obtain independent evacuation units. The macroscopic simulation and macroscopic fluid simulation model verification module is configured to build macroscopic fluid simulation models based on the Navier-Stokes equations to achieve macroscopic simulations of pressure propagation, viscous shear, congestion evolution, and obstacle constraints; and to build microscopic simulation models based on a traffic simulation platform to verify the macroscopic fluid simulation models. The optimal evacuation strategy module is configured to build a Bayesian optimization framework using random forest as the surrogate model. It generates an initial scheme through Latin hypercube sampling and performs spatiotemporal joint optimization on the exit allocation and departure delay of each pedestrian group to obtain the optimal evacuation strategy. The simulation verification module is configured to input the optimal evacuation strategy into the macroscopic fluid simulation model and the microscopic simulation model respectively, and then compare the output results of the macroscopic fluid simulation model and the microscopic simulation model to complete the simulation verification.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the macro-micro integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs as described in any one of claims 1 to 6.
9. A computer device, characterized in that, include: Memory, used to store computer programs; A processor is configured to execute the computer program to implement the steps of the macro-micro integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by the processor, it implements the steps of the macro-micro integrated simulation and evacuation guidance method for pedestrian flow in transportation hubs as described in any one of claims 1 to 6.
