Electric vehicle power distribution network optimization scheduling method

By constructing an MDP model and a deep neural network framework to collaboratively control electric vehicles and distributed generators, the impact of electric vehicle charging on the voltage stability of the distribution network is solved, and the reduction of electric vehicle charging costs and coordinated optimization of voltage stability are achieved.

CN118572701AActive Publication Date: 2024-08-30STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO

Patent Information

Application Number
CN202411055635.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-08-30
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

The existing technology fails to effectively coordinate the impact of electric vehicle charging on the voltage stability of the distribution network, especially when large-scale electric vehicles are connected to the power grid, resulting in frequency drift and voltage fluctuations, and does not consider the voltage control of electric vehicles in V2G mode. possibility.

Method used

A two-layer scheduling control strategy is adopted to collaboratively control electric vehicles, distributed generators and voltage regulation equipment by constructing an MDP model and a deep neural network framework to achieve automatic voltage regulation and reduction of electric vehicle charging costs, using a deep deterministic strategy gradient algorithm Train the deep neural network to output control signals.

Benefits of technology

It achieves learning economical dispatch strategies without relying on system uncertainty models, keeping distribution network voltage stable, outputting mixed continuous dispatch signals and discrete control signals, reducing electric vehicle charging costs, and stabilizing distribution network voltage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118572701A
    Figure CN118572701A
Patent Text Reader

Abstract

The invention discloses an electric vehicle power distribution network optimal scheduling method, which belongs to the field of power grid optimal scheduling, and comprises the following steps: S1, considering a system state variable, constructing an MDP model based on an electric vehicle charging plan and a power distribution network voltage control problem, and obtaining an optimal power distribution network voltage through cooperative control of VVC equipment, an electric vehicle and a distributed generator; automatic voltage regulation is realized; the charging cost of the electric vehicle is reduced; and S2, constructing a deep neural network framework based on an electric vehicle charging plan and a power distribution network voltage control problem, and training a deep neural network by using a deep deterministic strategy gradient algorithm to output discrete and continuous control actions. According to the electric vehicle power distribution network optimization scheduling method, an agent can learn an economical scheduling strategy through two layers of scheduling control strategies, the voltage stability of the power distribution network is kept, data driving is adopted, and the method does not depend on an uncertain model in a system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power grid optimization dispatching, and in particular to an electric vehicle distribution network optimization dispatching method. Background Art

[0002] In global carbon emission statistics, the global electricity and heat production industry contributes 42% of carbon dioxide emissions, while industry and transportation contribute 18.4% and 24.6% respectively.

[0003] In order to reduce the carbon emission level of the transportation system, replacing the transportation system based on fossil fuels with the transportation system based on electricity is an effective technical path. According to the existing technical level of traditional gasoline vehicles and electric vehicles, the carbon emission per unit mileage of electric vehicles is about 50% of the emission level of traditional gasoline vehicles of the same level, based on the scenario of thermal power stations providing electricity for electric vehicles.

[0004] At the same time, driven by breakthroughs in battery technology, electric vehicles are rapidly becoming a substitute for fossil fuel vehicles. However, large-scale access to the power grid for electric vehicles will bring challenges such as frequency drift and voltage fluctuations. The voltage stability of the distribution network is an issue that needs to be focused on. The uncontrolled charging process of electric vehicles will affect the voltage stability of the distribution network. This situation will be further exacerbated when electric vehicles are connected to the grid in vehicle-to-vehicle (V2G) mode. In addition, the access of distributed generators (DG) to the power system will change the direction of the power flow. The injection of active power by distributed generators (DG) upstream will cause the voltage to rise and interfere with the voltage / reactive power control (VVC) equipment.

[0005] In traditional VVC practice, voltage regulation devices such as on-load tap changers (OLTCs), voltage regulators (VRs), and switchable capacitor banks (SCBs) are used to mitigate voltage violations. For the inverter-controlled renewable energy access problem, multi-stage methods have been widely used for VVC in distribution networks. In order to coordinate VVC devices and distributed generation, neural networks and learning-based methods are widely used, but existing learning-based methods do not consider the impact of electric vehicle charging on voltage stability, nor the possibility of electric vehicles participating in voltage control.

