A method and system for controlling electric vehicle fleet considering vehicle-road network interaction characteristics

Through the Markov decision process model and the reinforcement learning A2C algorithm of the graph neural network, the spatiotemporal characteristics and traffic network complexity of the multi-dimensional decision-making problem of the shared electric vehicle fleet are solved, and efficient electric vehicle fleet control is achieved, improving operating efficiency and reducing operating costs.

CN118521118BActive Publication Date: 2024-09-13NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410943116.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-13
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing technologies cannot effectively solve the spatio-temporal dynamic characteristics of multi-dimensional decision-making problems such as order taking, charging, and balanced dispatching of large-scale shared electric vehicle fleets, as well as their close coupling with complex transportation networks, making it difficult to achieve efficient real-time optimization solutions.

Method used

Using the Markov decision process model combined with the reinforcement learning A2C algorithm of the graph neural network, an electric vehicle fleet control decision-making model is constructed through road topology information, vehicle status information and environmental status information to carry out order matching, rebalancing scheduling and charging decisions to maximize Fleet earnings, optimizing neural network parameters to achieve a stable strategy.

Benefits of technology

It achieves efficient online solution to large-scale shared electric vehicle fleet control problems, improves fleet operation efficiency and total revenue, and reduces operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118521118B
    Figure CN118521118B
Patent Text Reader

Abstract

The present invention relates to the technical field of electric vehicle fleet dispatching, and in particular to an electric vehicle fleet control method and system taking into account the vehicle-road network interaction characteristics; the method of the present invention comprises taking road network topology information, vehicle state information and environment state information as state variables, constructing an electric vehicle aggregation control process as a Markov decision process model, constructing an electric vehicle fleet control decision model by using a reinforcement learning A2C algorithm integrating a graph neural network, training the electric vehicle fleet control decision model by using a state-action-reward data set, performing gradient descent and updating on neural network parameters of the electric vehicle fleet control decision model with maximizing fleet revenue as the optimization direction, obtaining a trained electric vehicle fleet control decision model, and using the trained electric vehicle fleet control decision model to control the electric vehicle fleet; the present invention improves the operation efficiency and total revenue of the fleet and reduces the fleet operation cost.
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 vehicle fleet dispatching, and in particular to an electric vehicle fleet control method and system taking into account vehicle-road network interaction characteristics. Background Art

[0002] With the development of the sharing economy, shared transportation has gradually become the mainstream choice for urban residents to travel. Among them, the shared electric vehicle fleet system has attracted widespread attention as an efficient and environmentally friendly travel mode. It is composed of homogeneous self-driving vehicles. The fleet operator receives passenger orders uniformly, and then distributes orders according to vehicle status, road conditions, and electricity price information to achieve effective management and optimized scheduling of vehicles. In comparison, the shared transportation system composed of private electric vehicles has a strong subjectivity. Drivers can choose the order mode and travel route independently, which makes it difficult to achieve resource sharing and systematic scheduling. It can only be guided by price signals. The shared electric vehicle fleet system is centrally controlled and dispatched by the fleet operator. It has high dispatchability and can tailor travel plans for vehicles based on known global information. The overall operation efficiency of the fleet is higher, which can not only meet the travel needs of residents faster and better, but also respond to the frequency modulation and peak regulation of the power grid in a timely manner. In the highly intelligent life mode in the future, the shared electric vehicle fleet will become a very important mode of travel. Therefore, studying how to more efficiently dispatch and manage large-scale shared electric vehicle fleets is particularly important for improving the operating efficiency of urban transportation systems and the stability of power grid operations.

[0003] CN117649082A proposes an electric vehicle optimization scheduling method that takes into account the traffic-power coupling network, and generates an optimal scheduling plan based on the traffic network reliability index and power network reliability index of each node, but this modeling method cannot meet the large-scale and real-time requirements of the multi-dimensional decision-making problem of shared electric vehicle fleets; CN114971251A proposes a shared electric vehicle scheduling method based on deep reinforcement learning, but it is more inclined to path planning for vehicle order acceptance and charging actions, and the neural network used cannot efficiently extract the node features and dependencies of the established graph model.

