Next Article in Journal
Integrated Analysis of Gene Expression and Protein–Protein Interaction with Tensor Decomposition
Previous Article in Journal
Novel Roles of Standard Lagrangians in Population Dynamics Modeling and Their Ecological Implications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Dynamic Network Loading Model for Hub Station Pedestrian Flow Collection and Distribution

School of Transportation and Logistics, Southwest Jiaotong University, Chengdu 610031, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(17), 3654; https://doi.org/10.3390/math11173654
Submission received: 19 July 2023 / Revised: 20 August 2023 / Accepted: 21 August 2023 / Published: 24 August 2023

Abstract

:
A macro network loading model for multi-flow lines, time varying, and pedestrian congestion is proposed. The station hub is abstracted as a network of different types of nodes, and the flow of passengers at each node is calculated in real time for the purpose of simulating the hub’s collection and distribution process. For correct transmission of passenger flow on heterogeneous networks, three types of indexes are proposed to distinguish the nodes, and the corresponding fundamental diagrams are then matched. This paper divides the update process of the dynamic network loading model into multiple processes by flow lines, and improves the computational speed of the DNL model. The proposed model is applied to the simulation of passenger flow collection and distribution in an actual hub station with multi-flow lines. The analysis results illustrate that the model can accurately reflect the realistic congestion facilities and explain the formation process of high-density areas. A rolling passenger flow control model based on optimal control theory is proposed. The effectiveness of the control model is verified based on simulation data.

1. Introduction

There is a general need to better understand pedestrian traffic in densely populated areas such as airports, hub stations, shopping malls, or other busy sidewalks. For important transportation infrastructures such as hub stations, the features of pedestrian flow collection and distribution are related to whether they can achieve their main functions. Thus, the pedestrian flow model is of great importance for traffic planning and design.
Pedestrian flow model is classified into micro models and macro models. The micro model takes individual pedestrians as the simulation object, and achieves the purpose of simulating crowd motion by calculating the velocity vector or transfer probability of multiple pedestrians at the same time. The method of continuity is represented by the social force model (Helbing, 1996 [1]), which describes the velocity vector of an individual pedestrian under the action of a wall or others through a system of differential equations. Discrete methods are often implemented based on grid (Muramatsu et al., 1999 [2]) or cellular automata (Nagatani and Takashi, 2009 [3]), which divide the pedestrian motion space into grids, and achieve the purpose of simulating pedestrian motion by discussing pedestrian following and preferences to quantify the transfer probability of pedestrians between girds. At present, the study of the micro passenger flow model is relatively mature, and the self-organizing phenomena (Johansson, Helbing and Shukla, 2007; Moussaïd et al., 2009 [4,5]) such as stratification and zonation have been reproduced in complex situations such as counter flow. However, the computational cost of the micro model is geometrically related to the number of simulated pedestrians, so there are limitations for scenarios with large spatial scales or a large number of pedestrians. Thus, scholars are studying the macro model to serve the above limitations of the micro model. The macro model focuses on pedestrian flow, and the fundamental diagram of pedestrian flow is an important concept of the macro model. It reflects the relationship between the average velocity of pedestrians and the density of pedestrian flows. Early macro fundamental diagrams were based on measured studies, and early fundamental diagrams of pedestrian facilities in public areas were studied by the following authors: Older, 1968; Lam, Lee, and Cheung, 2002 [6,7], studied the fundamental diagram of pedestrian flow in the subway based on the data of pedestrian facilities in Hong Kong and fitted the analytical formula of the fundamental diagram; Burghardt, Seyfried and Klingsch, 2013 [8], specifically studied the fundamental diagram of pedestrians going up and down stairs, and these measured studies provided the basis for the macro pedestrian flow simulation model. The continuous medium model [9] is a representative of macro simulation models, and Hughes, 2002 [9], extracted the pedestrian motion law into three criteria of density-determined velocity, pedestrian destination movement trend, and minimum movement cost, which promoted the development of the continuous medium model through simple and reasonable assumptions. The continuous medium model is composed by a set of differential equations; Huang et al., 2009 [10], reviewed Hughes’ study and further proposed a fast solution method for partial differential equations. Specifically, Hoogendoorn and Bovy, 2003 [11], proposed a target generalized function based on the pedestrian flow velocity vector for heterogeneous pedestrian flows, which accurately reproduces the pedestrian self-organization phenomenon and is even often used as a benchmark model for microscopic methods. Simplified macro models are generally used to solve traffic simulation problems in large-scale cases. The Cellular Transmission Model proposed by Daganzo, 1994 [12], and the Link Transmission Model proposed by (Yperman, Logghe. and Immers, 2005 [13]) are representatives of simplified macro models. They abstract the real transportation system as a network or grid model, thus establishing connections between transportation facilities. Based on the fundamental diagram of traffic flow, large-scale traffic volume simulation is achieved by calculating traffic volume changes on nodes or grids.
In recent years, simplified macro models have been applied to the study of pedestrian flow, e.g., Asano, Iryo, and Kuwahara, 2010 [14], used CTM to simulate typical complex pedestrian flow situations such as crossings, opposite directions, and corners, and pointed out that attention should be paid to the effect of heterogeneous pedestrian flow on the fundamental diagram, but did not explicitly introduce the mechanism of its implementation; Guo, Huang, and Wong, 2011 [15], also conducted a similar study. In the above study, the simplified macro model was applied to the same cases as the micro model, which did not reflect the advantage of the low computational cost of the macroscopic model. At present, scholars aim to integrate the advantages of micro and macro models and propose a hybrid model with both accuracy and scale advantages. For example, Abdelghany et al., 2016 [16], proposed a dynamic network loading model and a cellular automata model for the top and bottom layers, respectively, for pedestrian flow simulation with different resolutions, and their simulation results matched the measured passage bottlenecks and high-density areas of the Mecca pilgrimage site. Zhang and Jia, 2021 [17], and Wang et al., 2023 [18], proposed a hybrid model combining CTM and CA to simulate the pedestrian flow evacuation scenarios for large places with multiple exits and fire situations, respectively. The top layer of these hybrid models typically uses a network or grid structure to model the site as a whole, which can then be simulated using a simplified macro model. While the network structure has better generalizability than the grid, the traffic flow simulation model approach on the network structure is known as the dynamic network loading model (DNL). From this, DNL has some theoretical significance for the development of hybrid models.
At present, the pedestrian flow DNL applicable on the meso scale still needs to be studied, and the fundamental diagram adaptation of nodes and the choice preference of pedestrians in the case of heterogeneous pedestrian flow are currently the focus of scholars. Hänseler et al., 2017 [19], proposed a DNL model for heterogeneous pedestrian flows based on the idea of CTM, with specially designed velocity−density fundamental diagram that can adaptively implement the consideration of pedestrian flow crossings and counter cases according to the angle between pedestrian flows, while they used Logit functions to calculate the selection preferences of pedestrians; Lilasathapornkit and Saberi, 2022 [20], defined a DUE problem for pedestrian path selection based on real-time passenger flow results from DNL and made it applicable to heterogeneous pedestrian flow simulation. Different destinations of passengers is an obvious reason for heterogeneous pedestrian flow, which is fundamentally different from the path selection behavior of pedestrians, and there are a lack of dedicated discussions on this issue. The passenger collection and distribution in the hub station is expressed as a flow line conflict, which can be summarized as pedestrians belonging to different flow lines are constrained by different transportation processes, and the path selection of passengers is based on the premise of satisfying the transportation process constraints. Current macro models are unable to consider such heterogeneous traffic flow scenarios caused by multiple destinations of pedestrians. For example, Abdelghany’s top network model has only one overall direction, which is suitable for a pass-through situation such as the pilgrimage. Although Zhang and Wang discussed an evacuation scenario with multiple exits, the evacuation pedestrian flow could still be considered as homogeneous, and the reason for this is that the exits are homogeneous. Aghamohammadi and Laval, 2020 [21], reviewed pedestrian flow models in recent years and pointed out the limitations of present models in heterogeneous traffic flow, multi-destination cases. Thus, there are still limitations when applied to traffic networks. Therefore, incorporating both the transport process constraints to be satisfied by pedestrians and the pedestrian selection preference factors into the propagation rules of the DNL model will help expand the application of the DNL model in pedestrian flow collection and distribution cases.
Finally, the fundamental purpose of the pedestrian flow model is to provide a basis for traffic assignment, and then to achieve better traffic organization. In static traffic networks, this problem is known as the STA problem and has been well solved. Transforming the STA problem into a bi-level programming problem is the more general approach. This is achieved by loading different ODs randomly to the traffic network. Furthermore, the impedance function defined by the traffic volume is a crucial task. The user equilibrium principle is often used as the basis for determining the objective function of the optimization problem. The solution of the optimization problem is based on different types of heuristic approaches. Bielli et al., 2002 [22], reviewed the application of genetic algorithms in bus route planning; Szeto and Jiang, 2014 [23], proposed an artificial bee algorithm for solving the STA problem of bus route planning; and Kabir et al., 2023 [24], solved a multi-objective road network evacuation problem using a heuristic approach. This approach has major limitations when extended to Dynamic Traffic Assignment (DTA). In dynamic traffic networks, pedestrian flows cannot exist at all nodes on the link at the same time, so it is not sufficient to support the static assignment assumption. On the other hand, the random update method does not fundamentally solve the decoupling of update order and calculation results. The DTA problem can be regarded as a variational problem. Based on the above analysis, we propose a systematic dynamic network loading model. It can be well applied to objects with a scale such as hub stations and the presence of multi-directional pedestrian flow, so as to simulate the collection and distribution processes of passenger flow. The key problems addressed in this paper are as follows (as illustrated in Figure 1):
  • Passenger Propagation Model: Based on the idea of CTM, a model is proposed for describing passenger collection and distribution in a single facility node. It is called the Passenger Propagation Model (PPM) in this paper, it uses pedestrian speed, density, and capacity (flow rate) as parameters, enabling it to simplify calculations using fundamental diagrams, while adaptively matching different fundamental diagrams based on real-time passenger flow conditions.
  • A network model modeling approach: Based on the PPM model parameters proposed above, a heterogeneous network model for describing hub stations is designed, and the PPM dynamic parameters such as the passenger number and density are designed in vector form to distinguish the passenger flow of different flow lines. Three indexes are designed to distinguish the types of facility nodes in the heterogeneous network and provide the basis for the fundamental diagram matching of the DNL model.
  • Macro Dynamics Propagation Model: A DNL method is designed to achieve the purpose of running PPM synchronously on a large scale in a heterogeneous network of hub stations, and then to obtain the simulation of the overall passenger flow collection and distribution process in a large-scale hub station. In this paper, we call this method the macro dynamics propagation model (MDPM), and the update process of MDPM is designed to be applicable to multiple processes to address the increased computational cost brought about by considering node heterogeneity and the flow line constraints. The passenger arrival pattern of the Xipu hub station is obtained through an actual traffic survey and is used as an input to MDPM, and the effectiveness of the MDPM is verified by comparing the simulation results with the actual situation.
  • Passenger Flow Control Model: Based on the simulation results of the hub station collection and distribution, the existence of MFD is analyzed, and a system state-space equation that can describe the change of local network passenger flow in the short term is established, and then an adaptive optimal control model of passenger flow congestion is established to achieve the purpose of improving the hub network collection and distribution function.