[0006] Electric vehicles participate in the voltage regulation of the distribution network. On the one hand, the charging behavior of electric vehicles is stimulated by electricity prices; on the other hand, electric vehicles can operate in V2G mode. By adjusting the charging power or discharging power of electric vehicles, it helps to stabilize the voltage of the distribution network. And when facing the problem of large-scale electric vehicle charging, the charging process of electric vehicles is managed by an aggregator or a central controller. However, the charging process of electric vehicles has great uncertainty, which requires the estimation and prediction of the charging demand of electric vehicles. Artificial intelligence methods have attracted attention due to their advantages in processing high-dimensional data and nonlinear problems. However, existing studies only study the charging problem of electric vehicles from the perspective of demand response (DR). The capacity and access location of electric vehicle charging loads will affect the power flow distribution of the distribution network, and disordered electric vehicle charging will reduce the voltage stability of the distribution network.

[0007] In summary, current research focuses more on VVC of EV DN (distribution network) or DR, while there are few studies that consider both and conduct coordinated optimization. Summary of the invention

[0008] To solve the above problems, the present invention provides an electric vehicle distribution network optimization scheduling method, which enables the agent to learn an economical scheduling strategy and maintain the voltage stability of the distribution network through a two-layer scheduling control strategy. It is data-driven and does not rely on the uncertain model in the system.

[0009] To achieve the above object, the present invention provides an electric vehicle distribution network optimization scheduling method, comprising the following steps: S1. Considering the system state variables, an MDP model is constructed based on the electric vehicle charging plan and the distribution network voltage control problem. Through the coordinated control of VVC equipment, electric vehicles and distributed generators, automatic voltage regulation and reduction of electric vehicle charging costs are achieved; S2. Based on the electric vehicle charging plan and distribution network voltage control problems, a deep neural network framework is constructed, and the deep deterministic policy gradient algorithm is used to train the deep neural network to output discrete and continuous control actions.

[0010] Preferably, the system state described in step S1 includes the uncertainty of the charging process caused by the charging behavior of the electric vehicle user and the uncertainty of uncontrollable load, system dynamic electricity price and renewable energy generation.

[0011] Preferably, step S1 specifically includes the following steps: S11. Construct a collaborative electric vehicle charging and voltage control framework, which includes electric vehicles, distributed generators and renewable energy, and the electric vehicles are controlled by smart terminals; S12, building a controllable unit based on a collaborative electric vehicle charging and voltage control framework; S13. Model the electric vehicles, distributed generators and voltage control devices in the distribution network system, and set operating constraints to obtain the MDP model. The upper layer of the MDP model is set as the scheduling layer, which is used to output control signals of all dispatchable units according to the system status. The lower layer of the MDP model is the voltage control layer, which is used to receive the upper layer control signals and control the dispatchable units in the DN system.

[0012] Preferably, the controllable unit construction steps described in step S12 are as follows: S121. Building electric vehicles: Assuming that the control variable of the electric vehicle is the charging power, then for the node connected to the distribution network The electric vehicle, the control variable is expressed as ; In V2G mode, it is the discharge power. The value of is positive during charging and negative during discharging. The charging power constraint based on the charging strategy is: (1) In the formula, The maximum charging power for electric vehicles; is the maximum discharge power of the electric vehicle; For the scheduling period; is a node set; is a set of time slots; And the charging state of the electric vehicle battery meets the following constraints during the scheduling period: (2) (3) In the formula, and Electric vehicle batteries Moment and Charging status at all times; is the capacity of the electric vehicle battery; and are the charge rate and discharge rate respectively; and Respectively represent the maximum and minimum values ​​of the charging state; is the interval of one time step; S122. Construction of distributed generators: Assume that the control variables of the distributed generator are active power output and reactive power output, then the node Active power of distributed generators at and reactive power The following constraints are met: (4) (5) In the formula, is the maximum active power; is the minimum reactive power; S123. Construction of on-load tap changer and voltage regulator: On-load tap changers and voltage regulators are connected to distribution network branches by changing the tap position control The control variable is expressed as , varies within the range of integers and satisfies the following constraints: (6) In the formula, is the maximum adjustable position of the tap; It is a collection of distribution network branches; S124. Constructing a switchable capacitor bank: The reactive power value provided by the switchable capacitor bank is set by adjusting the number of operating units. Number of operating units of switchable capacitor banks at Take an integer and satisfy the following conditions: (7) In the formula, The maximum number of operation units.

