Abstract

Emergencies have a significant impact on the passenger flow of urban rail transit. It is of great practical significance to accurately predict the urban rail transit passenger flow and carry out research on its temporal and spatial distributions under emergency conditions. Urban rail transit operating units currently use video surveillance information mainly to process emergencies and rarely use computer vision technology to analyze passenger flow information collected. Accordingly, this paper proposes a passenger flow-based temporal and spatial distribution model for urban rail transit emergencies based on the CPT. First, this paper clarifies the categories and classification of urban rail transit emergencies, analyzes the factors affecting passenger route selection, and establishes a generalized travel cost model for passengers under emergencies. Second, this paper establishes a passenger route choice behavior model for urban rail transit based on the cumulative prospect theory. Finally, taking Beijing as an example, this paper analyzes passenger travel behavior under emergencies based on multiple logistic regression models and analyzes the impact of emergencies on rail transit travel behavior. The research results show that the cumulative prospect theory can better describe the route choice behavior of rail transit passengers under emergencies than the existing models, and this model is of great significance for handling urban rail transit emergencies. The model proposed in this paper can provide a theoretical basis for the government and relevant departments to formulate traffic management measures.

1. Introduction

Urban rail transit, which is intensifying, is characterized by fast speed, large capacity, high efficiency, and low energy consumption and has become the main form of urban public transportation. With the development of urban rail transit networks, urban rail transit has become the first choice for commuter passengers, with concentrated passenger flows during the morning and evening travel peaks. The stability and reliability of rail transit operation are of great significance to the stable development of urban transportation. However, with an increasing number of lines, the strictness of equipment standards, the aging of equipment and other reasons, and the types of emergencies that occur are gradually diversifying, their frequency of occurrence is increasing, and the spatial scope is expanding [1]. Once an emergency occurs, the normal operation of the train will be affected. If emergencies are not dealt with in a timely manner, the transportation capacity of urban rail transit will be reduced, and traffic paralysis may occur. In the case of urban rail transit network operation, research is carried out on the real-time prediction and early warning of the temporal and spatial distributions of passenger flow in the case of rail transit emergencies to accurately grasp the temporal and spatial distributions of passenger flow in the rail transit network. The impact of the incident, the improvement of real-time passenger flow monitoring capabilities and passenger travel information service levels, the effective organization of subway passenger flow, and the strengthening of subway passenger flow control are all of great significance.

To predict the temporal and spatial distributions of urban rail transit under normal operating conditions and to provide an early warning of large passenger flows, many studies have been carried out both at home and abroad [25]. At present, forecasting the temporal and spatial distributions of passenger flow is mainly aimed at high-density areas such as major event venues and transportation hubs. When investigating the route choice behavior of urban rail transit passengers under normal operating conditions, researchers generally combine historical data and traditional model methods. However, it is difficult to predict the selection behavior of urban rail transit passengers under emergency conditions, and it is difficult to conduct in-depth research with traditional models and methods. Research on rail transit passenger flow under emergencies mostly focuses on the prediction, propagation, evacuation, etc., of emergent passenger flow [613]. Current research mostly analyzes the impact of sudden passenger flow on urban rail operation from the perspective of train operation and passenger transportation organization, whereas relatively few studies have been conducted on the prediction and early warning of the temporal and spatial distributions of passenger flow in rail transit emergencies.

Preston et al. [14] analyzed the impact of train delays on passenger travel. Barron et al. [15] and Pnevmatikou et al. [16] considered the characteristics of passenger travel choice behavior under emergency situations. Tsuchiya et al. [17] developed a passenger support system to inform passengers of the best route to their destination in the event of an emergency. Sun et al. [18] established a model to evaluate the impacts of urban rail transit interruptions on travel times and delays based on a Bayesian method. Hong et al. [19] established a model to evaluate local interruptions in urban rail transit networks. Li and Liang [20] analyzed the impact of operating interruptions and proposed a quantitative calculation method for the scale of affected passengers. Huang et al. [21] studied the route selection of urban rail transit passengers under conditions of bounded rationality. Wang and Wu [22] analyzed the impact of emergencies on rail transit travel behavior. Wang [23], Luo [24], Qiao [25], and Wu [26] studied methods to calculate the affected passenger flows of basically unaffected passengers, bypass passengers, and passengers who are unable to reach their destination. Yu [27] proposed a passenger flow assignment method under interruption based on the MNL model. Liu [28] established a mathematical model to estimate the affected passenger flow under the interruption of urban rail transit. Xu et al. [29] established a passenger travel path selection model under urban rail transit emergencies based on the normal distribution probability model. Wang et al. [30] built an emergency logistics path selection model based on CPT, and the results showed that the parameter setting of the model has an important impact on the path selection model. Wang et al. [31] established a cumulative prospect model and concluded that travelers’ attitudes toward risk are different under different decision-making behaviors.

