A method for generating passenger flow based on ticket allocation
By using a ticket allocation-based approach combined with seat reuse and random functions, a passenger flow generation model is constructed, which solves the problem of insufficient accuracy in passenger flow generation in existing technologies and enables accurate passenger flow simulation and train scheduling optimization in urban rail transit networks.
Patent Information
- Application Number
- CN202310554387.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-05-16
AI Technical Summary
Existing methods for generating passenger flow data in urban rail transit networks suffer from difficulties in obtaining historical data and are prone to overfitting, resulting in insufficient accuracy of the generated results and failing to meet the needs of railway operation efficiency and passenger travel experience.
By adopting a ticket allocation-based approach, combining the principle of seat reuse with the randomness of actual passenger flow, a random function is introduced to construct a passenger flow generation model. Through the ticket allocation mechanism and the sequence of business hours, the boarding ticket amount, alighting ratio, average ticket redemption rate, and passenger capacity of each station are obtained, and the passenger flow fluctuation range and number of people at each station are calculated.
It provides an accurate passenger flow generation model that can better simulate the operation of train groups, optimize train scheduling schemes, and improve railway operation efficiency and passenger travel experience.
Smart Images

Figure CN116703683B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of transportation network technology, and in particular to a method for generating passenger flow based on ticket allocation. Background Technology
[0002] Currently, urban rail transit networks are expanding rapidly, railway passenger traffic is rising significantly, and urban rail transit is characterized by large volume and complexity. The current international situation, industrial revolution, and new urbanization have placed new demands and requirements on the development of urban rail transit, necessitating both improved railway operational efficiency and the fulfillment of basic public travel needs while enhancing the passenger experience.
[0003] In urban rail transit network research, passenger flow is a key influencing factor. Therefore, designing accurate and reasonable methods or models for generating passenger flow at railway stations is of great research and practical significance. While domestic and international scholars have achieved considerable results in the field of train passenger flow generation, existing methods often construct a functional relationship between various external influencing factors and passenger flow, and then calculate the result. This method suffers from problems such as difficulty in obtaining historical data and a tendency to overfit, and the accuracy of the generated results still needs improvement. Summary of the Invention
[0004] To address the technical problems existing in the prior art, this invention provides a passenger flow generation method based on ticket allocation. By referencing the railway ticketing system, a ticket allocation mechanism is adopted for each station on a line. Tickets are allocated according to their quota, and considering the principle of "seat reuse" and the randomness and volatility of actual passenger flow, a random function is introduced to finally construct a passenger flow generation model. This provides scientifically applicable passenger flow data for the simulation operation research of train groups based on digital twins.
[0005] This invention employs the following technical solution: a method for generating passenger flow based on ticket allocation, comprising the following steps:
[0006] S1. Number the stations and trains;
[0007] S2. Construct a business time period sequence by dividing the train operating time into y equal time periods and numbering them sequentially from 1 to y to form a business time period sequence.
[0008] S3. Obtain the percentage of boarding tickets, the percentage of alighting tickets, the average ticket redemption rate, and the passenger capacity of each train at each station in each time period.
[0009] S4. Construct the passenger flow fluctuation range for each station;
[0010] S5. Calculate the number of passengers boarding and alighting at the first station;
[0011] S6. Based on the percentage of passengers alighting at each station excluding the first station, the average ticket redemption rate, the range of passenger flow fluctuations, and the passenger capacity of each train, construct the number of passengers alighting at each station excluding the first station and the number of additional passengers boarding at each station.
[0012] S7. Based on the percentage of boarding tickets, average ticket redemption rate, passenger flow fluctuation range, and passenger capacity of each train at each station, construct the number of boarding passengers at each station excluding the first station.
[0013] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0014] 1. This invention utilizes the principle of "seat reuse" and the randomness and fluctuation of actual passenger flow, introduces a random function, and provides multi-variable and flexible parameter settings. It can easily change the characteristics of each station, and finally constructs an accurate passenger flow generation model that conforms to the actual situation. This provides convenience for related research on urban rail transit networks, provides a reference for optimizing train scheduling schemes, especially train scheduling schemes under emergency management, and is of great significance for improving railway operation efficiency. Attached Figure Description
[0015] Figure 1 This is a flowchart of the method of the present invention;
[0016] Figure 2 This is a flowchart of the calculation process of the method of the present invention. Detailed Implementation
[0017] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.
[0018] Example
[0019] like Figure 1 As shown in the figure, this embodiment of a passenger flow generation method based on ticket allocation includes the following steps:
[0020] S1. Number the stations and trains;
[0021] S2. Construct a business time period sequence by dividing the train operating time into y equal time periods and numbering them sequentially from 1 to y to form a business time period sequence.
[0022] S3. Obtain the percentage of boarding tickets, the percentage of alighting tickets, the average ticket redemption rate, and the passenger capacity of each train at each station in each time period.
[0023] S4. Construct the passenger flow fluctuation range for each station;
[0024] S5. Calculate the number of passengers boarding and alighting at the first station;
[0025] S6. Based on the percentage of passengers alighting at each station excluding the first station, the average ticket redemption rate, the range of passenger flow fluctuations, and the passenger capacity of each train, construct the number of passengers alighting at each station excluding the first station and the number of additional passengers boarding at each station.
[0026] S7. Based on the percentage of boarding tickets, average ticket redemption rate, passenger flow fluctuation range, and passenger capacity of each train at each station, construct the number of boarding passengers at each station excluding the first station.
[0027] Specifically, in this embodiment, when numbering the stations in step S1, the station sequence from the first station to the last station along the train route is obtained and numbered from 1 to m, as shown in Table 1; when numbering the trains, the arrival time of each train at each station is obtained from the train operation plan table and numbered, as shown in Table 2.
[0028] Table 1
[0029] Site Name Site Number Station 1 Z0001 Station 2 Z0002 Station 3 Z0003 Station 4 Z0004 Station 5 Z0005
[0030] Table 2
[0031] Train number Train number C763X T0001
[0032] Specifically, in step S2, a sequence of business hours is constructed, as shown in Table 3. Furthermore, considering that there are periods with large changes in passenger flow during business hours, these periods can be further divided into equal parts, resulting in a total of X time periods. These time periods are numbered sequentially from 1 to X to form the sequence of business hours.
[0033] Table 3
[0034]
[0035] Specifically, in this embodiment, the process of obtaining the boarding ticket percentage in step S3 is as follows: the train allocates the boarding ticket percentage to each station on the line according to the passenger capacity. It is necessary to set the corresponding boarding ticket percentage for different time periods from the first station to the last station 1 to m. This refers to the ratio of passengers boarding to the train's passenger capacity; from the second station to the last station (2-m), the percentage of passengers disembarking is set for different time periods. This refers to the ratio of the number of people getting off the bus to the number of people still on the bus; where j represents the time period and k represents the corresponding station.
[0036] Specifically, the conditions that the percentage of tickets must meet are as follows:
[0037] Specifically, in this embodiment, when obtaining the average ticket redemption rate of each station in step S3, it is necessary to set the average ticket redemption rate L for each station in each time period. jk .
[0038] Specifically, in step S3, the percentage of boarding tickets, the percentage of alighting tickets, the average ticket redemption rate, and the passenger capacity of each train at each station in each time period are obtained as shown in Tables 4, 5, 6, and 7, respectively.
[0039] Table 4
[0040]
[0041] Table 5
[0042]
[0043] Table 6
[0044]
[0045] Table 7
[0046]
[0047] Specifically, in this embodiment, when constructing the passenger flow fluctuation range for each station in step S4, considering the inherent volatility and randomness of actual passenger flow, a random function is introduced to allow passenger flow to fluctuate within a set range; wherein, the range of the random function is rand(a jk ,b jk This requires setting different parameters for each site at different time periods, where a jk and b jk These represent the lower and upper bounds of the random function corresponding to station k during time period j, respectively. Specifically, the lower bound of passenger flow fluctuation is a. jk And passenger flow fluctuation limit b jk Examples are shown in Tables 8 and 9, respectively.
[0048] Table 8
[0049]
[0050] Table 9
[0051]
[0052] Specifically, when setting the range of the random function, to prevent excessive fluctuations in passenger flow from causing the number of passengers boarding to exceed the train's remaining passenger capacity, condition a must be met. jk <b jk ≤C i ·(1-L jk ) conditions; where C i L indicates the train's passenger capacity. jk This represents the average ticket redemption rate when the train passes through station k during time period j.
[0053] Specifically, in this embodiment, the process of calculating the number of passengers boarding and alighting at the first station in step S5 is as follows:
[0054] S51. The number of passengers boarding at the first station is the sum of the baseline number of passengers boarding and the range of passenger flow fluctuations, as detailed below:
[0055]
[0056] In the formula, The number of passengers boarding at the first station. The baseline number of passengers boarding at the first station, rand(a j1 b j1 The passenger flow fluctuation range is defined as the first station.
[0057] S52. If no one alights at the first stop, then the number of passengers alighting at the first stop is...
[0058] Specifically, in this embodiment, the process of constructing the number of passengers alighting and the number of additional passengers boarding at each station excluding the first station in step S6 is as follows:
[0059] S61. Set the product of the number of passengers on the vehicle and the percentage of passengers getting off the vehicle as follows:
[0060]
[0061] In the formula, Let T be the number of passengers disembarking at station k during time period j. ijk Let i be the number of passengers on train i when it arrives at station k.
[0062] S62. Starting from the second station, consider the additional passengers boarding; the additional passengers boarding takes into account the "seat reuse" principle, that is, when train i is running on the line, in addition to the first and last stations, when it passes through the remaining stations, passengers will disembark and the extra passengers will board. For each empty seat, an additional number of tickets can be allocated to that station to allow more people to board. The newly allocated tickets are converted into additional passengers based on the average ticket redemption rate, and the remaining tickets are allocated to the additional allocated tickets for the next station. Similarly, there are also tickets at that station that were not converted into additional passengers at the previous station, which need to be combined with the additional allocated tickets for that station.
[0063] Specifically, in this embodiment, the condition that the percentage of passengers disembarking must meet is as follows: Since the only action at the last station is getting off, and the number of people getting off is equal to the number of people on the train, the following conditions must be met: conditions.
[0064] Specifically, in this embodiment, the number of passengers T on train i when it arrives at station k is... ijk The acquisition process is as follows:
[0065]
[0066] Specifically, the K-1 stations failed to convert the additional tickets for boarding passengers into R. ij(k-1) It is derived from the following recursive formula:
[0067]
[0068] Since there are no empty seats left by passengers getting off at the first station, and there is no previous station, therefore R ij1 =0.
[0069] Specifically, in this embodiment, when constructing the number of passengers boarding at each station excluding the first station in step S7, it is the sum of the baseline number of passengers boarding at each station, the additional number of passengers boarding, and the passenger flow fluctuation range:
[0070]
[0071] In the formula, Let i be the number of passengers boarding train i when it passes station k during time period j. Q represents the baseline number of passengers boarding train i at station k during time period j. ijk Let $\frac{i}{j}$ be the number of additional passengers boarding train i when it passes station k during time period j. Since there is no boarding at the final station, the number of passengers boarding at the final station is $\frac{i}{j}$.
[0072] Specifically, the baseline number of passengers boarding. The product of the train's passenger capacity, the percentage of tickets sold on board, and the average ticket redemption rate:
[0073]
[0074] In the formula, C i Indicates the train's passenger capacity. L represents the percentage of tickets purchased by the train during time period j when it passes through station k. jk This represents the average ticket redemption rate when the train passes through station k during time period j.
[0075] Specifically, let i-1, j=3, calculate the number of passengers boarding and alighting at each station, and the specific process is shown in Table 10.
[0076] Table 10
[0077]
[0078] The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.
Claims
1. A method for generating passenger flow based on ticket allocation, characterized in that, Includes the following steps: S1. Number the stations and trains; S2. Construct a business time period sequence by dividing the train operating time into y equal time periods and numbering them sequentially from 1 to y to form a business time period sequence. S3. Obtain the percentage of boarding tickets, the percentage of alighting tickets, the average ticket redemption rate, and the passenger capacity of each train at each station in each time period. S4. Construct the passenger flow fluctuation range for each station; S5. Calculate the number of passengers boarding and alighting at the first station; S6. Based on the percentage of passengers alighting at each station excluding the first station, the average ticket redemption rate, the range of passenger flow fluctuations, and the passenger capacity of each train, construct the number of passengers alighting at each station excluding the first station and the number of additional passengers boarding at each station. S7. Based on the percentage of boarding tickets, average ticket redemption rate, passenger flow fluctuation range and passenger capacity of each train at each station, construct the number of boarding passengers at each station excluding the first station. In step S4, when constructing the passenger flow fluctuation range for each station, a random function is introduced to allow the passenger flow to fluctuate within a set range; wherein, the range of the random function is... The settings for each station at different times are configured separately, among which... and These are the lower and upper limits of the random function corresponding to station k in time period j, respectively; When setting the range of a random function, the following conditions must be met: Conditions; among which, Indicates the train's passenger capacity. This represents the average ticket redemption rate when the train passes through station k during time period j.
2. The method for generating passenger flow based on ticket allocation according to claim 1, characterized in that, In step S1, when numbering the stations, the station sequence from the first station to the last station along the train route is obtained and numbered from 1 to m; when numbering the trains, the arrival time of each train at each station is obtained from the train operation plan table and then numbered.
3. The method for generating passenger flow based on ticket allocation according to claim 1, characterized in that, The process of obtaining the boarding ticket percentage in step S3 is as follows: Based on the passenger capacity, the train allocates the boarding ticket percentage to each station on the line, from the first station to the last station 1 to m, and sets corresponding boarding ticket percentages for different time periods. This refers to the ratio of passengers boarding to the train's passenger capacity; from the second station to the last station (2-m), the percentage of passengers disembarking is set for different time periods. This refers to the ratio of passengers getting off the bus to the number of passengers still on the bus; where j represents the time period and k represents the corresponding station; the percentage of passengers boarding the bus must meet the following conditions: .
4. The method for generating passenger flow based on ticket allocation according to claim 1, characterized in that, The specific process for calculating the number of passengers boarding and alighting at the first station in step S5 is as follows: S51. The number of passengers boarding at the first station is the sum of the baseline number of passengers boarding and the range of passenger flow fluctuations, as detailed below: In the formula, The number of passengers boarding at the first station. The number of passengers boarding at the first station is the baseline. The range of passenger flow fluctuations at the primary station; S52. If no one alights at the first stop, then the number of passengers alighting at the first stop is... .
5. The method for generating passenger flow based on ticket allocation according to claim 1, characterized in that, The specific process of constructing the number of passengers alighting and the number of additional passengers boarding at each station excluding the first station in step S6 is as follows: S61. Set the product of the number of passengers on the vehicle and the percentage of passengers getting off the vehicle as follows: In the formula, Let i be the number of passengers disembarking at station k during time period j. The number of passengers on train i when it arrives at station k; of which, the percentage of passengers disembarking. The conditions to be met are: ; S62. Starting from the second station, an additional number of passengers is allowed to board. This additional number of passengers is determined using the "seat reuse" principle, meaning that when train i is running on the line, passengers disembark at the remaining stations besides the first and last stations. For each empty seat, an additional number of tickets are allocated to that station for boarding. The newly allocated tickets are converted into additional boarding passengers based on the average ticket redemption rate. The remaining tickets are allocated to the additional allocated tickets for the next station. If there are tickets at that station that were not converted into additional boarding passengers at the previous station, they are combined with the additional allocated tickets for that station.
6. The method for generating passenger flow based on ticket allocation according to claim 5, characterized in that, Number of passengers on train i when it arrives at station k The acquisition process is as follows: ; K-1 stations failed to convert into tickets for additional passengers. It is derived from the following recursive formula: 。 7. The method for generating passenger flow based on ticket allocation according to claim 1, characterized in that, In step S7, when constructing the number of passengers boarding at each station excluding the first station, the sum of the baseline number of passengers boarding, the additional number of passengers boarding, and the passenger flow fluctuation range for each station is used: In the formula, Let i be the number of passengers boarding train i when it passes station k during time period j. This represents the baseline number of passengers boarding train i at station k during time period j. The number of additional passengers boarding train i when it passes station k during time period j.
8. The method for generating passenger flow based on ticket allocation according to claim 7, characterized in that, Standard number of passengers The product of the train's passenger capacity, the percentage of tickets sold on board, and the average ticket redemption rate: In the formula, Indicates the train's passenger capacity. This represents the percentage of tickets purchased by the train during time period j when it passes through station k. This represents the average ticket redemption rate when the train passes through station k during time period j.
Citation Information
Patent Citations
Train operation scheme optimization method based on dynamic passenger flow demand
CN116596212A
Train group simulation data generation method based on three-dimension fusion
CN119026080A