[0013] Preferably, the operation constraints described in step S13 are as follows: Constrain the complex power that the substation can withstand: (8) In the formula, , , They are active power, reactive power and maximum apparent power of the substation respectively; Constraining node voltages : (9) In the formula, and are the maximum and minimum values ​​of the node voltage respectively; Constraining branch current : (10) In the formula, and are the maximum and minimum values ​​of the branch current respectively.

[0014] Preferably, the MDP model construction steps described in step S13 are as follows: The first step is to set the state variables of the distribution network system: (11) In the formula, For the distribution network system at any time state variables; Node Department Active power demand at each moment; Node Department Active power demand at each moment; They are Historical electricity prices at the time; and Node Wind turbine power output and photovoltaic power output at Node The charge state at Start charging time; Node The trigger time at They are The expected state of charge; Assuming that wind turbines and photovoltaics are uncontrollable power sources, calculate the node Net load requirement : (12) Substituting formula (12) into formula (11) yields: (13) In the formula, Points Department Net load demand at the moment; Step 2: Set the action variables of the distribution network system: The system action variables include the active power and reactive power of the generator, the charging capacity of the electric vehicle, the tap position of the on-load tap changer, and the number of switchable capacitor banks: (14) In the formula, is the action variable of the distribution network system; Respectively represent nodes Active power of distributed generators at Respectively represent nodes Reactive power of distributed generators at Respectively represent nodes The number of operating units of the switchable capacitor bank at Respectively represent nodes The tap position of the on-load tapchanger at The third step is to set the reward function by considering the operating cost of the distribution network system and the voltage stability target. The operating cost includes the cost of the distribution network interacting with the main grid through the substation, the generation cost of distributed generators, and the charging cost of electric vehicles: (15) In the formula, is the weight coefficient, which indicates that the reward function is a trade-off between the operating cost and the voltage stability target; The cost of purchasing electricity from the power exchange; For Node The generation cost of distributed generators at For Node The cost of charging electric vehicles in the country; Penalty for violating voltage constraints; Among them, the cost of purchasing electricity from the power exchange The calculation formula is as follows: (16) In the formula, They are Historical electricity prices at the time; node The cost of distributed generators at The calculation formula is as follows: (17) In the formula, , , All are power generation cost coefficients; Charging costs for electric vehicles The calculation formula is as follows: (18) In the formula, For Node Historical electricity prices at Penalty for Violating Voltage Constraints The calculation formula is as follows: (19) In the formula, is the penalty coefficient of voltage deviation; Step 4: Set the objective function.

[0015] Preferably, the objective function calculation formula is as follows: (20) In the formula, is the expected cumulative discount return during the planning period; They are The reward for the time step; They are The discount factor for the time step; Indicates sum.

[0016] Preferably, the deep deterministic policy gradient algorithm described in step S2 is a two-layer structure, wherein the scheduling signal and the control signal are both output by the upper layer of the agent, and the lower layer obtains the complete reward value by controlling the controllable unit in the distribution network.

[0017] Preferably, step S2 specifically includes the following steps: S21. In the reinforcement learning framework, the learning agent interacts with the constructed MDP model to transform the optimization problem into a standard reinforcement learning framework. as follows: (twenty one) In the formula, for status; represents the expected return; Indicates the state of Follow the strategy Expected Reward The action value function of is the set of expected returns; S22. Solve the optimal action-value function by recursively solving the Bellman equation , and based on the optimal strategy obtained , describing the optimization problem: (twenty two) In the formula, Represents the optimal strategy Expected value; represents the reward at time t; represents the discount factor; Indicates the state of Optimal strategy Expected Reward The optimal action value function of S23. Build a deep deterministic policy gradient algorithm to determine the critic parameters: (twenty three) In the formula, Indicates the batch size of samples sampled from the replay buffer; represents the target of the loss function; represents an approximate function; Indicates the current The target value of the value; S24. Update the parameters of the participant value network based on the deep deterministic policy gradient algorithm: (twenty four) In the formula, Represents a function approximator In the deterministic target strategy The gradient operator under ; Indicates the expected return from starting distribution; represents the updated expected value; represents the participant function; express; represents the gradient of the weight; Indicates behavior parameters; Indicates the status parameter.

[0018] S25. Soft-update the target network using the updated critic and actor networks until a converged strategy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

[0019] Preferably, after step S24, step S25 is also included; It specifically includes the following steps: Soft-update the target network using the updated critic and actor networks until a converged policy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

[0020] The present invention has the following beneficial effects: 1. Considering the voltage stability of the distribution network, an MDP model with unknown transfer probability is established to solve the problem of electric vehicle charging. And by balancing the electric vehicle charging target and the voltage stability target through the designed reward function, it is possible to learn an economic dispatch strategy and maintain the voltage stability of the distribution network; 2. The model-free DDPG algorithm is introduced to solve the coordination optimization problem, which can output mixed continuous scheduling signals and discrete control signals. It is data-driven and does not rely on the uncertain model in the system. 3. A two-layer coordinated EV charging and voltage control framework is adopted to minimize EV charging cost and stabilize distribution network voltage.

[0021] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flow chart of an electric vehicle distribution network optimization dispatching method of the present invention; Figure 2 A coordinated electric vehicle charging and voltage control framework diagram of an electric vehicle distribution network optimization scheduling method of the present invention; Figure 3 IEEE33-bus distribution network layout diagram for the simulation experiment of the present invention; Figure 4 This is a diagram of node voltage simulation results of the simulation experiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical scheme and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention are further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention and are not intended to limit the embodiments of the present invention. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions.

[0024] It should be noted that the terms "include", "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or devices.

[0025] Like reference numerals and letters denote similar items in the following drawings, and thus, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0026] like Figure 1 As shown, a method for optimizing the dispatching of an electric vehicle distribution network comprises the following steps: S1. Considering the system state variables, an MDP model is constructed based on the electric vehicle charging plan and the distribution network voltage control problem. Through the coordinated control of VVC equipment, electric vehicles and distributed generators, automatic voltage regulation and reduction of electric vehicle charging costs are achieved; The system state described in step S1 includes the uncertainty of the charging process caused by the charging behavior of the electric vehicle user, as well as the uncertainty of uncontrollable load, system dynamic electricity price and renewable energy generation.

[0027] Step S1 specifically includes the following steps: S11, such as Figure 2 As shown, a collaborative electric vehicle charging and voltage control framework is constructed, the collaborative electric vehicle charging and voltage control framework includes electric vehicles, distributed generators and renewable energy, and the electric vehicles are controlled by intelligent terminals; S12, building a controllable unit based on a collaborative electric vehicle charging and voltage control framework; The controllable unit construction steps described in step S12 are as follows: S121. Building electric vehicles: Assuming that the control variable of the electric vehicle is the charging power, then for the node connected to the distribution network The electric vehicle, the control variable is expressed as ; In V2G mode, it is the discharge power. The value of is positive during charging and negative during discharging. The charging power constraint based on the charging strategy is: (1) In the formula, The maximum charging power for electric vehicles; is the maximum discharge power of the electric vehicle; For the scheduling period; is a node set; is a set of time slots; And the charging state of the electric vehicle battery meets the following constraints during the scheduling period: (2) (3) In the formula, and Electric vehicle batteries Moment and Charging status at all times; is the capacity of the electric vehicle battery; and are the charge rate and discharge rate respectively; and Respectively represent the maximum and minimum values ​​of the charging state; is the interval of one time step; S122. Construction of distributed generators: Assume that the control variables of the distributed generator are active power output and reactive power output, then the node Active power of distributed generators at and reactive power The following constraints are met: (4) (5) In the formula, is the maximum active power; is the minimum reactive power; S123. Construction of on-load tap-changer and voltage regulator: On-load tap changers and voltage regulators are connected to distribution network branches by changing the tap position control The control variable is expressed as , varies within the range of integers and satisfies the following constraints: (6) In the formula, is the maximum adjustable position of the tap; It is a collection of distribution network branches; S124. Constructing a switchable capacitor bank: The value of reactive power provided by the switchable capacitor bank is set by adjusting the number of operating units. Number of operating units of switchable capacitor banks at Take an integer and satisfy the following conditions: (7) In the formula, The maximum number of operation units.

