Bus charging facility layout optimization method considering running power consumption fluctuation

By establishing a mathematical model and time expansion network, combining temperature and passenger flow uncertainty, using a stochastic coupling optimization model and adaptive algorithm of multiple scenarios, optimizing the charging facility layout and fleet size of electric buses, solving the failure in the existing technology Effectively considering the impact of temperature has improved the operational efficiency and cost control of electric buses.

CN118966437APending Publication Date: 2024-11-15SOUTH CHINA UNIV OF TECH +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411035951.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the impact of temperature on battery energy consumption of electric buses, resulting in insufficient optimization of charging facilities layout and affecting vehicle scheduling and operational efficiency.

Method used

A method of layout optimization for charging facilities for buses that considers the fluctuations in operational power consumption is adopted to establish a mathematical model and time expansion network, and combine temperature and passenger flow uncertainty, and optimize the layout of charging facilities through a stochastic coupling optimization model and adaptive algorithm of multiple scenarios. and fleet size decisions.

Benefits of technology

It realizes a more realistic optimization of charging facilities layout, alleviates the impact of energy consumption fluctuations on the power supply load of the power grid, and improves the efficiency of vehicle scheduling and operational cost control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118966437A_ABST
    Figure CN118966437A_ABST
Patent Text Reader

Abstract

The invention discloses a bus charging facility layout optimization method considering operation power consumption fluctuation, and the method comprises the following steps: building a mathematical model of electric bus charging facility layout and fleet scale, and building an electric bus scheduling and charging scheduling network based on multiple parking lots; setting a node set and an arc set of the network, setting an arc cost, setting a charging plan and a mutual exclusion charging plan, defining the residual electric quantity percentage of the electric bus, and setting a charging punishment sub-model; aiming at the uncertainty of the environment temperature and the operation passenger flow, establishing a scene generation model of electric bus scheduling and charging scheduling based on data driving; establishing a two-stage random coupling optimization model of electric bus rapid charging facility layout and fleet scale collaborative operation scheduling based on multiple scenes; and designing an algorithm based on problem decomposition and adaptive operator selection variable neighborhood search, solving the two-stage random coupling optimization model, and obtaining a multi-decision collaborative electric bus scheduling optimization scheme under uncertain energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric buses, and in particular to a method for optimizing the layout of bus charging facilities taking into account fluctuations in operating power consumption. Background Art

[0002] Compared with traditional fuel buses, electric buses have obvious environmental advantages. They use electricity as a driving energy source, do not produce exhaust pollution, and reduce the emission of air pollutants, which is of great significance to improving urban air quality and protecting people's health. With the global emphasis on environmental protection, electric buses are naturally becoming more and more popular in the current context of increasing global environmental awareness.

[0003] However, the site selection and layout of electric bus charging facilities are the bulk of the initial investment of bus companies, and their fixed costs are extremely high and difficult to change later. Therefore, in the current context of the country's efforts to promote bus electrification, how to optimize the layout of electric bus charging facilities based on actual scenarios and complex factors has become a key problem that the bus industry needs to solve urgently. On the other hand, many complex environmental factors on bus lines in different cities and regions will have an uncertain impact on the energy consumption rate of electric bus batteries, which in turn leads to random fluctuations in their charging demand. Therefore, it is of great practical significance to establish a bus charging facility layout optimization method that takes into account the fluctuation of operating power consumption.

[0004] In actual operation, the energy consumption rate of electric bus batteries is affected by various factors, such as weather, traffic conditions, passenger flow changes, etc., which leads to uncertain random fluctuations in the fleet charging demand. This not only brings huge challenges to the site selection and capacity planning of charging facilities, but also has many negative effects on the company's fleet operation scheduling and the grid power supply load of the charging station. Among them, the temperature has a greater impact on the energy consumption fluctuation of electric bus batteries. Low temperature will reduce the discharge efficiency of the battery and reduce the available capacity of the battery, thereby shortening the range of the electric bus. On the contrary, at normal temperature or acceptable high temperature scenarios, the performance of the battery will be improved to varying degrees, so that lower energy consumption can be achieved.

[0005] Traditional methods for optimizing the layout of electric bus charging facilities do not take into account the chain relationship among temperature, energy consumption, and charging demand, and thus ignore the battery energy consumption performance of electric buses under different temperature conditions, which in turn affects the vehicle dispatch and operation task scheduling of electric bus fleets. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and provide a method for optimizing the layout of bus charging facilities taking into account fluctuations in operating power consumption. Taking into account the influence of temperature on the energy consumption rate of electric bus batteries and combined with the regional scheduling of electric buses, a more practical optimization plan is formulated for the site selection and layout of charging piles for new charging stations on the line network.

[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0008] A method for optimizing the layout of bus charging facilities considering fluctuations in operating power consumption comprises the following steps:

[0009] S1. Establish a mathematical model for the layout of electric bus charging facilities and fleet size, and establish a multi-depot-based electric bus vehicle dispatch and charging dispatch time expansion network;

[0010] S2. Set the node set and arc set of the time-extended network, set the arc cost, set the charging plan and the mutually exclusive charging plan, define the remaining power percentage of the electric bus, and set the charging penalty sub-model;

[0011] S3. Aiming at the uncertainty of ambient temperature and passenger flow, a scenario generation model for electric bus dispatch and charging dispatch based on data drive is established;

[0012] S4. Establish a two-stage stochastic coupling optimization model for the coordinated operation and scheduling of electric bus fast charging facility layout and fleet size based on multiple scenarios;

[0013] S5. Design an algorithm based on problem decomposition and adaptive operator selection variable neighborhood search to solve the two-stage random coupling optimization model and obtain a multi-decision collaborative electric bus dispatch optimization solution under uncertain energy consumption.

[0014] Compared with the prior art, the bus charging facility layout optimization method of the present invention takes into account the fluctuation of operating power consumption, which can provide a theoretical reference for the charging facility layout and coordinated vehicle scheduling planning of electric buses; the model takes into account the uncertain impact of temperature on the energy consumption of electric bus batteries, so that the optimization results are in line with reality and have more practical application potential; the time-of-use electricity price strategy is added to the charging model, which effectively alleviates the power supply load brought by energy consumption fluctuations to the charging time expansion network. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The flowchart for the implementation of the bus charging facility layout optimization method considering the fluctuation of operating power consumption.

[0016] Figure 2 Diagram of the two-stage coupled optimization framework.

[0017] Figure 3Schematic diagram of the electric bus time expansion network with multiple depots.

[0018] Figure 4 Schematic diagram of the charging penalty model for electric buses.

[0019] Figure 5 Generate a method flow chart for data-driven scenario generation.

[0020] Figure 6 Flowchart for solving the two-stage stochastic coupled optimization model.

[0021] Figure 7 Schematic diagram of the greedy initial solution generation method for the second-stage subproblem.

[0022] Figure 8 This is the original train chain structure diagram for the second stage sub-problem.

[0023] Fig. 9 Schematic diagram of the train exchange operator A1 that selects the variable neighborhood search algorithm for the adaptive operator.

[0024] Fig.10 Schematic diagram of charging task optimization operator A2 for adaptive operator selection variable neighborhood search algorithm.

[0025] Fig.11 Schematic diagram of parking lot adjustment operator A3 that selects variable neighborhood search algorithm as adaptive operator.

[0026] Fig.12 Schematic diagram of charging time coordination operator A4 for adaptive operator selection variable neighborhood search algorithm.

[0027] Fig.13 Schematic diagram of parking lot and vehicle transfer operator A6 for adaptive operator selection variable neighborhood search algorithm. DETAILED DESCRIPTION

[0028] The bus charging facility layout optimization method considering the operating power consumption fluctuation of the present invention is further described below with reference to the accompanying drawings and specific embodiments.

[0029] See also Figure 1 The present invention discloses a method for optimizing the layout of bus charging facilities considering fluctuations in operating power consumption, comprising the following steps:

[0030] S1. Establish a mathematical model for the layout of electric bus charging facilities and fleet size, and establish a multi-depot-based electric bus vehicle dispatch and charging dispatch time expansion network;

[0031] S2. Set the node set and arc set of the time-extended network, set the arc cost, set the charging plan and the mutually exclusive charging plan, define the remaining power percentage of the electric bus, and set the charging penalty sub-model;

[0032] S3. Aiming at the uncertainty of ambient temperature and passenger flow, a scenario generation model for electric bus dispatch and charging dispatch based on data drive is established;

[0033] S4. Establish a two-stage stochastic coupling optimization model for the coordinated operation and scheduling of electric bus fast charging facility layout and fleet size based on multiple scenarios;

[0034] S5. Design an algorithm based on problem decomposition and adaptive operator selection variable neighborhood search to solve the two-stage random coupling optimization model and obtain a multi-decision collaborative electric bus dispatch optimization solution under uncertain energy consumption.

[0035] See also Figure 2 , a two-stage coupling framework for the layout and scheduling optimization of electric bus charging facilities is established. At the first level, the deployment of fast charging facilities and the configuration of the fleet are planned. First, an expansion strategy is adopted for the built fast charging stations. If the charging service capacity is insufficient, the number of charging piles of the same type is increased on the basis of the existing charging piles. In addition, some new points suitable for the construction of fast charging stations are selected from the set of candidate points in the area to increase the coverage of charging services, and the number of charging piles to be installed at each new point is determined. At the same time, the size of the electric bus fleet in each parking lot needs to be determined.

[0036] At the second level, given the fast charging facility deployment plan and fleet configuration plan, VSP (Vehicle Scheduling Planning) is arranged for the electric buses in all parking lots under regional scheduling. Regional scheduling is a means of coordinating bus time and expanding network capacity resources by centrally allocating the capacity resources of several bus routes. In regional scheduling problems, vehicles between different routes can be cross-line scheduled by empty trips, so as to save capacity resources and improve operational efficiency. The arrangement of vehicle scheduling planning requires the preparation of a departure schedule in advance, which is determined by bus passenger flow; at the same time, the vehicle scheduling plan should also take into account the charging activities of electric buses.

[0037] The mathematical model for establishing the layout of electric bus charging facilities and fleet size is:

[0038]

[0039] Where M is the set of existing charging stations; is the set of candidate points for new charging stations; m is a 0-1 decision variable for the location of charging stations; α1 is the fixed construction cost per unit time for each fast charging station; α2 is the fixed cost per unit time for each fast charging pile; α3 is the fixed cost per unit time for each electric bus; c mThe number of fast charging piles installed at new candidate sites for fast charging stations or the number of charging piles expanded at existing fast charging stations; The minimum number of charging posts that can be installed in a fast charging station; is the upper limit of the number of charging piles that can be installed in a fast charging station; R is the set of all parking lots; f r is the fleet size of parking lot r; μ r is the parking lot capacity of parking lot r; is an integer.

[0040] Specifically, the decision-making in the first phase includes two aspects: one is the deployment of fast charging facilities, expanding the capacity of existing fast charging stations, selecting new fast charging station locations from the set of candidate points, and determining the capacity of newly built candidate points; the other is the decision on the size of the electric bus fleet in multiple parking lots, that is, determining the size of the electric bus fleet in each parking lot.

[0041] First, the existing charging stations are expanded, and then new candidate sites are selected to build fast charging stations and the number of charging piles to be installed is determined; for existing fast charging stations, the site selection decision is z m =1; for new candidate sites of fast charging stations, if m is selected, then z m =1, otherwise 0.

[0042] Formula (1) gives the objective function of the first-stage mathematical model, which includes the cost of charging station site selection, charging pile capacity determination and fleet size decision-making. The fixed construction cost of all new charging stations is expressed as ∑ m∈M α1z m Formula (2) limits the number of fast charging piles that can be installed at a charging station. For existing charging stations, c m The total number of charging piles after the expansion. If the number of charging piles is the original number, then the expansion quantity of charging station m is For new candidate sites for fast charging stations, since there are no charging piles originally, At this time, the fixed capacity of charging station m is

[0043] In terms of fleet size decision, formula (3) shows that the number of electric buses equipped in each parking lot cannot exceed the parking lot capacity, so the purchase cost is expressed as α3∑ r∈R f r Formula (4) shows that in the process of capacity expansion and capacity setting, it is necessary to ensure that the total number of charging piles c m Do not exceed the capacity limit of the charging station, i.e. Therefore, the cost of charging piles generated by the expansion of existing charging stations and the capacity of new charging stations is expressed as Formulas (5)-(7) define the types of decision variables.

[0044] Establish a time expansion network for electric bus vehicle dispatch and charging dispatch based on multiple depots. Specifically, since each electric bus has its own depot, and each depot has N operational tasks, (k) There are different scheduling methods for each depot. Analyzing only a single depot cannot show the relationship between each specific electric bus and its depot. Therefore, based on the deployment of fast charging facilities and fleet size decisions, a multi-depot electric bus scheduling time expansion network G is established under scenario k. (k) = {N (k) ,A (k) ,R}, each parking lot corresponds to a layer of time extension network.

[0045] See also Figure 3 , Figure 3 Multiple parallel time-extended networks based on the depot layering are shown, and all possible arcs in the time-extended network are marked. The electric bus under each time-extended network layer corresponds to the operation task arrangement related to the depot to which it belongs. For example, in addition to the departure and collection tasks, the electric bus under the first layer of the time-extended network can execute the train tasks 1, 2, 3, and 4, and the executable charging plan is 5. Since the start time of train tasks 3 and 4 is the same, in actual operation, the electric bus can only choose to execute task 3 or task 4, and the other task that is not selected will be executed by other electric buses. Therefore, it can be seen that by corresponding the depot to the time-extended network and performing multiple layering, the operation task arrangement of each electric bus under each depot can be more clearly performed.

[0046] Set the node set and arc set of the time extension network, and set the arc cost. Specifically, in the time extension network G (k) = {N (k) ,A (k) ,R}, task N (k) Including departure task O (k) 、Train Mission I (k) 、Charging plan H (k) and car collection task D (k) ; The arcs of the time expansion network connect two consecutive operation tasks, and all arcs constitute the arc set A (k) ; Combine arc set A (k) , define the set of decision variables And divide it into 5 subsets, namely the departure arc set Collection of car arcs Train mission connection arc set Charging Arc Collection And the charging arc collection The departure arc connects the departure task and the train task, the arrival arc connects the train task and the arrival task, the train task connection arc connects two different train tasks, the charging arc connects the train task and the charging plan, and the charging completion arc connects the charging plan and the train task.

[0047] Each operation behavior of the electric bus on the arc (i, j) will bring costs Based on the 5 subsets of arc set A, it is stipulated that It includes the trip execution cost, the electric bus charging cost and the electric bus idle cost; the trip execution cost is the electric bus execution trip task i∈I (k) The time cost brought about by the charging cost is the charging cost generated when the electric bus executes the charging plan i∈H, and the idle driving cost is the additional cost brought about by the electric bus when it does not carry passengers between operating tasks i, j.

[0048] Finally, the arc cost can be obtained With the scenario Total operating cost of all parking lots under The calculation formula is

[0049]

[0050] In the formula, is the cost of arc (i, j) under scenario k; v is the speed of the electric bus; η2 is the idle driving cost per unit mileage; is the idle time of arc (i, j) under scenario k; η1 is the unit mileage driving cost; t i For task i∈N (k) Execution time; For charging plan j∈H (k) The unit time charging pile occupation cost during the duration; α5 is the unit percentage charging cost of the electric bus; ε max is the maximum state of charge of the electric bus battery; is the electric bus in task i∈O under scenario k (k) ∪I (k) ∪H (k) ∪D (k) The remaining power percentage after completion; (k) is the percentage of power consumption per unit mileage under scenario k; is the sum of all electric bus arc costs under scenario k; Connect 0-1 decision variables to the arcs in the time extension network. If, in scenario k, the electric bus at depot r∈R performs task j after completing task i, then Otherwise 0.

[0051] From formula (8), we can see that the starting arc With charging completed arc Only includes the idle driving cost between nodes i and j; the car collection arc Connecting arc with train mission Contains the trip execution cost of node i and the idle driving cost between i and j; charging arc It includes the execution cost of trip i, the idle driving cost between i and j, and the charging cost generated by charging plan j. Formula (9) gives the total unit time operation cost of electric buses in all depots under scenario k:

[0052] Set charging plans and mutually exclusive charging plans. Specifically, the charging activities of electric buses at the charging piles of fast charging stations within the time period are defined as charging plans, which are part of the operation tasks; in terms of time characteristics, the charging plan i∈H (k) With start time and end time The charging time interval represents the set charging time of the charging plan, and the length of the charging time interval can be adjusted manually; in terms of spatial characteristics, the charging plan i∈H (k) Corresponding to the charging station number ξ i The number of the charging station i , and during the duration of the charging plan, the charging pile λ i The remaining charging plans cannot be occupied by this electric bus or other electric buses in any case. Although fast charging can enable the electric bus to quickly reach the maximum charge state ε max However, in order to simplify the analysis process related to the charging plan, it is stipulated that the charging plan cannot be terminated early because the electric bus battery has reached the maximum state of charge.

[0053] The charging plan is artificially generated in advance at a certain generation interval for each charging pile. Table 1 takes virtual charging station A and its charging piles 1 and 2 as examples, showing a total of 120 charging plans generated by charging station A from 8:00 to 18:00, where the charging time interval and generation interval of the charging plan are set to 30 minutes and 10 minutes respectively.

[0054] Table 1

[0055]

[0056] In Table 1, ID is the number of the charging plan; i is the charging station to which the charging plan belongs; i The number of the charging pile to which the charging plan belongs; is the start time of charging plan i; t i is the duration of charging plan i; is the end time of charging plan i. It can be seen that the start time of charging plan 2 coincides with the progress of charging plan 1, that is, Therefore, an electric bus cannot occupy both charging plans 1 and 2 at the same time. Since charging plans 1 and 2 belong to the same charging pile, that is, λ1=λ2, no matter one or more electric buses can occupy both charging plans 1 and 2 at the same time.

[0057] will not be able to (k) Charging plan for simultaneous use by one or more electric buses Mutually Exclusive Charging Schedule Set And expressed as

[0058]

[0059] In the formula, is a set of mutually exclusive charging plans for i; H (k) is the set of charging plans under scenario k; is the starting time of charging plan i; is the starting time of charging plan j; The end time of charging plan i.

[0060] After adding the CSP (Charging Scheduling Planning) decision of electric buses, it is necessary to ensure that the operation tasks i,j∈N (k) The correctness of the time logic between

[0061]

[0062] In the formula, is a sufficiently large positive number; τ is the mandatory rest interval.

[0063] In the regional dispatch mode, if the end station of task i is different from the starting station of task j, the electric bus will face the problem of empty driving between i and j. After the mandatory rest interval τ, there must be enough time margin between tasks i and j to be executed consecutively, otherwise there will be no connecting arc between the two nodes.

[0064] Formula (11) represents the time margin relationship applicable to the departure arc and the return arc. At this time, there is only idle time between tasks i and j, but no mandatory rest interval. Formula (12) represents the time margin relationship applicable to the train connection arc, the charging arc and the charging completion arc. At this time, there is not only idle time but also mandatory rest interval between tasks i and j.

[0065] Define the remaining power percentage of the electric bus and set the charging penalty sub-model. Specifically, the decision of the charging scheduling plan for the electric bus depends on the current remaining power of the electric bus. For the scenario Under this condition, the electric bus is in task j∈N (k) The remaining power percentage at the moment of completion; assuming that arc (i, j) exists, that is, Then the remaining power percentage of node j is It is expressed by the formula

[0066]

[0067] If arc (i, j) belongs to the closing arc or charging arc Then there is This is because if the task j just performed by the vehicle belongs to the charging plan or the vehicle collection task, the electric bus will be replenished at the charging station or the parking lot, so the remaining power percentage of node j should be the maximum value ε max ; If arc (i,j) belongs to the departure arc Train connection arc or charging completion arc The remaining power percentage of the electric bus at node j at this time The remaining power percentage of the previous node i Idle power consumption between nodes i and j The percentage of power consumption generated by executing node j ω (k) vt j Joint decision.

[0068] Since electric buses have limited battery capacity, the remaining power percentage of node i is It is impossible to be greater than the maximum state of charge ε of the electric bus max , this constraint is expressed by the formula

[0069]

[0070] In actual operation, electric buses need to retain a certain amount of power at each mission node so that they can smoothly drive to the charging station empty after completing the trip. The formula is expressed as

[0071]

[0072] In the formula, I (k) is the set of train tasks under scenario k; ε min is the minimum state of charge of the electric bus.

[0073] After completing the trip i∈I (k)After that, when the electric bus arrives at the charging station empty, if it cannot execute the established charging plan h∈H (k) , but need to wait and execute the next feasible charging plan j∈H (k) When the electric bus is waiting for this period of time φ ij There will be a charging penalty cost.

[0074] See also Figure 4 , if the time when the electric bus arrives at the charging station empty is less than or equal to the start time of the established charging plan h and the charging plan is in the h idle state, that is Empty driving time If the electric bus does not miss the charging plan h, the electric bus can directly occupy the charging plan h without incurring charging penalty costs; if the electric bus arrives at the charging station empty, the charging plan h that could have been executed immediately after the previous trip has already started, regardless of whether it is occupied by a vehicle, that is, It indicates that h has lost its timeliness, and the electric bus needs to continue waiting until the next feasible charging plan j∈H that is not mutually exclusive with h (k) , Generated, thus incurring charging penalty costs.

[0075] Charging penalty time The calculation formula is:

[0076]

[0077] In the formula, is the charging penalty time of arc (i, j) under scenario k, expressed as the interval between the end time of trip i and the start time of feasible charging plan j minus the idle time part of; is the set of mutually exclusive charging plans of charging plan h under scenario k.

[0078] In the scenario The total charging penalty cost of electric buses in all depots is expressed as The calculation formula is

[0079]

[0080] In the formula, is the sum of the charging penalty costs of all vehicles under scenario k; α4 is the unit time operating benefit loss of each charging penalty.

[0081] In view of the uncertainty of ambient temperature and operating passenger flow, a scenario generation model for electric bus scheduling and charging scheduling based on data drive is established.

[0082] Specifically, Figure 5As shown, the present invention proposes to use a data-driven multi-scenario generation method to hedge the impact of uncertain fluctuations in temperature and travel demand. After inputting the temperature data, first calculate the battery discharge rate of the electric bus corresponding to each temperature value, then use the K-means clustering method to analyze the correlation between the discharge rates, divide the corresponding temperature values ​​into m categories, and obtain the average temperature of each category; specify the operating status of the fleet, including working days, rest days and holidays, and input the task data under different operating status. Then, pair the temperature categories with the operating status, and generate the final "temperature\discharge rate->operating status" scenario set K; the temperature value of each specific scenario k∈K corresponds to a temperature category, which has an average temperature The corresponding unit mileage discharge percentage ω at this average temperature (k) , make decisions for each temperature scenario, and finally obtain the expected decision plan under all representative scenarios.

[0083] A two-stage stochastic coupling optimization model for the coordinated operation and scheduling of electric bus fast charging facility layout and fleet size based on multiple scenarios is established.

[0084] Specifically, the first-level fast charging facility layout and fleet size decision will affect the arrangement and scheduling cost of the vehicle scheduling plan or charging scheduling plan of electric buses. At the second level, the charging scheduling decision of electric buses in a given time expansion network is subject to the first-level fast charging facility layout; at the same time, the allocation of operating tasks in the time expansion network is also limited by the number of electric buses that can be called from all parking lots; these two constraints will be fed back to the next long-term plan of the first level in the form of cost. Therefore, the phenomenon of mutual restraint and mutual influence between the first-level and second-level decisions is called coupling.

[0085] The formula is

[0086]

[0087] In the formula, ξ j is the number of the charging station to which charging plan j belongs; Indicates whether the charging plan j belongs to an existing or newly built charging station ξ j 0-1 decision variable.

[0088] Formula (18) shows the spatial coupling relationship between the deployment plan of fast charging facilities and the charging scheduling plan of electric buses, that is, whether the electric bus can successfully execute the charging plan j depends on whether the first-level fast charging station can be indexed in task j. Then the electric bus can choose whether to implement charging plan j. like Then the electric bus cannot implement charging plan j, that is

[0089] Formula (19) gives the scenario The maximum number of electric buses that can be called up from all the parking lots on the second layer. If there are still operational tasks that have not been executed after all the electric buses have been called up, it means that the decision on the fleet size on the first layer is wrong, and no feasible solution can be found for the multi-parking electric bus scheduling on the second layer.

[0090] A two-stage stochastic coupling optimization model for the coordinated operation and dispatch of electric bus fast charging facilities layout and fleet size based on multiple scenarios is established as follows:

[0091]

[0092] The constraints are:

[0093]

[0094] Where Q(z,c,f,ω,x) is the objective function of the second-stage optimization model; is the expected value of the optimal solution of the second stage under all scenarios; p (k) is the probability of scenario k occurring; is the charging auxiliary decision variable. Under scenario k, if the electric bus is in task i∈O (k) ∪I (k) ∪H (k) ∪D (k) After completion, you can accept the charging task. otherwise, Connect 0-1 decision variables to the arcs in the network. If, in scenario k, the electric bus at depot r∈R performs task i after completing task j, then Otherwise, 0; Connect 0-1 decision variables to the arcs in the network. If, in scenario k, the electric bus at parking lot r∈R completes task i ′ Then, task j is executed. Otherwise 0.

[0095] An algorithm based on problem decomposition and variable neighborhood search with adaptive operator selection is designed to solve a two-stage stochastic coupled optimization model.

[0096] Specifically, since the vehicle scheduling decisions in different scenarios in the second stage are directly related to the charging station site selection and capacity determination scheme in the first stage, and are limited by the size of the fleet, once the charging station site selection and capacity determination decisions change, the vehicle scheduling decisions in all scenarios may not only lose their optimality, but may even fail to search for feasible solutions. In short, the high coupling relationship between the decision variables in the two stages makes the original problem difficult to solve. Therefore, in order to improve the efficiency and quality of the solution, the present invention decomposes the two-stage random coupling optimization model into a charging station site selection and capacity determination subproblem and a vehicle scheduling subproblem.

[0097] See also Figure 6 , Figure 6 The interaction between the two sub-problems is shown. The solution to the charging station location and capacity sub-problem will be used as the input to the vehicle scheduling sub-problem. The objective value and estimated lower bound of the vehicle scheduling sub-problem provide the optimal cut for the charging station location and capacity sub-problem to reduce its solution domain. The two sub-problems will be solved under a set of overall algorithm frameworks and global optimization will be achieved in the iterative process.

[0098] The subproblem of charging station location and capacity selection aims to determine the location of new charging stations and the number of new charging piles at each charging station. The first stage includes two decision variables, namely z m and c m , z m is a 0-1 variable, c m Integer variable; define 0-1 auxiliary variables Indicates the setting of the charging pile ∈ at the charging station m. If the charging pile ∈ is set, If , it is 1, otherwise it is 0; In order to ensure that each c m The value of only corresponds to one set Vector, add constraints Make this vector always a non-increasing or decreasing sequence.

[0099] The solution vector of the first stage is:

[0100]

[0101] In the formula, is the number of all charging stations; Indicates the setting of charging pile ∈ at charging station 1. If charging pile ∈ is set, If yes, it is 1, otherwise it is 0; Indicates the setting of the charging pile ∈ at the charging station m. If the charging pile ∈ is set, If yes, it is 1, otherwise it is 0; Indicates that the charging station The setting of the charging pile ∈ at the location. If the charging pile ∈ is set, 1 if the value is true, 0 otherwise.

[0102] The first stage model is decomposed into:

[0103]

[0104] The constraints are:

[0105]

[0106] Where Z is the decision variable in the first stage; θ is the estimated value of the sub-problem in the second stage; Set auxiliary variables for the charging pile, indicating the setting of the charging pile ∈+1 at the charging station m. If the charging pile ∈+1 is set, If yes, it is 1, otherwise it is 0; is a real number.

[0107] After determining the location of each charging station and the number of charging piles, the vehicle scheduling subproblem will uniformly schedule buses on all routes in the entire area under different scenarios; since the decision variables in the first stage have been determined as constants, the problem solutions of each scenario in the second stage do not affect each other, that is, decoupling is completed, so the vehicle scheduling problem under each scenario can be solved separately, and then the target values ​​of the vehicle scheduling problem under each scenario are weighted and summed, and the obtained expected value can be used as the target value of the vehicle scheduling subproblem.

[0108] The second stage model is decomposed into:

[0109]

[0110]

[0111] The constraints are:

[0112]

[0113]

[0114] In the formula, Indicates rounding up the item; represents the charging station m and charging pile ∈ corresponding to the charging task i; π is the maximum chargeable capacity. Charging is considered only when the capacity is lower than this value. Take π=50; σ is a sufficiently small positive number. is the set of departure tasks belonging to parking lot r.

[0115] The present invention adopts an improved variable neighborhood search to solve the vehicle scheduling subproblem. In the first stage, in order to meet the charging needs of electric buses to the greatest extent, it is assumed that all charging piles have the ability to charge quickly, which means that under the premise of staggered charging, the number of charging piles required to provide services will be less than the number of buses; based on this assumption, the charging station location and capacity determination subproblem is transformed into a small-scale integer linear programming problem, which can be directly solved efficiently using the Gurobi optimizer.

[0116] See also Figure 7 In the second stage, a greedy scheduling construction method is used for the initial solution, and the steps include:

[0117] Task serialization: sort all train tasks and charging tasks based on start time;

[0118] Fleet size initialization: When the algorithm starts, the fleet size is initialized to zero, that is, the scheduling plan is built from a state with no vehicles;

[0119] Inserting a train chain: For each train task, the algorithm searches for the first insertable train chain and inserts the train task at the end of the train chain;

[0120] Check charging tasks: After the insertion is completed, the charging of the train chain is checked. If the charging requirements are met, a feasible charging task is inserted after the train chain;

[0121] Conflict handling: If the train task cannot find a train chain to be inserted, first consider whether the charging task can be deleted; traverse all train chains, find the train chain whose last task is the charging task, try to delete the charging task and insert the train task; if the train chain still cannot be found, add a new train chain, randomly select an initial depot, and insert the train task at the end of the newly added train chain;

[0122] Repeat the steps of inserting the train chain, checking the charging tasks, and handling conflicts until all train tasks have been executed; delete the redundant charging tasks at the end while ensuring that the power constraints are met; and all vehicles return to their initial parking lot.

[0123] The operators of the variable neighborhood search algorithm designed by the present invention include a train exchange operator A1, a charging task optimization operator A2, a parking lot adjustment operator A3, a charging time coordination operator A4, a solution space expansion operator A5, and a parking lot and vehicle transfer operator A6. Figure 8 As shown, Figure 8 This is the original train chain structure diagram for the second stage sub-problem.