[0004] For the complex problems faced by large-scale shared electric vehicle fleets in actual operation, attention must be paid to the spatiotemporal dynamic characteristics of the three core decision-making actions of shared electric vehicles, namely order matching, rebalancing scheduling, and charging decision-making, and their close coupling relationship with complex transportation networks. However, the research methods currently used have not yet fully met the requirements for efficient solutions to such large-scale, real-time, multi-dimensional coupled decision-making problems. In short, seeking a comprehensive solution that can take into account the spatiotemporal characteristics of multi-dimensional decisions, the complexity of the transportation network structure, and achieve large-scale, real-time optimization solutions is still a research focus that needs to be broken through. Summary of the invention

[0005] In view of the above-mentioned deficiencies of the prior art, the present invention aims to provide an electric vehicle fleet control method and system taking into account the vehicle-road network interaction characteristics, so as to solve the problem of multi-dimensional decision-making of shared electric vehicle fleets regarding order acceptance, charging, and balanced scheduling.

[0006] In order to solve the above problems, the present invention adopts the following technical solutions:

[0007] The present invention uses road topology information, vehicle status information and environmental status information as state variables. The fleet operator controls the vehicle to perform order matching, rebalancing scheduling and charging decisions based on the observed status. After the action is completed, the immediate reward and the environmental state of the next time step are obtained based on the feedback from the environment. Then, the neural network is trained using a series of data obtained by the interaction between the intelligent agent and the environment. The neural network parameters are gradient descended and updated with the maximization of the fleet's profit as the optimization direction, and finally an optimization strategy with a stable profit is obtained.

[0008] A method for controlling an electric vehicle fleet taking into account the vehicle-road network interaction characteristics, comprising:

[0009] Taking road network topology information, vehicle status information and environmental status information as state variables, the electric vehicle aggregation control process is constructed as a Markov decision process model.

[0010] Based on the Markov decision process model, an electric vehicle fleet control decision model is constructed by integrating the reinforcement learning A2C algorithm with graph neural network.

[0011] The electric vehicle fleet control decision model is used to perform order matching actions, rebalancing scheduling actions and charging decision actions, and obtain rewards and next state information after completing the actions. The process is repeated to obtain a state-action-reward data set. The electric vehicle fleet control decision model is trained using the state-action-reward data set. The neural network parameters of the electric vehicle fleet control decision model are gradient descended and updated with the maximization of fleet revenue as the optimization direction, and the trained electric vehicle fleet control decision model is obtained.

[0012] The trained electric vehicle fleet control decision model is used to control the electric vehicle fleet.

[0013] As an implementable embodiment, the Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information.

[0014] The status information for:

[0015]

[0016] Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level.

[0017] As an implementable embodiment, the Markov decision process model includes action information; the action information is:

[0018]

[0019] in, is the probability that a vehicle located at location i at time t and with a battery level of v chooses to accept an order or charge, is the percentage of the expected number of dispatchable vehicles at time t to the current number of empty vehicles.

[0020] The objective function of the rebalancing scheduling action is:

[0021]

[0022]

[0023] in, , is the expected number of empty cars at location i at time t; is the number of empty vehicles with a charge level of v at time t going from i to j; is the number of empty vehicles with a charge level of v at time t going from location j to location i; is the rebalancing cost from location i to location j; is the actual number of empty vehicles at the time t where the power level is v; and is the slack variable.

[0024] As an implementable method, the actions in the action information are shielded from invalid actions based on the following situations:

[0025] A fully charged vehicle does not need to be charged.

[0026] The dispatch instruction can only be issued to a vehicle that meets the power requirements of the current trip and has enough remaining power to support it to reach the nearest charging station.

[0027] When there is no charging station at the vehicle's current location, no charging command will be issued to the vehicle.

[0028] As an implementable embodiment, the Markov decision process model includes a reward function; the reward function includes order acceptance income, queuing penalty, charging cost and rebalancing scheduling cost.

[0029] Among them, the order-taking income is the income generated by this order after the platform receives a request from the passenger.

[0030] Queuing penalties include penalties for passenger queues and charging station queues.

[0031] A charging queue is established through charging actions, and the information of vehicles queuing at the charging station is recorded. The charging load at each time step during vehicle charging is calculated based on the idle status of the charging piles to obtain the charging cost.

[0032] A rebalancing scheduling cost is determined based on the rebalancing scheduling action.

[0033] As an implementable embodiment, the reinforcement learning A2C algorithm integrating graph neural network includes a policy network and a value network, and includes node-level information embedding and global information embedding processes.

[0034] The node-level information embedding process is to aggregate the features of each node with the features of adjacent nodes to obtain node features that include dependencies between nodes.

[0035] The global information embedding process is to aggregate all obtained node features containing dependencies between nodes to obtain node features containing global graph information.

[0036] The node features containing the dependencies between nodes and the node features containing the global graph information are concatenated to obtain a final feature matrix, which is used as the input of the policy network and the value network.

[0037] The output of the policy network is state-action information, and the output of the value network is state-action-value information.

[0038] As an implementable method, the policy gradient updated by the reinforcement learning A2C algorithm of the fused graph neural network is:

[0039]

[0040] in, are policy network parameters, is the strategy objective function; is the policy gradient; is the strategy function; is the advantage function, which indicates the value of taking action a in state s over staying in state s; is the score function.

[0041] As an implementable method, the trained electric vehicle fleet control decision model includes:

[0042] S301, select action .

[0043] S302: Shield the selected action from invalid actions.

[0044] S303, execution action , update the status related to order acceptance and charging, and get rewards.

[0045] S304, according to the action And the objective function of the rebalancing scheduling action is used to obtain the rebalancing flow.

[0046] S305: Update state variables related to the rebalancing scheduling action according to the rebalancing flow to obtain a rebalancing scheduling cost.

[0047] S306: Save the data for executing the action. and rewards.

[0048] S307. Repeat S301-S306 to obtain a state-action-reward data set.

[0049] S308: Based on the data in the state-action-reward set, the electric vehicle fleet control decision model is trained to update the strategy network parameters and the value network parameters, namely:

[0050]

[0051] Among them, α is the learning rate; ω is the value network parameter; G t is the reward function; V ω (s) is the output of the value network; is the gradient of the value network parameters; For the current strategy π θ The log value of the probability of selecting action a in state s.

[0052] An electric vehicle fleet control system taking into account the vehicle-road network interaction characteristics comprises: a Markov decision process model building module, an electric vehicle fleet control decision model building module, a training module and a control module.

[0053] The Markov decision process model building module is used to build the electric vehicle aggregation control process into a Markov decision process model using road network topology information, vehicle state information and environmental state information as state variables.

[0054] The electric vehicle fleet control decision model construction module is used to construct an electric vehicle fleet control decision model based on the Markov decision process model by integrating the reinforcement learning A2C algorithm of the graph neural network.

[0055] The training module is used to perform order matching actions, rebalancing scheduling actions and charging decision actions through the electric vehicle fleet control decision model, obtain rewards and next state information after completing the actions, repeat the process, obtain a state-action-reward data set, train the electric vehicle fleet control decision model through the state-action-reward data set, take maximizing fleet revenue as the optimization direction, perform gradient descent and update on the neural network parameters of the electric vehicle fleet control decision model, and obtain a trained electric vehicle fleet control decision model.

[0056] The control module is used to control the electric vehicle fleet using the trained electric vehicle fleet control decision model.

[0057] As an implementable embodiment, the Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information.

[0058] The status information for:

[0059]

[0060] Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level.

[0061] The beneficial effects of the present invention are as follows: the control method and system of the present invention can capture the complex spatial relationships and nonlinear dependencies in the fleet scheduling problem through the graph neural network, and can efficiently solve the large-scale shared electric vehicle fleet control problem online; improve the fleet's operating efficiency and total revenue, and reduce the fleet's operating costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 Schematic diagram of a method for controlling an electric vehicle fleet taking into account the vehicle-road network interaction characteristics in Example 1 of the present invention.