The simulation results of MDPM can provide a quantitative basis for the allocation of transportation resources and transportation design of hub stations. The passenger flow control model based on MDPM can be used as an auxiliary tool for on-site traffic organization.

2. Methods

The simulation method in this paper is summarized as follows: a realistic hub station is abstracted into a network model with facilities as nodes, and the passenger flow information of all nodes in the network is updated at the same time to finally achieve the purpose of simulating passenger collection and distribution.
The problem is divided into three sub-problems: (1) How to create a dynamic network for modeling a hub station, (2) rules for updating passenger flow information for an individual node, and (3) how to organize nodes in a heterogeneous dynamic network to update their own information simultaneously on a large scale.
We propose the Passenger Propagation Model (PPM) to describe the update rules of an individual node, and the parameters involved in this model are stored and updated in a dynamic network model. According to the requirements of PPM, we designed a network model capable of efficiently storing dynamic information generated by passenger collection and distribution and indexed static information capable of reflecting the heterogeneity of facility nodes. Finally, we propose the MDPM model for large-scale organization of nodes in heterogeneous networks to run PPM for the purpose of simulation of passenger flow collection and distribution at hub stations.

2.1. Passenger Flow Propagation Model (PPM)

The process of passenger collection and distribution at a hub station needs to be defined starting from the operation rules of the facility nodes. We propose the Passenger Propagation Model (PPM) for describing the interaction mechanism between nodes, and it is illustrated in Figure 2. Passenger flow is the medium of interaction between nodes. Based on the passenger flow, we can calculate the real-time passenger flow density or occupancy of a facility node, and then calculate the pedestrian speed and the passenger flow rate of the facility node through the fundamental diagram in real time.
We collectively refer to the passenger flow density, passenger flow speed, and passenger flow rate of a node as capacity-related parameters, which are classified as node information. Traffic assignment-related parameters refer to travelers’ choice preferences, sink node status, and traffic guidance measures, which obviously describe the quantitative association between the node and its sink node, and they are classified as edge information. The passenger flow information process of the node in Figure 2 can be described using the following system of equations (Formula (1)).
{ d = C s v = P F D ( d ) f = C P F D ( C s ) s
where: C is the number of passengers. s is the size of the facility. d is the passenger density of the nodes. v is the average speed of the passenger flow at the nodes. P F D ( d ) is the pedestrian flow fundamental diagram, which is a function of density as the independent variable and velocity as the dependent variable. f is the flow rate of travelers. It portrays the number of travelers passing through per unit of time and area.
Passenger selection preference refers to the passenger’s tendency to travel towards nodes with a higher average speed or lower energy consumption. When the passenger flow at a node falls into severe congestion, its capacity will tend to zero and there will be no passengers willing to enter this node; we call this situation a sink node in an inflow failure state. We designed a threshold value based on passenger flow density to judge the state of the sink node. In the internal traffic organization of the hub station, it is often used to prevent pedestrian flow congestion by restricting entry and accelerating passage, which are collectively called pedestrian flow guidance, and the rate of pedestrian flow guidance control is the key to passenger flow control.
According to Equation (1), PPM can clearly explain the generation of congestion. When the throughput capacity of a node is out of equilibrium, the flow of pedestrians converging into the node will cause the density d to rise. In the high-density case, interactions between pedestrians will cause the average speed v to decrease (the functional relationship between density and speed is called the speed−density fundamental diagram). When the pedestrian density d continues to grow, its flow rate f does not grow in the same proportion, which then causes the stagnant return of passenger flow and aggravates the density growth. When the density critical value is reached, the growing passenger flow will instead cause the flow rate f to decrease and finally lead to congestion. In addition, PPM can explain the self-relieving process of congestion.
Differences in type and traffic flow conditions can cause nodes to obey different PFD patterns. We will analyze this problem in Section 2.3.1, Section 2.3.2 and Section 2.3.3.

2.2. Network Model of the Hub Station

A hub station is abstracted as a network model G(N,E,ND,ED) by taking the facilities, equipment, and sites involved in passenger distribution in the hub station as nodes and defining the edges by the spatial adjacency between nodes. Where N is the set of nodes, E is the set of edges, ND and ED are the data contained in the nodes and edges, respectively, and the specific design is illustrated in Table 1. Table 1, the data are distinguished into dynamic and static data, ‘S’ is the symbolic surrogate for that data, and ‘V’ represents whether the data are a vector or not. Dynamic data are categorized into node dynamic data (ND dynamic) and edge dynamic data (ED dynamic). The dynamic data need to be calculated and updated in each simulation cycle.
The ND dynamic includes the traffic parameters involved in Formula (1) of PPM, such as passenger flow ( C ), average velocity ( v ), and other traffic parameters belonging to a facility as the node dynamic data. By considering the heterogeneity of the node service mode, the parameters such as pedestrian flow density and occupancy rate are homogenized to the equal concept of the node load. It satisfies the relationship that traffic capacity is equal to the product of load and operating efficiency.
The ED dynamic describes the propagation weights of passenger flows between nodes, and we designed three types of weight parameters with a value range of [0, 1]:
w1 is the selection preference of passengers, who tend to prefer lower density nodes for a higher proceeding speed, so w1 is the dynamic data updated based on the real-time passenger flow of the facility nodes.
w2 is the control rate corresponding to on-site traffic control or guidance measures, such as traffic restriction or guidance to speed up the flow of passengers.
w3 is the node failure weights; when the pedestrian flow density is above the critical value, the velocity decreases to 0 which can be considered as entering the failure state and assigned to 0. When it is below the critical value, the value is assigned to 1. Thus, w3 is the dynamic data updated based on the real-time passenger flow of the facility node.
Static data do not need to be updated and exist only in the node data, so they are referred to as ND static. The ND static, including fixed attributes such as the size and width of the facilities and three types of indexes for node classification. The area of the facilities (‘s’ in Table 1) is used to calculate the density with the real-time passenger flow. The width (‘width’ in Table 1) is used to calculate the node’s capacity. In addition, the width attribute of the service and automated pedestrian facilities is the number of their service bays, e.g., the width of the escalator in Figure 3b is 1. The ‘s’ and ‘width’ can be obtained based on measurements from a building information model of the hub station. The building information model is available during the design period of the hub station (Zheng et al., 2020 [25]), so the simulation results of MDPM can assist the transportation planners to come up with a more reasonable transportation design plan. The measurements are shown in Figure 3a,c.
The variables type2 and type3 are used to distinguish the service conditions and upstream and downstream directions of the nodes, respectively, thus achieving the correct matching of the fundamental diagram.
Type1 is the node’s transport process index, and is the key to enabling transportation process constraints. For example, the flow of the subway entry flow line can be summarized as follows: Arrival ⟶ security check ⟶ ticket check ⟶ ride. The transport processes involved in the facility nodes are sequentially numbered, so that the law of rising order can be used to represent the rule of transport processes, and the different flow lines with close spatial locations are interleaved and numbered, which are used to enhance their differentiation in the index of transport processes. For the flow line conflict case in Figure 4a, the nodes that are shared by multiple flow lines are numbered with a sufficiently large number (in this paper the type1 index is 99) to ensure they do not have an ascending relationship with any neighbor node.
In order to realize the simulation of passenger collection and the distribution process of multiple flow lines simultaneously, we map the passenger flow as a dimensional vector with the number of flow lines, and the elements in the vector represent the passenger flow of the node corresponding to a certain flow line. Except for velocity, the other parameters used to calculate the passenger flow variation also have a vector form. Using the DGL framework’s DGL graph class as the hub station network model G data structure, it can store tensor tuples and provide basic query functions to read and write any data in the network model, simply by following the model ⟶ node/linked edge data ⟶ channel ⟶ node/linked edge index (e.g., “G.ndata[‘C1’] [13]” represents node 13 corresponding to passenger flow for flow line 1).

2.3. Macro Dynamics Pedestrian Flow Model (MDPM)

We describe the method of organizing nodes in a heterogeneous network to run the PPM simultaneously as the macro-dynamic pedestrian flow model (MDPM). Although PPM can provide a uniform description of the operation mode of each node, the heterogeneity of the nodes, the constraints of the transportation process, and the update method of the network are issues that must be considered.

2.3.1. Heterogeneity of the Nodes

Hub stations include not only pedestrian facilities that can be portrayed by fundamental diagrams, such as passageways, but also auto-pedestrian facilities and service facilities that cannot be described by fundamental diagrams. For automated pedestrian facilities such as escalators and elevators, it is clear that occupancy is more reasonable to describe the impact of passenger flow on the facility, while the operating speed of automated pedestrian facilities is independent of the pedestrian flow density. Similar for gates, ticketing, and other service facilities, the capacity is mainly affected by the average service time.
For pedestrian facilities, the fundamental diagrams they satisfy should also be refined according to their direction of movement. According to [8] Burghardt, Seyfried, and Klingsch, 2013, the fundamental diagram of pedestrian flow up and down stairs is significantly different from that of horizontal facilities. Both of the above heterogeneous cases can be identified by type2 and type3.

2.3.2. Constraints on Transportation Process

Through Figure 3b, we know that passengers from the exit direction will leave the hub station through the escalator. They will clash with the entering passengers from the station square in the red region in Figure 4a. This situation is common in transfer halls, and entry and exit areas; we describe the case that several flow lines share a single facility node as a flow lines conflict. In particular, when the floor space of a hub station is limited, it is difficult to divide the passenger flow of different flow lines by installing facilities such as palisades. Obviously, pedestrian flow in multiple directions is bound to occur in the case of a flow line conflict, and Figure 4 shows a typical flow line conflict case and its network model abstraction. In this case, it is necessary to consider the situation of counter flow and cross flow caused by the inconsistent direction of pedestrian flow movement. On the other hand, the regularity of passenger flow in the exit flow is more obvious than that in the entrance flow. Even if two flow lines share a node for distribution, it is necessary to determine whether there is a flow line conflict based on the real-time passenger flow.
The transportation process is an important attribute of flow lines, reflecting a static traffic organization plan that cannot be ignored in a network with a scale such as hub stations, and cannot be approximated by diversion ratios. Figure 4b is a networked abstraction of Figure 4a, where entering and exiting passenger flows merge in the conflict region and then are assigned to their respective sink nodes. Assigning the passenger flow from node 2 to node 6 would violate the transportation process constraint.

2.3.3. Key Issues MDPM Needs to Address

Finally, assuming that the pedestrian flow satisfies the FIFO rule, the passenger flow of a node at a certain moment is determined by its own outgoing and its neighboring incoming passenger flows, so the update order of the node has a large impact on the simulation results. We summarize the factors and solutions that need to be considered specifically for MDPM in Table 2.
(1)
MDPM differentiates between static heterogeneity by reading type2 and type3.
(2)
Based on the real-time node passenger flow data with type1, the propagation rules of the nodes are designed to achieve the purpose of considering the dynamic heterogeneity and transportation process constraints at the same time.
(3)
Assuming that the passenger flow has a limited range of changes within a short period, the dynamic data are temporarily “frozen” as static data. MDPM is divided into a calculation process and an update process. The calculation process is based on computing “frozen” static data (the ND dynamic and ED dynamic of the previous cycle, the details are shown in Table 1), eliminating the effect of the order of calculation of network nodes on the calculation results.

2.3.4. Specific Method of MDPM

The calculation process of MDPM in one cycle is illustrated in Figure 5, which divides the simulation work into three stages: obtaining data, calculation process, update process, where getting data from the network model G to obtain the capacity data of each node at the last moment (Table 1), because the node for each flow capacity is a vector, so the capacity of all nodes is a matrix, which we call the pedestrian flow traffic assignments matrix B. In the calculation process, the update amount of passenger flow at the node at the current time is calculated based on B matrix, and as B is
Where i is the index number of the node; k is the index number of the flow line; and n is the total number of nodes in the network static data, for which the calculation order has no relationship with the calculation result. Use the multi-process method to speed up the calculation process. After obtaining the real-time passenger flow changes, the calculation of traffic parameters such as the density and velocity of the network model G in the order of Figure 2 is called the update process.
The example in Figure 4 is used to illustrate how MDPM satisfies the transportation process constraints. It can be seen from the figure that there are exit passenger flow and entrance passenger flow in the flow line conflict region, and the passenger flow vector has two non-zero elements, while the node belonging to only one flow line has one non-zero element at most. The transportation process constraint can be satisfied by ensuring that the incoming passenger flow at non-conflicting nodes that are not part of this flow line is zero. The get_sodes_info program is proposed to calculate the inflow passenger flow for a single flow line at a single node, and its pseudo-code is illustrated in Figure 6.
The principle of get_sodes_info is summarized as follows: combine the transportation process index type1 with the passenger flow vector to judge whether the passenger flow of the source node should be imported. There are only three cases between node i and its source node:
(1)
Node i and its source are non-conflicting nodes, its propagation rule satisfies the law of ascending order of the transportation process index, considering that there may be multiple paths of different lengths in a flow line, the passenger flow is imported when the index difference between the transport process i and the source is less than 5.
(2)
Node i is a conflicting node (type1 = 99); at this time, node i accepts incoming passenger flow from all source nodes in all directions.
(3)
When the source node j of i is a conflicting node, the program will perform a recursive query on the source node of j. The set of source nodes of j with non-zero passenger flow is obtained. Use the mean value of the transportation process index in the set as the basis for judgment. The same approach is taken as in case 1.
Cases 2 and 3 are illustrated by the example in conjunction with Figure 4. Node 4 in Figure 4b belongs to case 2 (line 12 in the pseudo-code), which accepts passenger flows from all source nodes in all directions; node 5 corresponds to case 3 (line 14 in the pseudo code), and when propagating the exit flow line (blue flow line in Figure 4b), it will check its source node 4 of the source node. From Figure 4c, it can be seen that the node with non-zero passenger flow at this time is 3. The transport flow index (type1) of nodes 3 and 5 do not satisfy the propagation condition, so the blue passenger flow in node 4 is rejected to be transmitted to node 5. Thus, as long as the passenger flow is generated in the correct flow dimension, the passenger flow propagation process can ensure that the transportation process constraints are satisfied. The inflow of passengers at the nodes is calculated using Formula (2).
Δ C i , k , i n = j N i w 1 i , j w 2 i , j w 3 i , j f j , k width j T
As can be seen from Figure 5 and Formula (2), the goal of the calculation process is to obtain the real-time passenger flow change matrix (number of flow lines × number of nodes) for each node in each flow line, and the calculation order does not affect the computational results. Therefore, this paper splits it into several independent sub-tasks by flow line and computes them by multiprocessing modules in parallel.
The update process of MDPM is according to the calculation process of PPM, and parameters such as the load (pedestrian flow density, and occupancy), operational efficiency (average pedestrian speed and average service time), and capacity (flow rate) of nodes are updated. Determine whether the parameter being updated has the form of a vector with flow lines as dimensions according to Table 1.
The node heterogeneity described in Table 2 is considered through the actuating logic of fundamental diagram matching (LFM) in Figure 7.
Tpe2 is used to identify pedestrian facilities from other service facilities.
Type3 is used to identify horizontal and non-horizontal pedestrian facilities, matching the fundamental diagram proposed by Burghardt, Seyfried and Klingsch, 2013 [8].
When the node facility is a horizontal facility, there may be multiple directions of pedestrian flow in the facility node, and the impact of flow line conflicts on the fundamental diagram should be considered. Based on a micro pedestrian flow model, Li et al., 2015 [26], investigated the features of counter pedestrian flow, using the appearance of self-organization phenomena as a signal of the presence of interactions between pedestrians, and found that self-organization phenomena occur steadily when the pedestrian density is above 0.64 ped/m2. Lam et al., 2002 [7], and Navin, 1969 [27], both conducted an empirical study on the characteristics of the counter pedestrian flows in the unsymmetrical case, and pointed out that when the ratio of counter pedestrian flows was less than 0.9, it would have a large impact on the pedestrian fundamental diagram, so this paper uses the above condition as the basis for judging the flow line conflict. The remaining cases are calculated using the fundamental diagram proposed by Lam et al., 2002 [7]. In summary, the speed-density fundamental diagram formulas are listed in Table 3.
Figure 8 illustrates the pedestrian flow fundamental diagram curves described in Table 3 (purple curve (flow line conflicts); blue curve (downstairs); red (upstairs); yellow curve (horizontal facilities)). The black curve is a curve with typical mistakes and has not been used by LFM (Figure 7). With the exception of the black curve, these curves used by LFM exhibit a monotonic decrease with pedestrian flow density, that fits our perception of congestion. LFM’s use of a fundamental diagram of pedestrian flow that does not conform to objective rules is an easily overlooked problem. If the black curve is used as the fundamental diagram of MDPM, it will incur the serious error that the higher the density (after the pedestrian flow density greater than 3 ped/m2), the faster the speed; this serious mistake will further trigger the BUG that the node passenger flow is negative.
Typically, pedestrian flow fundamental diagrams are derived by fitting to a sample set of observations. Passenger flow features may be missing under extreme conditions due to observation constraints (e.g., lack of observation data when passenger density is greater than 5 ped/m2). In this case, it is necessary to enhance the sample set, which can expand the definition domain of the fundamental diagram and enhance the scope of application of the fundamental diagram. In established studies (e.g., Lam et al., 2002; Li et al., 2015 [7,26]), when the pedestrian density is greater than 5 ped/m2, the average pedestrian speed tends to 0 m/s. Use this pattern as a sample point for reinforcement of sample sets lacking extreme samples.
On the other hand, traffic parameters such as velocity, density, and flow rate should satisfy the non-negative constraints, which are difficult to satisfy throughout the definition domain, even for the processed polynomial curves (yellow curves). When these parameters are negative, it results in a negative outflow from the node, resulting in false passenger accumulation. Both first-order Gaussian fitting and “truncation” can be used to satisfy the non-negative constraint. From Figure 8, it can be seen that the monotonicity of the curves using the Gaussian fit (up and down staircase fundamental diagram) is significantly better than that of the curves using the polynomial fit. The “truncation” refers to assigning a positive value close to 0 (0.01 in this paper) to the velocity when the density is above a certain threshold (5.5 ped/m2 for horizontal pedestrian facilities and 2.7 ped/m2 for flow lines conflicts). The “truncation” is also applied to the update function for node passenger flow (update_c), in order to achieve the same purpose as taking the minimum result for the three calculations in CTM.
f i , k = v i d i , k B = [ f 1 , 1 f n , 1 f 1 , k f n , k ] k × n
The capacity is calculated according to Formula (7), and the traffic assignment matrix B is composed of the capacity of the nodes in the network on each flow line.
Node inflow failure w3 is determined by setting the threshold (greater than 6 ped/m) based on the fundamental speed−density diagram. For nodes with flow line conflicts, we design it as 2.7 ped/m. In this paper, only the preference of passengers for open areas is considered, i.e., w1 is calculated through a logit function, with density as the dependent variable. In particular, the sum of w1 between node 4 with flow lines conflict in Figure 4b and its sink node is determined by the number of flow lines involved (2 in Figure 4), i.e., the flow lines are divided for Logit operations.

3. Simulation

We established a network model based on the real Xipu Hub to validate our simulation approach. Xipu Station is a comprehensive hub primarily served by the metro, connecting Chengdu Metro Line 2 and Line 6. As the starting station of Line 2, it is responsible for integrating various modes of transportation, including buses, pedestrian traffic, and high-speed rail. The Xipu Hub consists of a total of nine flow lines, with facilities and equipment associated with each flow line as nodes. Directed edges are established in the direction of the flow lines. The network model is illustrated in Figure 9a.
Using video data, count the passenger arrival intervals during peak and off-peak periods at the arrival and departure venues during the time period, where the peak period is selected as 07:30–08:30 a.m. and the off-peak period is selected as 09:30–10:30 a.m. Write a program to record and store the current operating moment, when the passenger’s head passes through the predetermined position in the video data, the program records and stores the current time, and then obtains the frequency feature of its arrival interval to the passengers. The arrival interval is fitted to derive the probability density of the passenger arrival interval distribution, as shown in Figure 9b.
In Figure 5, we simulate the arrival and departure of passengers by acting directly on the matrix Δ C using the generate and vanish functions. Assuming that passenger arrivals follow an Erlang distribution, a random number generator in some nodes can be designed based on Figure 9b to simulate random passenger arrivals. For subway systems with a predefined schedule, passenger flows are generated based on fixed simulation periods determined by the train intervals. Similarly, passenger flows at some nodes are eliminated at fixed times or at each time slot to simulate the departure behavior of passengers.
These nodes for passenger generation or passenger dissipation differ from the general nodes corresponding to the facilities within the hub station. Firstly, in the sense that they are interfaces between the hub system and the external system, so they cannot have both sources and sinks at the same time; secondly, their passenger flow management does not belong to the internal traffic organization work of the hub station. In the traditional transportation network flow model, such nodes are generally called virtual nodes, which are used to represent the supply and demand relationship of the transportation network.
These ‘virtual’ nodes connect the arrival and departure areas within the hub station, and they have an infinite area, thus avoiding node failure. By analyzing the arrival and departure situations at the virtual nodes, the average travel time of passengers within the hub can be calculated. Because of the stochastic nature of passenger arrivals and departures, multiple sets of experiments were conducted based on the arrival and departure situations during peak and off-peak periods. In each simulation experiment, the passenger flows and passenger density at each node were recorded to reflect the overall collection and distribution process within the hub.

3.1. The Collection and Distribution during Off-Peak Period at Xipu Hub

First, based on the arrival characteristics during the off-peak period, multiple simulation experiments were conducted, and the results are presented in Figure 10 (the x, y, and z coordinates correspond to the index number of the node, the time series, and the real-time passenger flow of the node, respectively). From Figure 10a, it can be observed that, except for a few nodes, the passenger flow at most nodes tends to stabilize after reaching an equilibrium value. This is indicated by a relatively small variation in passenger flow, showing a trend towards a straight line. The ‘sawtooth’ pattern in the passenger flow curve is caused by the choice behavior of MPMD (multi-path multi-destination) passengers or the mechanism of node inflow failure, and the specific reasons need to be evaluated in conjunction with real-time passenger density. Some nodes in the graph show a monotonic increase in passenger flow, indicating passenger congestion at these nodes. A typical example is node 147. According to the query, node node 147 is a bus platform located on the side of the Xipu hub.
The local network topology of node 147 is illustrated in Figure 10b. This area includes four flow lines: Metro Line 2 outbound passenger flow, non-motorized vehicle arrival−bus departure, pedestrian arrival−bus departure, and long-distance inbound passenger flow. These flow lines are connected through two conflict areas, labeled as node 15 and node 29. The outflow of the target node is constrained by the passage capacity of the conflict area node (node 15). When node 15 experiences inflow failure, passenger congestion occurs, leading to an increase in the passenger flow at the target node. Therefore, flow line conflicts are the cause of passenger congestion. Figure 10 presents a density (a) and passenger flow (b) heatmap based on real-time values in this simulation experiment.
From Figure 11a, we can see that the density of node 147 is slowly increasing and is in a healthy state; therefore, the capacity of node 147 is not the reason for its travelers to be stranded. At the same time, the density of node 15 in its sink node is in a congested state and continues to rise, reaching 2.7 ped/m2 at a later time. By querying the type1 index of node 15, we learn that it is a node with flow conflict (type1 = 99), and we learn from the fundamental diagram of the pedestrian flow in Figure 8 that such a node will fall into the state of inflow failure when the density of the pedestrian flow is greater than 2.7 ped/m2.
As node 147 only has an edge connection to node 15 (Figure 10b), its flow distribution weight (w1) is always 1. According to Formula (2), the flow inflow failure weight (w3) is the fundamental reason for passenger congestion. This makes it challenging for node 147 to route its passenger flow to node 15. In the meantime, we learn from Figure 11b that the rapid increase in the number of passengers at node 147 is synchronized with node 15 falling into failure.
One feasible approach to alleviate passenger congestion at node 147 is to enhance the passage capacity of node 15. Two strategies can be implemented: Firstly, increasing the exit width of node 15 to allow for a greater outflow of passenger flow to its hub node under the same unit passage capacity. Secondly, enhancing the evacuation capacity of departure nodes. Figure 12 illustrates the results of this simulation, showing that both strategies effectively alleviate the passenger congestion at node 147, based on the results obtained from multiple simulations.
Based on Figure 11a, it can be observed that the local network centered around node 82 has a relatively high average passenger density. After further investigation, it was found that node 82 represents the security checkpoint facilities of Metro Line 6 (assuming operational efficiency is independent of passenger density). From Figure 10a and the situation shown in Figure 12, it is evident that the passenger flow at node 82 exhibits a “sawtooth” pattern, stabilizing within the range of [60, 70]. Considering its passenger density, it has not entered the state of inflow failure. Therefore, the ‘sawtooth’ characteristic is a result of passenger preference.
However, as node 82 represents a service facility with a constant service capacity, it is necessary to further increase passenger arrivals to discuss whether it becomes a bottleneck in passenger flow distribution during peak periods.

3.2. Collection and Distribution Characteristics Passenger Flow during Peak Period at Xipu Hub

Using the red curve in Figure 9b as the parameter for random passenger arrivals, the arrival interval of the subway in the dispersal direction is reduced to simulate the collection and distribution process of Xipu Hub during peak periods. The simulation results are shown in Figure 13a. At the end of the simulation, the overall passenger flow in the network during the peak period is significantly higher compared with the off-peak period (Figure 12), indicating that MDPM can accurately reflect the collection and distribution process of passengers under different arrival levels.
The passenger flow at nodes 29, 50, and 147 exhibits a strictly monotonic increasing trend, indicating that they have not reached their maximum capacity. In order to explore the limits of the hub’s distribution capacity, we doubled the expected passenger arrivals. The simulation results are shown in Figure 13b.
Obviously, under higher expected passenger arrivals, the passenger flow accumulates more rapidly and reaches a peak before stabilizing. In Figure 13a,b, there is no significant difference in the peak passenger flow near nodes 29, 50, and 147. Additionally, the overall passenger flow in the network in Figure 13b is not double that of Figure 13a. This indicates that the mentioned nodes are approaching their maximum capacity. The additional incoming passenger flow becomes congested within the virtual arrival−departure nodes. Therefore, the peak values observed in the simulation results can reflect the hub’s maximum collection and distribution capacity.
Figure 13c,d corresponds to the real-time passenger density of the two simulations, which is combined with the real-time passenger flow of nodes to analyze the bottleneck nodes that restrict the hub’s collection and distribution capacity. Through comprehensive analysis, we have identified three typical patterns that contribute to the increase in the number of passengers at nodes. These patterns are summarized in Table 4, which provides the criteria for identification.
The first pattern is characterized by passenger congestion caused by inflow failure. A representative node for this pattern is node 147. By comparing its peak passenger flow during the peak period with that during the off-peak period, it can be observed that during the peak period, the congestion of passengers caused by the capacity constraint of node 15 becomes more prominent. However, in reality, the passenger density at node 147 still falls within a healthy range, so there is no need for excessive concern.
The second type of bottleneck is caused by flow line conflicts. Firstly, these nodes exhibit a high passenger flow and density. Secondly, their congestion state shows a certain degree of propagation, resulting in an increase in passenger flow or density at neighboring nodes. Additionally, due to the consideration of node failure effects in this paper, the passenger flow and density curves of these nodes exhibit a “sawtooth” pattern. Representative nodes in this category include node 15, node 29, and node 50. Flow lines conflict nodes and can lead to the accumulation of passenger flow at other nodes, making them important targets for optimization.
The third type of bottleneck is caused by the insufficient service capacity of facility nodes. The passenger flow curve at these nodes reaches its peak rapidly and remains at a certain level. If there are other nodes with the same flow attributes (type1), a distinct ‘sawtooth; pattern will appear, which is determined by the passenger selection mechanism of MDPM. For example, node group 80–84 is the security check equipment for Line 6, node 101 is the entry gate for Line 6, and node 151 is the escalator for transferring to Line 2 in the downward direction. This phenomenon can be utilized to quickly identify service facilities that do not meet the demand.

4. Optimization

Based on the MPDM simulation results, it is evident that the accumulation of passenger flow or the increase in passenger density is caused by different factors. Therefore, optimization strategies need to be employed based on different mechanisms. Automated facilities such as security checks, ticket gates, automated ticketing machines, and escalators have their throughput determined by the average service time. According to the conclusion above, the criteria for optimization are stable passenger flow and relatively high passenger density. Improving the operational efficiency of these facilities can help achieve the optimization objectives.

4.1. Methods for Passenger Flow Control

The other two causes of passenger congestion identified in Table 4 present relatively complex scenarios. As the capacity of nodes follows the fundamental diagram law, their performance is determined by real-time passenger flows, making the optimization problem a typical Dynamic Traffic Assignment (DTA) problem. Variational Inequality (VI) and the Optimal Control Theory (OC) proposed by (Pontryagin et al., 1960 [28]) are both feasible methods for DTA problems, as variational inequality is the main feature of DTA problems. On the other hand, when considering DTA problems in a network context, it is reasonable to simplify homogeneous local networks as a whole, describing the overall traffic capacity of the region through macro fundamental diagrams (MFD). By implementing boundary control measures in congested areas, the objective of improving the overall system’s traffic performance can be achieved. Daganzo and Geroliminis, 2008 [29], also pointed out that the homogeneity of nodes is a prerequisite for the existence of MFD. Therefore, before simplifying the idea of MFD, the existence of MFD was discussed based on the simulation data results.
Based on the simulation results in Figure 13d, we identify 14 nodes to be included in the scope of passenger flow control, with 15th node as the central point. These nodes are further categorized into congestion areas, control areas, and evacuation areas. The congestion areas are initially determined based on the nodes that have bidirectional connections with the 15th node, namely nodes 16 and 142. The control areas consist of nodes that are sinks for the congestion areas, while the relief areas consist of nodes that are sources for the congestion areas. The partitioning results are presented in Table 4.
According to Table 1, the real-time passenger flow values (C) and real-time capacity (F) of each region were analyzed to determine their underlying patterns. Here, C1(t) represents the real-time passenger flow value of the control area, calculated using Formula (8). The real-time capacity of the regions was computed using Formula (9). Figure 14a depicts the relationship between the passenger flow and capacity of each region during a simulation experiment. It is observed that there is a clear correlation between the passenger flow and capacity in the control and relief areas. The passenger flow in the control area shows an increasing trend, while the capacity in the relief area exhibits a turning point as the passenger flow increases. Furthermore, the trends in the relief and control areas are more pronounced compared with the congestion area. This could be attributed to the size of the regions, as the relief area typically encompasses a larger number of nodes, leading to better convergence of the curves.
C 1 ( t ) = i Z 1 k = 1 9 C i , k ( t )
F 1 ( t ) = i Z 1 k = 1 9 f i , k ( t ) width i
where the total number of flow lines is 9.
In the temporal domain, these changing trends are more easily explained. Figure 14b shows the differential of the ratio between the capacity and passenger flow for the three regions over time. From the figure, it can be observed that after 100 cycles, the system enters a stable state where the second derivative of the capacity for all three regions stabilizes. This finding is consistent with the analysis conclusions derived from Figure 14a. The stability of the capacity derivatives indicates the feasibility of utilizing rolling predictions based on passenger flow. Assuming that F is a function of C, we can expand the function at a known point ( C i ( t 0 ) , F i ( t 0 ) ) to approximate the function at any given time t x , as shown in Formula (10).
F i ( C i ( t x ) ) = F i ( C i ( t 0 ) ) + F i ( C i ( t 0 ) ) ( C i ( t x ) C i ( t 0 ) ) + 1 2 F i ( C i ( t 0 ) ) ( C i ( t x ) C i ( t 0 ) ) 2 + o ( )
where o(•)is the third-order Taylor remainder.
When the rate of change of F/C is small (as observed in Figure 14b after 100 cycles), the second-order term can be neglected, simplifying Formula (11), by using F/C as an approximation of the derivative of capacity with respect to passenger flow. Formula (11) allows us to predict the capacity at any given time using the known passenger flow and capacity at a reference time. The neglected second-order term determines the prediction accuracy. Figure 14c illustrates the results of predicting the regional capacity using a first-order Taylor expansion, that is, at each moment, the traffic capacity calculated by MDPM is used as a reference point. It can be seen from the figure that Formula (11) can make an accurate prediction when the second-order derivative of F to C is small.
F i ( C i ( t x ) ) = F i ( C i ( t 0 ) ) + F i ( C i ( t 0 ) ) ( C i ( t x ) C i ( t 0 ) ) F i ( C i ( t x ) ) = F i ( C i ( t 0 ) ) + F i ( C i ( t 0 ) ) C i ( t 0 ) ( C i ( t x ) C i ( t 0 ) ) F i ( C i ( t x ) ) = F i ( C i ( t 0 ) ) C i ( t 0 ) C i ( t x )
Based on the above conclusions, a system equation can be established to describe the variation of passenger flow in the three regions over time. Assuming over a time interval T, the change in the number of passengers in a region is equal to the difference between the inflow and outflow of passengers. At any given time tx, the control area is as follows:
Δ C 1 ( t x ) = F 1 , i n ( C 1 ( t x ) ) T ( 1 u ) F 1 , o u t ( C 1 ( t x ) ) T C ˙ 1 ( t x ) = F 1 , i n ( C 1 ( t 0 ) ) C 1 ( t 0 ) C 1 ( t x ) ( 1 u ) F 1 , o u t ( C 1 ( t 0 ) ) C 1 ( t 0 ) C 1 ( t x )
where:
u represents the passenger flow control rate from the control region to the congested region;
t0 represents the reference point mentioned in Formula (12).
Using the sum of the capacities from the control region to the congested region, we can further specify Formula (12) as follows:
C ˙ 1 ( t x ) = i Z 1 , i n f i ( t 0 ) i Z 1 c i ( t 0 ) C 1 ( t x ) ( 1 u ( t x ) ) i Z 1 , o u t f i ( t 0 ) i Z 1 c i ( t 0 ) C 1 ( t x )
Similarly, we can define the rate of passenger flow change for the congested region and the evacuation region as shown in Formulas (14) and (15):
C ˙ 2 ( t x ) = ( 1 u ( t x ) ) i Z 1 , o u t f i ( t 0 ) i Z 1 c i ( t 0 ) C 1 ( t x ) i Z 2 , o u t f i ( t 0 ) i Z 2 c i ( t 0 ) C 2 ( t x )
C ˙ 3 ( t x ) = i Z 2 , o u t f i ( t 0 ) i Z z c i ( t 0 ) C 2 ( t x ) + i Z 3 , o u t f i ( t 0 ) i Z 3 c i ( t 0 ) C 3 ( t x )
Equations (13)–(15) provide a deterministic form to describe the changes in passenger flow in the three regions are called system of state equations. The form is determinate and the accuracy of the predictions depends on the selection of the reference point t0. From Figure 14b,c, it can be observed that when t0 is selected to be close to tx and is within a small interval after 100 periods, the system equations exhibit a better predictive accuracy. Based on this observation, a rolling optimization control strategy is proposed. In this strategy, the start of each control period is chosen as the reference point t0, and it is assumed that the system behavior remains unchanged within a short control period. The reference point obtained from the MDPM model at that specific moment is then used to assign values to the system equations for optimization purposes.
For the congestion control problem of passenger flow, the objective function proposed in this paper is shown in Equation (16). It is a terminal-free control task. Unlike the traditional control task, it does not have an explicit control objective consisting of system state variables, but utilizes the Mayer term to describe the desired system state at the control terminal, and the control model will transform the Mayer term into a transversal condition to seek the terminal objective ‘autonomously’. According to this idea, we expect the objective function to reach a minimal value at the control terminal. Then its Mayer term can be described as a polynomial consisting of the passenger flows in the control, congested and decongested regions and their corresponding weights. At the control terminal, the passenger flow in the congested area should be minimized to restore capacity, so a2 is a positive value. For the control area, we will reduce its passenger flow into the congested area by controlling the rate of u. Obviously, simply restricting the passenger flow may trigger new congestion, which is also not in line with the purpose of passenger flow control. Therefore, we expect that at the control terminal, the passenger flow in the control region also obtains a very minimal value, so a1 is also positive. When the passenger flow in the congested region decreases, its capacity increases. The system state equation shows (Equation (15)) that there is no control of passenger flow propagation between congested and relief regions. Therefore, the increase in passenger flow in the relief region is the result of the increase in capacity in the congested region. Based on this idea, the passenger flow in the decongested region is utilized to obtain a maximum value to assist the congested region to restore its capacity, i.e., a3 is negative.
The Lagrangian term represents the performance metrics based on the state variables of the system and the control quantity u during the control process. The number of controlled passengers is determined by the absolute value of u, i.e., the smaller the integral of the squared value of u in the control process, the fewer passengers are controlled. Similarly, we set the positive value L2 to achieve the objective of relieving the passenger flow in the congested area as soon as possible.
J = a 1 C 1 ( t f ) + a 2 C 2 ( t f ) + a 3 C 3 ( t f ) φ ( C i ( t f ) ) , The   Mayer   term + t 0 t f L i C i 2 ( t ) + u 2 ( t ) d t ϕ ( C , U ) , The   Lagrangian   term
The weight of the Mayer and Lagrangian terms are determined by the control domain. When the control rate exceeds a range of [−1, 1], it is considered to be an invalid control. Since the indirect numerical solution is used in this paper, it is difficult to discuss the extreme value of the Hamilton function within the control domain. Therefore, the weight of the objective functional is determined jointly by experimentation and the terminal term, the parameters are set as shown in Formula (17).
J = 0.9 C 1 ( t f ) + 1.1 C 2 ( t f ) C 3 ( t f ) + t 0 t f 0.01 C 2 2 ( t ) + u 2 ( t ) d t
This problem is solved by solving the system of differential equations described in Equation (18). The transversal equation determined by Mayer’s term determines the values of the co-variates at the control terminals. With the system variables known, the solution of the system of differential equations of Equation (18) is an initial value problem, which is solved using the Runger−Kutta method, as shown in Figure 14d. The extremal condition of the system is that the control equations is zero, and with U , C , and λ are known, the direction of the gradient of U can be computed, and the value of U is iterated using the gradient descent method, where the termination error of the iteration is 1 × 10 3 .
{ H ( C , U , λ ) Hamiltonian = ϕ ( C , U ) Lagrangian + λ i C ˙ i λ i ( t f ) = φ ( C ( t f ) ) C i ( t f ) The   transverse   equations H U = 0 control   equations λ ˙ i ( t ) = H C i co - variance   equations C ˙ i = H λ i state   equations
The initial values of the system equations are determined by the control start time t0, while the final values of the co-state equation are obtained from the transversality condition. The iterative solution is performed using the algorithm shown in Figure 14d. Figure 14e–g illustrates the control rate, the number of algorithm iterations, and the control results within a specific control period, respectively.
It can be observed that the control rate remains within the control domain, and the algorithm converges rapidly with a strictly decreasing objective function. The initial value of the iteration of u is 0. The monotonicity of the target generalized function implies that the passenger flow control is effective. In terms of the control results, at the end of the control period, the passenger flow in the congested area decreases, and there is a tendency towards equilibrium between the control area and the congested area.

4.2. Optimization Results

The optimization results of the hub’s collection and distribution process using two strategies, namely passenger flow control and improving service facility efficiency, are presented in Figure 15. Compared with Figure 13b and Figure 15a, it can be seen that under the same arrival condition of passengers, the overall passenger flow in the hub after optimization shows a downward trend, and the control target node does not reach the peak value of equilibrium compared with that before optimization. This indicates that the hub can accept a larger influx of passenger flow.
Comparing Figure 13d and Figure 15b, it can be observed that the optimization effect is more pronounced in terms of passenger flow density, and the operation efficiency of the service facilities has improved the congestion of nodes 80 to 84. Meanwhile, the optimal control model has effectively improved the congestion near node 15 caused by flow line conflicts.
The average travel time of passengers within the hub was evaluated by comparing the cumulative arrivals and departures of passengers at the same time. The results are shown in Figure 15c, where the cumulative difference before and after optimization shows an increasing and stable trend, respectively. This indicates that before optimization, the average travel time of passengers gradually increased due to passenger congestion, while after optimization, the travel time of passengers within the hub presents a stable trend.

5. Conclusions and Discussion

5.1. Conclusions

In this paper, a DNL model is proposed for networks of a large scale and with heterogeneity, which can realize the loading of passenger flow in heterogeneous transportation networks in real time and adaptively.
(1)
MDPM automatically matches reasonable fundamental diagrams for nodes by classifying index and real-time passenger flow.
(2)
Through recursive query, MDPM can autonomously judge passenger flow propagation rules by combining the process index rule and passenger flow vector, so as to realize the transportation process constraints.
(3)
Based on real-time passenger flow, the selection preferences of passengers and node failure factors are considered through real-time updates.
The effectiveness of MDPM is verified by actual traffic survey results. The high-density areas and passenger aggregation areas in the simulation results are highly consistent with the actual data in the assembly and dispersion process of XI-PU hub stations. Meanwhile, MDPM can clearly explain the formation process of these phenomena. The results show that inbound flow conflicts and an insufficient capacity of service facilities are the main reasons for the formation of access bottlenecks; as such, traffic design and flow organization to improve the overall service capacity of hub stations is the focus of the work.
Three empirical conclusions are drawn from the implementation of MDPM:
(1)
Both MDPM and CTM use the fundamental diagram to calculate the real-time capacity of the nodes. The non-negative constraint on the parameters is an issue that should be given attention. When the passenger flow is low, the capacity may be higher than the actual passenger flow, followed by the error that the outflow is negative, which eventually leads to the abnormal accumulation of passenger flow. In CTM, the traffic volume is guaranteed to satisfy the non-negative constraint by min ( v i d i , f max width i , C i ) , and the comparison mechanism is also designed to achieve the non-negative constraint in this paper.
(2)
Accounting for node heterogeneity and transportation process constraints introduces extensive real-time judgment mechanisms, which can significantly increase the computational cost of MDPM. In this paper, MDPM is divided into nine independent processes by the flow lines for parallel computation. MDPM was tested under three platforms, Ryzen5900HS, i5-12500H, and i7-7800H, and the computational speed of MDPM in each CPU test showed 7~8 times improvement, with i5-12500H having the fastest computational speed, from 103.53 s/iter before parallelism to 12.353 s/iter after. From the results, the improvement in computational efficiency depends on the number of CPU physical cores.
(3)
The value and definition domains of the velocity−density fundamental diagram need special attention. The fundamental diagram is often derived by fitting the actual data, and the fitting results will have certain limitations when extreme cases of observations are not available. The fit must not only fit the actual data in the observed sample, but also reflect the trend of the average pedestrian speed with a density in the overall monotonicity. The monotonicity of Gaussian fitting is better than that of polynomial fitting, so it should be used as the preferred fitting method. Sample enhancement should also be used to improve the applicability of the fundamental diagram.
In addition, we investigated the existence of MFD based on the simulation results, and the results showed that the relationship between passenger flow and capacity of the local network resulted in a stable trend after a certain number of passenger flows and simulation periods. Based on this, a system state equation for short-time prediction of the passenger flow was established, and the accuracy of this system equation was significantly and positively correlated with the size (number of nodes) of the local network.
Based on the proposed system equations, an optimal control model to decongest the passenger flow in the congested area is established. The model uses a rolling optimization model, performs local linear approximation to the unknown MFD curve through first-order Taylor expansion, transforms the system equation into a set of undetermined coefficients, and then determines the coefficients through MDPM real-time passenger flow data. This control model greatly reduces the difficulty of modeling the system equations while ensuring prediction accuracy.
Through two strategies of passenger flow control and service efficiency improvement, the collection and distribution process of hub stations in peak periods is optimized. The results show that this hybrid strategy can significantly reduce the overall passenger flow density in the network, while the travel time of passengers in transit also shows a decreasing trend.

5.2. Limitations Discussion

In this paper, the passenger flow density is taken as the only factor affecting the passenger path selection. In reality, the walking energy consumption factor has a non-negligible influence, and the logit function will be improved in future research work to realize the consideration of the energy consumption factor. In addition, we will improve the LFM by adding more classification indexes and calculating branches to make the basic graph matching more detailed.
The optimal control model proposed in this paper is solved by an indirect numerical method, which substantially improves the convergence speed of the algorithm compared with the direct method. However, this method still has limitations compared to the analytical method. In this paper, the weight coefficient of the target functional is obtained through experiments, and ensuring that the control rate falls into the interval [−1, 1] in the majority of cases is an important basis for the determination of the weight coefficients. Because there is no analytical solution, it is difficult to discuss the monotonicity of the Hamiltonian function, and subsequently, bang−bang control cannot be achieved. In future research, the analytical solution form of the passenger flow control model will be derived from the system equation modeling and the solution path of the partial differential equations.

Author Contributions

Methodology, W.Z.; Software, W.Z.; Writing—original draft, W.Z.; Project administration, R.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Helbing, D. A Stochastic Behavioral Model and a ‘Microscopic’ Foundation of Evolutionary Game Theory. Theory Decis. 1996, 40, 149–179. [Google Scholar] [CrossRef]
  2. Muramatsu, M.; Irie, T.; Nagatani, T. Jamming Transition in Pedestrian Counter Flow. Phys. A Stat. Mech. Its Appl. 1999, 267, 487–498. [Google Scholar] [CrossRef]
  3. Nagatani, T. Freezing Transition in Bi-Directional CA Model for Facing Pedestrian Traffic. Phys. Lett. A 2009, 373, 2917–2921. [Google Scholar] [CrossRef]
  4. Johansson, A.; Helbing, D.; Shukla, P.K. Specification of the Social Force Pedestrian Model by Evolutionary Adjustment to Video Tracking Data. Adv. Complex Syst. 2007, 10, 271–288. [Google Scholar] [CrossRef]
  5. Moussaïd, M.; Helbing, D.; Garnier, S.; Johansson, A.; Combe, M.; Theraulaz, G. Experimental Study of the Behavioural Mechanisms Underlying Self-Organization in Human Crowds. Proc. R. Soc. B Biol. Sci. 2009, 276, 2755–2762. [Google Scholar] [CrossRef]
  6. Older, S.J. Movement of Pedestrians on Footways in Shopping Streets. Traffic Eng. Control 1968, 10, 160–163. [Google Scholar]
  7. Lam, W.H.K.; Lee, J.Y.S.; Cheung, C.Y. A Study of the Bi-Directional Pedestrian Flow Characteristics at Hong Kong Signalized Crosswalk Facilities. Transportation 2002, 29, 169–192. [Google Scholar] [CrossRef]
  8. Burghardt, S.; Seyfried, A.; Klingsch, W. Performance of Stairs—Fundamental Diagram and Topographical Measurements. Transp. Res. Part C Emerg. Technol. 2013, 37, 268–278. [Google Scholar] [CrossRef]
  9. Hughes, R.L. The Flow of Human Crowds. Annu. Rev. Fluid Mech. 2003, 35, 169–182. [Google Scholar] [CrossRef]
  10. Huang, L.; Wong, S.; Zhang, M.; Shu, C.-W.; Lam, W.H. Revisiting Hughes’ Dynamic Continuum Model for Pedestrian Flow and the Development of an Efficient Solution Algorithm. Transp. Res. Part B Methodol. 2009, 43, 127–141. [Google Scholar] [CrossRef]
  11. Hoogendoorn, S.; Bovy, P.H. Simulation of Pedestrian Flows by Optimal Control and Differential Games. Optim. Control Appl. Methods 2003, 24, 153–172. [Google Scholar] [CrossRef]
  12. Daganzo, C.F. The Cell Transmission Model: A Dynamic Representation of Highway Traffic Consistent with the Hydrodynamic Theory. Transp. Res. Part B Methodol. 1994, 28, 269–287. [Google Scholar] [CrossRef]
  13. Yperman, I.S.; Logghe, S.; Immers, L.H. The Link Transmission Model: An Efficient Implementation of the Kinematic Wave Theory in Traffic Networks. In Proceedings of the 10th EURO Working Group on Transportation Meeting, Poznan, Poland, 13–16 September 2005; pp. 122–127. [Google Scholar]
  14. Asano, M.; Iryo, T.; Kuwahara, M. Microscopic Pedestrian Simulation Model Combined with a Tactical Model for Route Choice Behaviour. Transp. Res. Part C Emerg. Technol. 2010, 18, 842–855. [Google Scholar] [CrossRef]
  15. Guo, R.-Y.; Huang, H.-J.; Wong, S. Collection, Spillback, and Dissipation in Pedestrian Evacuation: A Network-Based Method. Transp. Res. Part B Methodol. 2011, 45, 490–506. [Google Scholar] [CrossRef]
  16. Abdelghany, A.; Abdelghany, K.; Mahmassani, H. A Hybrid Simulation-Assignment Modeling Framework for Crowd Dynamics in Large-Scale Pedestrian Facilities. Transp. Res. Part A Policy Pract. 2016, 86, 159–176. [Google Scholar] [CrossRef]
  17. Zhang, Z.; Jia, L. Optimal Guidance Strategy for Crowd Evacuation with Multiple Exits: A Hybrid Multiscale Modeling Approach. Appl. Math. Model. 2021, 90, 488–504. [Google Scholar] [CrossRef]
  18. Wang, K.; Yuan, W.; Liang, W.; Yao, Y. An Optimal Guidance Strategy for Fire Evacuations: A Hybrid Modeling Approach. J. Build. Eng. 2003, 73, 106796. [Google Scholar] [CrossRef]
  19. Hänseler, F.S.; Lam, W.H.; Bierlaire, M.; Lederrey, G.; Nikolić, M. A Dynamic Network Loading Model for Anisotropic and Congested Pedestrian Flows. Transp. Res. Part B Methodol. 2017, 95, 149–168. [Google Scholar] [CrossRef]
  20. Lilasathapornkit, T.; Saberi, M. Dynamic Pedestrian Traffic Assignment with Link Transmission Model for Bidirectional Sidewalk Networks. Transp. Res. Part C Emerg. Technol. 2022, 145, 103930. [Google Scholar] [CrossRef]
  21. Aghamohammadi, R.; Laval, J.A. Dynamic Traffic Assignment Using the Macroscopic Fundamental Diagram: A Review of Vehicular and Pedestrian Flow Models. Transp. Res. Part B Methodol. 2020, 137, 99–118. [Google Scholar] [CrossRef]
  22. Bielli, M.; Caramia, M.; Carotenuto, P. Genetic Algorithms in Bus Network Optimization. Transp. Res. Part C Emerg. Technol. 2002, 10, 19–34. [Google Scholar] [CrossRef]
  23. Szeto, W.; Jiang, Y. Transit Route and Frequency Design: Bi-Level Modeling and Hybrid Artificial Bee Colony Algorithm Approach. Transp. Res. Part B Methodol. 2014, 67, 235–263. [Google Scholar] [CrossRef]
  24. Kabir, M.; Mobin, J.; Nayeem, M.A.; Habib, M.A.; Rahman, M.S. Multi-Objective Optimization and Heuristic Based Solutions for Evacuation Modeling. Transp. Res. Interdiscip. Perspect. 2023, 18, 100798. [Google Scholar] [CrossRef]
  25. Weihao, Z.; Xingyu, Z.; Hongping, W. Digital twin system for highway traffic based on 3D GIS technology. Comput. Integr. Manuf. Syst. 2020, 26, 28–39. Available online: http://www.cims-journal.cn/CN/10.13196/j.cims.2020.01.003 (accessed on 15 April 2023).
  26. Li, M.-H.; Yuan, Z.-Z.; Xu, Y.; Tian, J.-F. Randomness Analysis of Lane Formation in Pedestrian Counter Flow Based on Improved Lattice Gas Model. Acta Phys. Sin. 2015, 64, 018903. [Google Scholar] [CrossRef]
  27. Navin, F.P.; Wheeler, R.J. Pedestrian Flow Characteristics. Traffic Eng. Inst. Traffic Engr. 1969, 39. Available online: https://trid.trb.org/view/116327 (accessed on 15 April 2023).
  28. Pontryagin, L.S. Mathematical Theory of Optimal Processes; Routledge: London, UK, 2018. [Google Scholar] [CrossRef]
  29. Daganzo, C.F.; Geroliminis, N. An Analytical Approximation for the Macroscopic Fundamental Diagram of Urban Traffic. Transp. Res. Part B Methodol. 2008, 42, 771–781. [Google Scholar] [CrossRef]
Figure 1. Abstract graph.
Figure 1. Abstract graph.
Mathematics 11 03654 g001
Figure 2. Illustration of the PPM model.
Figure 2. Illustration of the PPM model.
Mathematics 11 03654 g002
Figure 3. Approach to ‘s’ and ‘width’ measurements based on the building information model.
Figure 3. Approach to ‘s’ and ‘width’ measurements based on the building information model.
Mathematics 11 03654 g003
Figure 4. Flow lines conflict. (a) Scene of flow line conflict. (b) Abstract network model of the scene. (c) Vectorized nodal traffic data.
Figure 4. Flow lines conflict. (a) Scene of flow line conflict. (b) Abstract network model of the scene. (c) Vectorized nodal traffic data.
Mathematics 11 03654 g004
Figure 5. MDPM calculation process.
Figure 5. MDPM calculation process.
Mathematics 11 03654 g005
Figure 6. Update pseudo-code for passenger inflow satisfying transportation process constraints.
Figure 6. Update pseudo-code for passenger inflow satisfying transportation process constraints.
Mathematics 11 03654 g006
Figure 7. The actuating logic of fundamental diagram matching (LFM).
Figure 7. The actuating logic of fundamental diagram matching (LFM).
Mathematics 11 03654 g007
Figure 8. The fundamental diagram curves used by MDPM.
Figure 8. The fundamental diagram curves used by MDPM.
Mathematics 11 03654 g008
Figure 9. Simulation Description.
Figure 9. Simulation Description.
Mathematics 11 03654 g009
Figure 10. Simulation results during off-peak periods.
Figure 10. Simulation results during off-peak periods.
Mathematics 11 03654 g010
Figure 11. Analysis of reasons for passenger detention.
Figure 11. Analysis of reasons for passenger detention.
Mathematics 11 03654 g011
Figure 12. Simulation results after optimization for node 15 (off-peak period).
Figure 12. Simulation results after optimization for node 15 (off-peak period).
Mathematics 11 03654 g012
Figure 13. Simulation results of the peak period.
Figure 13. Simulation results of the peak period.
Mathematics 11 03654 g013
Figure 14. Passenger flow control scheme based on Optimal Control Theory.
Figure 14. Passenger flow control scheme based on Optimal Control Theory.
Mathematics 11 03654 g014
Figure 15. Optimization results.
Figure 15. Optimization results.
Mathematics 11 03654 g015
Table 1. Design of data structure for the hub station network model.
Table 1. Design of data structure for the hub station network model.
Data ClassificationDescriptionSV
ND
dynamic
LoadAutomatic pedestrian facilitiesOccupancy (%) d
Service facility
Pedestrian facilitiesDensity (ped/m2)
operational efficiencyAutomatic pedestrian facilitiesoperating speed (ped/s) v ×
Service facilityaverage service time (ped/s)
Pedestrian facilitiesaverage speed (m/s)
traffic capacityAutomatic pedestrian facilitiesCapacity (ped/s) f
Service facilityservice efficiency (ped/s)
Pedestrian facilitiespedestrian flow rate (ped/ms)
passenger flowReal-time passenger flow in the node (ped) C
ED
dynamic
passenger choice behaviorPreference for empty areas for passengersw1×
Status of sink nodesWhether the sink node is in the inflow failure statew3×
traffic control measurescurrent limiting controlw2×
ND
static
Area of the facility (m2)s×
Width of the facility i (m)widthi×
Index of transportation processtype1×
Pedestrian facilities: 1; automatic pedestrian facilities: 2;
service facility: 3
type2×
Horizontal direction: 1; upward direction: 2; downward direction: 3type3×
Table 2. The key issues for MDPM to address.
Table 2. The key issues for MDPM to address.
DescriptionSolutions
Static heterogeneousNodes with different service modes and up/down directions need to be distinguished.MDPM completes the judgment of the node cases by type2 and type3, and then matches them to the corresponding branches of the fundamental diagram.
Dynamic heterogeneousThe heterogeneous pedestrian flow needs to be classified in real time, and the transportation process constraints satisfied by the passenger flow propagation need to be considered.The transport process constraints are designed as propagation rules for MDPM, while the corresponding branches are added to the fundamental diagram calculation logic.
Transportation process constraints
Network update methodBased on the assumption of the FIFO case, the proposed method eliminates the effect of the update order on the simulation results.Using an iterative approach, assuming a limited change in node traffic in the short term, the static data from the last cycle is used to calculate the change in traffic for the next cycle.
Table 3. Density−velocity pedestrian flow fundamental diagram used by LFM.
Table 3. Density−velocity pedestrian flow fundamental diagram used by LFM.
ConditionVelocity-Density Relations
Up stairs v = 0.6146 e ( ( d 0.0518 ) / 3.111 ) 2 (3)
Down stairs v = 0.6983 e ( ( d 0.2211 ) / 2.985 ) 2 (4)
Conflict of pedestrian flow v = 0.01053 d 5 + 0.1762 d 4 1.039 d 3 + 2.558 d 2 + 2.706 d + 1.29 (5)
Horizontal pedestrian facilities v = 0.009633 d 4 + 0.10374 d 3 0.2995 d 2 0.1249 d + 1.357 (6)
Table 4. Partitioning of passenger flow control nodes.
Table 4. Partitioning of passenger flow control nodes.
Control Area 1Congestion Area 2Relief Area 3
10, 28, 27, 128, 14715, 16, 12913, 14, 26, 30, 50, 141
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.

Share and Cite

MDPI and ACS Style

Zheng, W.; Mou, R. A Dynamic Network Loading Model for Hub Station Pedestrian Flow Collection and Distribution. Mathematics 2023, 11, 3654. https://doi.org/10.3390/math11173654

AMA Style

Zheng W, Mou R. A Dynamic Network Loading Model for Hub Station Pedestrian Flow Collection and Distribution. Mathematics. 2023; 11(17):3654. https://doi.org/10.3390/math11173654

Chicago/Turabian Style

Zheng, Weihao, and Ruifang Mou. 2023. "A Dynamic Network Loading Model for Hub Station Pedestrian Flow Collection and Distribution" Mathematics 11, no. 17: 3654. https://doi.org/10.3390/math11173654

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop