A collaborative optimization method for vehicle and driver scheduling on hybrid bus routes
By collecting data, defining symbols and establishing optimization models in mixed bus lines, we solve the problem that vehicle dispatching and driver dispatching methods in the existing technology are difficult to optimize the total system cost, and improve the reliability and operating efficiency of bus services. Reduced costs.
Patent Information
- Application Number
- CN202210133344.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-02-11
AI Technical Summary
The existing vehicle dispatching and driver dispatching methods are difficult to optimize the total system cost on mixed lines, resulting in inconvenient operation management, poor bus service reliability, and difficulty in flexibly responding to vehicle delays and other issues.
This paper proposes a collaborative optimization method for vehicle dispatching and driver dispatching of mixed bus lines. By collecting basic operating data, defining symbols, establishing upper-layer and lower-layer optimization models, solving a double-layer multi-objective programming problem, and optimizing the dispatching plan for vehicles and drivers, to optimize the total system cost.
It effectively reduces the impact of unbalanced vehicle dispatching on driver dispatching, improves the specificity between drivers and buses, saves operating costs and driver wages, and achieves optimal total system costs.
Smart Images

Figure CN114462869B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of urban public transportation operation management, and specifically is a method for collaboratively optimizing vehicle scheduling and driver scheduling for a mixed route of electric buses and traditional fuel buses. Background Art
[0002] Electric buses have zero emissions and low power consumption per unit mileage, which conforms to the concept of sustainable transportation and is conducive to saving long-term cost expenditures. Therefore, many cities are vigorously promoting the electrification of urban buses. However, electric buses still have disadvantages such as limited driving range and long charging time. In order to ensure the normal operation of bus routes, bus companies use electric buses and traditional buses to serve a bus route. Bus companies usually regard the operation of electric buses or traditional buses from the starting station of the route to the terminal and then back to the starting station as a complete shift. The coordinated optimization of vehicle scheduling and driver scheduling for mixed routes refers to the process of determining the shifts and charging plans that each electric bus and traditional bus needs to serve during the full-day operation time according to the prescribed departure schedule, and matching buses with drivers under the constraints of labor rules. Formulating reasonable vehicle scheduling plans, charging plans and driver scheduling plans can not only help reduce the operating costs of bus companies, but also help standardize operations and improve the level of bus services.
[0003] Most of the existing vehicle scheduling and driver scheduling methods are two-stage sequence methods under a single vehicle model, that is, first determine the vehicle scheduling plan for electric buses or traditional buses according to the specified departure schedule, and then optimize the driver scheduling plan by considering labor rule constraints. On the one hand, the output of the driver scheduling plan depends on the input of the vehicle scheduling plan, which makes it difficult to achieve the optimal total system cost; on the other hand, unlike the vehicle scheduling and driver scheduling problems of a single vehicle model, the vehicle scheduling problem of mixed routes uses the bus company's operating cost and the bus line's carbon emission as the minimum optimization goal. The optimized total daily service time of electric buses is longer than that of traditional buses, and the idle time is less than that of traditional buses, which will lead to the special person special car model is no longer applicable. It will not only increase the inconvenience of bus companies in managing vehicles and drivers, but also make it difficult to flexibly deal with problems such as buses returning to the departure station or terminal station late. In order to solve the above problems, this paper proposes a collaborative optimization method for vehicle scheduling and driver scheduling for mixed routes of electric buses and traditional fuel buses. Summary of the invention
[0004] The purpose of the present invention is to solve the problems caused by the original dispatching method, such as inconvenience in operation and management of bus enterprises, poor reliability of bus services, increased total system costs, etc., and to propose a coordinated optimization method for vehicle dispatching and driver dispatching of mixed bus lines.
[0005] A method for collaborative optimization of vehicle scheduling and driver scheduling for mixed bus routes. The specific process is as follows:
[0006] Step 1: Collect basic operation data of hybrid bus routes;
[0007] Step 2: Define symbols;
[0008] Step 3: Establish an upper-level optimization model based on steps 1 and 2;
[0009] Step 4: Establish the lower layer optimization model based on steps 1 and 2;
[0010] Step 5: Solve a two-level multi-objective programming problem, wherein the two-level multi-objective programming problem is an upper-level optimization model and a lower-level optimization model.
[0011] The beneficial effects of the present invention are:
[0012] The present invention takes urban bus lines with mixed electric buses and traditional buses as the research object. The vehicle scheduling and driver scheduling collaborative optimization method proposed in the present invention is applicable to urban bus lines with different electrification ratios. It can not only effectively reduce the impact of unbalanced vehicle scheduling on driver scheduling on mixed lines, improve the degree of specificity between drivers and buses to standardize operations, but also save the operating costs of bus lines and driver salary expenses, thereby achieving optimal total system costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0014] Specific implementation method 1: The specific process of the vehicle scheduling and driver scheduling collaborative optimization method for a hybrid bus route in this implementation method is as follows:
[0015] Step 1: Collect basic operation data of hybrid bus routes;
[0016] Step 2: Define symbols;
[0017] Step 3: Establish an upper-level optimization model based on steps 1 and 2;
[0018] Step 4: Establish the lower layer optimization model based on steps 1 and 2;
[0019] Step 5: Solve the two-level multi-objective programming problem, which is an upper-level optimization model and a lower-level optimization model (the upper-level optimization model is formula (1) and constraints), and the lower-level optimization model is formulas (11), (12) and constraints).
[0020] Specific implementation method 2: This implementation method is different from the specific implementation method 1 in that the basic operation data of the hybrid bus line is collected in step 1; the specific process is as follows:
[0021] 1.1. Investigate the bus route mileage L0 (for example, the route mileage of bus No. 1 from the starting station to the terminal station, which is the same for each trip) and the distance from the starting station to the electric bus charging station;
[0022] 1.2. Based on the bus route schedule, obtain the departure time of the first and last buses (for example, the first bus of bus No. 1 departs at 5:00 and the last bus departs at 20:00);
[0023] Number the I shifts in the full-day operation time in sequence, and let i and j be two adjacent shifts that the same bus needs to run (for example, bus No. 2 on bus route 1 runs shift 3, and then runs shift 5 after returning. Shift 3 and shift 5 are two adjacent shifts that the same bus needs to run);
[0024] 1.3. Investigate the type of bus (electric bus or traditional bus), mileage, travel time (including the time the vehicle is running on the route, the time it stops at the station and the time it stays at the departure station), fuel consumption, power consumption, carbon emissions, and power consumption of electric buses traveling between the departure station and the electric bus charging station for each bus trip for 15 consecutive working days;
[0025] 1.4. Let the electric bus be numbered k, k = 1, 2, ..., K; the traditional bus be numbered h, h = 1, 2, ..., H; the driver be numbered g, g = 1, 2, ..., G; the time period be numbered q, q = 1, 2, ..., Q; the charging shift of the electric bus from the beginning to the end of charging is a charging shift, and the charging shift number is denoted by r, r = 1, 2, ..., R.
[0026] The other steps and parameters are the same as those in the first embodiment.
[0027] Specific implementation method three: This implementation method is different from specific implementation methods one or two in that a symbol is defined in step 2; the specific process is as follows:
[0028] Define a binary variable x kij ∈{0,1}, if trips i and j are adjacent trips operated by electric bus k, x kij =1, otherwise x kij =0;
[0029] Binary variable x hij ∈{0,1}, if trips i and j are adjacent trips operated by traditional bus h, xhij = 1, otherwise x hij =0;
[0030] Binary variable y gki ∈{0,1}, if driver g drives electric bus k to complete shift i, y gki =1, otherwise y gki =0;
[0031] Binary variable y ghi ∈{0,1}, if driver g completes trip i by driving a traditional bus h, y ghi =1, otherwise y ghi =0;
[0032] Binary variable θ kr ∈{0,1},θ kr =1 means that electric bus k is charged in charging shift r, otherwise θ kr =0.
[0033] The other steps and parameters are the same as those in the first or second embodiment.
[0034] Specific implementation method 4: This implementation method is different from any one of the specific implementation methods 1 to 3 in that in step 3, an upper layer optimization model is established based on steps 1 and 2; the specific process is as follows:
[0035] 3.1. Minimizing the operating cost and carbon emission economic cost of the mixed fleet is taken as the optimization goal of the upper model. The calculation method is shown in formula (1):
[0036] min Z=OCB+OEB+αMCB (1)
[0037] Where: OCB is the operating cost of traditional buses, RMB; OEB is the operating cost of electric buses, RMB; MCB is the carbon emission of the mixed fleet, g; α is the economic coefficient of carbon emission, RMB / g; Z is the optimization target.
[0038] 3.2. Constraints for constructing the upper-level model.
[0039] The other steps and parameters are the same as those in Specific Embodiments 1 to 3.
[0040] Specific implementation method 5: This implementation method is different from the specific implementation methods 1 to 4 in that the specific calculation process of the operating cost OCB of the traditional bus, the operating cost OEB of the electric bus, and the carbon emission of the mixed fleet MCB in 3.1 is as follows:
[0041] 3.1.1. Calculate the operating cost OCB of a traditional bus using formula (2):
[0042]
[0043] Where: F h is the unit mileage fuel cost of traditional buses, RMB / km; x h0j ∈{0,1}, if the traditional bus h starts the operation task of the day from the shift j, x h0j =1, otherwise x h0j = 0; xhi0∈{0,1}, if the traditional bus h ends its operation task on the day by shift i, x hi0 =1, otherwise x hi0 =0;L j ′ is the distance between the station and the departure station of flight j, km; L i ′ is the distance between the station and the departure station of flight i, km;
[0044] 3.1.2. Calculate the operating cost OEB of electric buses using formula (3):
[0045]
[0046] Where: E q is the unit price of charging volume in time period q, RMB / kWh; t krq is the charging time of electric bus k in time period q, h; b is the charging power of the electric bus, kW; E n ' ight The unit charging price for charging electric buses at night, RMB / kWh; is the rated capacity of the battery of electric bus k, kWh; is the remaining battery capacity of electric bus k when it finishes its daytime operation and has not yet started the nighttime charging plan, kWh; δ1 is the upper limit of the battery state of charge (SOC) set to prevent overcharging and damage to the battery, %;
[0047] 3.1.3. Calculate the carbon emissions of traditional buses MCB using formula (4):
[0048]
[0049] Where: M h is the average carbon emission per kilometer, g / km.
[0050] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.
[0051] Specific implementation method 6: This implementation method is different from the specific implementation methods 1 to 5 in that the constraint conditions for constructing the upper model in 3.2 are as follows:
[0052] 3.2.1. The travel time feasibility constraints and charging time constraints between consecutive trips of the same electric bus or traditional bus are shown in formulas (5) to (7).
[0053]
[0054] Where: T hi and T hj The departure time is set for the timetable of bus i and bus j operated by conventional fuel bus h; t hi is the travel time of traditional bus h in bus trip i, h; T ki and T kj The departure time is specified for the timetable of bus number i and bus number j operated by electric bus k; t ki is the travel time of electric bus k in shift i, h; t kr is the charging time of electric bus k in charging shift r, h; is the shortest charging time of electric bus k, h; is the remaining battery power of electric bus k when it finishes shift i, kWh;
[0055] 3.2.2. The remaining battery power of electric bus k at the end of any adjacent shift i and shift j satisfies formula (8);
[0056] The remaining battery power of the electric bus at the end of any shift i is constrained to be sufficient to drive back to the station, as shown in formula (9);
[0057]
[0058] Where: is the remaining battery power of electric bus k when it finishes shift j, kWh; is the remaining battery power of electric bus k when it finishes shift i, kWh; w kj is the power consumption of electric bus k in shift j, kWh; is the power consumption of electric bus k returning from the departure station of trip i to the charging station, kWh; δ2 is the battery SOC lower limit set to prevent over-discharge damage to the battery, %;
[0059] 3.2.3. Constraints Each trip can only be assigned to one electric bus or traditional bus, and each trip must be operated;
[0060]
[0061] The other steps and parameters are the same as those in Specific Implementation Methods 1 to 5.
[0062] Specific implementation method 7: This implementation method is different from any one of specific implementation methods 1 to 6 in that in step 4, a lower layer optimization model is established based on steps 1 and 2 (the lower layer optimization model includes formulas (11) to (19)); the specific process is:
[0063] 4.1. Minimizing the daily wage CP of bus drivers is taken as one of the optimization objectives. The calculation method is shown in formula (11).
[0064]
[0065] hour, Pick
[0066] hour, Take 0;
[0067] Where: t h ' i and t′ ki are the effective working hours of traditional bus h and electric bus k on shift i, h; c1 and c2 are the basic salary coefficient and overtime expense coefficient of the driver, RMB / h; is the prescribed working time limit for driver g, h; is the working time of driver g, h;
[0068] 4.2. To minimize the variance S of the number of times a driver may change vehicles 2 As the second optimization objective, as shown in formula (12);
[0069]
[0070] The number of buses that driver g needs to drive every day is N g and the number of drivers G′ required for daily operation, calculated as shown in formula (13) and formula (14);
[0071]
[0072] 4.3. Constructing constraints for the lower-level model.
[0073] The other steps and parameters are the same as those in Specific Embodiments 1 to 6.
[0074] Specific implementation eight: This implementation differs from specific implementations one to seven in that the constraint conditions for constructing the lower model in 4.3 are as follows:
[0075] 4.3.1. Let binary variable γ gij∈{0,1}, if driver g performs shifts i and j consecutively, γ gij =1, otherwise γ gij =0;
[0076] η is a constant, when T hj y ghj +T kj y gkj -(T hi +t h ' i +t h ″ i )y ghi -(T ki +t′ ki +t′ k ' i )y gki ≤η, it is assumed that driver g starts to perform shift j continuously after the end of shift i, then γ gij =1, otherwise γ gij =0;
[0077] where t h ″ i and t′ k ' i are the stop times of traditional bus h and electric bus k on trip i respectively;
[0078] 4.3.2. Let shift u and shift v represent the first and last shifts in a chain of consecutive driving shifts, respectively, and constrain the same driver to drive continuously for no more than a specified time ζ1, as shown in formula (15);
[0079]
[0080] 4.3.3. If the driver exceeds the prescribed time, he must rest. Formula (16) is the driver's rest time constraint. Each rest period must be at least ζ2 (h);
[0081] (1-γ gij )(T kj +T hj -T ki -T hi )≥ζ2 if i=v (16)
[0082] 4.3.4. Restrict the driver's daily overtime hours to not exceed the prescribed time ζ3, as shown in formula (17);
[0083]
[0084] 4.3.5. The number of driving shifts per day of driver g must be greater than or equal to β1 times the average number of shifts of all drivers, and less than or equal to β2 times the average number of shifts;
[0085]
[0086] Where: is the average number of driving shifts per driver per day, which is equal to the ratio of the total number of shifts I to the number of drivers G′ required for daily operation;
[0087] 4.3.6. Driver dispatching must ensure that each electric bus or traditional bus can only be driven by one driver, and each bus must be driven by someone;
[0088]
[0089] The other steps and parameters are the same as those in Specific Embodiments 1 to 7.
[0090] Specific implementation method 9: This implementation method is different from any one of specific implementation methods 1 to 8 in that a two-layer multi-objective programming problem is solved in step 5, and the two-layer multi-objective programming problem is an upper optimization model and a lower optimization model; the specific process is:
[0091] 5.1. The improved multi-objective particle swarm optimization algorithm (ε-TMOPSO) is used to solve the two-level multi-objective programming problem.
[0092] Set the number of iterations o = 1;
[0093] Determine the basic parameters, including the particle population size nPop, the size of the external archive set Up nRep, and the maximum number of iterations Maxgen;
[0094] 5.2. The calculation method of the parameter ε that changes with time a is shown in formulas (20) and (21):
[0095]
[0096] Where: parameter ε represents the feasibility of the solution (vehicle scheduling plan and driver scheduling plan) and the degree of constraint violation; A is the time length of constraint processing; ε(0) is the initialization value of ε, which is equal to the average violation degree of infeasible solutions in the initial population; B l (X d ) is the d-th vehicle dispatch and driver dispatch plan X d Violation of the lth standard constraint B l ′(X d )≤0 (constraints, formulas (5)~(10), formulas (15)~(19)), 1≤d≤D, 1≤l≤M, B l (Xd )=max{B l ′(X d ), 0}, D is the number of possible vehicle scheduling and driver scheduling solutions, M is the number of constraint formulas of the upper model and the lower model (Formulas (5) to (10), Formulas (15) to (19), the value is 11);
[0097] 5.3. Initialize particle position and flight speed; the specific process is:
[0098] Location determines which shift is assigned to which bus and which driver;
[0099] The classic sigmoid function is used to encode discrete variables, and the flight speed Mapped to the interval [0,1], as shown in formula (22);
[0100] Compare again With the random number e1∈[0,1], the position Get value;
[0101]
[0102]
[0103] 5.4. Initialize ε(0), select the first N1 particles with larger size according to the size of ε(0) (arranged from large to small), calculate the fitness value of each particle, and the fitness function is shown in formulas (1), (12) and (13). Obtain a non-inferior solution (which means that no solution that can improve every fitness function can be found in the given set of available solutions). Add the non-inferior solution to the external archive set Up, and use a strategy based on crowding distance to maintain the external archive set. When the number of solutions in the archive set exceeds the size nRep of the external archive set Up, delete the solutions with smaller crowding distance in the archive set, so that the number of solutions in the archive set is equal to the size nRep of the external archive set Up.
[0104] 5.5. Determine the initial optimal position of each particle according to 5.3 and 5.4 Then a three-point random selection strategy is used to select a suitable optimal position for each particle.
[0105] The three points refer to the three non-inferior solutions with the closest, farthest, and middle Euclidean distances between the particle and all non-inferior solutions in the external archive set;
[0106] 5.6. While ensuring that the particle does not cross the boundary (the velocity interval and position interval of the particle are set and do not exceed the velocity interval and position interval of the particle), update the velocity and position of the particle according to formulas (24) and (25);
[0107]
[0108] Where: is the flying speed of particle d in the o+1th iteration; ω n is the inertial weight; f1 o and is the acceleration factor; and e2 are random numbers generated between 0 and 1;
[0109] 5.7. Update ε(a) using formula (20), setting o=o+1; if the number of iterations is greater than Maxgen, stop and output the external archive set, otherwise return to step 5.5.
[0110] The other steps and parameters are the same as those in Specific Embodiments 1 to 8.
[0111] The present invention may also have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for collaborative optimization of vehicle scheduling and driver scheduling for a hybrid bus route, characterized in that: the specific process of the method is as follows: Step 1: Collect basic operation data of hybrid bus routes; the specific process is as follows: 1.
1. Investigate the bus route mileage L0 and the distance between the route’s starting station and the electric bus charging station; 1.
2. Based on the bus route's departure timetable, obtain the departure time of the first and last buses; Number the I shifts in the whole day's operation time in sequence, and let i and j be two adjacent shifts that the same bus needs to run; 1.
3. Investigate the vehicle type, mileage, travel time, fuel consumption, power consumption, carbon emissions of each bus trip for 15 consecutive working days, as well as the power consumption of electric buses traveling between the departure station and the electric bus charging station; 1.
4. Let the electric bus be numbered k, k = 1, 2, ..., K; the traditional bus be numbered h, h = 1, 2, ..., H; the driver be numbered g, g = 1, 2, ..., G; the time period be numbered q, q = 1, 2, ..., Q; the charging shift of the electric bus from the beginning to the end of charging is a charging shift, and the charging shift number is recorded as r, r = 1, 2, ..., R; Step 2: Define symbols; Step 3: Establish an upper-level optimization model based on steps 1 and 2; Step 4: Establish the lower layer optimization model based on steps 1 and 2; Step 5: Solve the two-level multi-objective programming problem, which is an upper-level optimization model and a lower-level optimization model. The specific process is: 5.
1. Set the number of iterations o = 1; Determine the basic parameters, including the particle population size nPop, the size of the external archive set Up nRep, and the maximum number of iterations Maxgen; 5.
2. The calculation method of the parameter ε that changes with time a is shown in formulas (20) and (21): Where: parameter ε represents the feasibility of the solution and the degree of constraint violation; A is the time length of constraint processing; ε(0) is the initialization value of ε, which is equal to the average violation degree of infeasible solutions in the initial population; B l (X d ) is the d-th vehicle dispatch and driver dispatch plan X d The degree of violation of the lth standard constraint Bl′(Xd)≤0, 1≤d≤D, 1≤l≤M, B l (X d )=max{B l ′(X d ),0}, D is the number of possible vehicle scheduling and driver scheduling solutions, M is the number of constraint formulas of the upper model and the lower model; 5.
3. Initialize particle position and flight speed; the specific process is: Location determines which shift is assigned to which bus and which driver; The flight speed V d o Mapped to the interval [0,1], as shown in formula (22); Compare again With the random number e1∈[0,1], the position Y is calculated by formula (23) d o Get value; 5.
4. Initialize ε(0), select the first N1 particles with larger size according to the size of ε(0), calculate the fitness value of each particle, and the fitness function is shown in formulas (1), (12) and (13). Obtain non-inferior solutions and add them to the external archive set Up. When the number of solutions in the archive set exceeds the size nRep of the external archive set Up, delete the solutions with small crowding distance in the archive set so that the number of solutions in the archive set is equal to the size nRep of the external archive set Up. 5.
5. Determine the initial optimal position of each particle according to 5.3 and 5.4 Then a three-point random selection strategy is used to select a suitable optimal position for each particle. 5.
6. Update the particle's velocity and position according to formulas (24) and (25); Where: is the flying speed of particle d in the o+1th iteration; ω n is the inertial weight; and is the acceleration factor; and e2 are random numbers generated between 0 and 1; 5.
7. Update ε(a) using formula (20), setting o=o+1; if the number of iterations is greater than Maxgen, stop and output the external archive set, otherwise return to step 5.
5.
2. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 1, characterized in that: In step 2, symbols are defined; the specific process is: Define a binary variable x kij ∈{0,1}, if shifts i and j are adjacent shifts operated by electric bus k, xkij=1, otherwise x kij =0; Binary variable x hij ∈{0,1}, if trips i and j are adjacent trips operated by traditional bus h, xhij = 1, otherwise x hij =0; Binary variable y gki ∈{0,1}, if driver g drives electric bus k to complete shift i, y gki =1, otherwise y gki =0; Binary variable y ghi ∈{0,1}, if driver g completes trip i by driving a traditional bus h, y ghi =1, otherwise y ghi =0; Binary variable θ kr ∈{0,1},θ kr =1 means that electric bus k is charged in charging shift r, otherwise θ kr =0.
3. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 2, characterized in that: In step 3, an upper layer optimization model is established based on steps 1 and 2; the specific process is as follows: 3.
1. Minimizing the operating cost and carbon emission economic cost of the mixed fleet is taken as the optimization goal of the upper model. The calculation method is shown in formula (1): min Z=OCB+OEB+αMCB (1) Where: OCB is the operating cost of traditional buses, RMB; OEB is the operating cost of electric buses, RMB; MCB is the carbon emission of the mixed fleet, g; α is the economic coefficient of carbon emission, RMB / g; Z is the optimization target; 3.
2. Constraints for constructing the upper-level model.
4. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 3, characterized in that: The specific calculation process of the operating cost OCB of traditional buses, the operating cost OEB of electric buses, and the carbon emissions MCB of mixed fleets in 3.1 is as follows: 3.1.
1. Calculate the operating cost OCB of a traditional bus using formula (2): Where: F h is the unit mileage fuel cost of traditional buses, RMB / km; x h0j ∈{0,1}, if the traditional bus h starts the operation task of the day from the shift j, x h0j =1, otherwise x h0j = 0; xhi0∈{0,1}, if the traditional bus h ends its operation task on the day by shift i, x hi0 =1, otherwise x hi0 =0;L j ′ is the distance between the station and the departure station of flight j, km; L i ′ is the distance between the station and the departure station of flight i, km; 3.1.
2. Calculate the operating cost OEB of electric buses using formula (3): Where: E q is the unit price of charging volume in time period q, RMB / kWh; t krq is the charging time of electric bus k in time period q, h; b is the charging power of the electric bus, kW; E n ' ight The unit charging price for charging electric buses at night, RMB / kWh; is the rated capacity of the battery of electric bus k, kWh; is the remaining battery capacity of electric bus k when it finishes its daytime operation and has not yet started the nighttime charging plan, kWh; δ1 is the upper limit of the battery state of charge set to prevent overcharging and damage to the battery, %; 3.1.
3. Calculate the carbon emissions of traditional buses MCB using formula (4): Where: M h is the average carbon emission per kilometer, g / km.
5. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 4, characterized in that: The constraints for constructing the upper model in 3.2 are as follows: 3.2.
1. The travel time feasibility constraint and charging time constraint between consecutive trips of the same electric bus or traditional bus are as shown in formulas (5) to (7): Where: T hi and T hj The departure time is set for the timetable of bus i and bus j operated by conventional fuel bus h; t hi is the travel time of traditional bus h in bus trip i, h; T ki and T kj The departure time is specified for the timetable of bus number i and bus number j operated by electric bus k; t ki is the travel time of electric bus k in shift i, h; t kr is the charging time of electric bus k in charging shift r, h; is the shortest charging time of electric bus k, h; is the remaining battery power of electric bus k when it finishes shift i, kWh; 3.2.
2. The remaining battery power of electric bus k at the end of any adjacent shift i and shift j satisfies formula (8); The remaining battery power of the electric bus at the end of any shift i is constrained to be sufficient to drive back to the station, as shown in formula (9); Where: is the remaining battery power of electric bus k when it finishes shift j, kWh; is the remaining battery power of electric bus k when it finishes shift i, kWh; w kj is the power consumption of electric bus k in shift j, kWh; is the power consumption of electric bus k returning from the departure station of trip i to the charging station, kWh; δ2 is the battery SOC lower limit set to prevent over-discharge damage to the battery, %; 3.2.
3. Constraints Each trip can only be assigned to one electric bus or traditional bus, and each trip must be operated; 6. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 5, characterized in that: In step 4, a lower layer optimization model is established based on steps 1 and 2; the specific process is: 4.
1. Taking minimizing the daily wage CP of bus drivers as one of the optimization objectives, the calculation method is shown in formula (11): Where: t h ' i and t′ ki are the effective working hours of traditional bus h and electric bus k on shift i, h; c1 and c2 are the basic salary coefficient and overtime expense coefficient of the driver, RMB / h; is the prescribed working time limit for driver g, h; is the working time of driver g, h; 4.
2. To minimize the variance S of the number of times a driver may change vehicles 2 As the second optimization objective, as shown in formula (12); The number of buses that driver g needs to drive every day is N g and the number of drivers G′ required for daily operation, calculated as shown in formula (13) and formula (14); 4.
3. Constructing constraints for the lower-level model.
7. The method for coordinated optimization of vehicle scheduling and driver scheduling for a hybrid bus route according to claim 6, characterized in that: The constraints for constructing the lower model in 4.3 are as follows: 4.3.
1. Let binary variable γ gij ∈{0,1}, if driver g performs shifts i and j consecutively, γ gij =1, otherwise γ gij =0; η is a constant, when T hj y ghj +T kj y gkj -(T hi +t h ' i +t h ″ i )y ghi -(T ki +t′ ki +t′ k ' i )y gki ≤η, it is assumed that driver g starts to perform shift j continuously after the end of shift i, then γ gij =1, otherwise γ gij =0; where t h ″ i and t′ k ' i are the stop times of traditional bus h and electric bus k on trip i respectively; 4.3.
2. Let shift u and shift v represent the first and last shifts in a chain of consecutive driving shifts, respectively, and constrain the same driver to drive continuously for no more than a specified time ζ1, as shown in formula (15); 4.3.
3. If the driver exceeds the prescribed time, he must rest. Formula (16) is the driver's rest time constraint. Each rest period must be at least ζ2 (h); (1-γ gij )(T kj +T hj -T ki -T hi )≥ζ2 if i=v (16) 4.3.
4. Restrict the driver's daily overtime hours to not exceed the prescribed time ζ3, as shown in formula (17); 4.3.
5. The number of driving shifts per day of driver g must be greater than or equal to β1 times the average number of shifts of all drivers, and less than or equal to β2 times the average number of shifts; Where: is the average number of driving shifts per driver per day, which is equal to the ratio of the total number of shifts I to the number of drivers G′ required for daily operation; 4.3.
6. Driver dispatching must ensure that each electric bus or traditional bus can only be driven by one driver, and each bus must be driven by someone;