[0063] Figure 2 This is a framework diagram of the reinforcement learning A2C algorithm that integrates the graph neural network in Example 1 of the present invention.

[0064] Figure 3 Schematic diagram of an electric vehicle fleet control system taking into account the vehicle-road network interaction characteristics in Example 1 of the present invention.

[0065] Figure 4 This is a relationship diagram between the number of training times of the electric vehicle fleet control decision model and the total revenue of the fleet in Example 2 of the present invention.

[0066] Figure 5 This is a relationship diagram between the number of training times of the electric vehicle fleet control decision model and the fleet operation cost in Example 2 of the present invention.

[0067] Figure 6 This is a relationship diagram between the number of training times of the electric vehicle fleet control decision model and the total number of service orders of the fleet in one day in Example 2 of the present invention.

[0068] Figure 7 This is a spatiotemporal distribution diagram of the charging load of a charging station under a time-varying electricity price in Example 2 of the present invention.

[0069] Figure 8 This is a spatiotemporal distribution diagram of the charging load of a charging station under a time-invariant electricity price in Example 2 of the present invention. DETAILED DESCRIPTION

[0070] The present invention is further described in detail below in conjunction with specific embodiments.

[0071] It should be noted that these embodiments are only used to illustrate the present invention rather than to limit the present invention. Simple improvements to the method based on the concept of the present invention all fall within the scope of protection claimed by the present invention.

[0072] Example 1

[0073] See also Figure 1 , which is a control method for electric vehicle fleets taking into account the vehicle-road network interaction characteristics, including:

[0074] S100, using road network topology information, vehicle state information and environment state information as state variables, constructing the electric vehicle aggregation control process as a Markov decision process model.

[0075] The Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information.

[0076] Status Information The specific definitions are as follows:

[0077]

[0078] Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level.

[0079] The Markov decision process model includes action information; the action information is defined as follows:

[0080]

[0081] in, is the probability that a vehicle located at location i at time t and with a battery level of v chooses to accept an order or charge, is the percentage of the expected number of dispatchable vehicles at time t to the current number of empty vehicles.

[0082] The rebalancing action is solved by the following optimization problem, which can effectively reduce the dimension of the action space and reduce the difficulty of training. Its objective function is to minimize the cost of the rebalancing action and let the agent learn the profit maximization strategy under the premise of as few empty car dispatches as possible. The objective function of the rebalancing action is defined as:

[0083] .

[0084] There are two constraints. The first is the vehicle rebalancing constraint, which means that the number of dispatchable empty vehicles at location i after the rebalancing action is as close as possible to the expected number of empty vehicles; the second is the vehicle balance constraint, which means that the number of vehicles participating in the rebalancing (including staying in place) at various locations and power levels should be equal to the existing number of empty vehicles. The specific formula is as follows:

[0085]

[0086] in, , is the expected number of empty cars at location i at time t; is the number of empty vehicles with a charge level of v at time t going from i to j; is the number of empty vehicles with a charge level of v at time t going from location j to location i; is the rebalancing cost from location i to location j; is the actual number of empty vehicles at the time t where the power level is v; and is the slack variable.

[0087] The actions in the action information are shielded from invalid actions based on the following situations:

[0088] A fully charged vehicle does not need to be charged.

[0089] The dispatch instruction can only be issued to a vehicle that meets the power requirement of this trip (i.e., ij) and has enough remaining power to support it to reach the nearest charging station.

[0090] When there is no charging station at the vehicle's current location, no charging command will be issued to the vehicle.

[0091] The Markov decision process model includes the reward function ; The reward function includes the order income , Queue Penalty , Charging cost and rebalancing dispatch costs .

[0092] Among them, order income When the platform receives a request from a passenger, the income generated by this order is the order-accepting income; the income generated by this order will be immediately included in the reward function, rather than calculating the income after the order is completed. This is because one of the goals of reinforcement learning is to meet the travel needs of all passengers as much as possible. In the present invention, we consider the passenger queuing problem and reduce the queuing penalty in the entire learning process to ensure the realization of this goal. The ideal situation is that all passengers are served and there is no queuing.

[0093] Queue Penalty Includes penalties for passenger queues and charging station queues.

[0094] Through charging actions, a charging queue is established, the information of vehicles queuing at the charging station is recorded, and the charging load at each time step during the vehicle charging period is calculated based on the idle situation of the charging pile to obtain the charging cost. .

[0095] Determine the rebalancing scheduling cost based on the rebalancing scheduling action .

[0096] S200. Based on the Markov decision process model, an electric vehicle fleet control decision model is constructed by integrating a reinforcement learning A2C algorithm with a graph neural network.

[0097] The framework diagram of the reinforcement learning A2C algorithm integrating graph neural network is shown in Figure 2 The input of the neural network is the adjacency matrix containing the road network topology information and the dependency information between nodes, and the feature matrix containing the node vehicle status information and the environment status information. In order to efficiently extract graph features, it is necessary to first pass through two layers of graph convolutional networks, namely the node-level information embedding and the global information embedding process.

[0098] The node-level information embedding process is to aggregate the features of each node with the features of adjacent nodes to obtain node features that contain the dependencies between nodes.

[0099] The global information embedding process is to aggregate all the node features containing the dependencies between nodes to obtain node features containing global graph information.

[0100] The node features containing the dependencies between nodes and the node features containing the global graph information are concatenated to obtain the final feature matrix, which is used as the input of the policy network and the value network.

[0101] The output of the policy network is state-action information, and the output of the value network is state-action-value information. The policy gradient updated by the reinforcement learning A2C algorithm integrating the graph neural network is:

[0102]

[0103] in, are policy network parameters, is the strategy objective function; is the policy gradient; is the strategy function; is the advantage function, which indicates the value of taking action a in state s over staying in state s; is a score function, that is, the logarithm of the probability density corresponding to the current action a in the strategy function. The higher the score, the greater the probability that the action will be selected under the current strategy.

[0104] S300. Perform order matching actions, rebalancing scheduling actions and charging decision actions through the electric vehicle fleet control decision model to obtain rewards and next state information after completing the actions, repeat the process to obtain a state-action-reward data set, train the electric vehicle fleet control decision model through the state-action-reward data set, take maximizing fleet revenue as the optimization direction, perform gradient descent and update on the neural network parameters of the electric vehicle fleet control decision model, and obtain a trained electric vehicle fleet control decision model.

[0105] The specific process includes:

[0106] Initialization: environment, policy network parameters , value network parameters .

[0107] for episode = 0,1,2… do.

[0108] for t = 0,1,2… do.

[0109] S301, select action .

[0110] S302: Shield the selected action from invalid actions.

[0111] S303, execution action , update the status of order acceptance and charging, and get rewards .

[0112] S304, according to the action And the objective function of the rebalancing scheduling action is used to obtain the rebalancing flow.

[0113] S305: Update the state variables related to the rebalancing scheduling action according to the rebalancing flow to obtain the rebalancing scheduling cost .

[0114] S306: Save the data for executing the action. and Rewards .

[0115] S307. Repeat S301-S306 to obtain a state-action-reward data set.

[0116] S308: Based on the data in the state-action-reward set, the electric vehicle fleet control decision model is trained to update the strategy network parameters and the value network parameters, namely:

[0117]

[0118] Among them, α is the learning rate; ω is the value network parameter; Gt is the reward function; V ω (s) is the output of the value network; is the gradient of the value network parameters; For the current strategy π θ The log value of the probability of selecting action a in state s.

[0119] S400, after the electric vehicle fleet control decision model is trained, the trained electric vehicle fleet control decision model is used to control the electric vehicle fleet to obtain an optimization strategy with a stable profit.

[0120] See also Figure 3 , which is an electric vehicle fleet control system taking into account the vehicle-road network interaction characteristics, including: a Markov decision process model construction module 100, an electric vehicle fleet control decision model construction module 200, a training module 300 and a control module 400.

[0121] The Markov decision process model building module 100 is used to build the electric vehicle aggregation control process into a Markov decision process model using the road network topology information, vehicle state information and environment state information as state variables.

[0122] The electric vehicle fleet control decision model construction module 200 is used to construct an electric vehicle fleet control decision model based on the Markov decision process model by integrating the reinforcement learning A2C algorithm of the graph neural network.

[0123] The training module 300 is used to perform order matching actions, rebalancing scheduling actions and charging decision actions through the electric vehicle fleet control decision model, obtain rewards and next state information after completing the actions, repeat the process, and obtain a state-action-reward data set. The electric vehicle fleet control decision model is trained through the state-action-reward data set, with maximizing the fleet revenue as the optimization direction, and the neural network parameters of the electric vehicle fleet control decision model are gradient descended and updated to obtain a trained electric vehicle fleet control decision model.

[0124] The control module 400 is used to control the electric vehicle fleet using the trained electric vehicle fleet control decision model.

[0125] The Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information.

[0126] Status Information for:

[0127]

[0128] Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level.

[0129] Example 2

[0130] The electric vehicle fleet control decision model constructed by the present invention has significantly improved performance during the training process, and has also brought positive effects on the fleet operation efficiency and economic benefits. Figure 4-6 The figure shows the changes in the total revenue, total cost and total number of service orders in 96 time periods during the training process of the agent. It can be seen that around the 35,000th training, the above three indicators have converged to stable values. Figure 4 In the process, the income increased from the initial 300$ to 600$, an increase of about 2 times; Figure 5 The cost dropped from the initial 350$ to around 75$, a decrease of about 78.6%; Figure 6 The fleet's daily order service volume has steadily increased from about 12,300 orders in the early stage of training to about 12,800 orders. This shows that compared with the initial disorderly scheduling, the fleet has successfully completed an additional service volume of about 500 orders, and the average revenue per order is about $0.05, that is, the total revenue has increased by about $25.

[0131] The electric vehicle fleet control decision model constructed by the present invention can effectively learn the guiding role of the temporal and spatial distribution of electricity prices and order demands on charging loads, further proving the effectiveness of the large-scale electric vehicle fleet aggregation control strategy proposed by the present invention. Figure 7 , 8 shown.

[0132] Figure 7The temporal and spatial distribution of the charging load of the four charging stations under the time-varying electricity price is intuitively displayed, among which charging stations 1 and 7 are in the low electricity price area, charging station 8 is in the high electricity price area, and charging station 14 is in the medium electricity price area. From the perspective of spatial distribution, the overall level of charging load in the low electricity price area is the highest, followed by the medium electricity price area, and the least in the high electricity price area. This is because the charging price in the low electricity price area is low, and the orders in the area are densely distributed. Charging vehicles here can not only save charging costs, but also ensure order efficiency. Even for charging station 1 with less order demand in the area, its surrounding areas are mostly order-intensive areas, so its charging load is also considerable; while the electricity price and order demand levels in the medium electricity price area are both in the middle, so the charging load level is also in the middle position; although the charging price in the high electricity price area is high, the order demand is ahead of the other three areas, so its charging load is the least, but it is also not much different from the medium electricity price area.

[0133] Figure 8 This is the temporal and spatial distribution of the charging load of the four charging stations under the time-invariant electricity price. Since the time-varying electricity price in the low-price area has a smaller fluctuation range and is very close to the time-invariant electricity price, the distribution of its charging load is roughly the same; the charging load distribution in the medium-price area and the high-price area is more evenly distributed than that under the time-varying electricity price, and there is no particularly obvious peak and valley period. Overall, the charging load level is still the highest in the low-price area, followed by the medium-price area, and the high-price area is slightly inferior to the medium-price area.

[0134] By comparing the differences in charging load distribution of each charging station under time-varying electricity prices and time-unchanged electricity prices, it is further proved that the large-scale electric vehicle fleet aggregation control strategy proposed in the present invention can learn a better charging scheduling strategy, realize the effective transfer of vehicle charging load, reduce charging costs while responding to the power grid control needs, and improve the overall operation efficiency of the fleet.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described with reference to the preferred embodiments of the present invention, it should be understood by those skilled in the art that various changes may be made in form and details without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims

1. A method for controlling an electric vehicle fleet taking into account the vehicle-road network interaction characteristics, characterized in that: include: Taking the road network topology information, vehicle status information and environment status information as state variables, the electric vehicle aggregation control process is constructed as a Markov decision process model; Based on the Markov decision process model, an electric vehicle fleet control decision model is constructed by integrating the reinforcement learning A2C algorithm of the graph neural network; The electric vehicle fleet control decision model is used to perform order matching actions, rebalancing scheduling actions, and charging decision actions, and rewards and next state information after completing the actions are obtained. The process is repeated to obtain a state-action-reward data set. The electric vehicle fleet control decision model is trained using the state-action-reward data set. The neural network parameters of the electric vehicle fleet control decision model are gradient-decreased and updated with the maximization of fleet revenue as the optimization direction, and the trained electric vehicle fleet control decision model is obtained. The trained electric vehicle fleet control decision model is used to control the electric vehicle fleet; The Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information; The status information for: Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level; The Markov decision process model includes action information; the action information is: in, is the probability that a vehicle located at location i at time t and with a battery level of v chooses to accept an order or charge, is the percentage of the expected number of dispatchable vehicles at time t to the current number of empty vehicles; The objective function of the rebalancing scheduling action is: in, , is the expected number of empty cars at location i at time t; is the number of empty vehicles with a charge level of v at time t going from i to j; is the number of empty vehicles with a charge level of v at time t going from location j to location i; is the rebalancing cost from location i to location j; is the actual number of empty vehicles at the time t where the power level is v; and is the slack variable; The reinforcement learning A2C algorithm of the fused graph neural network includes a policy network and a value network, and includes node-level information embedding and global information embedding processes; The node-level information embedding process is to aggregate the features of each node with the features of adjacent nodes to obtain node features containing dependencies between nodes; The global information embedding process is to aggregate all obtained node features containing dependencies between nodes to obtain node features containing global graph information; The node features containing the dependencies between nodes and the node features containing the global graph information are concatenated to obtain a final feature matrix, and the final feature matrix is ​​used as the input of the strategy network and the value network; The output of the policy network is state-action information, and the output of the value network is state-action-value information.

2. The electric vehicle fleet control method taking into account the vehicle-road network interaction characteristics according to claim 1 is characterized in that: The actions in the action information are shielded from invalid actions based on the following situations: A fully charged vehicle does not need to be charged; Only vehicles that meet the power requirements of this trip and have enough remaining power to reach the nearest charging station can be issued this dispatch instruction; When there is no charging station at the vehicle's current location, no charging command will be issued to the vehicle.

3. The electric vehicle fleet control method taking into account the vehicle-road network interaction characteristics according to claim 2 is characterized in that: The Markov decision process model includes a reward function; the reward function includes order-taking revenue, queuing penalty, charging cost, and rebalancing scheduling cost; Among them, the order-taking income is the income generated by the order after the platform receives the passenger's request; Queuing penalties include penalties for passenger queues and charging station queues; Establish a charging queue through charging actions, record the information of vehicles queuing at the charging station, and calculate the charging load at each time step during the vehicle charging period based on the idle situation of the charging pile to obtain the charging cost; A rebalancing scheduling cost is determined based on the rebalancing scheduling action.

4. The electric vehicle fleet control method taking into account the vehicle-road network interaction characteristics according to claim 1 is characterized in that: The policy gradient updated by the reinforcement learning A2C algorithm of the fused graph neural network is: in, are policy network parameters, is the strategy objective function; is the policy gradient; is the strategy function; is the advantage function, which indicates the value of taking action a in state s over staying in state s; is the score function.