In this paper, on the basis of defining the scope of emergency research, with the help of AFC data, historical emergency information, and questionnaire survey data, this paper uses historical emergency passenger selection behavior information to carry out data mining. At the same time, considering the limited rationality of passengers, based on the path selection model of cumulative prospect theory, this paper studies the spatial and temporal distributions of urban rail transit passenger flow under emergencies, carries out passenger flow guidance information release and early-warning research, and verifies the effectiveness of the technology combined with specific cases to provide a reference for passenger flow organization and evacuation.

2. Establishment of a Generalized Travel Cost Model

2.1. Definition and Classification of Emergencies

An urban rail transit emergency refers to an event that occurs suddenly within the operating scope of urban rail transit that may damage the personal property and health of passengers or employees and requires the urban rail transit operation unit to make responsible decisions to minimize losses.

Different types of urban rail transit emergencies have different impacts on train operation. Passengers will choose different routes according to their own conditions, thus forming different temporal and spatial distributions of passenger flow in the urban rail transit network. The scope of this study is defined as follows: peak hours in the morning and evening under the occurrence of natural disasters, equipment failure, passenger transport organization and management scenarios, and other sudden, temporary large passenger flow events. In this paper, the types of urban rail transit emergencies are divided into three categories, as shown in Table 1.

2.2. Establishment of a Generalized Travel Cost Model
2.2.1. Analysis of Factors Affecting the Passenger Route Choice

In the urban rail transit network, when passengers choose a route, they are not only affected by individual subjective factors, such as individual comfort sensitivity requirements and familiarity with rail transit networks, but also by objective factors such as travel time, cost, and distance. The final passenger’s route choice is a result of a comprehensive consideration. When any one attribute changes, the path selection may change. The influencing factors of passenger route selection are shown in Table 2.

2.2.2. Establishment of a Generalized Travel Cost Model

The urban rail transit network path refers to the connecting path between any two stations in a transportation network. The generalized passenger travel path includes the inbound channel from the inbound gate to the platform, the starting station platform, the section, the transfer channel of the transfer station, the terminating station, the outbound channel to the outbound gate, and the paths between all connections. The generalized travel cost of passengers refers to the total cost of travel time and money for passengers using rail transit, reflecting the comprehensive cost of passengers choosing a certain route.

This paper establishes a generalized travel cost model based on different weights of influencing factors on passengers. The urban rail transit network route travel time is the main judgment parameter for route searching in the simulation model. To search for the path set between any two stations in the urban rail transit network, this paper establishes a generalized passenger travel cost model based on time. In an emergency, the model will dynamically update the interval of the period and the impedance on the node before each route search or passenger flow distribution.

In formula (1), is the comprehensive impedance cost function of the k-th path between the OD pair; is the impedance cost of all sections of the path; is the node impedance cost of all intermediate stations; is the node impedance cost of all transfer stations; is the congestion impedance function of the road section passing through; and is the revised cost function under emergencies.

Each impedance fee can be expressed as follows:(1)Section impedance cost :In formula (2), is the travel time of the section, and is the travel cost per unit time, RMB/s.(2)Node impedance cost of the intermediate station :In formula (3), is the stop time of the intermediate station, and is the stop cost per unit time, RMB/s.(3)Node impedance cost of the transfer station : In formula (4), is the travel time of the transfer station; is the expected time between rail transit arrivals; is the magnification penalty function on the crowded people and the number of transfers; is the transfer penalty coefficient; is the number of transfers; and is the transfer fee for passengers at transfer stations per unit time, RMB/s.(4)Congestion impedance function : In formula (5), is the congestion penalty amplification function, and is the critical perception threshold of the full load rate, which can be adjusted according to the actual situation.(5)Amendment fees for emergencies : According to statistics, the delay time of emergencies obeys a similar discrete probability distribution. The occurrence of emergencies will have certain impacts on the corresponding lines, stations, and sections, such as slower trains and delays caused by congested transfers, which will increase the travel time of passengers who choose that route.

