A simulation method and system for demand-responsive scheduling of smart public transportation systems
By constructing a demand-responsive dispatching simulation method and system in a smart bus system, the problem of speed, efficiency and accuracy of the demand-responsive dispatching algorithm in smart buses is solved, and the simulation and optimization of the demand-responsive dispatching algorithm of smart buses are realized. Meet the needs of passengers and operating units.
Patent Information
- Application Number
- CN202211491765.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-11-25
AI Technical Summary
Existing bus industry simulation test methods are mainly limited to the simulation of bus line networks, and no simulation scheme and system for the demand-responsive dispatching function of smart buses has been proposed, making it difficult to achieve fast, efficient and accurate demand-responsive dispatching algorithms in smart buses. accomplish.
Propose a simulation method and system for demand-responsive dispatching applied to smart bus systems, including bus on-board systems, bus dispatching simulation systems, bus platform systems, bus station systems and bus mobile terminal service systems, built through a dispatch simulation platform The demand response simulation line layout diagram sets the simulation parameters and heuristic rules, introduces the objective function and constraints, conducts simulation verification and optimization, and realizes the simulation and optimization of the intelligent bus demand response dispatching algorithm.
It fills the gap in the smart bus demand-responsive dispatch simulation scheme, improves the feasibility and superiority of the dispatch algorithm, provides a reference for parameter configuration schemes, supports practical applications, and meets the needs of passengers and operating units.
Smart Images