5. The electric vehicle fleet control method taking into account the vehicle-road network interaction characteristics according to claim 4 is characterized in that: The trained electric vehicle fleet control decision model includes: S301, select action ; S302, shielding the selected action from invalid actions; S303, execution action , update the status related to order acceptance and charging, and get rewards; S304, according to the action and the objective function of the rebalancing scheduling action to obtain the rebalancing flow; S305, updating state variables related to the rebalancing scheduling action according to the rebalancing flow to obtain a rebalancing scheduling cost; S306: Save the data for executing the action. and rewards; S307, repeat S301-S306 to obtain a state-action-reward data set; S308: Based on the data in the state-action-reward set, the electric vehicle fleet control decision model is trained to update the strategy network parameters and the value network parameters, namely: , Among them, α is the learning rate; ω is the value network parameter; G t is the reward function; V ω (s) is the output of the value network; is the gradient of the value network parameters.

6. An electric vehicle fleet control system taking into account the vehicle-road network interaction characteristics, characterized in that: include: Markov decision process model building module, electric vehicle fleet control decision model building module, training module and control module; The Markov decision process model building module is used to build the electric vehicle aggregation control process into a Markov decision process model using the road network topology information, vehicle state information and environmental state information as state variables; The electric vehicle fleet control decision model building module is used to build an electric vehicle fleet control decision model based on the Markov decision process model by integrating the reinforcement learning A2C algorithm of the graph neural network; The training module is used to perform order matching actions, rebalancing scheduling actions and charging decision actions through the electric vehicle fleet control decision model, obtain rewards and next state information after completing the actions, repeat the process, obtain a state-action-reward data set, train the electric vehicle fleet control decision model through the state-action-reward data set, take maximizing fleet revenue as the optimization direction, perform gradient descent and update on the neural network parameters of the electric vehicle fleet control decision model, and obtain a trained electric vehicle fleet control decision model; The control module is used to control the electric vehicle fleet using the trained electric vehicle fleet control decision model; The Markov decision process model includes state information; the state information is composed of an adjacency matrix including road network topology information and node dependency information and a feature matrix including node vehicle state information and environment state information; The status information for: Among them, A is the adjacency matrix containing the topological characteristics of the road network nodes and the dependency information between nodes; , is the number of available charging piles at charging station c at time t; , is the queue of passengers with travel demand ij at time t; , is the vehicle queue at charging station c at time t; , is the number of vehicles in the fleet that are located at location i at time t and have a charge level of v; , is the order price from location i to location j at time t; , is the charging electricity price of charging station c at time t; , is the number of orders with travel demand ij arriving at time t; where M is the total number of nodes in the road network, N is the number of nodes with charging stations, and C is the power level; The Markov decision process model includes action information; the action information is: in, is the probability that a vehicle located at location i at time t and with a battery level of v chooses to accept an order or charge, is the percentage of the expected number of dispatchable vehicles at time t to the current number of empty vehicles; The objective function of the rebalancing scheduling action is: in, , is the expected number of empty cars at location i at time t; is the number of empty vehicles with a charge level of v at time t going from i to j; is the number of empty vehicles with a charge level of v at time t going from location j to location i; is the rebalancing cost from location i to location j; is the actual number of empty vehicles at the time t where the power level is v; and is the slack variable; The reinforcement learning A2C algorithm of the fused graph neural network includes a policy network and a value network, and includes node-level information embedding and global information embedding processes; The node-level information embedding process is to aggregate the features of each node with the features of adjacent nodes to obtain node features containing dependencies between nodes; The global information embedding process is to aggregate all obtained node features containing dependencies between nodes to obtain node features containing global graph information; The node features containing the dependencies between nodes and the node features containing the global graph information are concatenated to obtain a final feature matrix, and the final feature matrix is ​​used as the input of the strategy network and the value network; The output of the policy network is state-action information, and the output of the value network is state-action-value information.