3. Prediction and Early Warning of the Temporal and Spatial Distributions of Passenger Flow

3.1. Passenger Route Choice Model Based on Cumulative Prospect Theory

Tversky and Kahneman [32] proposed cumulative prospect theory based on hierarchy-dependent utility theory. Cumulative prospect theory focuses on personal, psychological, and behavioral characteristics and replaces the decision weight in the prospect theory with a cumulative decision weight to better solve the problem of random dominance and the processing of multiple results.

Cumulative prospect theory divides the decision maker’s risk selection process into two stages: editing and evaluation. The editing stage can be divided into setting reference points, establishing value functions, determining personal subjective probabilities, and establishing decision weight functions. In the evaluation stage, cumulative prospect theory considers the sort dependence of the probability of various possible outcomes of the alternatives and calculates and compares the prospects of the alternatives.

The prospect value is an index on which decision makers rely, as shown in the following formula:

In formula (6), is the value function, and is the decision weight function.(1)Value function: The specific expression of the value function is as follows: In formula (7), is the random event result, is the reference point, is the profit pursuit coefficient, is the loss avoidance coefficient, and . and reflect the risk appetite level of the decision maker. The larger the values of and are, the more likely the decision maker is to take risks, and .(2)Decision weight function: According to cumulative prospect theory, a prospect event result set corresponds to a probability set , the probability of the result is , the result set is arranged in the descending order as , represents the probability weight of the return, and represents the probability weight of loss. The expression of the probability weight function is The cumulative decision weight function is generated by the probability weight function, and the expression is as follows: The prospect value of the alternative can be expressed as(3)Reference point setting: As a single individual passenger is affected by many factors, such as personal experience and environment, different passengers have different feelings about the same event. According to research, when the reference point is set to the average value of the generalized cost of each route, it is more in line with the passengers’ travel psychology. Therefore, this paper proposes using the average value of the generalized cost as the reference point. The calculation formula of the reference point is as follows:

3.2. Construction of the Multipath Probability Allocation Model Based on User Equilibrium

In this paper, based on the prospect value of each scheme calculated by the aforementioned cumulative prospect theory, the allocated passenger flow of each route is calculated according to the following calculation formula:

In formula (12), is the randomness of the description model; is the passenger flow between OD pairs; is the distribution flow of the k-path between OD pairs; and is the cumulative prospect value of the k-path between OD pairs.

This paper uses the MSA algorithm, and the algorithm steps are as follows:Step 1: initialization.Step 2: calculation of impedance based on the generalized travel cost of passengers, use of the logic distribution method to distribute the passenger flow, and calculation of the route passenger flow and section passenger flow.Step 3: iterative calculation.Step 4: judge whether the convergence is based on the convergence function, convergence value, and number of convergence steps. Step 2 is repeated if the requirements are not met.

3.3. Overall Process of Simulating the Passenger Flow Deduction

The overall process of predicting the passenger flow within an urban rail transit network in real time is shown in Figure 1. The specific steps are as follows:Step 1: predict the initial stageThe data are prepared and connected to the database before being read into all the infrastructure tables and parameter tables in the simulation process.Step 2: prediction phaseThe current state of passenger flow is determined (normal passenger flow prediction or emergency passenger flow prediction). The prediction stage includes the inbound volume prediction, passenger flow OD prediction, and the passenger flow multipath distribution prediction. This paper employs real-time AFC statistical data and emergency line and length estimates by connecting to the database.Inbound traffic forecast: at the beginning of each forecast time, based on the historical passenger flow inbound data table, the inbound traffic at each station is forecast within each forecasting period.Passenger flow OD prediction: according to the historical passenger flow OD matrix, the inbound passenger flow is allocated according to the destination, and the passenger flow of each station’s inbound passenger flow to the remaining stations, that is, the predicted passenger flow OD, is predicted in each forecast period.Passenger flow multipath distribution prediction: the proportion of passenger flow that may be allocated for each route according to the cumulative prospect theory model is calculated, and the proportion of OD traffic to each route is allocated.Step 3: simulation phaseA simulation multiagent model is constructed according to the interaction among the overall road network scene, station, and passengers and other agents with their respective behavior rules, and accurate simulations are conducted considering the time, dynamic deduction, and loading of passenger flow data according to the time, statistics, and output according to the demand simulation calculation results within a certain time range.Step 4: index calculation and storage of the result stageAfter the simulation calculation is completed, the calculation result data are quickly written into the database, and a report is generated.Step 5: forecast end data update phaseIn the data update stage, the corrected AFC data and OD input data are updated in the same period.

3.4. Passenger Flow Impact Index System and Calculation of Emergencies

After the dynamic passenger flow allocation and simulation, it is necessary to identify the impact of the emergency passenger flow and perform an early warning of passenger flow based on the magnitude of the impact. Based on the detection of passenger flow anomalies, this paper establishes an urban rail transit emergency passenger flow impact index calculation model and then conducts a dynamic evaluation of the impacts of different types and levels of emergency events on passenger flow.

The index includes three aspects: degree of influence, scope of influence, and duration of influence. From the perspective of the severity of passenger congestion, the index is divided into different levels of congestion, namely, comfortable, general, and congested; from the perspective of the scope of influence, the index is divided into three levels, namely, station, line, and network; and from a time point of view, the index is divided into real time, short term, long term, and other levels. The influencing factors of the passenger flow impact index of emergencies are shown in Figure 2.

There are four passenger flow data sources for the emergency passenger flow impact index: inbound passenger flow, outbound passenger flow, interval passenger flow, and interchange passenger flow. The index calculation method proposed in this paper is based on the original passenger flow data. Compared with step-by-step recursive calculation methods such as the “station-line-network” approach, using the original flow data avoids an accumulation of errors due to step-by-step merging and is therefore more accurate. The passenger flow impact index system and calculation process of urban rail transit emergencies are shown in Figure 3.

4. Case Analysis of Emergencies Based on the Beijing Rail Transit Network

4.1. Data and Preliminary Processing

Urban rail transit AFC data include the inbound number, outbound number, line number, inbound time, and outbound time. This paper extracts and analyzes AFC data to extract the inbound and outbound passenger flow, sectional flow, and other data.

This paper selects the three-day normal daily passenger flow data before and after the emergency day (excluding special times, such as national statutory holidays and large-scale events), and the track passenger flow time period is 15 minutes. To ensure the accuracy of the identification of emergencies, based on previous experience and research, within a given period of time (excluding special times, such as national statutory holidays and large-scale events), the passenger flow data for a certain period on the same working day follow a normal distribution. This paper cleans the passenger flow data according to the 3σ principle and removes the abnormal passenger flow data from the normally distributed historical passenger flow data.

4.2. Analysis of Passenger Travel Behavior under Emergencies Based on a Multiple Logistic Regression Model

During an emergency, the travel choice behavior of passengers in the rail transit system will change. Based on questionnaire survey data and AFC passenger flow data, the study of passengers’ travel choice behaviors provides basic support for OD passenger flow analysis and travel delay time estimation. This paper considers only the situation when passengers are already inside the rail transit system when an emergency occurs.

4.2.1. Multinomial Logistic Travel Choice Behavior Regression Modeling Principle

The choice behavior of passengers after an emergency is selected as the dependent variable, and the conditional probability of choosing the i-th choice behavior is , . The choice of the first passenger choice behavior is selected as the reference level, and the corresponding choice probability is , . Then, the multiclass logistic regression model is as follows:

In formula (13), is the independent variable; is the number of independent variables; is the number of dependent variables; are the independent variable regression coefficient vectors; and is the occurrence ratio of choice to choice.

4.2.2. Design of the Dependent and Independent Variables

According to the analysis, for the urban rail transit system, the travel choice behavior of passengers after an emergency occurs is divided into the following: leaving the station and changing to a bus, taxi, etc., to reach the destination; leaving the station and taking the rail transit from other rail stations but not leaving the station; changing the travel route and waiting for the incident to resume; and continuing to take the four types of rail transit travel. These behaviors are coded as shown in Table 3. This paper selects 15 candidate independent variables and encodes the categorical variables as shown in Table 4.