[0028] S13. Model the electric vehicles, distributed generators and voltage control devices in the distribution network system, and set operating constraints to obtain the MDP model. The upper layer of the MDP model is set as the scheduling layer, which is used to output control signals of all dispatchable units according to the system status. The lower layer of the MDP model is the voltage control layer, which is used to receive the upper layer control signals and control the dispatchable units in the DN system.

[0029] The operation constraints described in step S13 are as follows: Constrain the complex power that the substation can withstand: (8) In the formula, , , They are active power, reactive power and maximum apparent power of the substation respectively; Constraining node voltages : (9) In the formula, and are the maximum and minimum values ​​of the node voltage respectively; Constraining branch current : (10) In the formula, and are the maximum and minimum values ​​of the branch current respectively.

[0030] Preferably, the MDP model construction steps described in step S13 are as follows: The first step is to set the state variables of the distribution network system: (11) In the formula, For the distribution network system at any time state variables; Node Department Active power demand at each moment; Node Department Active power demand at each moment; They are Historical electricity prices at the time; and Node Wind turbine power output and photovoltaic power output at Node The charge state at Start charging time; Node The trigger time at They are The expected state of charge; Assuming that wind turbines and photovoltaics are uncontrollable power sources, calculate the node Net load requirement : (12) Substituting formula (12) into formula (11) yields: (13) In the formula, Points Department Net load demand at the moment; Step 2: Set the action variables of the distribution network system: The system action variables include the active power and reactive power of the generator, the charging capacity of the electric vehicle, the tap position of the on-load tap changer, and the number of switchable capacitor banks: (14) In the formula, is the action variable of the distribution network system; Respectively represent nodes Active power of distributed generators at Respectively represent nodes Reactive power of distributed generators at Respectively represent nodes The number of operating units of the switchable capacitor bank at Respectively represent nodes The tap position of the on-load tapchanger at The third step is to set the reward function by considering the operating cost of the distribution network system and the voltage stability target. The operating cost includes the cost of the distribution network interacting with the main grid through the substation, the generation cost of distributed generators, and the charging cost of electric vehicles: (15) In the formula, is the weight coefficient, which indicates that the reward function is a trade-off between the operating cost and the voltage stability target; The cost of purchasing electricity from the power exchange; For Node The generation cost of distributed generators at For Node The cost of charging electric vehicles in the country; Penalty for violating voltage constraints; Among them, the cost of purchasing electricity from the power exchange The calculation formula is as follows: (16) In the formula, They are Historical electricity prices at the time; node The cost of distributed generators at The calculation formula is as follows: (17) In the formula, , , All are power generation cost coefficients; Charging costs for electric vehicles The calculation formula is as follows: (18) In the formula, For Node Historical electricity prices at Penalty for Violating Voltage Constraints The calculation formula is as follows: (19) In the formula, is the penalty coefficient of voltage deviation; Step 4: Set the objective function.

[0031] The objective function calculation formula is as follows: (20) In the formula, is the expected cumulative discount return during the planning period; They are The reward for the time step; They are The discount factor for the time step; Indicates sum.