[0124] See also Fig. 9 , Train exchange operator A1: select two vehicles at random and exchange their train tasks under the condition that the time and power constraints are met. Fig.10 ,Charging task optimization operator A2: Randomly select a vehicle, and adjust the charging task on the vehicle chain to a charging task with lower cost without changing its vehicle task allocation.

[0125] See also Fig.11 , Parking lot adjustment operator A3: Randomly select two vehicles, exchange their departure tasks and collection tasks, and adjust the parking lot to which the vehicles belong. Fig.12 ,Charging time coordination operator A4: randomly select a vehicle, delete the original charging task on the train chain, and choose to perform a feasible charging task between two trains with longer rest time to optimize the charging time.

[0126] Solution space expansion operator A5: randomly select N vehicles with the top 30% of the cost and N vehicles with the bottom 30% of the cost, delete these 2N vehicles, and regenerate several train chains in a similar way to generating the initial solution, so as to change the structure of the solution on a large scale to explore more possibilities and avoid falling into the local optimum.

[0127] See also Fig.13 , Depot and vehicle transfer operator A6: Calculate the difference between the fleet size and the depot capacity of each depot and sort them, select one depot from the first 30% of the depots and the last 30% of the depots, record them as r1 and r2, consider changing the departure and arrival tasks of several train chains belonging to depot r2 to r1, and adjust the fleet size of each depot to meet the capacity limit constraints of each depot.

[0128] In the variable neighborhood search algorithm, the adaptive selection operator refers to the dynamic adjustment strategy of the adaptive large neighborhood, and calculates the score of each operator by maintaining its performance during the iteration process, thereby changing the selection probability of each operator; since the number of operations between operators is different, in order to avoid falling into the local optimum too early, the unit operation improvement is defined as the average improvement, and this is used as the additional score of the operator; in order to ensure the stability of the algorithm, the score of each operator is updated only after the set number of iterations.

[0129] For the lower bound L, the bus is dispatched under the assumption that the bus power is always 100%, and the target value L is obtained. s ; In order to avoid falling into the local optimum too early, expand the search range, and ensure the quality of the solution, define the reduction coefficient ε, 0<ε<1, and let L=ε·L s ; When the second-stage problem is an integer program, a new integer optimal cut is defined for stochastic integer programming with binary first-stage decision variables as:

[0130]

[0131] Where s is the binary first-stage solution vector, Q(s) is the expected value of the second-stage subproblem, and the set is defined as L is a lower bound of Q(s); get the first-stage solution vector s and the second-stage operational expectation Q(s), the lower bound L, add the integer optimal cut, and then return to the first-stage solution until the termination condition is met and the iteration is terminated.

[0132] Temperature is one of the key environmental factors that affect the energy consumption of electric buses. Studies have shown that fluctuations in ambient temperature have a significant impact on the performance of electric bus power batteries. Under low temperature conditions, the rate of chemical reactions inside the battery slows down, resulting in a decrease in battery charging efficiency and discharge capacity, which in turn increases the energy consumption of electric buses. Conversely, under high temperature conditions, the air conditioning system of electric buses needs to consume more electricity to maintain a suitable temperature in the car, which also leads to an increase in energy consumption.

[0133] The average daily temperature in Guangzhou in one year is counted, and the corresponding electric bus battery consumption rate is calculated according to formula (73):

[0134] lnω=-8.091+0.553lnL+0.780lnm+0.353lnt+0.008|T-23.7| (60)

[0135] Among them, ω is energy consumption in kWh; L is the route length, m is the mass of the bus, t is the travel time, and T is the ambient temperature during the journey. Since the impact of fluctuations in bus route length, bus mass, and travel time on the energy consumption of electric buses is not involved, we can take (average length of all bus routes, see Table 4 for bus route data), m = 15600 kg (average vehicle weight), (Average travel time of all bus routes), by clustering the temperature of Guangzhou City in one year, we can get the temperature range of different categories, the average temperature of each temperature category, the probability of occurrence of each temperature category, and the average discharge rate of buses under each temperature category in Table 2:

[0136] Table 2 Uncertainty of energy consumption caused by temperature

[0137] Temperature range (℃) 0 to 10 10 to 20 20 to 30 Average temperature(℃) 8.4 16 23.8 Probability of occurrence of each temperature category (%) 7.7% 43.8% 48.5% Average discharge rate of buses under each temperature category (% / km) 0.605 0.569 0.536

[0138] The present invention divides passenger flow fluctuations into three categories: working days, rest days and holidays, in order to accurately capture the laws and patterns of passenger flow changes. Weekday passenger flow: Affected by study and work arrangements, it presents the characteristics of morning and evening peaks, which is consistent with the urban commuting pattern. The morning peak passenger flow is concentrated in transportation hubs, while the evening peak is affected by off-get off work commuting and leisure activities. Rest day passenger flow: Compared with working days, the passenger flow is lower and the distribution is stable. However, specific activities such as weekend markets and park activities can lead to local high passenger flow, and are also affected by cultural and sports activities. Holiday passenger flow: It has a special pattern, with a significant increase in passenger flow at tourist attractions and shopping centers, while the adjustment or suspension of transportation vehicles affects the flow pattern. Festival customs and tourism booms further affect passenger flow, such as changes in travel during the Spring Festival and National Day.

[0139] Based on the classification of passenger demand uncertainty, a statistical analysis was conducted on the distribution of working days, rest days and holidays in China in 2023. The specific holiday arrangements are as follows: 3 days for New Year's Day, 7 days for Spring Festival, 1 day for Qingming Festival, 5 days for Labor Day, 3 days for Dragon Boat Festival, and 8 days for Mid-Autumn Festival and National Day. In addition, the adjustment arrangement resulted in 7 working days being reclassified as rest days. Based on this, the proportion distribution of various days in China in 2023 is obtained: working days account for 66% of the total number of days, rest days account for 27%, and holidays account for 7%.

[0140] Comprehensively considering the impact of temperature on the battery energy consumption of electric buses and the impact on vehicle scheduling under different operating requirements, and assuming that the two are independent of each other, we can obtain: 3 temperature scenarios × 3 demand scenarios = 9 random scenarios, and the probability of each random scenario is obtained by multiplying their independent probability distributions. The operating parameter settings are shown in Table 3 below.

[0141] Table 3 Operation parameters

[0142]

[0143] Table 4 Bus route data

[0144]

[0145] In addition, as a special user group of the power system, the charging behavior of electric buses has a significant impact on the grid load. The time-of-use electricity price mechanism allows electric buses to charge during periods with lower electricity prices, effectively reducing charging costs and improving operating economy. The following table shows the fluctuation of electricity prices over time.

[0146] Table 5 Example parameter settings

[0147] Calculation example line Parking lot number and maximum capacity Optional charging station number and capacity 1-1-1-59 61 0:20 0:2-3 2-2-2-204 61,233 0:30;1:15 0:2-3 1:0-1 2-2-3-348 34,61,233 0:40;1:20 0:2-5 1:0-3 2-3-4-489 34,57,61,233 0:50;1:25 0:3-6 1:0-2 2:0-2 2-3-5-647 34,57,61,124,233 0:60;1:30 0:3-6 1:0-6 2:0-2

[0148] In Table 5, the example represents the number of parking lots - the number of optional charging stations - the number of lines - the average number of vehicle missions for each operating requirement. The minimum capacity of a charging station is 0, which means that the charging station has not yet been built. If the charging station is to be used, an additional charging station must pay the construction cost. The present invention selects examples of different scales according to the number of lines in the area. Table 6 shows the comparison of optimization results of different algorithms under different scale lines.

[0149] First, for the Gurobi and IL-Gurobi (Gurobi exact search using problem decomposition strategy) algorithms, they did not find the optimal solution in all cases, and the solution time was significantly longer than other algorithms. This may be due to the complexity of the problem and the fact that the solution space is too large and the feasible solutions are too sparse, which will cause Gurobi to take too long to find a solution within a reasonable time.

[0150] On the other hand, it is noted that the genetic algorithm (GA) fails to find a feasible solution within the specified time limit when faced with larger-scale examples. This may be due to the inherent high randomness of GA when dealing with such problems, and when the problem is extremely complex, the iterative calculation of the population will also consume a lot of time. This time consumption may cause the algorithm to fail to even complete a full round of offspring reproduction, thereby failing to explore a feasible solution space. In addition, the average solution cost obtained by the GA algorithm is significantly higher than the optimal solution cost obtained by the VNS (Variable Neighborhood Search) algorithm and IL-VNS, which further reveals the possible instability of GA when solving these specific problems.

[0151] For both VNS and IL-VNS algorithms, they can find approximate optimal solutions in all examples. In particular, in small-scale problems, the performance of the VNS algorithm is even better than that of the IL-VNS algorithm. This phenomenon may be attributed to the relatively small search space of small-scale examples. The VNS algorithm adopts a random perturbation strategy with memory at this stage. It does not need to rely on Gurobi to solve the optimal solution of the decomposed subproblems through mixed integer linear programming like the IL-VNS algorithm, thus saving computing resources. However, as the scale of the example increases, the random perturbation strategy of the VNS algorithm begins to show its randomness and instability. In contrast, the IL-VNS algorithm cuts the feasible search domain through integer optimal cuts, which is equivalent to providing the algorithm with an increasingly clear search direction. Therefore, when dealing with large-scale examples, the IL-VNS algorithm performs better than the VNS algorithm. This improved strategy enables the IL-VNS algorithm to more effectively narrow the search range in large-scale problems and gradually approach the optimal solution, thereby showing superior performance in large-scale examples.

[0152] Table 6 Performance comparison of different algorithms under different scale networks

[0153]

[0154]

[0155] Single-line dispatching is based on fixed routes and dispatches electric vehicles on a single route or path. It is easy to manage, but has poor flexibility and limited service range. Regional dispatching involves a wider geographical range, which may include the coordination of multiple routes and multiple vehicles, providing higher flexibility and service range, and can dynamically adjust resource allocation according to demand. The present invention compares the various indicators of the IL-VNS algorithm running the example "2-3-5-647" in the single-line dispatching mode and the regional dispatching mode, and uses this to evaluate the impact of single-line dispatching and regional dispatching on the dispatch of electric buses.

[0156] Table 7 Impact of single-line scheduling and regional scheduling

[0157]

[0158] The data in Table 7 show that the single-line dispatch not only has a slightly larger fleet size (81 vehicles), but its operating cost (US$10,469.80) and total cost (US$10,540.60) are higher than the operating cost (US$10,306.73) and total cost (US$10,377.53) of the regional dispatch fleet size of 77 vehicles. Regional dispatch is higher than single-line dispatch in terms of average vehicle mission and average charging mission, and the average mileage of regional dispatch is also longer, which means that the vehicle utilization efficiency of regional dispatch is significantly improved compared with single-line dispatch. In addition, the cost of charging stations / piles is almost the same, indicating that the cost difference is not caused by charging infrastructure. The lower operating cost of the regional dispatch model is entirely due to its more efficient resource allocation and task scheduling.

[0159] In the electric vehicle dispatch problem, different charging station distributions directly affect the generation of the train chain. The simulation compares the operation data of centralized charging stations (i.e., there is only one charging station, and the charging pile capacity is expanded on its basis, the case number is 2-1-5-647) and decentralized charging stations (i.e., there are multiple charging stations, and the charging pile capacity can not only be expanded on the basis of the original charging station, but also new charging stations can be built, the case number is 2-3-5-647) as shown in Table 8, and the impact of different charging station layouts on the dispatch of electric buses is evaluated.

[0160] Table 8 Impact of Charging Station Layout

[0161]

[0162] In terms of the construction and operation costs of charging stations, centralized charging stations stand out with their significant cost-effectiveness. This advantage comes from the fact that centralized charging stations can use existing facilities to moderately expand the capacity of charging piles, avoiding the high investment required to build new charging facilities and install charging piles in multiple locations. However, decentralized charging stations provide more convenient charging services for electric vehicles by deploying charging facilities at key locations, reducing the idle driving and waiting time caused by looking for charging stations, and improving energy efficiency. In addition, decentralized charging stations are more flexible and can better adapt to diverse operational needs. The conclusions drawn from the above simulations show that decentralized charging stations are a better choice in large-scale regional scheduling scenarios due to their flexibility and convenience.

[0163] In the electric vehicle dispatching problem, the depot is the starting and ending point of each bus's daily trip. At the same time, each bus must depart from a depot and eventually return to the depot. The setting of a single depot (there is only one depot in the entire area, the example code is: 1-3-5-647) and multiple depots (there are two depots in the entire area, the example code is: 2-3-5-647) will also have a significant impact on the generation of the train chain, as shown in Table 9.

[0164] Table 9 Impact of parking lot settings

[0165]

[0166] It can be found that the single-vehicle operation mode requires a larger vehicle demand and needs to maintain a larger fleet size. This mode lacks flexibility and is difficult to adjust according to the real-time needs of each line, resulting in an increase in empty mileage. Specifically, the total mileage of the single-vehicle park (80veh*145.49km / veh=11639.2km) is 54.55 kilometers more than the multi-vehicle park (77veh*150.45km / veh=11584.65km). In addition, the total cost of the single-vehicle park is 2% higher than that of the multi-vehicle park.

[0167] Therefore, the multi-park multi-charging station model has shown excellent performance in reducing idle mileage and optimizing cost control through reasonable charging station layout and efficient vehicle scheduling strategy. This model not only maximizes operational efficiency, but also achieves a higher degree of completion in minimizing costs, becoming the best practice in the joint scheduling optimization problem of regional bus lines.

[0168] The above description is a detailed description of the preferred feasible embodiments of the present invention, but the embodiments are not intended to limit the scope of the patent application of the present invention. All equivalent changes or modified changes completed under the technical spirit disclosed by the present invention should fall within the patent scope covered by the present invention.

Claims

1. A bus charging facility layout optimization method considering operating power consumption fluctuations, characterized in that: The following steps are involved: S1. Establish a mathematical model for the layout of electric bus charging facilities and fleet size, and establish a multi-depot-based electric bus vehicle dispatch and charging dispatch time expansion network; S2. Set the node set and arc set of the time-extended network, set the arc cost, set the charging plan and the mutually exclusive charging plan, define the remaining power percentage of the electric bus, and set the charging penalty sub-model; S3. Aiming at the uncertainty of ambient temperature and passenger flow, a scenario generation model for electric bus dispatch and charging dispatch based on data drive is established; S4. Establish a two-stage stochastic coupling optimization model for the coordinated operation and scheduling of electric bus fast charging facility layout and fleet size based on multiple scenarios; S5. Design an algorithm based on problem decomposition and adaptive operator selection variable neighborhood search to solve the two-stage random coupling optimization model and obtain a multi-decision collaborative electric bus dispatch optimization solution under uncertain energy consumption.

2. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 1 is characterized in that: A mathematical model of the layout of electric bus charging facilities and fleet size is established, specifically: Where M is the set of existing charging stations; is the set of candidate points for new charging stations; m is a 0-1 decision variable for the location of charging stations; α1 is the fixed construction cost per unit time for each fast charging station; α2 is the fixed cost per unit time for each fast charging pile; α3 is the fixed cost per unit time for each electric bus; c m The number of fast charging piles installed at new candidate sites for fast charging stations or the number of charging piles expanded at existing fast charging stations; The minimum number of charging posts that can be installed in a fast charging station; The maximum number of charging posts that can be installed in a fast charging station; R is the set of all parking lots; f r is the fleet size of parking lot r; μ r is the parking lot capacity of parking lot r; The first phase of decision-making includes two aspects: first, the deployment of fast charging facilities, expanding the capacity of existing fast charging stations, selecting new fast charging station locations from the candidate point set, and determining the capacity of newly built candidate points; second, the size decision of the electric bus fleet in multiple parking lots, that is, determining the size of the electric bus fleet in each parking lot; Formula (1) gives the objective function of the first-stage mathematical model, which includes the cost of charging station site selection, charging pile capacity determination and fleet size decision-making. The fixed construction cost of all new charging stations is expressed as ∑ m∈M α1z m ; Formula (2) limits the number of fast charging piles that can be installed in a charging station. For existing charging stations, c m The total number of charging piles after the expansion. If the number of charging piles is the original number, then the expansion quantity of charging station m is For new candidate sites for fast charging stations, since there are no charging piles originally, At this time, the fixed capacity of charging station m is In terms of fleet size decision, formula (3) shows that the number of electric buses equipped in each parking lot cannot exceed the parking lot capacity, so the purchase cost is expressed as α3∑ r∈R f r The cost of charging piles generated by the expansion of existing charging stations and the fixed capacity of new charging stations is expressed as Establish a time expansion network for electric bus vehicle dispatching and charging dispatching based on multiple depots, specifically: Since each electric bus has its own parking lot, and each parking lot has N operational tasks (k) There are different scheduling methods for each depot. Analyzing only a single depot cannot show the relationship between each specific electric bus and its depot. Therefore, based on the deployment of fast charging facilities and fleet size decisions, a multi-depot electric bus scheduling time expansion network H is established under scenario k. (k) = {N (k) ,A (k) ,R}, each parking lot corresponds to a layer of time extension network.

3. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 2 is characterized in that: Set the node set and arc set of the time extension network, and set the arc cost, specifically: Extending the network G in time (k) = {N (k) ,A (k) ,R}, task N (k) Including departure task O (k) 、Train Mission I (k) 、Charging plan H (k) and car collection task D (k) ; The arcs of the time expansion network connect two consecutive operation tasks, and all arcs constitute the arc set A (k) ; Combine arc set A (k) , define the set of decision variables And divide it into 5 subsets, namely the departure arc set Collection of car arcs Train mission connection arc set Charging Arc Collection And the charging arc collection The departure arc connects the departure task and the train task, the arrival arc connects the train task and the arrival task, the train task connection arc connects two different train tasks, the charging arc connects the train task and the charging plan, and the charging completion arc connects the charging plan and the train task; Each operation behavior of the electric bus on the arc (i, j) will bring costs Based on the 5 subsets of arc set A, it is stipulated that It includes the trip execution cost, the electric bus charging cost and the electric bus idle running cost; the trip execution cost is the electric bus execution trip task i∈I (k) The time cost is the charging cost when the electric bus executes the charging plan i∈H, and the idle cost is the additional cost caused by the electric bus driving without carrying passengers between operation tasks i, j; the arc cost can be obtained With the scenario Total operating cost of all parking lots under The calculation formula is In the formula, is the cost of arc (i, j) under scenario k; v is the speed of the electric bus; η2 is the idle driving cost per unit mileage; is the idle time of arc (i, j) under scenario k; η1 is the unit mileage driving cost; t i For task i∈N (k) Execution time; For charging plan j∈H (k) The unit time charging pile occupation cost during the duration; α5 is the unit percentage charging cost of the electric bus; ε max is the maximum state of charge of the electric bus battery; is the electric bus in task i∈O under scenario k (k) ∪I (k) ∪H (k) ∪D (k) The remaining power percentage after completion; (k) is the percentage of power consumption per unit mileage under scenario k; is the sum of all electric bus arc costs under scenario k; Connect 0-1 decision variables to the arcs in the time extension network. If, in scenario k, the electric bus at depot r∈R performs task j after completing task i, then Otherwise 0.

4. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 3 is characterized in that: Set charging plans and mutually exclusive charging plans, specifically: The charging activity of the electric bus at the charging pile of the fast charging station within the time period is defined as the charging plan, which is part of the operation task; in terms of time characteristics, the charging plan i∈H (k) With start time and end time The charging interval indicates the set charging time of the charging plan, and the length of the charging interval can be adjusted manually; In terms of spatial characteristics, the charging plan i∈H (k) Corresponding to the charging station number ξ i The number of the charging station i , and during the duration of the charging plan, the charging pile λ i The remaining charging plans cannot be occupied by this electric bus or other electric buses in any way; will not be able to (k) Charging plan for simultaneous use by one or more electric buses Mutually Exclusive Charging Schedule Set And expressed as In the formula, is a set of mutually exclusive charging plans for i; H (k) is the set of charging plans under scenario k; is the starting time of charging plan i; is the starting time of charging plan j; is the end time of charging plan i; After adding the decision of charging scheduling planning for electric buses, it is necessary to ensure that the operation task i,j∈N (k) The correctness of the time logic between In the formula, is a positive number; τ is the mandatory rest interval; In the regional dispatch mode, if the end station of task i is different from the starting station of task j, the electric bus will face the problem of empty driving between i and j. After the mandatory rest interval τ, there must be enough time margin between tasks i and j to be executed consecutively, otherwise there will be no connecting arc between the two nodes; Formula (7) represents the time margin relationship applicable to the departure arc and the return arc. At this time, there is only idle time between tasks i and j, but no mandatory rest interval. Formula (8) represents the time margin relationship applicable to the train connection arc, the charging arc and the charging completion arc. At this time, there is not only idle time but also mandatory rest interval between tasks i and j.

5. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 4 is characterized in that: Define the remaining power percentage of the electric bus and set the charging penalty sub-model, specifically: The decision of charging scheduling planning for electric buses depends on the current remaining power of the electric bus. For the scenario Under this condition, the electric bus is in task j∈N (k) The remaining power percentage at the moment of completion; assuming that arc (i, j) exists, that is, Then the remaining power percentage of node j is It is expressed by the formula If arc (i, j) belongs to the closing arc or charging arc Then there is This is because if the task j just performed by the vehicle belongs to the charging plan or the vehicle collection task, the electric bus will be replenished at the charging station or the parking lot, so the remaining power percentage of node j should be the maximum value ε max ; If arc (i,j) belongs to the departure arc Train connection arc or charging completion arc The remaining power percentage of the electric bus at node j at this time The remaining power percentage of the previous node i Idle power consumption between nodes i and j The percentage of power consumption generated by executing node j ω (k) vt j Jointly decide; Since electric buses have limited battery capacity, the remaining power percentage of node i It is impossible to be greater than the maximum state of charge ε of the electric bus mdx , this constraint is expressed by the formula In actual operation, electric buses need to retain a certain amount of power at each mission node so that they can smoothly drive to the charging station empty after completing the trip. The formula is expressed as In the formula, I (k) is the set of train tasks under scenario k; ε min Minimum state of charge of electric bus batteries; After completing the trip i∈I (k) After that, when the electric bus arrives at the charging station empty, if it cannot execute the established charging plan h∈H (k) , but need to wait and execute the next feasible charging plan j∈H (k) When the electric bus is waiting for this period of time φ ij Charging penalty costs will be incurred; if the time when the electric bus arrives at the charging station empty is less than or equal to the start time of the established charging plan h and the charging plan h is in an idle state, that is, Empty driving time If the electric bus does not miss the charging plan h, the electric bus can directly occupy the charging plan h without incurring charging penalty costs; if the electric bus arrives at the charging station empty, the charging plan h that could have been executed immediately after the previous trip has already started, regardless of whether it is occupied by a vehicle, that is, Both indicate that h has lost its timeliness, and the electric bus needs to continue waiting until the next feasible charging plan that is not mutually exclusive with h Generated, thus incurring charging penalty costs; Charging penalty time The calculation formula is: In the formula, is the charging penalty time of arc (i, j) under scenario k, expressed as the interval between the end time of trip i and the start time of feasible charging plan j minus the idle time part of; is the set of mutually exclusive charging plans of charging plan h under scenario k; In the scenario The total charging penalty cost of electric buses in all depots is expressed as The calculation formula is In the formula, is the sum of the charging penalty costs of all vehicles under scenario k; α4 is the unit time operating benefit loss of each charging penalty.

6. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 5 is characterized in that: In view of the uncertainty of ambient temperature and operating passenger flow, a scenario generation model for electric bus dispatch and charging dispatch based on data-driven is established, specifically: A data-driven multi-scenario generation method is used to hedge the impact of temperature and travel demand uncertainty fluctuations: after inputting the temperature data, the battery discharge rate of the electric bus corresponding to each temperature value is calculated first, and then the K-means clustering method is used to analyze the correlation between the discharge rates, divide the corresponding temperature values ​​into m categories, and obtain the average temperature of each category; the operating status of the fleet is specified, including weekdays, rest days and holidays, and after inputting the task data under different operating status, the final scenario set K is generated by pairing the temperature category with the operating status; the temperature value of each specific scenario k∈K corresponds to a temperature category, which has an average temperature The corresponding unit mileage discharge percentage ω at this average temperature (k) , make decisions for each temperature scenario, and finally obtain the expected decision plan under all representative scenarios.

7. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 6 is characterized in that: A two-stage stochastic coupling optimization model for the coordinated operation and scheduling of electric bus fast charging facilities layout and fleet size based on multiple scenarios is established, specifically: The layout of fast charging facilities and the decision on the size of the fleet will affect the arrangement and scheduling cost of the vehicle dispatch planning or charging dispatch planning of electric buses; the charging dispatch decision of electric buses in a given time expansion network is subject to the layout of fast charging facilities; at the same time, the allocation of operating tasks in the time expansion network is also limited by the number of electric buses that can be called in all parking lots; these two constraints will be fed back to the next long-term plan in the form of cost. Therefore, the phenomenon of mutual restraint and mutual influence between decisions is called coupling, and the formula is In the formula, ξ j is the number of the charging station to which charging plan j belongs; Indicates whether the charging plan j belongs to an existing or newly built charging station ξ j 0-1 decision variables; Formula (14) shows the spatial coupling relationship between the deployment plan of fast charging facilities and the charging scheduling plan of electric buses, that is, whether the electric bus can successfully execute the charging plan j depends on whether the fast charging station can be indexed in task j. Then the electric bus can choose whether to implement charging plan j. like Then the electric bus cannot implement charging plan j, that is Formula (15) gives the scenario The maximum number of electric buses that can be called from all the depots is calculated. If there are still operational tasks that have not been executed after all the electric buses have been called, it means that the decision on the fleet size is wrong and there is no feasible solution for multi-depot electric bus scheduling. A two-stage stochastic coupling optimization model for the coordinated operation and dispatch of electric bus fast charging facilities layout and fleet size based on multiple scenarios is established as follows: Where Q(z,c,f,ω,x) is the objective function of the second-stage optimization model; is the expected value of the optimal solution of the second stage under all scenarios.

8. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 2 is characterized in that: An algorithm based on problem decomposition and adaptive operator selection variable neighborhood search is designed to solve the two-stage random coupling optimization model, specifically: The two-stage stochastic coupling optimization model is decomposed into the sub-problem of charging station location and capacity determination and the sub-problem of vehicle scheduling. The solution of the sub-problem of charging station location and capacity determination will be used as the input of the sub-problem of vehicle scheduling. The objective value and estimated lower bound of the sub-problem of vehicle scheduling will provide the optimal cut for the sub-problem of charging station location and capacity determination to reduce its solution domain. The two sub-problems will be solved under a set of overall algorithm frameworks and global optimization will be achieved in the iterative process. The subproblem of charging station location and capacity selection aims to determine the location of new charging stations and the number of new charging piles at each charging station. It includes two decision variables, namely z m and c m , z m is a 0-1 variable, c m Integer variable; define 0-1 auxiliary variables Indicates the setting of the charging pile ∈ at the charging station m. If the charging pile ∈ is set, If yes, it is 1, otherwise it is 0; In order to ensure that each c m The value of only corresponds to one set Vector, add constraints Make the vector always be a non-increasing or decreasing sequence; After determining the location of each charging station and the number of charging piles, the vehicle scheduling sub-problem will uniformly schedule buses on all routes in the entire area under different scenarios. Since the decision variables in the first stage have been determined as fixed values, the problem solutions of each scenario in the second stage do not affect each other, that is, decoupling is completed. Therefore, the vehicle scheduling problem in each scenario can be solved separately, and then the target values ​​of the vehicle scheduling problem in each scenario are weighted summed. The expected value obtained can be used as the target value of the vehicle scheduling sub-problem. An improved variable neighborhood search is adopted to solve the vehicle scheduling subproblem. The adaptive selection operator is used to calculate the score of each operator by maintaining its performance during the iteration process, thereby changing the selection probability of each operator. Since the number of operations between operators is different, in order to avoid falling into the local optimum too early, the unit operation improvement is defined as the average improvement, and this is used as the additional score of the operator. In order to ensure the stability of the algorithm, the score of each operator is updated only after a set number of iterations.

9. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 8 is characterized in that: In the second stage, a greedy scheduling construction method is used for the initial solution, and the steps include: Task serialization: sort all train tasks and charging tasks based on start time; Fleet size initialization: When the algorithm starts, the fleet size is initialized to zero, that is, the scheduling plan is built from a state with no vehicles; Inserting a train chain: For each train task, the algorithm searches for the first insertable train chain and inserts the train task at the end of the train chain; Check charging tasks: After the insertion is completed, the charging of the train chain is checked. If the charging requirements are met, a feasible charging task is inserted after the train chain; Conflict handling: If the train task cannot find a train chain to be inserted, first consider whether the charging task can be deleted; traverse all train chains, find the train chain whose last task is the charging task, try to delete the charging task and insert the train task; if the train chain still cannot be found, add a new train chain, randomly select an initial depot, and insert the train task at the end of the newly added train chain; Repeat the steps of inserting the train chain, checking the charging tasks, and handling conflicts until all train tasks have been executed; delete the redundant charging tasks at the end while ensuring that the power constraints are met; and all vehicles return to their initial parking lot.

10. The bus charging facility layout optimization method considering the fluctuation of running power consumption according to claim 8 is characterized in that: The operators of the designed variable neighborhood search algorithm include: Train exchange operator A1: randomly select two vehicles and exchange their train tasks while satisfying the time and power constraints; Charging task optimization operator A2: randomly selects a vehicle and adjusts the charging task on the vehicle chain to a charging task with lower cost without changing its vehicle task allocation. Parking lot adjustment operator A3: randomly select two vehicles, exchange their departure tasks and collection tasks respectively, and adjust the parking lot to which the vehicles belong; Charging time coordination operator A4: randomly selects a vehicle, deletes the original charging task on the train chain, and chooses to perform a feasible charging task between two trains with longer rest time to optimize the charging time; Solution space expansion operator A5: randomly select N vehicles with the top 30% of the cost and N vehicles with the bottom 30% of the cost, delete these 2N vehicles, and regenerate several train chains in a similar way to the initial solution, so as to change the structure of the solution on a large scale to explore more possibilities and avoid falling into the local optimum. Depot and vehicle transfer operator A6: Calculate the difference between the fleet size and the depot capacity of each depot and sort them. Select one depot from the first 30% of the depots and the last 30% of the depots, record them as r1 and r2, change the departure and arrival tasks of several train chains belonging to depot r2 to the depot r1, and adjust the fleet size of each depot to meet the capacity limit constraints of each depot.

Citation Information

Cited By

  • Method and device for optimizing layout of battery swap station of pure electric automatic driving taxi

    CN119692530A

  • Multi-robot task allocation method based on multi-dimensional variable neighborhood search algorithm

    CN119886732A