4.2.3. Selection Behavior Analysis

According to the passenger choice behavior survey questionnaire, a logistic regression model was used to analyze the travel behavior of urban rail transit passengers, and the following conclusions were obtained:(1)The social and economic attributes of passengers have certain impacts on passengers’ behavior choices when facing emergencies, but these impacts are relatively small and can be ignored.(2)When an emergency occurs, passengers who are familiar with the urban rail transit network tend to choose to detour inside the rail transit system. In contrast, passengers who occasionally take urban rail transit travel tend to stay and wait for the emergency to end because the urban rail transit network is relatively unfamiliar; these passengers are more flustered during emergencies, and there is a phenomenon of herding.(3)The occurrence time, location, and impact of emergencies have important impacts on the choice of passengers. When predicting and guiding the passenger flow of emergencies, priority should be given to the selection of passengers under different occurrence times, locations, and impacts.(4)In the case of giving passengers a certain amount of information to consider, most passengers will choose to change their initial choice behavior, and external information interference has an important influence on the choice of passengers.

4.3. Case Analysis of Emergencies Based on the Beijing Rail Transit Network

This article takes the Beijing urban rail transit network as an example with Tiantandongmen Station as the starting point and Zhangzizhonglu Station as the end point to analyze the route. The route contains three possible pathways, as shown in Figure 4.

When no emergencies occur, the attributes of the three alternative paths are shown in Table 5. It can be seen that the travel times of paths 2 and 3 are longer than the travel time of path 1 by 12 minutes, and both have three transfers, which are time-consuming. The probability of choosing path 1 is 100%.

This article assumes that an emergency occurs in the section from Chongwenmen Station to Dongdan Station, and the time to resume traffic cannot be determined. At this time, path 1 is not accessible, paths 2 and 3 are affected by emergencies, and the path travel events are delayed to a certain extent. The delay time of each path caused by the emergencies is set to follow the distribution shown in Table 6.

According to the calculation of cumulative prospect theory, the selection probability of path 2 is 54.63%, and the selection probability of path 3 is 45.37%, which are closer to the results of the questionnaire survey. According to this analysis, passengers are more sensitive to losses, and the occurrence of emergencies makes path 2 lose fewer passengers than path 3, which leads to different choices of travel routes for passengers.

5. Conclusions

To study the travel choice behavior of rail transit passengers under emergencies in depth, this paper proposes a prediction and early-warning model for the temporal and spatial distributions of rail transit passenger flow based on a cumulative prospect theory model, which makes up for the deficiencies of previous studies. Compared with the existing prediction methods, this method better simulates the travel decision-making process of rail transit passengers under emergencies, is closer to reality, and provides strong support for the accurate prediction of passenger flow between rail transit stations under emergencies. The model provides a theoretical basis for the government and related departments to formulate traffic management measures.

Specifically, this paper introduces cumulative prospect theory to study the route choice of urban rail transit passengers and performs the following work:(1)The passenger’s route choice preferences are analyzed under different influencing factors, and a generalized passenger travel cost model is established.(2)The principle of establishing the reference point in the cumulative prospect theory model is analyzed, and a prediction and early-warning model for the temporal and spatial distributions of passenger flow during rail transit emergencies is constructed based on the cumulative prospect theory.(3)According to the proposed prediction and early-warning model for the temporal and spatial distributions of passenger flow during rail transit emergencies based on the cumulative prospect theory, a logistic regression model is used to analyze the travel behavior of urban rail transit passengers, and the Beijing urban rail transit network is taken as an example. The results show that the cumulative prospect theory can more accurately describe the decision-making behavior of passengers in route selection and can better reflect the needs of passengers traveling by rail transit under emergencies.

How to further update the data in the model to obtain more accurate results, study the changes in passenger behavior from day to day after short-term incidents, and develop a passenger flow organization method of subway stations when short-term incidents occur are all directions of future research.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest in this paper.

Acknowledgments

This work was jointly supported by the National Natural Science Foundation of China (no. U1834211), Postdoctoral Innovative Talent Project (no. BX20190029), and the State Key Laboratory of Rail Traffic Control and Safety (Contract no. RCS2020ZZ002).