[0032] S2. Based on the electric vehicle charging plan and distribution network voltage control problems, a deep neural network framework is constructed, and the deep deterministic policy gradient algorithm is used to train the deep neural network to output discrete and continuous control actions.

[0033] The deep deterministic policy gradient algorithm described in step S2 is a two-layer structure, in which the scheduling signal and the control signal are both output by the upper layer of the agent, and the lower layer obtains the complete reward value by controlling the controllable unit in the distribution network.

[0034] Step S2 specifically includes the following steps: S21. In the reinforcement learning framework, the learning agent interacts with the constructed MDP model to transform the optimization problem into a standard reinforcement learning framework. as follows: (twenty one) In the formula, for status; represents the expected return; Indicates the state of Follow the strategy Expected Reward The action value function of is the set of expected returns; S22. Solve the optimal action-value function by recursively solving the Bellman equation , and based on the optimal strategy obtained , describing the optimization problem: (twenty two) In the formula, Represents the optimal strategy Expected value; represents the reward at time t; represents the discount factor; Indicates the state of Optimal strategy Expected Reward The optimal action value function of S23. Build a deep deterministic policy gradient algorithm to determine the critic parameters: (twenty three) In the formula, Indicates the batch size of samples sampled from the replay buffer; represents the target of the loss function; represents an approximate function; Indicates the current The target value of the value; S24. Update the parameters of the participant value network based on the deep deterministic policy gradient algorithm: (twenty four) In the formula, Represents a function approximator In the deterministic target strategy The gradient operator under ; Indicates the expected return from starting distribution; represents the updated expected value; represents the participant function; express; represents the gradient of the weight; Indicates behavior parameters; Indicates the status parameter.

[0035] S25. Soft-update the target network using the updated critic and actor networks until a converged strategy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

[0036] Preferably, after step S24, step S25 is also included; It specifically includes the following steps: Soft-update the target network using the updated critic and actor networks until a converged policy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

[0037] Simulation experiment: A personal computer with an NVIDIA RTX-3070 GPU and an Intel (R) Core (TM) i7-10700K CPU was used for training and testing. The code was written in Python 3.7.8, and the reinforcement learning algorithm was implemented using the deep learning package TensorFlow 1.14.0. Figure 3 The test was conducted on the IEEE-33 node system shown in the figure. Electric vehicle charging stations were set up on nodes 8, 13, 19, 22, and 29, and each node can be connected to a different number of electric vehicles. The maximum charging and discharging power of each vehicle is set to 6 kW, and the battery capacity is set to 24 kWh. The charging and discharging efficiency of the electric vehicle is set to 0.98 and 0.95 respectively.

[0038] Test results such as Figure 4 As shown, it can be seen that the voltage of the system decreases as the load of electric vehicles in the system increases. Controlling the voltage while dispatching electric vehicles can keep the voltage of each node in the system within a safe range. This embodiment can well take into account the charging needs of electric vehicles and the voltage stability of the distribution network.

[0039] Therefore, the present invention adopts the above-mentioned electric vehicle distribution network optimization scheduling method, and enables the agent to learn an economical scheduling strategy through a two-layer scheduling control strategy, and maintain the voltage stability of the distribution network. It is data-driven and does not rely on the uncertain model in the system.

[0040] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for optimizing the dispatching of an electric vehicle distribution network, characterized in that: The following steps are involved: S1. Considering the system state variables, an MDP model is constructed based on the electric vehicle charging plan and the distribution network voltage control problem. Through the coordinated control of VVC equipment, electric vehicles and distributed generators, automatic voltage regulation and reduction of electric vehicle charging costs are achieved; The system state described in step S1 includes the uncertainty of the charging process caused by the charging behavior of the electric vehicle user and the uncertainty of the uncontrollable load, the system dynamic electricity price and the renewable energy generation; Step S1 specifically includes the following steps: S11. Construct a collaborative electric vehicle charging and voltage control framework, which includes electric vehicles, distributed generators and renewable energy, and the electric vehicles are controlled by smart terminals; S12, building a controllable unit based on a collaborative electric vehicle charging and voltage control framework; The controllable unit construction steps described in step S12 are as follows: S121. Building electric vehicles: Assuming that the control variable of the electric vehicle is the charging power, then for the node connected to the distribution network The electric vehicle, the control variable is expressed as ; In V2G mode, it is the discharge power. The value of is positive during charging and negative during discharging. The charging power constraint based on the charging strategy is: (1) In the formula, The maximum charging power for electric vehicles; is the maximum discharge power of the electric vehicle; For the scheduling period; is a node set; is a set of time slots; And the charging state of the electric vehicle battery meets the following constraints during the scheduling period: (2) (3) In the formula, and Electric vehicle batteries Moment and Charging status at all times; is the capacity of the electric vehicle battery; and are the charge rate and discharge rate respectively; and Respectively represent the maximum and minimum values ​​of the charging state; is the interval of one time step; S122. Construction of distributed generators: Assume that the control variables of the distributed generator are active power output and reactive power output, then the node Active power of distributed generators at and reactive power The following constraints are met: (4) (5) In the formula, is the maximum active power; is the minimum reactive power; S123. Construction of on-load tap changer and voltage regulator: On-load tap changers and voltage regulators are connected to distribution network branches by changing the tap position control The control variable is expressed as , varies within the range of integers and satisfies the following constraints: (6) In the formula, is the maximum adjustable position of the tap; It is a collection of distribution network branches; S124. Constructing a switchable capacitor bank: The value of reactive power provided by the switchable capacitor bank is set by adjusting the number of operating units. Number of operating units of switchable capacitor banks at Take an integer and satisfy the following conditions: (7) In the formula, is the maximum number of operating units; S13, modeling electric vehicles, distributed generators and voltage control devices in the distribution network system, and setting operation constraints to obtain an MDP model, wherein the upper layer of the MDP model is set as a scheduling layer, which is used to output control signals of all dispatchable units according to the system state, and the lower layer of the MDP model is a voltage control layer, which is used to receive upper layer control signals and control dispatchable units in the DN system; S2. Based on the electric vehicle charging plan and distribution network voltage control problems, a deep neural network framework is constructed, and the deep deterministic policy gradient algorithm is used to train the deep neural network to output discrete and continuous control actions.

2. The method for optimizing and dispatching an electric vehicle distribution network according to claim 1, characterized in that: The operation constraints described in step S13 are as follows: Constrain the complex power that the substation can withstand: (8) In the formula, , , They are active power, reactive power and maximum apparent power of the substation respectively; Constraining node voltages : (9) In the formula, and are the maximum and minimum values ​​of the node voltage respectively; Constraining branch current : (10) In the formula, and are the maximum and minimum values ​​of the branch current respectively.

3. The method for optimizing and dispatching an electric vehicle distribution network according to claim 2, characterized in that: The steps of constructing the MDP model described in step S13 are as follows: The first step is to set the state variables of the distribution network system: (11) In the formula, For the distribution network system at any time state variables; Node Department Active power demand at each moment; Node Department Active power demand at each moment; They are Historical electricity prices at the time; and Node Wind turbine power output and photovoltaic power output at Node The charge state at Start charging time; Node The trigger time at They are The expected state of charge; Assuming that wind turbines and photovoltaics are uncontrollable power sources, calculate the node Net load requirement : (12) Substituting formula (12) into formula (11) yields: (13) In the formula, Points Department Net load demand at the moment; Step 2: Set the action variables of the distribution network system: The system action variables include the active power and reactive power of the generator, the charging capacity of the electric vehicle, the tap position of the on-load tap changer, and the number of switchable capacitor banks: (14) In the formula, is the action variable of the distribution network system; Respectively represent nodes Active power of distributed generators at Respectively represent nodes Reactive power of distributed generators at Respectively represent nodes The number of operating units of the switchable capacitor bank at Respectively represent nodes The tap position of the on-load tapchanger at The third step is to set the reward function by considering the operating cost of the distribution network system and the voltage stability target. The operating cost includes the cost of the distribution network interacting with the main grid through the substation, the generation cost of distributed generators, and the charging cost of electric vehicles: (15) In the formula, is the weight coefficient, which indicates that the reward function is a trade-off between the operating cost and the voltage stability target; The cost of purchasing electricity from the power exchange; For Node The generation cost of distributed generators at For Node The cost of charging electric vehicles in the country; Penalty for violating voltage constraints; Among them, the cost of purchasing electricity from the power exchange The calculation formula is as follows: (16) In the formula, They are Historical electricity prices at the time; node The cost of distributed generators at The calculation formula is as follows: (17) In the formula, , , All are power generation cost coefficients; Charging costs for electric vehicles The calculation formula is as follows: (18) In the formula, For Node Historical electricity prices at Penalty for Violating Voltage Constraints The calculation formula is as follows: (19) In the formula, is the penalty coefficient of voltage deviation; Step 4: Set the objective function.

