CN115481777A - Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium - Google Patents
Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium Download PDFInfo
- Publication number
- CN115481777A CN115481777A CN202210913339.5A CN202210913339A CN115481777A CN 115481777 A CN115481777 A CN 115481777A CN 202210913339 A CN202210913339 A CN 202210913339A CN 115481777 A CN115481777 A CN 115481777A
- Authority
- CN
- China
- Prior art keywords
- passengers
- station
- bus
- line
- transfer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000005457 optimization Methods 0.000 title claims abstract description 42
- 238000004088 simulation Methods 0.000 title claims abstract description 26
- 238000012546 transfer Methods 0.000 claims abstract description 80
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 20
- 238000004364 calculation method Methods 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002068 genetic effect Effects 0.000 claims description 4
- 150000001875 compounds Chemical class 0.000 claims description 3
- 239000002245 particle Substances 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000002922 simulated annealing Methods 0.000 claims description 3
- 239000002904 solvent Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 210000000349 chromosome Anatomy 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06314—Calendaring for a resource
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Educational Administration (AREA)
- General Health & Medical Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Bioinformatics & Computational Biology (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Evolutionary Biology (AREA)
- Genetics & Genomics (AREA)
- Physiology (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention discloses a collaborative simulation optimization method, equipment and medium for a multi-line bus dynamic schedule, wherein the method comprises the following steps: extracting passenger flow distribution rules of all stops from historical operation data of a plurality of bus lines; considering the random travel time between stations and the full load rate of the vehicles, constructing a dynamic departure schedule optimization model taking the total waiting time of passengers at all stations as a target, wherein variables to be optimized comprise departure intervals of adjacent train numbers of all lines; according to the passenger flow distribution rule of each station, carrying out simulation calculation on the total waiting time of passengers of all stations in the optimization model; taking the simulation calculation result as a fitness value to perform iteration of an optimization algorithm; and if the iteration termination condition is reached, generating an optimal schedule scheme. The invention can simulate and optimize the dynamic bus departure timetable which meets the cooperative transfer requirement of passengers at the transfer station and keeps the riding comfort according to the historical passenger flow arrival rule of a plurality of bus lines, thereby improving the bus service quality.
Description
Technical Field
The invention relates to the field of urban public transport and schedule optimization decision-making, in particular to a dynamic schedule collaborative simulation optimization method, equipment and medium for multi-line buses.
Background
The prior development of urban public transport is an important measure for relieving urban traffic jam and promoting the sustainable green and healthy development of cities, but most urban public transport systems still have the problems of low service level, low operation efficiency and the like due to the fact that the construction of public transport infrastructures is not perfect and public transport enterprises are lack of scientific public transport operation planning. Therefore, how to improve the bus service level through effective management becomes an urgent problem to be solved. The design of the bus schedule is a more complicated and important sub-problem in the bus scheduling process, and the reliable and flexible schedule can not only meet the requirements of passengers with uneven space and time and adapt to complex road traffic states, but also help to reduce the waiting time of the passengers and improve the bus service quality. Therefore, how to compile a scientific schedule becomes an important means for solving the bus operation problem.
In the past, the research and the use of the timetable are always in the stage of fixed departure interval and long-term unchanged repeated use, but because the vehicle is influenced by the real environment when running between stops, the passenger capacity of the vehicle is limited to a certain extent by the influence of riding comfort, and passengers also need to realize the transfer requirement between the bus numbers of different lines, so that the fixed timetable cannot adapt to the complex bus system.
Disclosure of Invention
Based on the problems of the existing bus route tables, the invention aims to provide a collaborative simulation optimization method, device and medium for a multi-route bus dynamic schedule, which can simulate and optimize the bus dynamic departure schedule meeting the collaborative transfer requirements of passengers at transfer stops and keeping the riding comfort according to the historical passenger flow arrival rule of a plurality of bus routes.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
a collaborative simulation optimization method for a multi-line bus dynamic schedule comprises the following steps:
s1, processing historical operation data of a plurality of bus lines, and extracting passenger flow distribution rules of all bus stops;
s2, considering the random travel time between stations and the full load rate of the vehicles, constructing a dynamic departure schedule optimization model taking the total waiting time of passengers at all stations as a target, wherein variables to be optimized comprise departure intervals between adjacent train numbers of all lines;
s3, carrying out simulation calculation on the total waiting time of passengers at all stations in the optimization model according to the passenger flow distribution rule of each station;
s4, taking departure intervals between adjacent train numbers of all lines as variables to be optimized, taking a simulation calculation result as a fitness value, and performing iteration of an optimization algorithm;
s5, judging whether an iteration termination condition is reached: if the iteration termination condition is reached, generating an optimal schedule scheme; otherwise, the step S3 is returned to.
Further, the historical operation data of the bus routes includes: the bus stop position information, the bus route information, the bus GPS track data and the passenger card swiping data.
Further, it is characterized in that the total waiting time of all station passengers includes: the waiting time of the passengers at all the non-transfer stations, the waiting time of the passengers at all the transfer stations and the waiting time of the non-transfer passengers.
Further, the dynamic departure schedule optimization model is as follows:
s.t
in the formula, l represents any bus line to be optimized in the departure schedule, r is the number of the bus lines, and a and b are any two of the bus lines; j represents any number of bus lines, m l Representing the total departure times of the line l in the optimization period; i denotes an arbitrary site, n l Represents the total number of unidirectional sites for line l; k ab Representing a set of transfer stations between two lines a, b, representing the total number of transfer stations between the two lines a, b, k representing any transfer station in the lines;indicates the time, f, at which the train number j of the line l arrives at any non-transfer station i li (t) represents the distribution rule of passengers arriving at the station i on the line l along with the time, namely the passenger flow distribution rule;representing the number of passengers staying at the stop after the train number j of the line l reaches any non-transfer stop i; NO indicates the order of vehicles arriving at transfer station k, respectively waiting for the number of the passengers at the station a at the transfer station k, the number of the passengers at the station a, the extra waiting time of the passengers at the station a, and the normal waiting time of all the passengers,respectively waiting for the number of the passengers staying at the station, the number of the passengers not staying at the station, the extra waiting time of the passengers staying at the station and the normal waiting time of all the passengers at the transfer station k; logic variable delta ab =1 indicates that there is a transfer station between the lines a, b, otherwise δ ab =0;
Representing the departure interval between the train number j and the train number j +1 of the line l as a variable to be optimized;
representing the slack time for the train number j of line l to reach station i,definition ofThe value range of (a); s represents a bus stop set, L represents a bus route set, and J represents a route departure number set; d l 1 denotes the first moment of the line l, C denotes the optimization period,represents the maximum section passenger flow of the line l in a certain period of time, Q l,v Indicating the nominal passenger capacity, mu, of the vehicle on the line l l Represents the planned vehicle load rate for route l;the interval is the departure interval between any train number of the line l; n is a radical of * Representing a positive integer.
Further, the simulation calculation method in step S3 is:
(1) And (3) calculating the waiting time of the passengers at the non-transfer stations:
calculating the number of passengers getting off when the vehicle arrives at any station i and the remaining passenger capacity in the vehicle after the passengers get off; updating and calculating the number of the passengers staying at the station, the residual passenger capacity in the bus and the waiting time of the passengers at the non-transfer station after the passengers get on the bus;
(2) Calculating the waiting time of passengers at the transfer station:
generating a vehicle arrival sequence schedule Order _ k at the transfer station k; calculating the average passenger transfer ratio of the vehicles on the lines a, b at the station kAndupdating and calculating the class of the vehicles arriving at the transfer station k according to the class corresponding to the NO element in Order _ kAnd
(3) And summing to calculate the waiting time of the passengers arriving at all stations of all the trains on all the lines.
Further, the number of the passengers staying at the station, the residual passenger capacity in the vehicle and the waiting time of the passengers at the non-transfer station after the passengers get on the vehicle are calculated and updated according to the following three conditions:
in the formula (I), the compound is shown in the specification,representing the remaining passenger capacity of the train number j of the line l after the passengers disembark and disembark at the non-transfer station i,representing the extra waiting time of the dead passengers on route i at the non-transfer station i,indicating the normal waiting time of all passengers on the line l at the non-transfer station i.
Further, the update calculates a transfer siteAt k isAnd specifically, calculation and updating are carried out according to two types of the line a and the line b:
further, the optimization algorithm is a genetic algorithm, a simulated annealing algorithm or a particle swarm algorithm.
An electronic device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the collaborative simulation optimization method for the dynamic schedule of the multi-line bus according to any technical scheme.
A computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for optimizing the collaborative simulation of the dynamic schedule of multi-line buses according to any one of the above technical solutions.
Advantageous effects
The multi-line bus dynamic schedule collaborative simulation optimization method can optimize and obtain the bus dynamic departure schedule which meets the collaborative transfer requirement of passengers at transfer stops and keeps the riding comfort according to the historical passenger flow arrival rule of a plurality of bus lines, thereby improving the bus service quality. In addition, the invention considers the random travel time among the buses, so that the dynamic departure timetable obtained by optimization can resist and adapt to the complex and random operation environment of the bus system, and the invention has practical value.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic diagram of a multi-route bus structure according to the present invention;
fig. 3 is a schematic diagram of the arrival situation and the passenger waiting state of the vehicle at the non-transfer station i on the route a;
fig. 4 is a schematic diagram of the arrival situation and the waiting state of passengers at the transfer station k between the line a and the line b according to the present invention.
Detailed Description
The following describes embodiments of the present invention in detail, which are developed based on the technical solutions of the present invention, and give detailed implementation manners and specific operation procedures to further explain the technical solutions of the present invention.
The embodiment provides a collaborative simulation optimization method for a multi-line bus dynamic schedule, which is shown in fig. 1 and comprises the following steps:
And 2, considering the random travel time between stations and the full load rate of the vehicle, and constructing a dynamic departure schedule optimization model aiming at minimizing the total waiting time of passengers at all stations, wherein variables to be optimized comprise departure intervals between adjacent train numbers of all lines. The content comprises the following steps:
step 2.1: and constructing a scene of the problem of dynamic bus departure schedule compilation in a random environment. Referring to fig. 2, r bus routes are provided, and a mutual transfer relationship may exist between every two bus routes, n l Represents the total number of unidirectional stations of the line, m l Representing the total number of departures of the route during the optimization cycle. Suppose that the lines a and b are any two of the r lines, K ab Representing a set of transfer stations between two lines,representing the total number of transfer stations between two lines, k representing any one transfer station in a line,
step 2.2: constructing a dynamic departure schedule optimization model, wherein the content comprises the following steps:
s.t
in the formula, l represents any bus line to be optimized in the departure schedule, r is the number of the bus lines, and a and b are any two of the bus lines; j represents any number of bus lines, m l Representing the total departure times of the line l in the optimization period; i denotes an arbitrary site, n l Represents the total number of unidirectional sites for line l; k ab Representing a set of transfer stations between two lines a, b, representing the total number of transfer stations between the two lines a, b, k representing any transfer station in the lines;indicates the time, f, at which the train number j of the line l arrives at any non-transfer station i li (t) represents the distribution rule of passengers arriving at the station i at the line l along with the time, namely the passenger flow distribution rule, wherein the distribution rule is determined according to the specific actual case, and generally can be considered to be respectively at the peak, the low peak and the flat peakThe passengers arrive uniformly in the time period of (2), and the passenger density may be normally distributed in a certain time.Representing the number of passengers staying at the stop after the train number j of the line l reaches any non-transfer stop i; NO indicates the order of vehicles arriving at transfer station k,respectively the number of the passengers staying at the station, the number of the passengers not staying at the station, the extra waiting time of the passengers staying at the station and the normal waiting time of all the passengers,respectively waiting for the number of the passengers staying at the station, the number of the passengers not staying at the station, the extra waiting time of the passengers staying at the station and the normal waiting time of all the passengers at the transfer station k; logical variable delta ab =1 indicates that there is a transfer station between the lines a, b, otherwise δ ab =0;
Representing the departure interval between the train number j and the train number j +1 of the line l as a variable to be optimized;
representing the slack time for the train number j of line l to reach station i,definition ofThe value range of (a); s represents a bus stop set, L represents a bus route set, and J represents a route departure number set; d l 1 denotes the first moment of the line l, C denotes the optimization period,represents the maximum section passenger flow of the line l in a certain period of time, Q l,v Indicating the nominal passenger capacity, mu, of the vehicle on the line l l Represents the planned vehicle load rate for route l;the interval is the departure interval between any train number of the line l; n is a radical of * Represents a positive integer; the formula (1) is an objective function to represent that the total waiting time of passengers is minimum, and the objective function is composed of two parts:represents the total waiting time of passengers at non-transfer stations on the bus line,and the total waiting time of passengers at transfer stations among the bus lines is represented. The formula (2) represents the range of departure intervals between adjacent train numbers on the same line, and the constraint condition can ensure that the sequence of arriving at a transfer station of the adjacent train numbers on the same line accords with the departure sequence under the condition that the departure intervals and the relaxation time are random, so that the phenomenon of overtaking in the station is prevented. Equation (3) represents the time when the train number j reaches the ith station, and the time when the train starts on the line lSum of all departure intervals before the train number jMean time of flight T between stations l i And relaxation timeAnd (4) forming. Equation (4) to handle the extremes: slack time if the j-1 st vehicle on the route l arrives at each stationAll getAnd slack time for the jth vehicle on line i to reach each stationAll getWhen the departure interval of the two vehicles is only equal to or larger than the requirementThen, the situation that the jth vehicle exceeds the jth-1 vehicle at a certain station does not occur. . Equation (5) defines the range of departure time of the first line from the starting station, equation (6) represents that the departure time of the last line from the starting station is within the optimization period of the model, equation (7) represents that the departure time and the departure interval of the first line are both positive integer values, and equations (8) and (9) respectively define the calculation modes of the departure frequency and the optimization period of the line.
And 3, carrying out simulation calculation on the total waiting time of passengers at all the stations in the optimization model according to the passenger flow distribution rule of each station. The content comprises the following steps:
step 3.1, calculating the waiting time of passengers at the non-transfer station:
referring to fig. 3, according to the passenger flow distribution rule of each station and the average travel time between buses obtained in step 1, the passenger waiting time of the bus line non-transfer station in the total passenger waiting time in step 2 is calculated by using a numerical simulation method: firstly, calculating the number of passengers getting off when the vehicle arrives at any station i and the remaining passenger capacity in the vehicle after the passengers get off, and then updating and calculating the number of passengers staying at the station, the remaining passenger capacity in the vehicle and the waiting time of the passengers at the non-transfer station after the passengers get on the vehicle, which can be described as equations (10), (11) and (12):
in the formula (I), the compound is shown in the specification,representing the remaining passenger capacity of the train number j of the line l after the passengers disembark and disembark at the non-transfer station i,representing the extra waiting time of the dead passengers on route i at the non-transfer station i,the normal waiting time of all passengers on the line l at the non-transfer station i is represented by the train number j;
the expression (10) shows that the remaining passenger capacity in the current train is less than the number of the passengers staying at the station i after the last train leaves the station, and the passengers staying at the station i after the last train leaves the station still remain part of the passengers staying at the station iPassengers who successively arrive at the station during this period are all detained. The expression (11) represents that the remaining passenger capacity in the current train is larger than or equal to the number of the passengers left in the station i after the last train leaves the station, but the number of the passengers left in the station i isSuccessive multiplication to station during this periodThe guest has a partial stay. The expression (12) represents that the remaining passenger capacity in the current train is more than or equal to the sum of the number of the remaining passengers at the station i after the last train leaves the station and the number of the remaining passengers at the station iThe number of passengers arriving at the station in succession during this time, and no passengers are left at the station.
Step 3.2, calculating the waiting time of the passengers at the transfer station:
referring to fig. 4, the passenger waiting time of the transfer station between the bus lines in the total waiting time of the passengers in step 2 is calculated by using a numerical simulation method: firstly, a vehicle arrival sequence schedule Order _ k at a transfer station k is generated, and secondly, the passenger average transfer ratio of the vehicles on the lines a and b at the station k is calculatedAndthen updating and calculating the vehicle class at the transfer site k according to the corresponding arriving vehicle class of the NO-th element in Order _ kAnd can be described as formula (13-20).
the expression (13-16) indicates that when the NO-th element in Order _ k corresponds to the vehicleAnd (4) arriving at the station. The expression (13) represents that the remaining passenger capacity in the current train is less than the sum of the number of the remaining passengers staying at the stop and the number of the passengers not staying at the stop of the vehicle on the waiting line a after the last train leaves the stop. At the moment, the passengers staying at the station and not staying at the station of the vehicle on the waiting line a are still partially staying after the previous vehicle leaves the stationDuring this period, the passengers of the vehicles on the line a are waited for staying all. The expression (14) represents that the remaining passenger capacity in the current train is greater than or equal to the sum of the number of the remaining passengers staying at the stop and the number of the passengers staying at the stop on the waiting line a after the last train leaves the stop, but a part of the remaining passengers isDuring this time periodAnd waiting for passengers of the vehicle on the line a successively. The expression (15) represents that the remaining passenger capacity in the current secondary vehicle is more than or equal to the sum of the number of the remaining passengers in the left station and the number of the passengers in the non-left station of the vehicles on the waiting line a after the last vehicle leaves the stationThe number of passengers waiting for the vehicle on the route a is added up in succession to the station.
the expression (17-20) indicates that when the NO element in Order _ k corresponds to the vehicleAnd (4) arriving at the station. Equation (17) represents that the remaining passenger capacity in the current train is less than the sum of the number of the remaining passengers at the left stop and the number of the passengers at the non-stop on the waiting line b after the last train leaves the stop. At the moment, the passengers staying at the station and not staying at the station of the vehicle on the waiting line b are still partially staying after the previous vehicle leaves the stationDuring this period, the passengers of the vehicles on the waiting line b are all detained. The expression (18) represents that the remaining passenger capacity in the current train is greater than or equal to the sum of the number of the remaining passengers staying at the stop and the number of the passengers staying at the stop on the waiting line b after the last train leaves the stop, but a part of the remaining passengers isDuring which time successive stops are waiting for passengers of the vehicle on line b. The expression (19) represents that the remaining passenger capacity in the current secondary vehicle is more than or equal to the sum of the number of the remaining passengers in the left station and the number of the passengers in the non-left station of the vehicles on the waiting line b after the last vehicle leaves the stationThe number of passengers waiting for the vehicle on the line b successively arrives at the station during this time.
And 4, taking departure intervals between adjacent train numbers of all lines as variables to be optimized, taking a simulation calculation result as a fitness value, and performing iteration of an optimization algorithm. Each iteration of the optimization algorithm needs to calculate the total waiting time of passengers obtained by a group of departure intervals, and the total waiting time is used as the fitness value of the iteration of the current round to participate in the selection transformation of the optimization algorithm. The optimization algorithm is heuristic algorithms such as a genetic algorithm, a simulated annealing algorithm, a particle swarm algorithm and the like. In this embodiment, it is preferable to use a genetic algorithm to select, cross, and mutate different chromosome solutions according to their fitness values.
And 5, judging whether an iteration termination condition is reached (which can be set according to the maximum iteration number and/or a convergence threshold): if the iteration termination condition is reached, generating an optimal schedule scheme, namely an departure interval scheme of each train number of all bus lines in a certain specific time period; otherwise, returning to the step 3, and carrying out new simulation calculation on the waiting time of the passengers at each station.
The invention also provides an electronic device, which comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor realizes the multi-line bus dynamic schedule oriented collaborative simulation optimization method in the embodiment.
A computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for optimizing multi-route bus dynamic schedule collaborative simulation according to the above embodiments.
The above embodiments are preferred embodiments of the present application, and those skilled in the art can make various changes or modifications without departing from the general concept of the present application, and such changes or modifications should fall within the scope of the claims of the present application.
Claims (10)
1. A collaborative simulation optimization method for a multi-line bus dynamic schedule is characterized by comprising the following steps:
s1, processing historical operation data of a plurality of bus lines, and extracting passenger flow distribution rules of all bus stops;
s2, considering the random travel time between stations and the full load rate of the vehicles, constructing a dynamic departure schedule optimization model taking the total waiting time of passengers at all stations as a target, wherein variables to be optimized comprise departure intervals between adjacent train numbers of all lines;
s3, carrying out simulation calculation on the total waiting time of passengers at all stations in the optimization model according to the passenger flow distribution rule of each station;
s4, taking departure intervals between adjacent train numbers of all lines as variables to be optimized, taking a simulation calculation result as a fitness value, and performing iteration of an optimization algorithm;
s5, judging whether an iteration termination condition is reached: if the iteration termination condition is reached, generating an optimal schedule scheme; otherwise, the step S3 is returned to.
2. The method of claim 1, wherein the historical operational data of the bus route comprises: the bus stop position information, the bus route information, the bus GPS track data and the passenger card swiping data.
3. The method of claim 1, wherein the total waiting time for all station passengers comprises: the waiting time of the passengers at all the non-transfer stations, the waiting time of the passengers at all the transfer stations and the waiting time of the non-transfer passengers.
4. The method of claim 1, wherein the dynamic departure schedule optimization model is:
s.t
in the formula, l represents any bus line to be optimized in the departure schedule, r is the number of the bus lines, and a and b are any two of the bus lines; j represents any number of bus lines, m l Representing the total departure times of the line l in the optimization period; i denotes an arbitrary site, n l Represents the total number of unidirectional sites for line l; k ab Representing a set of transfer stations between two lines a, b,representing the total number of transfer stations between the two lines a, b, k representing any transfer station in the lines;indicates the time, f, at which the train number j of the line l arrives at any non-transfer station i li (t) represents the distribution rule of passengers arriving at the station i on the line l along with the time, namely the passenger flow distribution rule;representing the number of passengers staying at the stop after the train number j of the line l reaches any non-transfer stop i; NO indicates the number of vehicles arriving at transfer station kThe sequence of the method is as follows, respectively the number of the passengers staying at the station, the number of the passengers not staying at the station, the extra waiting time of the passengers staying at the station and the normal waiting time of all the passengers,respectively waiting for the number of the passengers staying at the station, the number of the passengers not staying at the station, the extra waiting time of the passengers staying at the station and the normal waiting time of all the passengers at the transfer station k; logical variable delta ab =1 indicates that there is a transfer station between the lines a, b, otherwise δ ab =0;
Representing the departure interval between the train number j and the train number j +1 of the line l as a variable to be optimized;
representing the slack time for the train number j of line l to reach station i,definition ofThe value range of (a); s represents a bus stop set, L represents a bus route set, and J represents a route departure number set;indicating the first moment of the line l, C the optimization period,represents the maximum section passenger flow of the line l in a certain period of time, Q l,v Represents the nominal passenger capacity, mu, of the vehicle on the line l l Represents the planned vehicle load rate for route l;the interval is the departure interval between any train number of the line l; n is a radical of * Representing a positive integer.
5. The method of claim 4, wherein the simulation calculation method of step S3 is:
(1) And (3) calculating the waiting time of the passengers at the non-transfer stations:
calculating the number of passengers getting off when the vehicle arrives at any station i and the remaining passenger capacity in the vehicle after the passengers get off; updating and calculating the number of the passengers staying at the station, the residual passenger capacity in the bus and the waiting time of the passengers at the non-transfer station after the passengers get on the bus;
(2) Calculating the waiting time of passengers at the transfer station:
generating a vehicle arrival sequence schedule Order _ k at the transfer station k; calculating the average passenger transfer ratio of the vehicles on the lines a, b at the station kAndupdating and calculating the class of the vehicles arriving at the transfer station k according to the corresponding NO element in Order _ kAnd
(3) And summing to calculate the waiting time of the passengers arriving at all stations of all the trains on all the lines.
6. The method according to claim 5, wherein the updating calculates the number of passengers at the station of the non-transfer after the passengers get on the bus, the remaining passenger capacity in the bus and the waiting time of the passengers, and the updating is calculated according to the following three conditions:
in the formula (I), the compound is shown in the specification,representing the remaining passenger capacity of the train number j of the line l after the passengers disembark and disembark at the non-transfer station i,representing the extra waiting time of the dead passengers on route i at the non-transfer station i,the number j of the lines l is shown when all passengers at the non-transfer station i normally waitAnd (3) removing the solvent.
7. The method of claim 5, wherein the updating calculates at transfer site k Andspecifically, calculation updating is carried out according to two types of a line a and a line b:
8. the method of claim 5, wherein the optimization algorithm is a genetic algorithm, a simulated annealing algorithm, or a particle swarm algorithm.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, wherein the computer program, when executed by the processor, causes the processor to carry out the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210913339.5A CN115481777A (en) | 2022-08-01 | 2022-08-01 | Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210913339.5A CN115481777A (en) | 2022-08-01 | 2022-08-01 | Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115481777A true CN115481777A (en) | 2022-12-16 |
Family
ID=84422344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210913339.5A Pending CN115481777A (en) | 2022-08-01 | 2022-08-01 | Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115481777A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115641722A (en) * | 2022-12-22 | 2023-01-24 | 吉林大学 | Regular bus trip service system and method based on dynamic waiting time |
-
2022
- 2022-08-01 CN CN202210913339.5A patent/CN115481777A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115641722A (en) * | 2022-12-22 | 2023-01-24 | 吉林大学 | Regular bus trip service system and method based on dynamic waiting time |
CN115641722B (en) * | 2022-12-22 | 2023-04-28 | 吉林大学 | Class travel service system and method based on dynamic waiting time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Huang et al. | Joint train scheduling optimization with service quality and energy efficiency in urban rail transit networks | |
CN109409560B (en) | Urban rail transit passenger flow induction method based on multi-agent simulation | |
CN111582691B (en) | Double-layer planning-based transportation capacity matching method for multiple transportation modes of passenger transport hub | |
CN107092976B (en) | Method for cooperatively optimizing departure intervals of multiple bus routes by multi-objective model | |
Yuan et al. | Integrated optimization of train timetable, rolling stock assignment and short-turning strategy for a metro line | |
CN107564269B (en) | A kind of half flexible bus dispatching method based on willingness to pay | |
CN109269516B (en) | Dynamic path induction method based on multi-target Sarsa learning | |
CN114912736A (en) | Electric bus coordination optimization scheduling method | |
Yu et al. | A dynamic holding strategy in public transit systems with real-time information | |
CN111046576B (en) | Electric private car charging load prediction method considering double-network information | |
CN110910642A (en) | Bus route analysis method considering hybrid traffic system | |
Liu et al. | Electric transit network design by an improved artificial fish-swarm algorithm | |
CN115481777A (en) | Multi-line bus dynamic schedule oriented collaborative simulation optimization method, device and medium | |
Wang et al. | Optimization of ride-sharing with passenger transfer via deep reinforcement learning | |
Tang et al. | Optimization of single-line electric bus scheduling with skip-stop operation | |
Ning et al. | Robust and resilient equilibrium routing mechanism for traffic congestion mitigation built upon correlated equilibrium and distributed optimization | |
CN115170006B (en) | Dispatching method, device, equipment and storage medium | |
CN116739213A (en) | Subway connection bus optimization method based on agent model auxiliary algorithm | |
CN115169696A (en) | Intelligent dispatching method for subway connection bus under manual and automatic driving mixed running | |
Cenedese et al. | A novel control-oriented cell transmission model including service stations on highways | |
CN112330025B (en) | Prediction method of space-time charging load for urban electric vehicle | |
Yoo et al. | Revising bus routes to improve access for the transport disadvantaged: A reinforcement learning approach | |
Zhou et al. | Computationally efficient dynamic assignment for on-demand ridesharing in congested networks | |
Chow et al. | Adaptive scheduling of mixed bus services with flexible fleet size assignment under demand uncertainty | |
Zhu et al. | Improved harmony search algorithm for bus scheduling optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |