A subway congestion relief method and system based on prediction data
By constructing a subway OD passenger flow prediction model, identifying crowded sections and main passenger sources, and optimizing passenger flow control, the problem of rapid congestion relief in the subway network during peak periods has been solved, passenger flow control efficiency has been improved, and costs have been reduced.
Patent Information
- Application Number
- CN202410777826.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-17
AI Technical Summary
The existing subway network is difficult to quickly alleviate congestion during peak periods, and the passenger flow control model is based on historical data, making it difficult to respond to congestion in real time, and is costly and inefficient.
By building a subway OD passenger flow model based on predictive data, we identify crowded sections and main passenger sources, determine target stations and passenger flow control periods, use the inbound passenger flow control rate as a decision variable, optimize passenger flow control to minimize the total number of delayed passengers, and achieve Passenger flow control.
Effectively reduce the passenger flow in congested sections of the subway network, improve passenger flow control efficiency, reduce operating costs, and achieve rapid relief for the subway network.
Smart Images

Figure CN118365092B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of transportation technology, and in particular relates to a subway congestion relief method and system based on prediction data. Background Art
[0002] The urban subway network is an important part of the urban public transportation system. The subway network provides efficient, fast and safe transportation services, facilitating people's daily commuting and travel. With the continuous expansion of urban areas and the continuous growth of population size, the subway network has undertaken heavy transportation tasks during peak hours in the morning and evening, which has also caused serious congestion in the subway network during peak hours. Excessive congestion in the subway will affect the travel comfort of passengers, increase the travel time of passengers, and once the situation is serious, it is very easy to cause safety accidents. Therefore, alleviating the congestion of the subway network during peak hours has always been the focus of attention of relevant management departments. In recent years, many scholars have constructed timetable optimization models and passenger flow control models to alleviate the congestion of the subway network during peak hours.
[0003] However, the existing congestion relief methods still have the following problems:
[0004] The essence of subway train schedule optimization is to increase the frequency of train departures, that is, to transport more passengers within the original time window. However, existing research shows that the departure intervals of subway lines in many cities have been compressed to one train every 2 minutes. Further compression of the departure interval will bring safety hazards. In addition, more trains need to be purchased, which greatly increases the operating costs of subway companies. Therefore, subway operating departments are increasingly inclined to use passenger flow control to alleviate subway network congestion.
[0005] Many subway companies’ existing passenger flow control is implemented only after congestion has formed, which is lagging and difficult to quickly alleviate subway congestion. In addition, the origin-destination (OD) data of subway passengers is difficult to obtain in real time. The current passenger flow control models are based on historical OD passenger flow data to obtain passenger flow control plans for each subway station, which makes it difficult to objectively verify the actual congestion relief effect of the passenger flow control model.
[0006] Indiscriminately selecting upstream subway stations of congested sections to implement passenger flow control will result in different passenger flow contributions from each station to the congested section, and some stations will not even have any impact on the congested section. Randomly selecting upstream stations of congested sections to implement passenger flow control will only lead to low control efficiency. A considerable control cost will be invested but satisfactory congestion relief effect will not be achieved, reducing the feasibility of the passenger flow control plan. Summary of the invention
[0007] In order to make up for the defects of the prior art, the present invention provides a subway congestion relief method and system based on prediction data.
[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0009] In a first aspect, a method for alleviating subway congestion based on prediction data is provided, comprising:
[0010] Obtain subway network operation information, structural data and historical OD passenger flow data;
[0011] A subway OD passenger flow prediction model is constructed based on historical OD passenger flow data, and the subway OD passenger flow prediction model is used to predict and obtain predicted OD passenger flow data;
[0012] According to the subway network operation information, structural data and predicted OD passenger flow data, the crowded sections in the subway network and the main passenger sources in the crowded sections are identified, and there is at least one main passenger source;
[0013] The subway stations corresponding to the main passenger sources are taken as the target stations for implementing passenger flow control, and there is at least one target station;
[0014] Determine the congestion period of the congested section and the passenger flow control period of each target station, the passenger flow control period includes multiple stages;
[0015] The incoming passengers of the target station are distributed to the subway network sections. The incoming passenger flow control rate of each target station is used as the decision variable, and the minimum total number of delayed passengers at the target station is used as the target condition to construct the passenger flow control optimization model. The incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window.
[0016] The passenger flow control optimization model is solved to determine the optimal entry passenger flow control rate and passenger flow control period for each target station, and the subway passenger flow control results are obtained.
[0017] Furthermore, obtain subway network operation information, structural data and historical OD passenger flow data, including:
[0018] Obtain the subway network operation information of the area to be studied, which includes the departure intervals and train capacity information of different lines;
[0019] Obtain the station information of all stations and the interval information of all intervals in the subway network of the area to be studied; the station information includes the name and longitude and latitude of each station; if a station is a transfer station, the transfer time is required; the line between two adjacent stations is a section; the section information includes the starting station number, the ending station number, the length value of each section, and the time required for the train to pass through each section;
[0020] Get structural data based on site information and interval information;
[0021] The total OD passenger flow between each pair of stations in the subway network of the area to be studied within a preset time period is obtained to obtain historical OD passenger flow data.
[0022] Furthermore, a subway OD passenger flow prediction model is constructed based on historical OD passenger flow data, and the subway OD passenger flow prediction model is used to predict the predicted OD passenger flow data, including:
[0023] According to the historical OD passenger flow data, the corresponding OD passenger flow in each preset time window is calculated to obtain the OD passenger flow matrix P d,t , the expression is:
[0024]
[0025] represents the passenger flow from station i to station j in time window t on day d;
[0026] Construct an OD passenger flow prediction model, which includes a convolutional neural network module and a convolutional block attention module. The convolutional neural network module includes three convolutional layers, three pooling layers, and one fully connected layer, which is used to extract the features of the OD passenger flow matrix. The convolutional block attention module includes a channel attention mechanism and a spatial attention mechanism. The channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights. The spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions.
[0027] The OD passenger flow matrix of the same time window t for n consecutive working days is input into the OD passenger flow prediction model to predict the OD passenger flow corresponding to the time window t of the next working day to obtain the predicted OD passenger flow data, where n is a positive integer greater than 1.
[0028] Furthermore, based on the subway network operation information, structural data and predicted OD passenger flow data, the crowded sections in the subway network and the main passenger sources in the crowded sections are identified, including:
[0029] According to the structural data, the Dijkstra algorithm is used to generate a shortest travel time path for each pair of ODs according to the travel time, and the passenger travel between each pair of ODs is set to be completed according to the corresponding shortest travel time path;
[0030] According to the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs, the passenger flow of each interval within the preset time window is cumulatively calculated;
[0031] According to the type of trains and the departure intervals of each line in the subway network operation information, the design capacity of each section is calculated;
[0032] The full load rate of each section is calculated based on the designed traffic capacity and the passenger flow of the section;
[0033] The sections with full load ratio greater than 1 are regarded as the congested sections in the subway network;
[0034] According to the congested section, the boarding stations of passengers passing through the congested section are counted as the passenger source stations;
[0035] The main source of passengers in the congested section is obtained based on the passenger flow contribution of the passenger source station to the congested section.
[0036] Furthermore, the main passenger sources of the congested section are obtained according to the passenger flow contribution of the passenger source station to the congested section, including:
[0037] Calculate the passenger flow contribution of all passengers boarding at each passenger source station to the congested section;
[0038] According to the sorting method from large to small, the passenger flow contribution of each source station to the congested section is accumulated in turn, and the passenger flow contribution of all source stations is summed up to get the total passenger flow contribution, which will account for more than half of the total passenger flow contribution. The top-ranked source stations are regarded as the main source of passengers, and there is at least one main source of passengers.
[0039] Furthermore, taking the passenger flow control rate of each target station as the decision variable and the minimum total number of delayed passengers at the target station as the target condition, before constructing the passenger flow control optimization model, the following is also included:
[0040] According to the passenger flow contribution of each main passenger source to the congested section, the passenger flow control rate array [α1, α2, …, α k ,…],α k represents the inbound passenger flow control rate of the main passenger source k.
[0041] Furthermore, taking the passenger flow control rate of each target station as the decision variable and the minimum total number of delayed passengers at the target station as the target condition, a passenger flow control optimization model is constructed, including:
[0042] The passenger flow control rate α of each target station k as decision variables;
[0043] According to the decision variables, we can get the constraint condition 0≤α k ≤α max , α max Indicates the preset limit control rate of the corresponding target site;
[0044] The constraint condition is that the passenger flow in the interval is less than the design capacity. l ≤CAP,Q lrepresents the passenger flow of interval l under the current passenger flow control scheme, and CAP represents the design capacity of the interval;
[0045] According to the total number of delayed passengers Z, we get the target condition min Z;
[0046] according to and min Z, the passenger flow control optimization model is constructed.
[0047] In the second aspect, a subway congestion relief system based on prediction data is provided, comprising:
[0048] Data acquisition module, used to obtain subway network operation information, structural data and historical OD passenger flow data;
[0049] The passenger flow prediction module is used to construct a subway OD passenger flow prediction model based on historical OD passenger flow data, and use the subway OD passenger flow prediction model to predict and obtain predicted OD passenger flow data;
[0050] An identification and processing module is used to identify the crowded sections in the subway network and the main passenger sources in the crowded sections according to the subway network operation information, structural data and predicted OD passenger flow data, where the main passenger source is at least one;
[0051] A site determination module is used to use the subway stations corresponding to the main passenger sources as target sites for implementing passenger flow control, and there is at least one target site;
[0052] A time period determination module, used to determine the congestion period of the congested section and the passenger flow control period of each target station, the passenger flow control period includes multiple stages;
[0053] The optimization model building module is used to allocate the incoming passengers of the target station to the subway network sections, and to build a passenger flow control optimization model with the incoming passenger flow control rate of each target station as the decision variable and the minimum total number of delayed passengers at the target station as the target condition; the incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window;
[0054] The calculation and processing module is used to solve the passenger flow control optimization model, determine the optimal entry passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result.
[0055] Furthermore,
[0056] The passenger flow prediction module is specifically used to calculate the corresponding OD passenger flow in each preset time window based on the historical OD passenger flow data, and obtain the OD passenger flow matrix P d,t , the expression is:
[0057] represents the passenger flow from station i to station j in time window t on the dth day; construct an OD passenger flow prediction model, which includes a convolutional neural network module and a convolutional block attention module. The convolutional neural network module includes three convolutional layers, three pooling layers and one fully connected layer, which are used to extract the features of the OD passenger flow matrix; the convolutional block attention module contains a channel attention mechanism and a spatial attention mechanism. The channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights. The spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions; the OD passenger flow matrix of the same time window t for n consecutive working days is input into the OD passenger flow prediction model to predict the OD passenger flow corresponding to the time window t of the next working day, and obtain the predicted OD passenger flow data, where n is a positive integer greater than 1.
[0058] Furthermore,
[0059] The identification and processing module is specifically used to generate a shortest travel time path for each pair of ODs according to the travel time using the Dijkstra algorithm based on the structural data, and set the passenger travel between each pair of ODs to be completed according to the corresponding shortest travel time path; based on the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs, cumulatively calculate the interval passenger flow of each interval within the preset time window; based on the vehicle type and train departure interval of each line in the subway network operation information, calculate the design traffic capacity of each interval; based on the design traffic capacity and the interval passenger flow, calculate the full load rate of each interval; regard the interval with a full load rate greater than 1 as the congested interval in the subway network; based on the congested interval, count the boarding stations of passengers passing through the congested interval as the passenger source station; and obtain the main passenger source of the congested interval based on the passenger source station's contribution to the passenger flow of the congested interval.
[0060] The beneficial effects achieved by the present invention are:
[0061] Obtain subway network operation information, structural data and historical OD passenger flow data; construct a subway OD passenger flow prediction model based on historical OD passenger flow data, and use the subway OD passenger flow prediction model to predict and obtain predicted OD passenger flow data; identify the crowded sections in the subway network and the main passenger sources in the crowded sections based on the subway network operation information, structural data and predicted OD passenger flow data, and the main passenger source is at least one; take the subway stations corresponding to the main passenger sources as the target stations for implementing passenger flow control, and the target station is at least one; determine the crowded time period of the crowded section and the passenger flow control period of each target station, and the passenger flow control period includes multiple stages; distribute the incoming passengers of the target station to the subway network section, take the incoming passenger flow control rate of each target station as the decision variable, and take the minimum total number of delayed passengers at the target station as the target condition, and construct a passenger flow control optimization model; the incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window; solve the passenger flow control optimization model, determine the optimal incoming passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result. A passenger flow prediction model is built using historical OD passenger flow data. The congested sections of the subway network are then identified based on the predicted OD passenger flow data, subway network operation data, and structural data. The main passenger sources in the congested sections are identified as target stations for implementing passenger flow control. The total number of delayed passengers is minimized when optimizing model construction to achieve the optimal passenger flow control rate for the target stations. This can effectively reduce passenger flow in congested sections and alleviate subway congestion. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A flowchart of a subway congestion relief method based on prediction data of the present invention;
[0063] Figure 2 A flow chart for identifying crowded sections and main passenger sources for the present invention;
[0064] Figure 3 It is a structural diagram of the subway congestion relief system based on prediction data of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0066] like Figure 1 As shown, an embodiment of the present invention provides a method for alleviating subway congestion based on prediction data, comprising:
[0067] 101, obtain subway network operation information, structure data and historical OD passenger flow data;
[0068] Among them, the subway network operation information to be studied includes the train departure intervals and train capacity information of different lines; for example, the subway network of City A has opened subway lines 1, 2, 3, 4, 5 and 11. The train departure intervals of each line during peak and off-peak periods are different. The departure intervals of Line 1 during peak and off-peak periods are 2 minutes and 5 minutes respectively, the departure intervals of Lines 2 and 3 during peak and off-peak periods are 3 minutes and 7 minutes respectively, the departure intervals of Line 4 during peak and off-peak periods are 2.5 minutes and 5 minutes respectively, and the departure intervals of Lines 5 and 11 during peak and off-peak periods are 5 minutes and 7 minutes respectively. Lines 1, 2, 4, 5 and 11 use Type A vehicles, and the rated passenger capacity of each train is 1,860 people; Line 3 uses Type B vehicles, and the rated passenger capacity of each train is 1,440 people;
[0069] Obtain all station information and all interval information in the subway network to be studied, and obtain structural data based on the station information and interval information; station information includes the number, name and longitude and latitude of each station, and if the station is a transfer station, it also includes the transfer time; two adjacent stations constitute an interval; interval information includes the starting station number, the ending station number and the time it takes for the train to pass through the interval of each interval; for example, the subway network of City A consists of 132 stations and 286 intervals; the specific content of the structural data can be: the station number of the station "Luohu" is 1, the longitude is 114.113575 degrees, and the latitude is 22.534778 degrees; the travel time of the train from the station "Luohu" (numbered 1) to the station "Guomao" (numbered 2) is 2 minutes;
[0070] The total number of passenger trips between each pair of OD in the subway network to be studied within a preset time period is obtained to obtain historical traffic demand data. For example, the preset time period is 7:30-7:45 am on September 7, 2016, the total number of vehicle trips between each pair of OD in the subway network of City A, and from 7:30 to 7:45 am on September 7, 2016, there were 226 passengers departing from the station "Airport East" and arriving at the station "Hourui"; this embodiment calculates the historical OD passenger flow data for each preset time period, such as the morning rush hour from 7:30 to 9:30 on September 7, 2016, and calculates the passenger flow of each OD pair with a time window of 15 minutes.
[0071] 102, constructing a subway OD passenger flow prediction model according to historical OD passenger flow data, and using the subway OD passenger flow prediction model to perform prediction to obtain predicted OD passenger flow data;
[0072] Among them, according to the historical OD passenger flow data, the corresponding OD passenger flow in each preset time window is calculated to obtain the OD passenger flow matrix P d,t , the expression is:
[0073]
[0074] represents the passenger flow from station i to station j in time window t on day d;
[0075] Construct an OD passenger flow prediction model, which includes a convolutional neural network module and a convolutional block attention module. The convolutional neural network module includes three convolutional layers, three pooling layers, and one fully connected layer, which is used to extract the features of the OD passenger flow matrix. The convolutional block attention module includes a channel attention mechanism and a spatial attention mechanism. The channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights. The spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions.
[0076] Input the OD passenger flow matrix of the same time window t of n consecutive working days into the OD passenger flow prediction model, predict the OD passenger flow corresponding to the time window t of the next working day, and obtain the predicted OD passenger flow data, where n is a positive integer greater than 1;
[0077] It should be noted that during the training process, the historical OD matrix [P d-n,t , ..., P d-2,t , P d -1,t ]Train the OD passenger flow prediction model. In the prediction stage, use P d-n,t , ...P d-2,t , P d-1,t As the model input, predict the OD passenger flow in time window t on day d The OD passenger flow matrix of the entire subway network can be obtained.
[0078] 103, identifying the crowded sections in the subway network and the main passenger sources in the crowded sections according to the subway network operation information, structure data and predicted OD passenger flow data, wherein the main passenger source is at least one;
[0079] Among them, the specific steps for identifying crowded sections and main passenger sources are as follows: Figure 2 As shown, including:
[0080] 201, according to the structural data, using the Dijkstra algorithm to generate a shortest travel time path for each pair of ODs according to the travel time, and setting the passenger travel between each pair of ODs to be completed according to the corresponding shortest travel time path;
[0081] 202, cumulatively calculating the interval passenger flow of each interval within the preset time window according to the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs;
[0082] 203, according to the vehicle type and train departure interval of each line in the subway network operation information, the design traffic capacity of each section is calculated;
[0083] Assume that the trains of Metro Line 1 in City A are Type A trains, each train can carry 1,860 people per trip, and the departure interval during the morning rush hour is 2 minutes. When the time window is 15 minutes, there are at most 7 trains passing through each time window, and the capacity of each section of Line 1 is 7×1860=13,020 people.
[0084] 204, the full load rate of each section is calculated according to the designed traffic capacity and passenger flow, and the section with a full load rate greater than 1 is regarded as the congested section in the subway network;
[0085] Assuming that the passenger flow from the station "Luohu" to the station "Guomao" is 8999 people, the full load rate of this section = 8999 / 13020 = 0.691;
[0086] 205, according to the congested section, counting the boarding stations of passengers passing through the congested section as passenger source stations;
[0087] 206. According to the passenger flow contribution of the passenger source station to the congested section, the main passenger source of the congested section is obtained.
[0088] The calculation process of the passenger source station is as follows: calculate the passenger flow contribution of all passengers who get on the bus at each passenger source station to the crowded section; if a passenger passes through n crowded sections, the passenger flow contribution of this passenger source to the crowded section increases by n; from large to small, accumulate the passenger flow contribution of each passenger source station to the crowded section in turn, sum up the passenger flow contribution of all passenger source stations, and get the total passenger flow contribution, which will reach more than half of the total passenger flow contribution, and the passenger source stations with the highest ranking will be regarded as the main passenger source, and there is at least one main passenger source.
[0089] For example, there are 65 passenger sources in the crowded section. The results are sorted from large to small according to the passenger source contribution to the passenger flow in the crowded section: "Danzhutou", "Dafen", "Baishilong" and "Qinghu", etc., and their passenger flow contributions are 10695, 9556, 8587 and 6998 respectively. The passenger flow contribution of each passenger source is accumulated from large to small. When the accumulated passenger flow contribution of M passenger sources reaches 50% of the total passenger flow contribution, the accumulation stops. These M passenger sources are the main passenger sources.
[0090] 104. The subway stations corresponding to the main passenger sources are taken as the target stations for implementing passenger flow control, and there is at least one target station;
[0091] 105, determining a congestion period of the congested section and a passenger flow control period of each target station, wherein the passenger flow control period includes multiple stages;
[0092] For example, the time period for implementing passenger flow control at the target site "Danzhutou" should be 7:30-8:15, and it is divided into three stages every 15 minutes. In each stage, the passenger flow control intensity of the target site is different, which means that the passenger flow control plan changes every 15 minutes, thereby flexibly adapting to the time-varying characteristics of OD demand.
[0093] 106. Allocate the incoming passengers of the target station to the subway network sections, take the incoming passenger flow control rate of each target station as the decision variable, take the minimum total number of delayed passengers at the target station as the target condition, and construct a passenger flow control optimization model;
[0094] Before building the model, it is also necessary to obtain the passenger flow control rate array α1, α2, …, α according to the passenger flow contribution of each main passenger source to the crowded section. k ,…],α k represents the passenger flow control rate of the main passenger source k; the passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window;
[0095] The model building process is:
[0096] The passenger flow control rate α of each target station k as decision variables;
[0097] According to the decision variables, we can get the constraint condition 0≤α k ≤α max , α max Indicates the preset limit control rate of the corresponding target site;
[0098] The constraint condition is that the passenger flow in the interval is less than the design capacity. l ≤CAP,Q l represents the passenger flow of interval l under the current passenger flow control scheme, and CAP represents the design capacity of the interval;
[0099] According to the total number of delayed passengers Z, we get the target condition min Z;
[0100] according to and min Z, the passenger flow control optimization model is constructed.
[0101] 107, solve the passenger flow control optimization model, determine the optimal passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result.
[0102] The principles of the embodiments of the present invention are as follows:
[0103] Obtain subway network operation information, structural data and historical OD passenger flow data; construct a subway OD passenger flow prediction model based on historical OD passenger flow data, and use the subway OD passenger flow prediction model to predict and obtain predicted OD passenger flow data; identify the crowded sections in the subway network and the main passenger sources in the crowded sections based on the subway network operation information, structural data and predicted OD passenger flow data, and the main passenger source is at least one; take the subway stations corresponding to the main passenger sources as the target stations for implementing passenger flow control, and the target station is at least one; determine the crowded time period of the crowded section and the passenger flow control period of each target station, and the passenger flow control period includes multiple stages; distribute the incoming passengers of the target station to the subway network section, take the incoming passenger flow control rate of each target station as the decision variable, and take the minimum total number of delayed passengers at the target station as the target condition, and construct a passenger flow control optimization model; the incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window; solve the passenger flow control optimization model, determine the optimal incoming passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result. A passenger flow prediction model is built using historical OD passenger flow data. The congested sections of the subway network are then identified based on the predicted OD passenger flow data, subway network operation data, and structural data. The main passenger sources in the congested sections are identified as target stations for implementing passenger flow control. The total number of delayed passengers is minimized when optimizing model construction to achieve the optimal passenger flow control rate for the target stations. This can effectively reduce passenger flow in congested sections and alleviate subway congestion.
[0104] Combined with the above Figure 1 and Figure 2 The subway congestion relief method based on prediction data is described in the illustrated embodiment. The subway congestion relief system based on prediction data is explained below through an embodiment.
[0105] like Figure 3 As shown, an embodiment of the present invention provides a subway congestion relief system based on prediction data, including:
[0106] Data acquisition module 301, used to acquire subway network operation information, structure data and historical OD passenger flow data;
[0107] A passenger flow prediction module 302 is used to construct a subway OD passenger flow prediction model based on historical OD passenger flow data, and use the subway OD passenger flow prediction model to perform prediction to obtain predicted OD passenger flow data;
[0108] An identification processing module 303 is used to identify the crowded sections in the subway network and the main passenger sources of the crowded sections according to the subway network operation information, structure data and predicted OD passenger flow data, where the main passenger source is at least one;
[0109] A station determination module 304 is used to use the subway stations corresponding to the main passenger sources as target stations for implementing passenger flow control, and there is at least one target station;
[0110] The time period determination module 305 is used to determine the congestion period of the congested section and the passenger flow control period of each target station, and the passenger flow control period includes multiple stages;
[0111] The optimization model building module 306 is used to allocate the incoming passengers of the target station to the subway network sections, take the incoming passenger flow control rate of each target station as the decision variable, take the minimum total number of delayed passengers at the target station as the target condition, and build a passenger flow control optimization model; the incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window;
[0112] The calculation processing module 307 is used to solve the passenger flow control optimization model, determine the optimal entry passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result.
[0113] The principles of the embodiments of the present invention are as follows:
[0114] The data acquisition module 301 acquires the subway network operation information, structural data and historical OD passenger flow data of the area to be studied, and the passenger flow prediction module 302 predicts the OD passenger flow of each time window; the identification processing module 303 identifies the crowded sections in the subway network and the main passenger sources in the crowded sections, and the main passenger source is at least one; the station determination module 304 uses the subway stations corresponding to the main passenger sources as the target stations for implementing passenger flow control, and the target station is at least one; the time period determination module 305 determines the crowded time period of the crowded section and the passenger flow control time period of each target station, and the passenger flow control time period includes multiple stages; the optimization model construction module 306 is used to use the inbound passenger flow control rate of each target station as the decision variable and the minimum total number of delayed passengers at each target station as the target condition to construct an optimization model; the calculation processing module 307 solves the optimization model to determine the optimal passenger flow control rate of each target station. A passenger flow prediction model is constructed using historical OD passenger flow data. The congested sections of the subway network are then identified based on the predicted OD passenger flow data, subway operation data, and network structure data. The main passenger sources in the congested sections are then identified as target sites for passenger flow control. The total number of delayed passengers is minimized when optimizing the model construction to achieve the optimal passenger flow control rate for the target sites, which can effectively reduce passenger flow in congested sections and alleviate subway congestion.
[0115] Preferably, a combination of the above Figure 3 In some embodiments of the present invention,
[0116] The passenger flow prediction module 302 is specifically used to calculate the corresponding OD passenger flow in each preset time window based on the historical OD passenger flow data, and obtain the OD passenger flow matrix P d,t , the expression is:
[0117] represents the passenger flow from station i to station j in time window t on the dth day; construct an OD passenger flow prediction model, which includes a convolutional neural network module and a convolutional block attention module. The convolutional neural network module includes three convolutional layers, three pooling layers and one fully connected layer, which are used to extract the features of the OD passenger flow matrix; the convolutional block attention module contains a channel attention mechanism and a spatial attention mechanism. The channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights. The spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions; the OD passenger flow matrix of the same time window t for n consecutive working days is input into the OD passenger flow prediction model to predict the OD passenger flow corresponding to the time window t of the next working day, and obtain the predicted OD passenger flow data, where n is a positive integer greater than 1.
[0118] Preferably, a combination of the above Figure 3 In some embodiments of the present invention,
[0119] The identification processing module 303 is specifically used to generate a shortest travel time path for each pair of ODs according to the travel time using the Dijkstra algorithm based on the structural data, and set the passenger travel between each pair of ODs to be completed according to the corresponding shortest travel time path; cumulatively calculate the interval passenger flow of each interval within the preset time window based on the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs; calculate the design traffic capacity of each interval based on the vehicle type and train departure interval of each line in the subway network operation information; calculate the full load rate of each interval based on the design traffic capacity and the interval passenger flow; regard the interval with a full load rate greater than 1 as the congested interval in the subway network; based on the congested interval, count the boarding stations of passengers passing through the congested interval as the passenger source station; and obtain the main passenger source of the congested interval based on the passenger source station's contribution to the passenger flow of the congested interval.
[0120] Preferably, a combination of the above Figure 3 In some embodiments of the present invention,
[0121] The optimization model building module 307 is specifically used to control the passenger flow rate α of each target station. k as decision variables;
[0122] According to the decision variables, the constraint condition 0≤α is obtained. k ≤αmax , the α max Indicates the preset limit control rate of the corresponding target site;
[0123] The constraint condition Q is that the passenger flow in the interval is less than the design capacity. l ≤CAP, Q l represents the passenger flow of interval l under the current passenger flow control scheme, and the CAP represents the designed traffic capacity of the interval;
[0124] According to the total number of delayed passengers Z, we get the target condition min Z;
[0125] according to and the min Z, a passenger flow control optimization model is constructed.
[0126] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0127] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0130] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.
Claims
1. A method for alleviating subway congestion based on prediction data, characterized in that: include: Obtain subway network operation information, structural data and historical OD passenger flow data; A subway OD passenger flow prediction model is constructed based on the historical OD passenger flow data, and the subway OD passenger flow prediction model is used to perform prediction to obtain predicted OD passenger flow data; According to the subway network operation information, the structure data and the predicted OD passenger flow data, a congested section in the subway network and a main passenger source of the congested section are identified, wherein the main passenger source is at least one; Taking the subway station corresponding to the main passenger source as the target station for implementing passenger flow control, and the target station is at least one; Determine a congestion period of the congested section and a passenger flow control period of each target station, wherein the passenger flow control period includes a plurality of stages; The incoming passengers of the target station are distributed to the subway network sections, the incoming passenger flow control rate of each target station is used as the decision variable, and the minimum total number of delayed passengers of the target station is used as the target condition to construct a passenger flow control optimization model; the incoming passenger flow control rate represents the proportion of passengers blocked from entering the station at each target station in each time window; Solving the passenger flow control optimization model, determining the optimal passenger flow control rate and passenger flow control period of each target station, and obtaining the subway passenger flow control result; The acquisition of subway network operation information, structure data and historical OD passenger flow data includes: Acquire subway network operation information of the area to be studied, wherein the subway network operation information includes departure intervals and train capacity information of different lines; Obtain the station information of all stations and the interval information of all intervals in the subway network of the area to be studied; the station information includes the name and longitude and latitude of each station; if a station is a transfer station, the time required for the transfer needs to be obtained; the line between two adjacent stations is a section; the section information includes the starting station number, the ending station number, the length value of each section, and the time required for the train to pass through each section; Obtaining structural data according to the site information and the interval information; Obtain the total OD passenger flow between each pair of stations in the subway network of the area to be studied within a preset time period to obtain historical OD passenger flow data; The step of constructing a subway OD passenger flow prediction model according to the historical OD passenger flow data, and using the subway OD passenger flow prediction model to perform prediction to obtain predicted OD passenger flow data includes: According to the historical OD passenger flow data, the corresponding OD passenger flow in each preset time window is calculated to obtain the OD passenger flow matrix P d,t , the expression is: Said represents the passenger flow from station i to station j in time window t on day d; Constructing an OD passenger flow prediction model, the OD passenger flow prediction model includes a convolutional neural network module and a convolutional block attention module, the convolutional neural network module includes three convolutional layers, three pooling layers and one fully connected layer, and is used to extract the features of the OD passenger flow matrix; the convolutional block attention module includes a channel attention mechanism and a spatial attention mechanism, the channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights, and the spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions; Input the OD passenger flow matrix of the same time window t of n consecutive working days into the OD passenger flow prediction model, predict the OD passenger flow corresponding to the time window t of the next working day, and obtain the predicted OD passenger flow data, where n is a positive integer greater than 1; The step of identifying the congested section in the subway network and the main passenger source of the congested section according to the subway network operation information, the structural data and the predicted OD passenger flow data includes: According to the structural data, a shortest travel time path is generated for each pair of ODs according to the travel time using the Dijkstra algorithm, and the passenger travel between each pair of ODs is set to be completed according to the corresponding shortest travel time path; According to the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs, cumulatively calculating the interval passenger flow of each interval within the preset time window; Calculate the design capacity of each section according to the vehicle type and train departure interval of each line in the subway network operation information; The full load rate of each section is calculated according to the designed traffic capacity and the passenger flow of the section; The section with a full load rate greater than 1 is regarded as a congested section in the subway network; According to the congested section, counting the boarding stations of passengers passing through the congested section as passenger source stations; The main source of passengers in the crowded section is obtained according to the passenger flow contribution of the passenger source station to the crowded section.
2. The method for alleviating subway congestion based on prediction data according to claim 1, characterized in that: The obtaining of the main passenger source of the crowded section according to the passenger flow contribution of the passenger source station to the crowded section includes: Calculate the passenger flow contribution of all passengers boarding the bus at each passenger source station to the congested section; According to the sorting method from large to small, the passenger flow contribution of each source station to the congested section is accumulated in turn, and the passenger flow contribution of all source stations is summed to obtain the total passenger flow contribution. The passenger flow source stations that account for more than half of the total passenger flow contribution and are ranked high are regarded as the main source of passengers, and there is at least one main source of passengers.
3. The method for alleviating subway congestion based on prediction data according to claim 2, characterized in that: Before constructing the passenger flow control optimization model by taking the passenger flow control rate of each target station as the decision variable and minimizing the total number of delayed passengers at the target station as the target condition, the method further includes: According to the passenger flow contribution of each main passenger source to the congested section, the passenger flow control rate array [α1, α2, …, α k , …], the α k represents the inbound passenger flow control rate of the main passenger source k.
4. The method for alleviating subway congestion based on prediction data according to claim 3, characterized in that: The passenger flow control rate of each target station is used as a decision variable, and the minimum total number of delayed passengers at the target station is used as a target condition to construct a passenger flow control optimization model, including: The passenger flow control rate α of each target station k as decision variables; According to the decision variables, the constraint condition 0≤α is obtained. k ≤α max , the α max Indicates the preset limit control rate of the corresponding target site; The constraint condition Q is that the passenger flow in the interval is less than the design capacity. l ≤CAP, Q l represents the passenger flow of interval l under the current passenger flow control scheme, and the CAP represents the designed traffic capacity of the interval; According to the total number of delayed passengers Z, we get the target condition minZ; according to and the minZ, a passenger flow control optimization model is constructed.
5. A subway congestion relief system based on prediction data, characterized in that: include: Data acquisition module, used to obtain subway network operation information, structural data and historical OD passenger flow data; A passenger flow prediction module, used to construct a subway OD passenger flow prediction model according to the historical OD passenger flow data, and use the subway OD passenger flow prediction model to perform prediction to obtain predicted OD passenger flow data; an identification processing module, configured to identify a congested section in the subway network and a main passenger source of the congested section according to the subway network operation information, the structural data and the predicted OD passenger flow data, wherein the main passenger source is at least one; A site determination module, used to use the subway station corresponding to the main passenger source as the target site for implementing passenger flow control, and the target site is at least one; A time period determination module, used to determine the congestion period of the congested section and the passenger flow control period of each target station, wherein the passenger flow control period includes multiple stages; An optimization model building module is used to allocate the incoming passengers of the target station to the subway network sections, take the incoming passenger flow control rate of each target station as the decision variable, take the minimum total number of delayed passengers at the target station as the target condition, and build a passenger flow control optimization model; The inbound passenger flow control rate represents the proportion of passengers that are prevented from entering the station at each target station in each time window; A calculation processing module is used to solve the passenger flow control optimization model, determine the optimal passenger flow control rate and passenger flow control period of each target station, and obtain the subway passenger flow control result; The data acquisition module is specifically used to acquire the subway network operation information of the area to be studied, wherein the subway network operation information includes the departure intervals and train capacity information of different lines; acquire the site information of all sites and the interval information of all intervals in the subway network of the area to be studied; the site information includes the name and longitude and latitude of each site; If a station is a transfer station, the time required for the transfer needs to be obtained; the line between two adjacent stations is a section; the section information includes the starting station number, the ending station number, the length value of each section, and the time required for the train to pass through each section; Obtaining structural data according to the station information and the interval information; obtaining the total OD passenger flow between each pair of stations in the subway network of the area to be studied within a preset time period to obtain historical OD passenger flow data; The passenger flow prediction module is specifically used to calculate the corresponding OD passenger flow in each preset time window according to the historical OD passenger flow data to obtain the OD passenger flow matrix P d,t , the expression is: Said represents the passenger flow from station i to station j in time window t on the dth day; construct an OD passenger flow prediction model, the OD passenger flow prediction model includes a convolutional neural network module and a convolutional block attention module, the convolutional neural network module includes three convolutional layers, three pooling layers and one fully connected layer, which is used to extract the features of the OD passenger flow matrix; the convolutional block attention module includes a channel attention mechanism and a spatial attention mechanism, the channel attention mechanism is used to consider the relationship between different channels and adjust the relative weights, and the spatial attention mechanism is used to learn the spatial relationship between different regions in the input feature map and assign weights to different important spatial regions; the OD passenger flow matrix of the same time window t for n consecutive working days is input into the OD passenger flow prediction model, and the OD passenger flow corresponding to the time window t of the next working day is predicted to obtain the predicted OD passenger flow data, wherein n is a positive integer greater than 1; The identification processing module is specifically used to generate a shortest travel time path for each pair of ODs according to the travel time using the Dijkstra algorithm based on the structural data, and set the passenger travel between each pair of ODs to be completed according to the corresponding shortest travel time path; based on the predicted OD passenger flow data and the intervals included in the shortest travel time path corresponding to each pair of ODs, cumulatively calculate the interval passenger flow of each interval within the preset time window; The design capacity of each section is calculated based on the type of trains and the departure interval of trains on each line in the subway network operation information; the full load rate of each section is calculated based on the design capacity and the passenger flow of the section; and the section with the full load rate greater than 1 is regarded as a congested section in the subway network; According to the congested section, the boarding stations of passengers passing through the congested section are counted as passenger source stations; and the main passenger source of the congested section is obtained according to the passenger flow contribution of the passenger source stations to the congested section.
Citation Information
Cited By
Safety-oriented subway station passenger flow dynamic control method and system
CN121352289A
A safety-oriented subway station passenger flow dynamic control method and system
CN121352289B