Figure CN116110220B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent transportation technology, and specifically relates to a simulation method and system for demand-responsive scheduling applied to an intelligent public transportation system. Background Art
[0002] Demand-responsive public transportation in smart public transportation is a passenger-oriented flexible transportation service that can provide customized public transportation services for passengers who have booked travel based on the reservation order situation and the travel needs of the service recipients, focusing on providing a variety of travel modes and vehicle model options. Among them, passenger travel requests can be divided into real-time requests and reservation requests, and travel types can be divided into charter mode and carpooling mode. The system collects passengers' travel requests in real time and determines demand-responsive sites. The dispatching system reasonably allocates vehicle models to passengers based on the site location and the number of passengers, thereby meeting customers' travel needs.
[0003] Therefore, the demand-responsive bus real-time scheduling algorithm is the key core of this function. Whether it is fast, efficient and accurate determines the success of demand-responsive real-time scheduling, and thus determines the efficiency and safety of bus operations.
[0004] Therefore, simulation means or methods are used to improve the algorithm design under the scenario based on the demand-responsive scheduling scenario in smart public transportation, facing the algorithm development and actual application needs, and the simulation model is established with reference to the actual application scenario data and parameter configuration. Furthermore, the feasibility and superiority of the algorithm under different scenarios and working conditions are analyzed, and the benefit indicators of each solution and the optimization solution are compared and analyzed to provide model and method support for algorithm development, and provide parameter configuration solution reference for practical application. It has great practical significance.
[0005] Currently, in the public transportation industry, simulation test methods or systems for public transportation operations are mainly limited to the simulation of bus lines, and no simulation solutions or systems for the demand-responsive scheduling function of intelligent public transportation have been proposed.
[0006] Therefore, this solution proposes a simulation test system and method for demand-responsive scheduling applied to smart public transportation systems, aiming to solve the above-mentioned problems and fill the gap in this field. Summary of the invention
[0007] In response to the above-mentioned technical problems, the present invention provides a simulation method and system for demand-responsive scheduling applied to smart public transportation systems, aiming to propose a simulation solution for demand-responsive scheduling applied to smart public transportation systems to fill the gap in the field.
[0008] In a first aspect, the present invention provides a simulation system for demand-responsive scheduling applied to a smart public transportation system, including: a bus onboard system, a bus scheduling simulation system, a bus station system, a bus terminal system, a bus mobile terminal service system, and a 4G / 5G mobile communication network;
[0009] The bus-mounted system includes a mobile communication terminal, a camera, and a passenger flow data collection device, which collects vehicle location information and vehicle operation status information in real time, and counts the number of passengers getting on and off the vehicle in real time;
[0010] The bus dispatch simulation system includes a dispatch management platform and a dispatch simulation platform. The dispatch management platform records real-time passenger flow data, manages historical passenger flow data and vehicle operation data, runs the intelligent bus demand-responsive dispatch algorithm, and outputs driving plans. The dispatch simulation platform is the simulation environment of the intelligent bus demand-responsive dispatch algorithm.
[0011] The bus stop system uses video surveillance equipment to collect statistics on bus stop passenger flow data and passenger waiting time;
[0012] The bus station system uses video surveillance equipment to count bus departure intervals and bus departure times;
[0013] The public transportation mobile service system collects passengers’ carpooling and charter orders through the passenger APP or mini program;
[0014] The 4G / 5G mobile communication network provides communication connections for the bus onboard system, bus dispatch simulation system, bus stop system, bus terminal system, and bus mobile terminal service system.
[0015] Specifically, the simulation process of intelligent bus demand responsive scheduling is as follows:
[0016] Step 1: The dispatch simulation platform constructs a demand-responsive simulation route layout diagram and sets simulation parameters for the demand-responsive dispatch scenario based on the bus routes and driving plans in the dispatch management platform;
[0017] Step 2: The dispatch management platform decomposes the working conditions of the demand-responsive dispatch scenario according to the VIP order data and driving plan in the dispatch management platform;
[0018] Step 3: The scheduling simulation platform formulates the input conditions and expected results of each working condition according to the working conditions decomposed in step 2;
[0019] Step 4: The scheduling simulation platform sets the heuristic rules in the simulation process of the intelligent bus demand response scheduling algorithm and the model assumptions in the simulation environment;
[0020] Step 5: Two objective functions are introduced for comparison and evaluation. Objective function 1 only considers the minimum average order passenger waiting time for each route, and objective function 2 only considers the minimum operating cost of public transportation vehicles.
[0021] Among them, the objective function 1 is:
[0022]
[0023] Among them, N is the total number of orders that have been allocated in this dispatch, M is the total number of orders that have not been allocated in this dispatch, and D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the jth vehicle, t c is the current system time, is the expected pickup time for order i, is the expected pickup time for order a, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),T l The time required for a vehicle to travel the entire route of Line L,
[0024] Objective function 2 is:
[0025]
[0026] Among them, C d is the cost per unit distance traveled by the public transport vehicle, is the distance from the starting point to the terminal of the jth vehicle, D ij is the distance from the current position of the jth vehicle to the starting point of order i, R is the total number of vehicles deployed on the bus route where the jth vehicle is located, and N is the total number of orders that have been allocated in this dispatch;
[0027] Step 6: Introduce constraint conditions to simulate and verify the implementation effect of the intelligent public transportation demand responsive scheduling algorithm;
[0028] Step 7: Based on the simulation conditions of Steps 1 to 6, simulate the intelligent public transportation demand responsive scheduling algorithm, obtain simulation results, and count the changes in order waiting time and passenger waiting time under different numbers of vehicles and order generation frequencies;
[0029] Step 8: Perform statistical analysis on the simulation results.
[0030] Specifically, step 1 includes:
[0031] Step 11: Select a one-way circular bus route from the database of the dispatching management platform, generate a demand-responsive simulation route layout diagram based on the one-way circular bus route, and randomly generate a passenger's carpooling order or chartered car order at any station of the one-way circular bus route;
[0032] Step 12: Based on the demand-responsive simulation route layout diagram, set the simulation parameters of the demand-responsive scheduling scenario from three aspects: one-way loop bus routes, bus vehicles, and VIP order data.
[0033] Specifically, step 2 includes:
[0034] Step 21, working condition 1 is a chartered bus working condition, in which the chartered bus passenger submits a travel request to the dispatch management platform in real time. The travel request includes the request type, the boarding location, the alighting location, the expected boarding time, and the number of passengers. The dispatch management platform allocates a chartered bus to the chartered bus passenger according to the location and model of the currently idle bus, and plans the sequence in which the chartered bus serves the passengers. The request types include reservation requests and real-time requests.
[0035] Step 22, operating condition 2 is the carpooling operating condition. Carpooling passengers submit travel demands to the dispatching management platform in real time. The travel demands include the boarding location, the alighting location, the expected boarding time, the expected alighting time and the number of passengers. The dispatching management platform allocates carpooling vehicles to carpooling passengers based on the location of the currently operating buses, the number of passengers on board and the planned driving routes of the currently operating buses, and updates the driving node sequence of the carpooling vehicles in real time based on the travel demands.
[0036] Specifically, step 3 includes:
[0037] Step 31: According to working condition 1, formulate the input conditions and expected results of the demand-responsive dispatch chartered vehicle working condition;
[0038] Step 32: Based on condition 2, formulate the input conditions and expected results of the demand-responsive scheduling carpooling condition.
[0039] Specifically, step 4 includes:
[0040] Step 41, the heuristic rule is:
[0041] Rule 11: When there is a real-time order, the intelligent bus demand response scheduling algorithm selects a bus to receive the order from the available buses near the real-time order location. If there is no available bus nearby, it will be dispatched from the order response station. If there is no available bus at the order response station, it will be dispatched from the bus station.
[0042] Rule 12: When there is a scheduled order, it will be added to the head of the real-time order queue before the scheduled time arrives and processed as a real-time order in accordance with Rule 11;
[0043] Rule 13: The scheduling parameter adaptive adjustment strategy is divided into three working conditions according to the order quantity. The three working conditions are: when the order quantity exceeds the upper limit O max The peak period is when the order quantity is lower than the lower limit O min It is a low peak period. When the order quantity is above the upper limit O max and the lower limit O min The time between is the normal time period;
[0044] Different parameter calculation methods are adopted for different working conditions. The specific calculation methods are as follows:
[0045] (1) Peak hours:
[0046] (2) Normal time:
[0047] Case 1: Only one of the two target costs increases:
[0048]
[0049]
[0050] Case 2: Both target costs do not increase:
[0051]
[0052] Case 3: Both target costs increase:
[0053]
[0054] (4) Off-peak period:
[0055] in, is the weight of the passenger’s waiting time cost, is the weight of the bus operating cost, ε is the weight change coefficient, ΔZ1 is the change in the passenger waiting time cost after the last dispatch, ΔZ2 is the change in the bus operating cost after the last dispatch, is the weight of the last passenger waiting time cost, is the weight of the last bus operation cost;
[0056] Step 42: The model assumption is:
[0057] Rule 21: Public transport vehicles for carpooling and charter orders are independent of the normal bus scheduling plan and do not need to perform normal bus scheduling tasks;
[0058] Rule 22: After completing all assigned orders, the order bus will stop at the nearest station near the end of the order until it receives a new order and starts to perform its mission;
[0059] Rule 23: Orders are assigned based on the availability of all buses for orders. It is impossible to ensure that all orders are assigned at once.
[0060] Rule 24: For orders that have been allocated but not yet executed on the vehicle, they can be added to the order pool and re-allocated.
[0061] Specifically, in Rule 11, for a carpooling order, the final public transport receiving the order is selected based on the existing carpooling tasks of the public transport receiving the order;
[0062] When the orders include carpooling orders and chartered car orders, the chartered car orders will be processed first, and then the carpooling orders will be processed centrally.
[0063] Specifically, the constraints in step 6 are:
[0064] Condition 1: Vehicle arrival time window constraint:
[0065]
[0066] in, is the expected pickup time of order i, D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the jth vehicle, t c is the current system time, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0, 1), α is the time window width;
[0067] Condition 2: Order service constraints:
[0068]
[0069] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1);
[0070] Condition 3: Vehicle capacity constraints:
[0071]
[0072]
[0073] Among them, P js is the number of passengers on the jth vehicle at the sth stop, is the number of passengers in order i, c jis the rated passenger capacity of the jth vehicle, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1);
[0074] Condition 4: Vehicle power constraints:
[0075]
[0076] in, is the starting site of order i, is the end site of order i, D ij is the distance from the current position of the jth vehicle to the starting point of order i, θ is the safety threshold, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),L j is the remaining mileage of the jth vehicle;
[0077] Condition 5: Order starting point constraints:
[0078]
[0079] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),D ij is the distance from the current position of the jth vehicle to the starting point of order i;
[0080] Condition 6: Vehicle order sequence constraints:
[0081]
[0082] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),x i′jk′ Indicates that order i-1 is the k-1th task for the jth vehicle;
[0083] Condition 7: Serial constraints for charter tasks:
[0084]
[0085] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1), is the starting site of order i, is the end site of order i.
[0086] In a second aspect, the present invention further provides a simulation method for demand-responsive scheduling applied to a smart public transportation system, the method comprising:
[0087] The bus-mounted system collects vehicle location information and vehicle operation status information in real time, and counts the number of passengers getting on and off the vehicle in real time;
[0088] The bus stop system uses video surveillance equipment to collect statistics on bus stop passenger flow data and passenger waiting time;
[0089] The bus station system uses video surveillance equipment to count bus departure interval data and bus departure times;
[0090] The public transportation mobile service system collects passengers’ carpooling and chartering orders through the passenger APP or mini program;
[0091] The bus dispatching simulation system includes a dispatching management platform and a dispatching simulation platform. The dispatching management platform records real-time passenger flow data, manages historical passenger flow data and vehicle operation data, runs the intelligent bus demand-responsive dispatching algorithm, and outputs driving plans. The dispatching simulation platform is the simulation environment for the intelligent bus demand-responsive dispatching algorithm.
[0092] Specifically, the simulation process of intelligent bus demand responsive scheduling is as follows:
[0093] Step 1: The dispatch simulation platform constructs a demand-responsive simulation route layout diagram and sets simulation parameters for the demand-responsive dispatch scenario based on the bus routes and driving plans in the dispatch management platform;
[0094] Step 2: The dispatch management platform decomposes the working conditions of the demand-responsive dispatch scenario according to the VIP order data and driving plan in the dispatch management platform;
[0095] Step 3: The scheduling simulation platform formulates the input conditions and expected results of each working condition according to the working conditions decomposed in step 2;
[0096] Step 4: The scheduling simulation platform sets the heuristic rules in the simulation process of the intelligent bus demand response scheduling algorithm and the model assumptions in the simulation environment;
[0097] Step 5: Two objective functions are introduced for comparison and evaluation. Objective function 1 only considers the minimum average order passenger waiting time for each route, and objective function 2 only considers the minimum operating cost of public transportation vehicles.
[0098] Among them, the objective function 1 is:
[0099]
[0100] Among them, N is the total number of orders that have been allocated in this dispatch, M is the total number of orders that have not been allocated in this dispatch, and D ij is the distance from the current position of the jth vehicle to the starting point of order i, vj is the average speed of the jth vehicle, t c is the current system time, is the expected pickup time for order i, is the expected pickup time for order a, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),T l The time required for a vehicle to travel the entire route of Line L,
[0101] Objective function 2 is:
[0102]
[0103] Among them, C d is the cost per unit distance traveled by the public transport vehicle, is the distance from the starting point to the terminal of the jth vehicle, D ij is the distance from the current position of the jth vehicle to the starting point of order i, R is the total number of vehicles deployed on the bus route where the jth vehicle is located, and N is the total number of orders that have been allocated in this dispatch;
[0104] Step 6: Introduce constraint conditions to simulate and verify the implementation effect of the intelligent public transportation demand responsive scheduling algorithm;
[0105] Step 7: Based on the simulation conditions of Steps 1 to 6, simulate the intelligent public transportation demand responsive scheduling algorithm, obtain simulation results, and count the changes in order waiting time and passenger waiting time under different numbers of vehicles and order generation frequencies;
[0106] Step 8: Perform statistical analysis on the simulation results.
[0107] The present invention discloses a simulation method and system for demand-responsive scheduling applied to a smart public transportation system. Aiming at the problem of demand-responsive scheduling simulation in actual public transportation operation, a simulation model is established with reference to actual application scenario data and parameter configuration, the feasibility and superiority of an intelligent public transportation demand-responsive scheduling algorithm under different scenarios and working conditions are simulated and analyzed, the benefit indicators of scheduling optimization schemes under various working conditions are compared and analyzed, the intelligent public transportation demand-responsive scheduling algorithm is adjusted according to the passenger expectation mode, a model and method support are provided, and a parameter configuration scheme reference is provided for actual application, so that the intelligent public transportation demand-responsive scheduling algorithm can be applied to actual operation and the respective needs of the operating passengers and the operating unit are achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 It is a structural schematic diagram of a simulation system for demand-responsive scheduling applied to a smart public transportation system according to the present invention;
[0109] Figure 2 It is a demand-responsive charter and carpool order processing flow chart of the present invention;
[0110] Figure 3 A simulation business flow chart of the demand-responsive scheduling of the present invention;
[0111] Figure 4 The present invention is a flow chart of a simulation method for demand-responsive scheduling applied to a smart public transportation system. DETAILED DESCRIPTION
[0112] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the specific embodiments described herein are only used to explain the present invention and are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0113] Figure 1 The figure shows a structural diagram of an embodiment of a simulation system for demand-responsive scheduling of a smart public transportation system provided by the present invention. The structural diagram specifically includes: a bus onboard system, a bus scheduling simulation system, a bus stop system, a bus terminal system, a bus mobile terminal service system, and a 4G / 5G mobile communication network.
[0114] The bus-mounted system includes an on-board mobile communication terminal, a camera, and passenger flow data collection equipment, which collects vehicle location information and vehicle operation status information in real time, and counts the number of passengers getting on and off the vehicle in real time.
[0115] The bus dispatching simulation system includes a dispatching management platform and a dispatching simulation platform. The dispatching management platform records real-time passenger flow data, manages historical passenger flow data and vehicle operation data, runs an intelligent bus demand-responsive dispatching algorithm, and outputs a driving plan. The dispatching simulation platform is a simulation environment for the intelligent bus demand-responsive dispatching algorithm.
[0116] Real-time passenger flow data includes station passenger flow data and vehicle passenger flow data.
[0117] Preferably, the simulation environment of the intelligent bus scheduling algorithm is implemented using MATLAB R2021a in the Windows 10 environment, and the minimum hardware requirements are processor Intel(R)Core(TM)i5-7200U CPU and 8G running memory.
[0118] The bus stop system uses video surveillance equipment to count the passenger flow data and passenger waiting time at the bus stop.
[0119] The bus station system uses video surveillance equipment to count bus departure intervals and bus departure times.
[0120] The public transportation mobile service system collects passengers' carpooling orders and chartered car orders through the passenger APP or mini program.
[0121] The 4G / 5G mobile communication network provides communication connections for the bus onboard system, bus dispatch simulation system, bus stop system, bus terminal system, and bus mobile terminal service system.
[0122] Specifically, the simulation process of intelligent bus demand responsive scheduling is as follows:
[0123] Step 1: The dispatch simulation platform constructs a demand-responsive simulation route layout diagram and sets the simulation parameters of the demand-responsive dispatch scenario based on the bus routes and driving plans in the dispatch management platform.
[0124] Specifically, step 1 includes:
[0125] Step 11: Select a one-way circular bus route from the database of the dispatching management platform, generate a demand-responsive simulation route layout diagram based on the one-way circular bus route, and randomly generate a passenger's carpooling order or charter order at any station of the one-way circular bus route.
[0126] Randomly generate carpooling or chartering orders for customers at any station on a given route. For each carpooling or chartering order, the starting and ending stations of the task need to be given. When the vehicle is dispatched from the depot, it must complete the journey, that is, the vehicle cannot turn around at any station in the middle of the route. Before leaving the depot, if a vehicle's range is not enough to complete the entire route, the vehicle is temporarily unavailable and will automatically go to charge.
[0127] Step 12: Based on the demand-responsive simulation route layout diagram, set the simulation parameters of the demand-responsive scheduling scenario from three aspects: one-way loop bus routes, bus vehicles, and VIP order data.
[0128] The simulation parameter settings of the demand-responsive scheduling scenario are shown in Table 1.
[0129] Table 1
[0130]
[0131] Step 2: The dispatch management platform decomposes the working conditions of the demand-responsive dispatch scenario according to the VIP order data and driving plan in the dispatch management platform.
[0132] Specifically, step 2 includes:
[0133] Step 21, operating condition 1 is a chartered operating condition. The chartered passenger submits a travel request to the dispatch management platform in real time. The travel request includes the request type, boarding location, alighting location, expected boarding time, and number of passengers. The dispatch management platform allocates chartered vehicles to the chartered passengers according to the location and model of the current idle buses, and plans the sequence for the chartered vehicles to serve the passengers. The request types include reservation requests and real-time requests.
[0134] The expected boarding time for a scheduled request needs to be input by the passenger, and the expected boarding time for a real-time request is the request application time.
[0135] Step 22, operating condition 2 is the carpooling operating condition. Carpooling passengers submit travel demands to the dispatching management platform in real time. The travel demands include the boarding location, the alighting location, the expected boarding time, the expected alighting time and the number of passengers. The dispatching management platform allocates carpooling vehicles to carpooling passengers based on the location of the currently operating buses, the number of passengers on board and the planned driving routes of the currently operating buses, and updates the driving node sequence of the carpooling vehicles in real time based on the travel demands.
[0136] Step 3: The scheduling simulation platform formulates the input conditions and expected results of each working condition based on the working conditions decomposed in step 2.
[0137] Specifically, step 3 includes:
[0138] Step 31: Based on condition 1, formulate the input conditions and expected results of the demand-responsive dispatch chartered vehicle condition.
[0139] The input conditions and expected results of the demand-responsive dispatch chartered vehicle operation are shown in Table 2.
[0140] Table 2
[0141]
[0142]
[0143] Step 32: Based on condition 2, formulate the input conditions and expected results of the demand-responsive scheduling carpooling condition.
[0144] The input conditions and expected results of the demand-responsive scheduling carpooling condition are shown in Table 3.
[0145] Table 3
[0146]
[0147] Step 4: The scheduling simulation platform sets the heuristic rules in the simulation process of the intelligent bus demand responsive scheduling algorithm and the model assumptions in the simulation environment.
[0148] Specifically, step 4 includes:
[0149] Step 41, the heuristic rule is:
[0150] Rule 11: When there is a real-time order, the intelligent bus demand response scheduling algorithm selects a bus to receive the order from the available buses near the real-time order location. If there is no available bus nearby, it will be dispatched from the order response station. If there is no available bus at the order response station, it will be dispatched from the bus station.
[0151] Rule 12: When there is a scheduled order, it will be added to the head of the real-time order queue before the scheduled time arrives and processed as a real-time order in accordance with Rule 11;
[0152] Rule 13: The scheduling parameter adaptive adjustment strategy is divided into three working conditions according to the order quantity. The three working conditions are: when the order quantity exceeds the upper limit O max The peak period is when the order quantity is lower than the lower limit O min It is a low peak period. When the order quantity is above the upper limit O max and the lower limit O min The time between is the normal time period;
[0153] Different parameter calculation methods are adopted for different working conditions. The specific calculation methods are as follows:
[0154] (1) Peak hours:
[0155] (2) Normal time:
[0156] Case 1: Only one of the two target costs increases:
[0157]
[0158]
[0159] Case 2: Both target costs do not increase:
[0160]
[0161] Case 3: Both target costs increase:
[0162]
[0163] (5) Off-peak period:
[0164] in, is the weight of the passenger’s waiting time cost, is the weight of the bus operating cost, ε is the weight change coefficient, ΔZ1 is the change in the passenger waiting time cost after the last dispatch, ΔZ2 is the change in the bus operating cost after the last dispatch, is the weight of the last passenger waiting time cost, is the weight of the last bus operation cost;
[0165] Specifically, in Rule 11, for a carpooling order, the final public transport receiving the order is selected based on the existing carpooling tasks of the public transport receiving the order;
[0166] When the orders include carpooling orders and chartered car orders, the chartered car orders will be processed first, and then the carpooling orders will be processed centrally.
[0167] Demand-responsive charter and carpooling order processing flow chart Figure 2 shown.
[0168] Step 42: The model assumption is:
[0169] Rule 21: Public transport vehicles for carpooling and charter orders are independent of the normal bus scheduling plan and do not need to perform normal bus scheduling tasks;
[0170] Rule 22: After completing all assigned orders, the order bus will stop at the nearest station near the end of the order until it receives a new order and starts to perform its mission;
[0171] Rule 23: Orders are assigned based on the availability of all buses for orders. It is impossible to ensure that all orders are assigned at once.
[0172] Rule 24: For orders that have been allocated but not yet executed on the vehicle, they can be added to the order pool and re-allocated.
[0173] Step 5: Introduce two objective functions for comparison and evaluation. Objective function 1 only considers the minimum average order passenger waiting time for each route, and objective function 2 only considers the minimum operating cost of the bus.
[0174] Objective function 1 is:
[0175]
[0176] Among them, N is the total number of orders that have been allocated in this dispatch, M is the total number of orders that have not been allocated in this dispatch, and D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the jth vehicle, t c is the current system time, is the expected pickup time for order i, is the expected pickup time for order a, x ijkFor order i, the kth task of the jth vehicle, x ijk ∈(0,1),T l The time required for a vehicle to complete Route L.
[0177] The average order passenger waiting time consists of two parts: one is the average passenger waiting time of assigned orders, and the other is the average passenger waiting time of unassigned orders. The average order passenger waiting time is obtained by adding these two parts together and averaging them.
[0178] Preferably, when calculating the objective function 1, a route is sampled as a calculation sample with the minimum passenger waiting time.
[0179] Objective function 2 is:
[0180]
[0181] Among them, C d is the cost per unit distance traveled by the public transport vehicle, is the distance from the starting point to the terminal of the jth vehicle, D ij is the distance from the current position of the jth vehicle to the starting point of order i, R is the total number of vehicles on the bus line where the jth vehicle is located, and N is the total number of orders that have been allocated in this dispatch.
[0182] The total cost is:
[0183] Z=ω1·Z1+ω2·Z2
[0184] There are two optimization objectives, namely the average order passenger waiting time Z1 and the bus travel cost Z2. For these two objectives, they are normalized and assigned weights ω1 (generally 0.5) and ω2 (generally 0.5), and the total cost Z is obtained by adding them together.
[0185] Step 6: Introduce constraints to simulate and verify the implementation effect of the intelligent bus demand responsive scheduling algorithm.
[0186] Specifically, the constraints are:
[0187] Condition 1: Vehicle arrival time window constraint:
[0188]
[0189] in, is the expected pickup time of order i, D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the jth vehicle, t c is the current system time, x ijkFor order i, the kth task of the jth vehicle, x ijk ∈(0, 1), α is the time window width.
[0190] The vehicle should arrive within the time window of the passenger's expected boarding time. The time window width α can be determined by testing, and is generally taken as 3 minutes. The vehicle does not need to arrive too early or too late, as arriving too late will cause passenger loss.
[0191] Condition 2: Order service constraints:
[0192]
[0193] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1).
[0194] Each order can be assigned to at most one vehicle. If this constraint is 0, it means that the order has not been assigned.
[0195] Condition 3: Vehicle capacity constraints:
[0196]
[0197]
[0198] Among them, P js is the number of passengers on the jth vehicle at the sth stop, is the number of passengers in order i, c j is the rated passenger capacity of the jth vehicle, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1).
[0199] The number of passengers at each station is less than the capacity of the vehicle, ensuring that the number of orders on the vehicle does not exceed the rated number of seats in the vehicle.
[0200] Condition 4: Vehicle power constraints:
[0201]
[0202] in, is the starting site of order i, is the end site of order i, D ij is the distance from the current position of the jth vehicle to the starting point of order i, θ is the safety threshold, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),L j is the remaining mileage of the jth vehicle.
[0203] The remaining power of the vehicle after completing the task is greater than the safety threshold θ.
[0204] Condition 5: Order starting point constraints:
[0205]
[0206] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),D ij is the distance from the current position of the jth vehicle to the starting point of order i.
[0207] The vehicle can only accept orders whose starting point is after the vehicle’s current location and cannot accept orders from stations that it has already passed.
[0208] Condition 6: Vehicle order sequence constraints:
[0209]
[0210] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),x i′jk′ Indicates that order i-1 is the k-1th task of the jth vehicle.
[0211] The orders assigned to each vehicle should be arranged according to the order starting point sequence, that is, the order starting point of the kth position on the jth vehicle should be before the order starting point of the k+1th position on the jth vehicle.
[0212] Condition 7: Serial constraints for charter tasks:
[0213]
[0214] Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1), is the starting site of order i, is the end site of order i.
[0215] For chartered car orders, a vehicle can only execute one chartered car order at a time. That is, for the same vehicle, the task intervals of chartered car orders (from the order start point to the end point) cannot have overlapping areas. For carpooling orders, this constraint can be ignored.
[0216] Step 7: Based on the simulation conditions of steps 1 to 6, simulate the intelligent public transportation demand responsive scheduling algorithm, obtain simulation results, and count the changes in order waiting time and passenger waiting time under different numbers of vehicles and order generation frequencies.
[0217] According to the rule that the frequency of order generation is higher during peak hours and lower during non-peak hours, the following selects data of some frequencies to show the waiting time for order processing and the waiting time for passengers. The statistical results of the benefit of the demand-responsive scheduling strategy are shown in Table 4.
[0218] Table 4
[0219]
[0220] Step 8: Perform statistical analysis on the simulation results.
[0221] In the carpooling mode, when the order generation frequency is 2 minutes per order, the average passenger waiting time is greater than or equal to 6 minutes, or when the order generation frequency is 5 minutes per order, the average passenger waiting time is greater than or equal to 10 minutes, then the carpooling mode scheduling scheme is considered to be unsatisfactory and the demand-responsive carpooling scheduling strategy needs to be readjusted to achieve the passenger demand target. The passenger demand target is: when the order generation frequency is 2 minutes per order, the average passenger waiting time is no more than 6 minutes. When the order generation frequency is 5 minutes per order, the average passenger waiting time is no more than 10 minutes.
[0222] In the charter mode, most vehicles are dispatched from the parking lot (parking spot), so the current number of available vehicles in the parking lot has a great impact on the order waiting time and passenger waiting time. When the order generation frequency is 20 minutes per order, the average passenger waiting time is >= 10 minutes, or when the order generation frequency is 30 minutes per order, the average passenger waiting time is >= 6 minutes, then it is considered that the charter mode scheduling scheme does not meet the requirements, and it is necessary to readjust the demand-responsive charter scheduling strategy to achieve the passenger demand target. The passenger demand target is: when the order generation frequency is 20 minutes per order, the average passenger waiting time is no more than 10 minutes, and when the order generation frequency is 30 minutes per order, the average passenger waiting time is no more than 6 minutes.
[0223] Figure 3 Shown is a simulation business flow chart of the demand-responsive scheduling of the present invention.
[0224] Figure 4 FIG. 1 is a flow chart of an embodiment of a simulation method for demand-responsive scheduling of a smart public transportation system provided by the present invention. Figure 4 As shown, the method includes:
[0225] S1. The bus-mounted system collects vehicle location information and vehicle operation status information in real time, and counts the number of passengers getting on and off the vehicle in real time;
[0226] S2. The bus stop system uses video surveillance equipment to collect statistics on bus stop passenger flow data and passenger waiting time;
[0227] S3. The bus station system uses video surveillance equipment to count bus departure interval data and bus departure times;
[0228] S4. The public transportation mobile service system collects passengers’ carpooling orders and chartered car orders through the passenger APP or mini program;
[0229] S5. The bus dispatch simulation system includes a dispatch management platform and a dispatch simulation platform. The dispatch management platform records real-time passenger flow data, manages historical passenger flow data and vehicle operation data, runs the intelligent bus demand-responsive dispatch algorithm, and outputs driving plans. The dispatch simulation platform is the simulation environment for the intelligent bus demand-responsive dispatch algorithm.
[0230] Specifically, the simulation process of intelligent bus demand responsive scheduling is as follows:
[0231] Step 1: The dispatch simulation platform constructs a demand-responsive simulation route layout diagram and sets simulation parameters for the demand-responsive dispatch scenario based on the bus routes and driving plans in the dispatch management platform;
[0232] Step 2: The dispatch management platform decomposes the working conditions of the demand-responsive dispatch scenario according to the VIP order data and driving plan in the dispatch management platform;
[0233] Step 3: The scheduling simulation platform formulates the input conditions and expected results of each working condition according to the working conditions decomposed in step 2;
[0234] Step 4: The scheduling simulation platform sets the heuristic rules in the simulation process of the intelligent bus demand response scheduling algorithm and the model assumptions in the simulation environment;
[0235] Step 5: Two objective functions are introduced for comparison and evaluation. Objective function 1 only considers the minimum average order passenger waiting time for each route, and objective function 2 only considers the minimum operating cost of public transportation vehicles.
[0236] Among them, the objective function 1 is:
[0237]
[0238] Among them, N is the total number of orders that have been allocated in this dispatch, M is the total number of orders that have not been allocated in this dispatch, and D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the jth vehicle, t c is the current system time, is the expected pickup time for order i, is the expected pickup time for order a, x ijk For order i, the kth task of the jth vehicle, x ijk∈(0,1),T l The time required for a vehicle to travel the entire route of Line L,
[0239] Objective function 2 is:
[0240]
[0241] Among them, C d is the cost per unit distance traveled by the public transport vehicle, is the distance from the starting point to the terminal of the jth vehicle, D ij is the distance from the current position of the jth vehicle to the starting point of order i, R is the total number of vehicles deployed on the bus route where the jth vehicle is located, and N is the total number of orders that have been allocated in this dispatch;
[0242] Step 6: Introduce constraint conditions to simulate and verify the implementation effect of the intelligent public transportation demand responsive scheduling algorithm;
[0243] Step 7: Based on the simulation conditions of Steps 1 to 6, simulate the intelligent public transportation demand responsive scheduling algorithm, obtain simulation results, and count the changes in order waiting time and passenger waiting time under different numbers of vehicles and order generation frequencies;
[0244] Step 8: Perform statistical analysis on the simulation results.
[0245] The above-mentioned embodiments only express the preferred implementation mode of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A simulation system for demand-responsive scheduling of smart public transportation systems, characterized in that: Including bus onboard system, bus dispatch simulation system, bus station system, bus terminal system, bus mobile terminal service system, 4G / 5G mobile communication network; The bus-mounted system includes a vehicle-mounted mobile communication terminal, a camera, and a passenger flow data collection device, which collects vehicle location information and vehicle operation status information in real time and counts the number of passengers getting on and off the vehicle in real time; The bus dispatch simulation system includes a dispatch management platform and a dispatch simulation platform. The dispatch management platform records real-time passenger flow data, manages historical passenger flow data, and vehicle operation data, runs an intelligent bus demand-responsive dispatch algorithm, and outputs a driving plan. The dispatch simulation platform is a simulation environment for the intelligent bus demand-responsive dispatch algorithm. The bus stop system uses video surveillance equipment to count the passenger flow data and passenger waiting time of the bus stop; The bus station system uses video monitoring equipment to count bus departure interval data and bus departure times; The public transportation mobile service system collects passengers' carpooling orders and chartered car orders through the passenger APP or mini program; The 4G / 5G mobile communication network provides communication connection for the bus onboard system, the bus dispatch simulation system, the bus station system, the bus terminal system, and the bus mobile terminal service system; The simulation process of the intelligent public transportation demand responsive scheduling is as follows: Step 1: The dispatch simulation platform constructs a demand-responsive simulation route layout diagram and sets simulation parameters of a demand-responsive dispatch scenario according to the bus routes and the driving plan in the dispatch management platform; Step 2: The dispatch management platform performs working condition decomposition on the demand-responsive dispatch scenario according to the VIP order data and the driving plan in the dispatch management platform; Step 3, the scheduling simulation platform formulates input conditions and expected results of each working condition according to the working conditions decomposed in step 2; Step 4: The dispatch simulation platform sets the heuristic rules in the simulation process of the intelligent public transportation demand responsive dispatch algorithm and the model assumptions in the simulation environment; Step 5: Two objective functions are introduced for comparison and evaluation. Objective function 1 only considers the minimum average order passenger waiting time for each route, and objective function 2 only considers the operating cost of the bus. Wherein, the objective function 1 is: , Among them, N is the total number of orders that have been allocated in this dispatch, M is the total number of orders that have not been allocated in this dispatch, and D ij is the distance from the current position of the jth vehicle to the starting point of order i, v j is the average speed of the j-th vehicle, t c is the current system time, t i e is the expected pickup time for the order i, t a e is the expected pickup time for order a, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),T l The time required for a vehicle to travel the entire route of Line L, The objective function 2 is: , Among them, C d is the cost per unit distance traveled by the public transport vehicle, is the distance from the starting point to the terminal of the jth vehicle, D ij is the distance from the current position of the j-th vehicle to the starting point of order i, R is the total number of vehicles deployed in the bus line where the j-th vehicle is located, and N is the total number of orders that have been allocated in this dispatch; Step 6: Introduce constraint conditions to simulate and verify the implementation effect of the intelligent public transportation demand responsive scheduling algorithm; Step 7: Based on the simulation conditions of Step 1 to Step 6, simulate the intelligent public transportation demand responsive scheduling algorithm, obtain the simulation results, and count the changes in the order waiting processing time and the passenger waiting time under different numbers of vehicles and order generation frequencies; Step 8: performing statistical analysis on the simulation results; The step 4 specifically includes: Step 41, the heuristic rule is: Rule 11: When there is a real-time order, the intelligent public transportation demand-responsive scheduling algorithm selects a public transportation vehicle to receive the order from the available public transportation vehicles near the real-time order location. If there is no available public transportation vehicle nearby, the public transportation vehicle is dispatched from the order response station. If there is no available public transportation vehicle at the order response station, the public transportation vehicle is dispatched from the bus station. Rule 12: When there is a scheduled order, the scheduled order will be added to the head of the real-time order queue before the scheduled time arrives and processed as a real-time order in accordance with Rule 11; Rule 13: The scheduling parameter adaptive adjustment strategy is divided into three working conditions according to the order quantity. The three working conditions are: when the order quantity exceeds the upper limit O max The peak period is when the order quantity is lower than the lower limit O. min It is a low peak period, when the order quantity is within the upper limit O max and the lower limit O min The time between is the normal time period; Different parameter calculation methods are adopted for different working conditions. The specific calculation methods are as follows: (1) Peak hours: , , (2) Normal time: Case 1: Only one of the two target costs increases: , , Case 2: Neither of the two target costs increases: , Case 3: Both target costs increase: , (3) Off-peak period: , Among them, ω c 1 is the weight of the waiting time cost of this passenger, ω c 2 is the weight of the bus operating cost, ε is the weight change coefficient, ΔZ1 is the change in the passenger waiting time cost after the last dispatch, ΔZ2 is the change in the bus operating cost after the last dispatch, ω l 1 is the weight of the last passenger waiting time cost, ω l 2 is the weight of the last bus operating cost; Step 42: The model assumes: Rule 21: Public transport vehicles for carpooling and charter orders are independent of the normal bus scheduling plan and do not need to perform normal bus scheduling tasks; Rule 22: After completing all assigned orders, the order bus shall stop at the nearest station near the end of the order until it receives a new order and starts to perform the task; Rule 23: Orders are assigned based on the availability of all buses for orders. It is impossible to ensure that all orders are assigned at once. Rule 24: For orders that have been allocated but not yet executed on the vehicle, they can be added to the order pool and re-allocated.
2. According to claim 1, a simulation system for demand-responsive scheduling applied to a smart public transportation system is characterized in that: The step 1 comprises: Step 11: Select a one-way circular bus route from the database of the dispatch management platform, generate the demand-responsive simulation route layout diagram based on the one-way circular bus route, and randomly generate the carpooling order or the chartered order of the passenger at any station of the one-way circular bus route; Step 12: Based on the demand-responsive simulation route layout diagram, set the simulation parameters of the demand-responsive scheduling scenario from three aspects: the one-way loop bus route, the bus vehicle, and the VIP order data.
3. A simulation system for demand-responsive scheduling applied to a smart public transportation system according to claim 2, characterized in that: The step 2 comprises: Step 21, working condition 1 is a chartered bus working condition, and the chartered bus passenger submits a travel request to the dispatch management platform in real time, and the travel request includes the request type, the boarding location, the alighting location, the expected boarding time, and the number of passengers. The dispatch management platform allocates a chartered bus to the chartered bus passenger according to the location and model of the current idle bus, and plans the sequence of the chartered bus serving the passengers, wherein the request type includes a reservation request and a real-time request; Step 22, operating condition 2 is a carpooling operating condition, and carpooling passengers submit travel demands to the dispatching management platform in real time, and the travel demands include the boarding location, the alighting location, the expected boarding time, the expected alighting time and the number of passengers. The dispatching management platform allocates carpooling vehicles to the carpooling passengers according to the location of the currently operating public buses, the number of passengers on board and the planned driving routes of the currently operating public buses, and updates the driving node sequence of the carpooling vehicles in real time according to the travel demands.
4. A simulation system for demand-responsive scheduling applied to a smart public transportation system according to claim 3, characterized in that: The step 3 comprises: Step 31: according to the working condition 1, formulate the input conditions and expected results of the demand-responsive dispatch chartered vehicle working condition; Step 32: According to the working condition 2, the input conditions and expected results of the demand-responsive scheduling carpooling working condition are formulated.
5. The simulation system for demand-responsive scheduling applied to a smart public transportation system according to claim 1, characterized in that: In the rule 11, for a carpooling order, the final public transport receiving the order is selected based on the existing carpooling tasks of the public transport receiving the order; When the order includes the carpooling order and the chartered car order, the chartered car order is processed first, and then the carpooling order is processed centrally.
6. The simulation system for demand-responsive scheduling applied to a smart public transportation system according to claim 1, characterized in that: The constraint conditions in step 6 are: Condition 1: Vehicle arrival time window constraint: , Among them, t i e is the expected pickup time of order i, D ij is the distance from the current position of the jth vehicle to the starting point of the order i, v j is the average speed of the j-th vehicle, t c is the current system time, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0, 1), α is the time window width; Condition 2: Order service constraints: , Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1); Condition 3: Vehicle capacity constraints: , , Among them, P js is the number of passengers on the jth vehicle at the sth stop, O P i is the number of passengers in order i, c j is the rated passenger capacity of the j-th vehicle, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1); Condition 4: Vehicle power constraints: , Among them, O s i is the starting site of order i, O E i is the end site of the order i, D ij is the distance from the current position of the jth vehicle to the starting point of the order i, θ is the safety threshold, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),L j is the remaining mileage of the j-th vehicle; Condition 5: Order starting point constraints: , Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),D ij is the distance from the current position of the j-th vehicle to the starting point of the order i; Condition 6: Vehicle order sequence constraints: , Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),x i′jk′ Indicates that order i-1 is the k-1th task of the jth vehicle; Condition 7: Serial constraints for chartered car tasks: , Among them, x ijk For order i, the kth task of the jth vehicle, x ijk ∈(0,1),O s i is the starting site of the order i, O E i is the end site of the order i.
7. A simulation method for a simulation system for demand-responsive scheduling of a smart public transportation system according to any one of claims 1 to 6, characterized in that: include: The bus-mounted system collects vehicle location information and vehicle operation status information in real time, and counts the number of passengers getting on and off the vehicle in real time; The bus stop system uses video surveillance equipment to collect statistics on bus stop passenger flow data and passenger waiting time; The bus station system uses video surveillance equipment to count bus departure interval data and bus departure times; The public transportation mobile service system collects passengers’ carpooling and chartering orders through the passenger APP or mini program; The bus dispatching simulation system includes a dispatching management platform and a dispatching simulation platform. The dispatching management platform records real-time passenger flow data, manages historical passenger flow data, vehicle operation data, runs an intelligent bus demand-responsive dispatching algorithm, and outputs a driving plan. The dispatching simulation platform is a simulation environment for the intelligent bus demand-responsive dispatching algorithm.