4. The method for optimizing the dispatching of an electric vehicle distribution network according to claim 3, characterized in that: The objective function calculation formula is as follows: (20) In the formula, is the expected cumulative discount return during the planning period; They are The reward for the time step; They are The discount factor for the time step; Indicates sum.

5. The method for optimizing the dispatching of an electric vehicle distribution network according to claim 4, characterized in that: The deep deterministic policy gradient algorithm described in step S2 is a two-layer structure, in which the scheduling signal and the control signal are both output by the upper layer of the agent, and the lower layer obtains the complete reward value by controlling the controllable unit in the distribution network.

6. The method for optimizing and dispatching an electric vehicle distribution network according to claim 5, characterized in that: Step S2 specifically includes the following steps: S21. In the reinforcement learning framework, the learning agent interacts with the constructed MDP model to transform the optimization problem into a standard reinforcement learning framework. as follows: (21) In the formula, for status; represents the expected return; Indicates the state of Follow the strategy Expected Reward The action value function of is the set of expected returns; S22. Solve the optimal action-value function by recursively solving the Bellman equation , and based on the optimal strategy obtained , describing the optimization problem: (22) In the formula, Represents the optimal strategy Expected value; represents the reward at time t; represents the discount factor; Indicates the state of Optimal strategy Expected Reward The optimal action value function of S23. Construct a deep deterministic policy gradient algorithm to determine the critic parameters: (23) In the formula, Indicates the batch size of samples sampled from the replay buffer; represents the target of the loss function; represents an approximate function; Indicates the current The target value of the value; S24. Update the parameters of the participant value network based on the deep deterministic policy gradient algorithm: (24) In the formula, Represents a function approximator In the deterministic target strategy The gradient operator under ; Indicates the expected return from starting distribution; represents the updated expected value; represents the participant function; express; represents the gradient of the weight; Indicates behavior parameters; Indicates state parameters; S25. Soft-update the target network using the updated critic and actor networks until a converged strategy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

7. The method for optimizing and dispatching an electric vehicle distribution network according to claim 6, characterized in that: After step S24, step S25 is also included; It specifically includes the following steps: Soft-update the target network using the updated critic and actor networks until a converged policy is obtained: (25) In the formula, Represents the updated behavior parameters; Indicates the updated state parameters; Represents the soft update coefficient.

Citation Information

Patent Citations

  • Active power distribution network multi-target layered planning method considering demand side management and energy storage

    CN108470239A

  • Method for establishing active power distribution network planning model considering site selection and constant volume of electric vehicle charging station

    CN110895638A

  • Distributed electric vehicle real-time optimization scheduling method and system, terminal and medium

    CN113515884A

  • Electric vehicle energy-computing resource scheduling method based on micro-grid security constraint

    CN116979579A

Cited By

  • Power market collaborative optimization method and system oriented to integration of source, network, load and storage

    CN121484927A

  • Electric vehicle low-carbon scheduling method and system based on two-stage diffusion strategy and multi-agent reinforcement learning

    CN121543990A

  • Electric vehicle low-carbon scheduling method and system based on two-stage diffusion strategy and multi-agent reinforcement learning

    CN121543990B