Method for active power distribution network optimization and coordination of virtual power plant with multi-network constraints based on nash equilibrium guided deep reinforcement learning
By constructing a deep reinforcement learning model guided by Nash equilibrium, a two-level optimization scheduling of distribution system operators and multiple virtual power plants is coordinated, solving the collaborative optimization problem under the differences in interests of multiple stakeholders and complex constraints, and realizing the safe and economical operation of the active distribution network.
Patent Information
- Application Number
- CN202611394107.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods are difficult to effectively coordinate the differences in interests among multiple stakeholders, making it difficult for traditional optimization methods to achieve power balance, voltage control, and economic dispatch in active distribution networks. Furthermore, the solution efficiency is low under multi-stakeholder game dynamics and complex constraints.
We employ a deep reinforcement learning approach guided by Nash equilibrium to construct a two-layer collaborative optimization scheduling model between power distribution system operators and multiple virtual power plants. By combining the price quota curve market mechanism, we achieve multi-agent strategy collaborative evolution through a multi-agent system to optimize the scheduling process.
It has enabled the safe, economical, and coordinated optimized operation of the active distribution network and virtual power plants, and improved the overall coordination capability and benefits of the system.
Smart Images

Figure CN123180604A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an active distribution network optimization and coordination method based on Nash equilibrium-guided deep reinforcement learning with multiple network constraints, belonging to the field of active distribution network operation optimization and virtual power plant collaborative scheduling. Background Technology
[0002] Under the goals of carbon peaking and carbon neutrality, the large-scale integration of distributed renewable energy and electric vehicles is driving the evolution of traditional distribution networks into active distribution networks, improving the absorption and operational flexibility of renewable energy through source-grid-load-storage coordination. However, the high proportion of distributed resources brings strong uncertainty, and the random fluctuations in renewable power output and load pose difficulties for power balance, voltage control, and economic dispatch. Furthermore, the differing interests of various stakeholders exacerbate the difficulty of collaborative optimization.
[0003] Virtual power plants (VPPs) can aggregate distributed resources to participate in scheduling and the market, and vehicle-to-grid (V2G) interaction resources have great regulatory potential, but their heterogeneous operation characteristics are difficult to accurately characterize using a single energy storage model. Existing methods mostly focus on single-entity scheduling and rarely consider the market bidding, internal price incentives, and autonomous decision-making of distribution system operators (DSOs) and multiple VPPs simultaneously. It is difficult to unify the optimization of external market clearing and internal resource coordination, and traditional optimization methods are complex to model and have low solution efficiency when facing multi-entity game and complex constraints.
[0004] Therefore, it is necessary to propose an active distribution network optimization and coordination method based on Nash equilibrium-guided deep reinforcement learning with multiple network constraints and virtual power plants. Considering the market mechanism of price quota curves, a collaborative optimization model between the distribution system operator and multiple virtual power plants is constructed to characterize the operational characteristics of heterogeneous vehicle-grid interaction resources. Furthermore, multi-agent deep reinforcement learning is used to achieve multi-agent strategy collaborative evolution, thereby improving the revenue of the distribution system operator, the operating revenue of virtual power plants, and the overall coordinated operation capability of the system while ensuring node voltage security and distribution network operation constraints. Summary of the Invention
[0005] This invention provides an optimization and coordination method for an active distribution network with multiple network constraints and virtual power plants based on Nash equilibrium-guided deep reinforcement learning, which can be used to achieve collaborative optimization scheduling between the active distribution network and multiple virtual power plants.
[0006] The technical solution of this invention is:
[0007] According to a first aspect of the present invention, a method for active distribution network optimization and coordination with multi-network constraints and virtual power plants based on Nash equilibrium-guided deep reinforcement learning is provided, comprising:
[0008] The two-layer dispatch system, consisting of the distribution network managed by the distribution system operator and the virtual power plants connected to it, is regarded as a multi-agent system; in which the distribution system operator acts as the upper-level decision-making body to guide the lower-level virtual power plants to participate in collaborative dispatch.
[0009] Based on the market mechanism of price quota curves, a two-layer collaborative optimization scheduling model of power distribution system operator-virtual power plant is constructed and solved for a multi-agent system.
[0010] Furthermore, the power distribution system operator-virtual power plant two-layer collaborative optimization scheduling model specifically includes:
[0011] Construct a market clearing model based on the price quota curve market mechanism;
[0012] With the goal of maximizing the overall operating revenue of the power distribution system operator and in combination with upper-level constraints, an optimal scheduling model for the upper-level power distribution system operator is constructed.
[0013] With the goal of maximizing the operating revenue of the virtual power plant and incorporating lower-level constraints, an optimized scheduling model for the lower-level virtual power plant is constructed.
[0014] Furthermore, in the market clearing model, the clearing price is determined by the benchmark price of the selected bidding segment, expressed as:
[0015] ;
[0016] ;
[0017] in, This represents the market clearing price for time period t. This represents the benchmark price for the m-th bidding segment in time period t. Indicates whether the bidding segment is selected: When bidding segment m is selected, When the bidding segment m is not selected, ; This represents the set of scheduling periods.
[0018] Furthermore, the upper-level power distribution system operator optimization scheduling model includes an upper-level objective function aimed at maximizing the overall operating revenue of the power distribution system operator. The construction of the upper-level objective function is as follows:
[0019] Based on the power sales clearing price, power purchase clearing price, ancillary service clearing price, power purchase capacity, power sales capacity, and reactive power clearing capacity of the power distribution system operator, the transaction revenue generated by the power distribution system operator participating in the external power market is determined.
[0020] Based on the active power incentive price, reactive power incentive price and active and reactive power interaction power between the distribution system operator and the virtual power plant intelligent agent, the transaction revenue generated by the power interaction between the distribution system operator and each virtual power plant is determined.
[0021] The power generation cost of the micro gas turbines of the power distribution system operators is determined based on their active power output.
[0022] Based on the different levels of voltage over-limit, determine the voltage over-limit penalties for power distribution system operators;
[0023] Based on the transaction revenue generated by the distribution system operator's participation in the external power market, the transaction revenue generated by the power interaction between the distribution system operator and various virtual power plants, the cost of micro gas turbine power generation, and the voltage over-limit penalty, a higher-level objective function is established with the goal of maximizing the overall operating revenue of the distribution system operator.
[0024] Furthermore, the lower-level objective function expression in the lower-level virtual power plant optimization scheduling model, which aims to maximize the operating revenue of the virtual power plant, is as follows:
[0025]
[0026] In the formula, This is represented as the operating revenue of the nth virtual power plant. This indicates the discount weight corresponding to time period t; Represents the set of scheduling periods; This represents the revenue generated by the nth virtual power plant through vehicle-to-grid interaction services during time period t. This represents the cost of generating electricity using a micro gas turbine in the nth virtual power plant during time period t; This represents the electricity purchase cost of the nth virtual power plant during time period t; This represents the demand response cost of the nth virtual power plant during time period t; This represents the voltage over-limit penalty cost for the nth virtual power plant during time period t;
[0027] The lower-level constraints include traffic-side vehicle-to-network interaction resource constraints.
[0028] Furthermore, the nth virtual power plant generates revenue through vehicle-to-grid interaction services during time period t. The expression is:
[0029]
[0030] In the formula, Let be the adjustment coefficient for the vehicle-to-grid interaction service revenue of the nth virtual power plant in time period t. The vehicle-to-grid (V2G) electricity price for the nth virtual power plant during time period t; , These represent the discharge power and charging power of the type b vehicle-to-grid interaction resource deployed in the nth virtual power plant during time period t, respectively. Indicates the duration of a single scheduling period.
[0031] Furthermore, the traffic-side vehicle-to-network interaction resource constraints are specifically as follows:
[0032] The vehicle-to-grid (V2G) interaction resources within the virtual power plant are divided into three types: bus / taxi battery swapping stations, centralized charging for commercial electric vehicles, and price-responsive charging for private electric vehicles, denoted by b=1, b=2, and b=3, respectively. The state-of-charge (SOC) update equation for the b-th type of V2G interaction resource in the n-th virtual power plant is:
[0033]
[0034] in, This represents the state of charge of the b-th type of vehicle-to-grid interaction resource in the nth virtual power plant during time period t; and These represent the charging power and discharging power of the type b vehicle-to-grid interactive resource deployed in the nth virtual power plant during time period t; and Let these represent the charging efficiency and discharging efficiency of the b-th type of vehicle-to-grid interaction resource in the n-th virtual power plant, respectively. This represents the maximum energy storage capacity of the b-th type of vehicle-to-grid interaction resource in the n-th virtual power plant; This represents the task-related energy consumption in the nth virtual power plant under the b-th type of vehicle-to-grid interaction resource operation mode during time period t; Indicates the duration of a single scheduling period;
[0035] Task-related energy consumption The following definitions can be made based on different vehicle-to-everything (V2X) interaction resource operation modes:
[0036] ;
[0037] in, For time period Energy consumption for travel using Category 1 vehicle-to-everything (V2X) interactive resources; This represents the energy consumption of the first type of vehicle-to-grid interactive resources during the battery swapping service in time period t. For time period Energy consumption for travel based on Category 2 vehicle-to-everything (V2X) interactive resources; For time period The third category of energy consumption for travel related to vehicle-to-everything (V2X) interactive resources.
[0038] Furthermore, a deep reinforcement learning method guided by Nash equilibrium is used to solve the two-layer collaborative optimization scheduling model of power distribution system operator-virtual power plant for multi-agent system.
[0039] Furthermore, the deep reinforcement learning method guided by Nash equilibrium is specifically as follows:
[0040] A Markov game model is constructed by treating the power distribution system operator and multiple virtual power plants as multiple intelligent agents.
[0041] Predict the actions of other agents using an adversary behavior prediction network to generate a set of predicted actions;
[0042] Historical interaction experiences are stored in a Nash buffer, Nash equilibrium points are calculated, and Nash equilibrium strategies are learned using a Nash Actor-Critic network.
[0043] By introducing a cooperation factor, a weighted mixture is applied between the original TD3 strategy and the Nash equilibrium strategy to obtain the final action. :
[0044] ;
[0045] in, Represents intelligent agents In local state The original TD3 strategy below; Represents intelligent agents In local state The Nash equilibrium strategy under the following conditions; This represents the cooperation factor.
[0046] According to a second aspect of the present invention, a processor is provided for performing operations, the operations including the step of performing the above-described method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning.
[0047] The beneficial effects of this invention are as follows: This invention takes the distribution system operator and multiple virtual power plants as the coordinating entities, and considers factors such as node voltage, power flow, branch capacity, equipment operation, and vehicle-grid interaction resource constraints to construct a two-layer collaborative optimization scheduling model of distribution system operator-virtual power plants. At the same time, combining the market mechanism of price quota curves and the needs of multi-entity interest coordination, the scheduling process is modeled as a Markov game, and a deep reinforcement learning method guided by Nash equilibrium is used to solve it, which can effectively realize the safe, economical, and collaborative optimization operation of active distribution networks and virtual power plants. Attached Figure Description
[0048] Figure 1 This is a flowchart of the method of the present invention.
[0049] Figure 2 This is a flowchart of the solution method provided according to an embodiment of the present invention. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other.
[0051] Example 1: As Figures 1-2 As shown, according to a first aspect of the present invention, a method for active distribution network optimization and coordination with multi-network constraints in virtual power plants based on Nash equilibrium-guided deep reinforcement learning is provided, comprising:
[0052] The two-layer dispatch system, consisting of the distribution network managed by the distribution system operator and the virtual power plants connected to it, is regarded as a multi-agent system; in which the distribution system operator acts as the upper-level decision-making body to guide the lower-level virtual power plants to participate in collaborative dispatch.
[0053] Based on the price quota curve market mechanism, a two-layer collaborative optimization scheduling model of power distribution system operator and virtual power plant is constructed and solved for a multi-agent system. For example, a deep reinforcement learning method guided by Nash equilibrium is used for the solution.
[0054] Furthermore, the power distribution system operator-virtual power plant two-layer collaborative optimization scheduling model specifically includes:
[0055] Construct a market clearing model based on the price quota curve market mechanism;
[0056] With the goal of maximizing the overall operating revenue of the power distribution system operator and in combination with upper-level constraints, an optimal scheduling model for the upper-level power distribution system operator is constructed.
[0057] With the goal of maximizing the operating revenue of the virtual power plant and incorporating lower-level constraints, an optimized scheduling model for the lower-level virtual power plant is constructed.
[0058] Furthermore, the optional implementation process of the present invention is described as follows:
[0059] I. Constructing a market clearing model based on the price quota curve market mechanism
[0060] The market clearing model is constructed as follows:
[0061] Suppose there is in the market Each bidding segment, index Auction Segment Set Define the set of market types. These represent the electricity sales, electricity purchase, and ancillary services markets, respectively; for any market type Each bidding segment m is defined by the following historical parameters in time period t: benchmark price Reference power Variable capacity limit ;
[0062] Definition: Market clearing power in time period t Market clearing price with time period t :
[0063] ;
[0064] in, , These represent the active power clearing power purchased from the external power market and the active power clearing power sold to the external power market by the distribution system operator (DSO) during time period t, respectively. This represents the reactive power clearing power of the DSO in the ancillary services market during time period t; Represents the set of scheduling periods; This represents the electricity clearing price at which the DSO sells electricity to the external electricity market during time period t; This represents the power purchase clearing price at which the DSO purchases electricity from the external power market during time period t; This represents the clearing price of reactive power ancillary services when the DSO participates in the reactive power ancillary services market during time period t.
[0065] Define binomial variables This indicates whether to select the m-th bidding segment in time period t; since only one bidding segment can be selected for a specific market in each time period, the following constraints must be met:
[0066] ;
[0067] use Describe the market during period t The winning bid for the variable power in bidding segment m; It represents the set of non-negative real numbers, that is, the value of the variable is a continuous real number greater than or equal to 0.
[0068] The actual market clearing power in time period t is composed of the base power and the variable winning bid power of the selected bidding segment:
[0069]
[0070] This constraint indicates that the market clearing power in time period t... The fixed reference power of the selected bidding segment With variable winning bid power Together they constitute the whole. When bidding segment m is selected... The fixed benchmark power corresponding to this bidding segment Incorporate market clearing power; when bidding segment m is not selected. The fixed reference power is not included. This represents the variable winning power within bidding segment m during time period t, and its value does not exceed the maximum allowable variable capacity limit for that bidding segment. :
[0071]
[0072] This constraint ensures that only the selected bidding segment can have a non-zero variable winning bid power.
[0073] The clearing price is determined by the benchmark price of the selected bidding segment; that is, the market clears according to the marginal price of the selected bidding segment.
[0074]
[0075] This constraint indicates that, since only one bidding segment can be selected per time period t, when bidding segment m is selected... The benchmark price corresponding to this bidding segment This is included in the clearing price; when bidding segment m is not selected, Its price is not included. Therefore, This represents the market clearing price for time period t. This represents the benchmark price for the m-th bidding segment in time period t. This indicates whether the bidding segment has been selected.
[0076] Since only one bidding segment is selected for each time period, the clearing price is the benchmark price for that segment. This modeling method retains the core characteristics of segmented bidding in the electricity market while simplifying complex market equilibrium calculations using historical data, making it suitable for market interaction simulations in multi-level optimization problems.
[0077] The DSO agent guides lower-level VPP agents to actively participate in the global coordination of their distribution network ADN by setting reasonable incentive prices. Within this framework, the incentive price vector issued by the DSO to the nth VPP agent in time period t is defined as... ,in, and These represent the active power incentive price and reactive power incentive price issued by the DSO to the nth VPP agent during time period t, respectively. This incentive price vector is a coordination control variable between the DSO and VPPs, used to guide the VPPs to adjust their local resource scheduling behavior based on the price signal.
[0078] In the MADRL framework, the incentive price is generated by the learned pricing strategy, with the goal of maximizing the expected cumulative return of the system.
[0079] The incentive electricity price received by the nth VPP agent during time period t needs to satisfy the following range constraint:
[0080]
[0081] In the formula, and These are the upper and lower limits of the active power incentive electricity price issued by the DSO to the nth VPP agent, respectively. and These represent the upper and lower limits of the reactive power incentive price issued by the DSO to the nth VPP agent, respectively.
[0082] II. To maximize the overall operating revenue of the power distribution system operator and in combination with constraints, an optimal scheduling model for the upper-level power distribution system operator is constructed.
[0083] The upper-level power distribution system operator optimization scheduling model aims to maximize the overall operating revenue of the power distribution system operator. The upper-level objective function is expressed as:
[0084]
[0085]
[0086]
[0087]
[0088]
[0089] in, This represents the overall operational revenue target of the DSO throughout the entire scheduling cycle; This represents the trading revenue generated by the DSO during time period t in the external electricity market; This represents the trading revenue generated by the DSO through power interaction with each VPP during time period t; The cost of generating electricity from a micro gas turbine (MT) during time period t for a DSO; Penalty for DSO voltage exceeding limit during time period t; These represent the active and reactive power interactions between the distribution system operator (DSO) at node j in time period t and the nth virtual power plant (VPP). The active power output of the micro gas turbine at node j in time period t; This represents the cost coefficient of node j; These represent the penalty coefficients for severe voltage exceedance and minor voltage exceedance, respectively. These represent the lower and upper limits of the severe voltage over-limit judgment range, respectively; These represent the lower and upper limits of the judgment interval for minor voltage exceedances, respectively; N represents the set of nodes in the distribution network; This represents the set of virtual power plants (VPPs) connected to the active distribution network. and These represent the active power incentive price and reactive power incentive price issued by the DSO to the nth VPP agent during time period t, respectively. This indicates the discount weight corresponding to time period t; This represents the voltage at node j during time period t. The value is 1 when the voltage exceeds the critical voltage threshold range, and 0 otherwise. This indicates that the value is 1 when the voltage of node j exceeds the slight voltage threshold range during time period t, and 0 otherwise.
[0090] The constraints of the upper-level power distribution system operator's optimized scheduling model (i.e., upper-level constraints) include system power flow constraints, node power balance constraints, branch capacity constraints, node voltage constraints, micro gas turbine operation constraints, upper-level grid interaction power constraints, distributed renewable energy output constraints, and energy storage operation constraints.
[0091] (1) System power flow constraints
[0092] For each time period t, the power flow equations of the system must satisfy:
[0093]
[0094]
[0095]
[0096] in, These represent the active and reactive power flowing from node j to its child node k in time period t, respectively. Let J and F represent the resistance and reactance of the branch jk from node j to its child node k, respectively. This represents the square of the voltage amplitude at node j in time period t; Represents the set of branches in a distribution network; This represents the node index, used to indicate the downstream child node of node k; Represents all branches connected to node k. Belongs to the distribution network branch set The downstream node h. , This represents the active power injection and reactive power injection at node k during time period t.
[0097] (2) The node power balance constraint is expressed as:
[0098]
[0099]
[0100] in, , These represent the active power injection and reactive power injection at node j during time period t, respectively. Indicates the node in time period t The photovoltaic system is contributing its power. Indicates the node in time period t The wind power contributes to the effort. These represent nodes in time period t. The active and reactive power output of the micro gas turbine These represent nodes in time period t. The ESS charging power and discharging power; The indicator parameter representing the connection relationship between node j and the common coupling point (Bus1), when j=1. =1, otherwise =0; , These represent the power purchased and power sold by the DSO during time period t, respectively. , These represent the active and reactive load power of node j during time period t, respectively. , Let represent the active and reactive power interactions between the distribution system operator (DSO) at node j in time period t and the nth virtual power plant (VPP). This represents the set of virtual power plants (VPPs) connected to the active distribution network. Represents the set of active distribution network nodes. This represents the reactive power clearing power of the ancillary services market during time period t.
[0101] (3) The branch capacity constraint is expressed as:
[0102]
[0103] In the formula, This is the upper limit of branch capacity. For active distribution network branch collection.
[0104] (4) The node voltage constraint is:
[0105]
[0106] In the formula, Let be the voltage amplitude of node j in time period t. , These are the lower and upper limits of the voltage at node j, respectively.
[0107] (5) Operating constraints of micro gas turbines:
[0108] The upper and lower limits of the output of the micro gas turbine are constrained as follows:
[0109]
[0110] The ramping constraint for micro gas turbines is:
[0111]
[0112] The active-reactive coupling constraint of the micro gas turbine is:
[0113]
[0114] In the formula, , These represent the active and reactive power outputs of the micro gas turbine at node j during time period t, respectively. , These represent the minimum and maximum active power output allowed for the micro gas turbine at node j, respectively. This indicates the maximum allowable ramp power for the micro gas turbine at node j; This represents the active-reactive power coupling coefficient of a micro gas turbine.
[0115] (6) Power constraints between the upstream power grid:
[0116] The power purchase limit of the upstream power grid is:
[0117]
[0118] The power sales capacity constraint of the upstream power grid is:
[0119]
[0120] The reactive power constraint of the upper-level power grid is:
[0121]
[0122] In the formula, , These represent the maximum permissible active power exchange and the maximum permissible reactive power exchange between the power distribution system operator and the upstream power grid, respectively.
[0123] (7) Output constraints of distributed renewable energy:
[0124] Photovoltaic output constraints are:
[0125]
[0126] Wind power output constraints are:
[0127]
[0128] In the formula, , These are the upper limits of active power output from photovoltaic power and active power output from wind power, respectively.
[0129] (8) Energy storage operation constraints
[0130] Energy storage units are used to absorb electrical energy during periods of low electricity prices, low load, or surplus renewable energy, and to release electrical energy during periods of high electricity prices, high load, or insufficient voltage safety margin.
[0131] The energy storage state of charge update equation is:
[0132]
[0133] The energy storage state of charge constraints are:
[0134]
[0135] The energy storage charging power constraint is:
[0136]
[0137] The energy storage discharge power constraint is:
[0138]
[0139] The mutual exclusion constraint for energy storage charging and discharging is:
[0140]
[0141] In the formula, , Representing nodes respectively The state of charge of the energy storage unit in time period t and the next time period t+1; , These represent the nodes of time period t respectively. The charging and discharging power of the energy storage unit; , These represent the charging efficiency and discharging efficiency of the energy storage unit, respectively. Indicates the duration of a single scheduling period; This represents the maximum energy storage capacity of the energy storage unit at node j; , Representing nodes respectively The minimum and maximum state of charge allowed for the energy storage unit; Represents a node The maximum charging and discharging power of the energy storage unit; , These represent the nodes of time period t respectively. The charging state variables and discharging state variables of the energy storage unit.
[0142] III. Constructing an optimized scheduling model for the lower-level virtual power plant, with the objective of maximizing the operating revenue of the virtual power plant and incorporating lower-level constraints.
[0143] The lower-level objective function, constructed with the goal of maximizing the operating revenue of the nth virtual power plant, is as follows:
[0144]
[0145] In the formula, This is represented as the operating revenue of the nth virtual power plant. This indicates the discount weight corresponding to time period t; This represents the revenue of the nth VPP during time period t through vehicle-to-grid (V2G) services. This represents the cost of generating electricity from a micro gas turbine for the nth VPP during time period t; This represents the electricity purchase cost of the nth VPP in time period t; This represents the demand response cost of the nth VPP in time period t; This represents the voltage exceedance penalty cost of the nth VPP in time period t; the calculation of the micro gas turbine power generation cost and voltage exceedance penalty cost of the nth VPP in time period t follows the optimal scheduling model of the upper-level power distribution system operator. , .
[0146] Revenue from the nth virtual power plant vehicle-to-grid (V2G) service during time period t for:
[0147]
[0148] In the formula, Let be the V2G service revenue correction coefficient for the nth VPP in time period t, used to characterize the impact of V2G resource availability, user participation willingness, and service compensation intensity on V2G transaction revenue. The V2G transaction price for the nth VPP in time period t; , These represent the discharge power and charging power of the type b V2G resource deployed in the nth VPP during time period t, respectively. Indicates the duration of a single scheduling period.
[0149] Electricity purchase cost of the nth virtual power plant in time period t for:
[0150]
[0151] The nth virtual power plant in time period t The demand response cost is:
[0152]
[0153] in, This represents the set of nodes participating in demand response in the nth VPP; This indicates the unit compensation cost for demand response; unit compensation cost for demand response; For time period t node Demand response power; , These represent the active and reactive power interactions between the distribution system operator (DSO) at node j in time period t and the nth virtual power plant (VPP).
[0154] The constraints of the lower-level virtual power plant optimization scheduling model (i.e., lower-level constraints) include resource operation constraints within the virtual power plant, vehicle-to-grid interaction resource constraints on the transportation side, micro gas turbine operation constraints, and distributed renewable energy output constraints. The micro gas turbine operation constraints and distributed renewable energy output constraints are the same as the corresponding constraints in the upper-level distribution system operator optimization scheduling model (the ADN node set needs to be replaced with the corresponding VPP node set). This is used to determine the optimal scheduling power of various resources within the virtual power plant under the above constraints.
[0155] (1) Resource operation constraints within the virtual power plant
[0156] Virtual power plant units aggregate distributed renewable energy, energy storage units, micro gas turbines, flexible loads, and vehicle-to-grid (V2G) resources, and participate in the dispatching of power distribution system operators based on market price signals and their own operating status. Internal resource operating constraints of virtual power plants include:
[0157] The active power balance constraint of resources within a virtual power plant is expressed as:
[0158]
[0159] In the formula, This represents the set of nodes within the nth virtual power plant; This represents the set of vehicle-to-grid (V2G) interactive resource types deployed in the nth virtual power plant. This indicates an index of vehicle-to-everything (V2X) interactive resource types. and These represent the active power outputs of the photovoltaic and wind turbine units at node j in time period t, respectively. This represents the active power output of the micro gas turbine at node j in time period t; For time period t node Demand response power; , These represent the discharge power and charging power of the vehicle-to-grid interactive resources in the nth virtual power plant during time period t; For time period t node The active load power; Let t be the active power interaction between DSO and the nth VPP.
[0160] The reactive power balance constraint within the nth virtual power plant is:
[0161]
[0162] In the formula, For time period t node reactive load power, Let be the reactive power interaction between the nth virtual power plant and the active distribution network during time period t.
[0163] (2) Resource constraints for vehicle-to-vehicle interaction on the transportation side
[0164] The V2G vehicle-to-grid (V2G) interaction resources on the transportation side within the VPP are divided into three types: bus / taxi battery swapping stations, centralized charging for commercial electric vehicles, and price-response charging for private electric vehicles, denoted by b=1, b=2, and b=3, respectively. The state-of-charge (SOC) update equation for the b-th type of V2G interaction resource in the nth virtual power plant is:
[0165]
[0166] in, This represents the state of charge of the b-th type of V2G resource in the nth virtual power plant during time period t. and These represent the charging power and discharging power of the type b V2G resource in the nth virtual power plant during time period t, respectively. and Let these represent the charging efficiency and discharging efficiency of the type b V2G resource in the nth virtual power plant, respectively. This represents the maximum energy storage capacity of the b-th type of V2G resource in the nth virtual power plant; This represents the task-related energy consumption under the b-th type of vehicle-to-grid (V2G) resource operation mode in the nth virtual power plant. The SOC constraints, charging and discharging power constraints, and charging and discharging mutual exclusion operation states of the V2G resources are modeled with reference to the energy storage state of charge constraints, energy storage charging power constraints, energy storage discharging power constraints, and energy storage charging and discharging mutual exclusion constraints in the energy storage system constraints above, and the variables related to ESS are replaced with the corresponding V2G variables.
[0167] For b=1, a battery swapping station model is adopted for buses / taxi, assuming that the battery swapping station is equipped with [number] units during time period t. There are 1 backup battery, each with a capacity of 1. The energy change during the battery swapping process of V2G resources in the first type of vehicle-to-grid interaction is as follows:
[0168]
[0169] in, This indicates the energy demand or energy consumption of the first type of V2G resource (i.e., bus / taxi battery swapping station) during the battery swapping service in time period t. For time period The number of battery swaps completed within the specified timeframe. The energy consumption model for travel under the battery swapping mode is as follows:
[0170]
[0171] In the formula, For time period Energy consumption for travel using Category 1 V2G resources; Indicates time period The travel demand factors of Category 1 V2G interactive resources; This indicates the number of electric vehicles in Category 1 V2G resources; This indicates the energy consumption per unit vehicle per kilometer. This indicates the actual battery swapping time for a single electric vehicle; This indicates the maximum allowed battery swapping time limit at the battery swapping station; This represents the maximum number of vehicles that can simultaneously provide battery swapping services at a battery swapping station within a time period t.
[0172] When b=2, the charging decision is influenced by both the operating time window and the grid connection location, resulting in a time-space coupling constraint characteristic in the scheduling process. To address this characteristic, this invention constructs an evolutionary model of commercial EV charging time and SOC, whose mathematical relationship is represented as follows:
[0173]
[0174] In the formula, This represents the maximum charging power of the second type of V2G resource in the nth virtual power plant; This represents the time required to reach full charge during period t; the energy consumption model for commercial vehicle charging is as follows:
[0175]
[0176] In the formula, For time period Travel energy consumption of Category 2 vehicle-to-grid (V2G) resources; For time period The travel demand factors of Category 2 V2G interactive resources; This indicates the number of electric vehicles in the second type of V2G resources.
[0177] For b=3, vehicle availability is determined by the parking rate. Describe vehicle availability, including the number of available vehicles. for:
[0178]
[0179] in, This represents the total number of electric vehicles in Category 3 V2G resources, i.e., the total number of privately owned electric vehicles. This represents the parking rate during time period t, used to describe the vehicle availability of Category 3 V2G resources; This represents the number of private electric vehicles that can participate in charging and discharging scheduling during time period t.
[0180] Private car users' charging and discharging decisions are influenced by electricity price signals, which can be modeled as a price response function:
[0181]
[0182] In the formula, Indicates time period The transaction price of the third type of V2G resources in the nth virtual power plant; This indicates a reference electricity price, serving as a benchmark for users' sensitivity to price changes; This represents the sensitivity coefficient, reflecting the degree to which users respond to changes in electricity prices; This represents the baseline charging and discharging power; the energy consumption model for private car charging mode is as follows:
[0183]
[0184] In the formula, For time period Travel energy consumption of Category 3 vehicle-to-grid (V2G) resources; Indicates time period The third category of travel demand factors for V2G (Vehicle-to-Government) interactive resources.
[0185] Task-related energy consumption The following definitions can be used depending on the different V2G operating modes:
[0186]
[0187] IV. Introducing a Deep Reinforcement Learning Method Guided by Nash Equilibrium
[0188] 1) Treat the power distribution system operator and multiple virtual power plants as multiple intelligent agents and construct a Markov game model.
[0189] The system's global state is:
[0190]
[0191] in, This represents the system's global state during time period t; This represents the local state of the DSO agent in time period t; This represents the local state of the nth VPP agent in time period t; This represents the VPP set.
[0192] The intelligent agent corresponding to the power distribution system operator (DSO) Local state Includes the following information:
[0193]
[0194] in, This represents the state-of-charge information of the energy storage system contained in the local state of the DSO, which is related to the node-level variables mentioned earlier. The difference lies in the fact that this is represented from the perspective of DSO agent state observation; This represents the output information of the micro gas turbine in the previous time period contained in the local state of the DSO, which is related to the node-level variables mentioned earlier. Correspondingly, the difference is that here it represents the MT output state observed by the DSO or used for decision-making in the previous time period; These represent the aggregated renewable energy output, active load, and reactive load observed by the DSO during time period t, respectively. These represent the minimum and maximum node voltages observed by the DSO during time period t, respectively. These represent the market clearing volume and clearing price in the previous time period, respectively. These represent the incentive price vector, exchanged active power vector, and exchanged reactive power vector between the DSO and each VPP in the previous time period, respectively.
[0195] The state of the virtual power plant agent is represented as follows:
[0196]
[0197] in, These represent the aggregated renewable energy output, active load, and reactive load of the nth VPP in time period t, respectively. This represents the state of charge of the b-th type V2G resource deployed in the nth VPP during time period t. This represents the output state of the micro gas turbine in the nth VPP during the previous time period. This quantity corresponds to the node-level MT output variable mentioned earlier. This serves as historical output information in the local state of the VPP agent; These represent the minimum and maximum values of the node voltage within the nth VPP, respectively. These represent the active power exchanged and the reactive power exchanged between the nth VPP and DSO in the previous time period, respectively.
[0198] The actions of the power distribution system operator's intelligent agent are represented as follows:
[0199]
[0200] in, This represents the actions of the power distribution system operator's intelligent agent during time period t; A binary variable indicating whether the m-th bidding segment is selected in time period t; This represents the variable winning power within the m-th bidding segment of time period t; This represents the active power output of the micro gas turbine at node j during time period t; and These represent the charging power and discharging power of the energy storage unit at node j during time period t, respectively. This represents the incentive price vector issued by the DSO to the nth VPP during time period t.
[0201] The actions of the virtual power plant intelligent agent are represented as follows:
[0202]
[0203] in, This represents the action of the nth virtual power plant agent in time period t; For time period t node The demand response power, with a node range of [value missing]. ; This represents the set of nodes participating in demand response in the nth VPP; Represents a node The active power output of the micro gas turbine at time t, its node range is as follows: ; This represents the set of nodes inside the nth VPP; and Let represent the charging power and discharging power of the b-th type V2G resource in the n-th VPP during time period t, respectively. and These represent the nodes through which the nth VPP and DSO pass. The active and reactive power exchanged during time period t; This represents the set of vehicle-to-network (VPP) interaction resource types deployed in the nth VPP.
[0204] The agent reward function is expressed as:
[0205]
[0206] in, This represents the increment of the objective function of agent i in time period t. For a DSO agent, this increment corresponds to the change in revenue formed by the market transaction revenue, DSO-VPP transaction revenue, micro gas turbine cost, and voltage over-limit penalty in that time period.
[0207] The reward for power distribution system operators is expressed as follows:
[0208]
[0209] The reward for the virtual power plant agent is represented as follows:
[0210]
[0211] The Markov game model is expressed as follows:
[0212]
[0213] In the formula, I represents the set of intelligent agents, including the power distribution system operator intelligent agent and multiple virtual power plant intelligent agents; S represents the system state space. Let i be the action space of the i-th agent. Let P be the reward function for the i-th agent, and P be the state transition function. This is the discount factor.
[0214] The agent's value function is expressed as:
[0215]
[0216] in, This represents the expected cumulative reward that agent i can obtain starting from the initial state s under policy π. This represents the expected operation under strategy π; This represents the instantaneous reward that agent i receives during time period t.
[0217] The Nash equilibrium condition is expressed as:
[0218]
[0219] in, Let be the state value function obtained by agent i in state s according to the Nash equilibrium strategy combination; While keeping the Nash equilibrium policy unchanged for other agents, agent i unilaterally adopts any feasible alternative policy. The state value function obtained afterward; For any feasible alternative strategy for agent i; The Nash equilibrium strategy for agent i; Let be the combination of Nash equilibrium strategies for all agents except agent i.
[0220] 2) Predict the actions of other agents using an adversary behavior prediction network, wherein the adversary behavior prediction network is represented as:
[0221]
[0222] in, This represents an adversary behavior prediction network used by agent i to predict the actions of adversary agent j. This represents the parameters of the prediction network; Let i represent the local state space of agent i; This represents the action space of the adversary agent j; This represents the local state of agent i; Indicates a given local state At that time, the predicted action of agent j is output by the opponent behavior prediction network; , , This is the weight matrix of each layer of the multilayer perceptron network; , , This is the corresponding bias vector; Indicates the activation function; This represents the activation function of the output layer.
[0223] The loss function for predicting adversary behavior is expressed as:
[0224]
[0225] in, This represents the sample obtained from the experience playback buffer D. Take the expected value; This represents the actual action performed by the adversary agent j in the sample;
[0226] The parameter update method for the adversary behavior prediction network is expressed as follows:
[0227]
[0228] in, Represents the loss function Network parameters for predicting opponent behavior The gradient; This represents the learning rate of the adversary behavior prediction network.
[0229] The prediction of opponent actions based on multi-timescale historical states is represented as follows:
[0230]
[0231] in, The prediction step size is used to represent the historical state timescale adopted for the current prediction of multi-step opponent actions. The set of prediction steps represents all prediction steps considered in multi-timescale prediction.
[0232] The uncertainty in predicting the opponent's actions is expressed as:
[0233]
[0234] in, For the number of samples, This is for predicting the mean.
[0235] 3) Nash Actor-Critic Network
[0236] The Nash action value function is expressed as:
[0237]
[0238] in, This indicates the guiding strategy in Nash equilibrium. Expectations under the influence; This represents the joint policy composed of the Nash policies of each agent; the expectation is used to characterize the expected cumulative reward that agent i can obtain by continuing to interact according to the Nash equilibrium guiding policy after performing joint action a in state s.
[0239] The Bellman expression for the Nash action value function is as follows:
[0240]
[0241] in, This represents the immediate reward that agent i receives after performing a joint action a in system state s. Indicates the discount factor; This represents the next state obtained by transitioning from the current state s and the joint action a under the action of the state transition function P. Take the expected value; This represents the probability distribution of the system transitioning to the next state under the current state s and the joint action a; Indicates the system status for the next time period; Let represent the state value function obtained by agent i in the next state s′ according to the Nash equilibrium guidance strategy.
[0242] The Nash state value function is expressed as:
[0243]
[0244] in, This indicates that in the next state s′, the next joint action is generated according to the Nash equilibrium guiding strategy. And take the expectation of the corresponding Nash action value function; This indicates the combined action in the next state.
[0245] The Nash Actor network learns a strategy that approximates the Nash equilibrium. Its parameters are updated by maximizing the Nash Q-value.
[0246]
[0247] in, Denotes the Nash Actor network parameters of agent i; D represents the experience replay buffer; This represents the expectation of the state samples obtained from the experience replay buffer; This indicates that the Nash policy action is related to the Nash Actor network parameters. The gradient; This represents the Nash action value function with respect to agent i's action. The gradient; This represents the predicted actions of agents other than agent i, obtained from the opponent behavior prediction model.
[0248] The Nash Critic network uses a double Q network to suppress overestimation of value. The double Q network values are expressed as follows:
[0249]
[0250] in, , Let represent the Nash action value estimates of agent i from two Nash Critic networks under system state s and joint action a, respectively. The smaller of the two values is taken as the... This is used to reduce the overestimation error of the action value function.
[0251] The target action is generated smoothly using a target strategy, as follows:
[0252]
[0253] in, Represents intelligent agents In the next local state The following are Nash policy actions generated by the Nash Actor network; The pruning threshold for smoothing noise in the target strategy; The pruning threshold for smoothing noise in the target strategy; Describe a normal distribution (mean 0, standard deviation ). A random noise generator is used to add small random perturbations to actions during the reinforcement learning update process.
[0254] The objective value of the Nash Critic network is expressed as:
[0255]
[0256] in, This indicates the c-th Nash Critic network state of agent i in the next state. Smooth target action of agent i Smooth target actions of other agents Estimation of the Nash action value of the output; This represents the target action obtained by agent i in the next local state after smoothing by the target policy; This represents the smooth target action of agents other than agent i; This represents the immediate reward received by agent i during the current time period.
[0257] The Nash Critic network loss function is expressed as:
[0258]
[0259] in, This represents the Nash experience replay buffer. The expected value is obtained from the sample obtained by sampling in the middle. This represents the Nash experience replay buffer; Let represent the Nash action value estimate of the output of the c-th Nash Critic network of agent i under state s and joint action a.
[0260] 4) Introduce a cooperation factor and perform a weighted mixture between the original TD3 strategy and the Nash equilibrium strategy to obtain the agent. In state The final action:
[0261]
[0262] in, This indicates the original TD3 strategy, which aims to maximize its own returns. This represents the Nash equilibrium strategy, which seeks the equilibrium point in the game. This represents the cooperation factor, which controls the weights of the two types of strategies.
[0263] 5) Nash equilibrium calculation
[0264] The average action calculated based on batch samples is represented as follows:
[0265]
[0266] in, This represents the number of samples used to estimate the reference actions for the Nash equilibrium. Indicates the first The actual actions performed by agent i in a set of empirical samples .
[0267] The Nash equilibrium reference action update is represented as:
[0268]
[0269] in, The update rate or smoothing coefficient representing the reference action in Nash equilibrium is used to control the average action of the current sample. Reference actions with historical Nash Weights during the update.
[0270] The distance between the agent's action and the Nash equilibrium reference action is represented as:
[0271]
[0272] in, This represents the Euclidean distance between the current action of agent i in time period t and its Nash equilibrium reference action; This represents the action that agent i is actually performing in time period t. This represents the Nash equilibrium reference action corresponding to time period t.
[0273] Calculate the average Nash distance:
[0274]
[0275] In the formula, Let represent the average Nash distance of all agents in time period t; I represents the set of agents, and |I| represents the total number of agents.
[0276] When the average Nash distance is less than the preset Nash convergence threshold, or when the maximum number of training rounds is reached, the trained agent policy network is output.
[0277] This invention introduces a Nash equilibrium-guided deep reinforcement learning method. It predicts the actions of other agents through an opponent behavior prediction network, updates the policies and value functions of each agent through a Nash Actor-Critic network, and generates the final action through a weighted fusion of the base policy and the Nash policy, using the average equilibrium distance. The degree to which the strategies of multiple agents converge toward the Nash equilibrium reference point is evaluated, thereby enabling coordinated optimization operation between the active distribution network and multiple virtual power plants.
[0278] As described above, the upper-level distribution system operator optimization scheduling model of this invention is used to determine the distribution system operator's power purchase and sale decisions, ancillary service transaction decisions, incentive prices for virtual power plants, and controllable equipment scheduling decisions in the active distribution network in the external electricity market. The lower-level autonomous optimization scheduling model for multiple virtual power plants is used to determine the distributed renewable energy consumption, energy storage charging and discharging, micro gas turbine output, and vehicle-grid interaction resource charging and discharging strategies within each virtual power plant based on the incentive prices and transaction quotas published by the distribution system operator. The two-layer collaborative optimization scheduling model couples external market clearing with internal virtual power plant incentive transactions through a price-quota curve market mechanism.
[0279] According to a second aspect of the present invention, a processor is provided, the processor being configured to perform operations including the step of performing the above-described method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning.
[0280] Optionally, the specific implementation results are explained below:
[0281] This experiment uses an improved IEEE 33-node radial distribution network as the test system to verify the proposed active distribution network optimization and coordination method based on Nash equilibrium-guided deep reinforcement learning with multiple network constraints and virtual power plants. The system's baseline capacity is set to 10 MVA, the baseline voltage is set to 12.66 kV, and bus 1 serves as the common connection node between the active distribution network and the upper-level main grid. Three virtual power plants are connected to the system: VPP1, VPP2, and VPP3 are connected to the distribution system through tie nodes 19, 21, and 30, respectively, forming a two-layer scheduling structure involving the collaborative operation of the distribution system operator and multiple virtual power plants. Three operating scenarios are set up for comparative analysis. Scenario 1 is a model-based centralized optimization scheduling scenario, Scenario 2 is a conventional multi-agent deep reinforcement learning scheduling scenario, and Scenario 3 is the Nash equilibrium-guided deep reinforcement learning collaborative optimization scheduling scenario proposed in this invention. The distribution network operation indicators under different scenarios are shown in Table 1 below.
[0282] Table 1
[0283]
[0284] As shown in Table 1, the cost of the distribution network purchasing electricity from the upstream main grid in Scenario 3 is US$3,710.8, which is lower than US$4,265.2 in Scenario 1 and US$6,850.5 in Scenario 2. This indicates that the present invention can reduce the distribution network's dependence on purchasing electricity from the upstream main grid.
[0285] In Scenario 3, the net revenue of the VPP is US$2,800.0, which is higher than US$1,500.0 in Scenario 2 and US$0.0 in Scenario 1. This shows that the present invention can improve the revenue of virtual power plants participating in coordinated dispatch through dynamic price incentives and Nash equilibrium guidance mechanisms.
[0286] In Scenario 3, the total operating cost of the DSO is $8,560.8, which is lower than $10,050.5 in Scenario 2 and close to $8,486.5 in Scenario 1. At the same time, the transaction expenses paid by the DSO to the internal virtual power plant are converted into VPP revenue, which reflects the effect of interest coordination between the DSO and VPP.
[0287] In Scenario 3, the peak-to-valley difference of the main grid interconnection power is 3.12MW, which is significantly lower than 6.8MW in Scenario 2, indicating that the present invention can reduce the power interaction fluctuation of the main grid and improve the stability of operation.
[0288] In Scenario 3, the comprehensive renewable energy consumption rate is 95.8%, which is higher than 88.5% in Scenario 2 and close to 97.5% in Scenario 1, indicating that the present invention can improve the distributed renewable energy consumption capacity.
[0289] The computation time results for different algorithms are shown in Table 2 below:
[0290] Table 2
[0291]
[0292] As shown in Table 2, although the model-based MILP method does not require a training process, its single execution time is 39.46 seconds, which is insufficient to meet the real-time rolling scheduling requirements of active distribution networks. The training time of the MATD3 algorithm is 73.56 minutes, and its execution time is 1.23 seconds; the Nash-TD3 algorithm used in this invention has a training time of 75.49 minutes and an execution time of 1.25 seconds. Compared with MATD3, Nash-TD3 only increases the training and execution time slightly, but it can significantly improve the coordination effect of multi-stakeholder interests, reduce the power purchase cost of the upstream main grid, increase the net revenue of VPP, and improve the level of renewable energy consumption.
[0293] Therefore, the method proposed in this invention can achieve collaborative optimization between distribution system operators and multiple virtual power plants under multi-network constraints in active distribution networks. Compared with ordinary multi-agent deep reinforcement learning methods, this invention can reduce the cost of power purchase from the main grid, increase the net revenue of virtual power plants, reduce power fluctuations in main grid interconnections, and improve the comprehensive absorption rate of renewable energy. Compared with traditional model-based optimization methods, this invention has a faster online execution speed and is more suitable for real-time optimization and scheduling scenarios of active distribution networks with a high proportion of distributed renewable energy and heterogeneous vehicle-to-grid interaction resources.
[0294] The specific embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.
Claims
1. A method for active distribution network optimization and coordination with multiple network constraints in virtual power plants based on Nash equilibrium-guided deep reinforcement learning, characterized in that... include: The two-layer dispatch system, consisting of the distribution network managed by the distribution system operator and the virtual power plants connected to it, is regarded as a multi-agent system; in which the distribution system operator acts as the upper-level decision-making body to guide the lower-level virtual power plants to participate in collaborative dispatch. Based on the price quota curve market mechanism, a two-layer collaborative optimization scheduling model of power distribution system operator-virtual power plant is constructed and solved for a multi-agent system.
2. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 1, characterized in that, The power distribution system operator-virtual power plant two-layer collaborative optimization scheduling model specifically includes: Construct a market clearing model based on the price quota curve market mechanism; With the goal of maximizing the overall operating revenue of the power distribution system operator and in combination with upper-level constraints, an optimal scheduling model for the upper-level power distribution system operator is constructed. With the goal of maximizing the operating revenue of the virtual power plant and incorporating lower-level constraints, an optimized scheduling model for the lower-level virtual power plant is constructed.
3. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 1, characterized in that, In the market clearing model, the clearing price is determined by the benchmark price of the selected bidding segment, expressed as: ; ; in, This represents the market clearing price for time period t. This represents the benchmark price for the m-th bidding segment in time period t. Indicates whether the bidding segment is selected: When bidding segment m is selected, When bidding segment m is not selected, ; This represents the set of scheduling periods.
4. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 1, characterized in that, The upper-level power distribution system operator optimization scheduling model includes an upper-level objective function that aims to maximize the overall operating revenue of the power distribution system operator. The construction of the upper-level objective function is as follows: Based on the power sales clearing price, power purchase clearing price, ancillary service clearing price, power purchase capacity, power sales capacity, and reactive power clearing capacity of the power distribution system operator, the transaction revenue generated by the power distribution system operator participating in the external power market is determined. Based on the active power incentive price, reactive power incentive price and active and reactive power interaction power between the distribution system operator and the virtual power plant intelligent agent, the transaction revenue generated by the power interaction between the distribution system operator and each virtual power plant is determined. The power generation cost of the micro gas turbines of the power distribution system operators is determined based on their active power output. Based on the different levels of voltage over-limit, determine the voltage over-limit penalties for power distribution system operators; Based on the transaction revenue generated by the distribution system operator's participation in the external power market, the transaction revenue generated by the power interaction between the distribution system operator and various virtual power plants, the cost of micro gas turbine power generation, and the voltage over-limit penalty, a higher-level objective function is established with the goal of maximizing the overall operating revenue of the distribution system operator.
5. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 1, characterized in that, The objective function expression of the lower-level virtual power plant optimization scheduling model, which aims to maximize the operating revenue of the virtual power plant, is as follows: ; In the formula, This is represented as the operating revenue of the nth virtual power plant. This represents the discount weight corresponding to time period t; Represents the set of scheduling periods; This represents the revenue generated by the nth virtual power plant through vehicle-to-grid interaction services during time period t. This represents the cost of generating electricity using a micro gas turbine in the nth virtual power plant during time period t; This represents the electricity purchase cost of the nth virtual power plant during time period t; This represents the demand response cost of the nth virtual power plant during time period t; This represents the voltage over-limit penalty cost for the nth virtual power plant during time period t; The lower-level constraints include traffic-side vehicle-to-network interaction resource constraints.
6. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 5, characterized in that, The nth virtual power plant generates revenue through vehicle-to-grid interaction services during time period t. The expression is: ; In the formula, Let be the adjustment coefficient for the vehicle-to-grid interaction service revenue of the nth virtual power plant in time period t. The vehicle-to-grid (V2G) electricity price for the nth virtual power plant during time period t; , These represent the discharge power and charging power of the type b vehicle-to-grid interaction resource deployed in the nth virtual power plant during time period t, respectively. Indicates the duration of a single scheduling period.
7. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 5, characterized in that, The traffic-side vehicle-to-network interaction resource constraints are specifically as follows: The vehicle-to-grid (V2G) interaction resources within the virtual power plant are divided into three types: bus / taxi battery swapping stations, centralized charging for commercial electric vehicles, and price-responsive charging for private electric vehicles, denoted by b=1, b=2, and b=3, respectively. The state-of-charge (SOC) update equation for the b-th type of V2G interaction resource in the n-th virtual power plant is: ; in, This represents the state of charge of the b-th type of vehicle-to-grid interaction resource in the nth virtual power plant during time period t; and These represent the charging power and discharging power of the type b vehicle-to-grid interactive resource deployed in the nth virtual power plant during time period t; and Let these represent the charging efficiency and discharging efficiency of the b-th type of vehicle-to-grid interaction resource in the n-th virtual power plant, respectively. This represents the maximum energy storage capacity of the b-th type of vehicle-to-grid interaction resource in the n-th virtual power plant; This represents the task-related energy consumption in the nth virtual power plant under the b-th type of vehicle-to-grid interaction resource operation mode during time period t; Indicates the duration of a single scheduling period; Task-related energy consumption The following definitions can be made based on different vehicle-to-everything (V2X) interaction resource operation modes: ; in, For time period Energy consumption for travel based on Category 1 vehicle-to-everything (V2X) interactive resources; This represents the energy consumption of the first type of vehicle-to-grid interactive resources during the battery swapping service in time period t. For time period Energy consumption for travel based on Category 2 vehicle-to-everything (V2X) interactive resources; For time period The third category of energy consumption for travel related to vehicle-to-everything (V2X) interactive resources.
8. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 1, characterized in that, A two-layer collaborative optimization scheduling model of power distribution system operator-virtual power plant is constructed for a multi-agent system and solved using a deep reinforcement learning method guided by Nash equilibrium.
9. The method for active distribution network optimization and coordination with multiple network constraints based on Nash equilibrium-guided deep reinforcement learning according to claim 8, characterized in that, The deep reinforcement learning method guided by Nash equilibrium is as follows: A Markov game model is constructed by treating the power distribution system operator and multiple virtual power plants as multiple intelligent agents. Predict the actions of other agents using an adversary behavior prediction network to generate a set of predicted actions; Historical interaction experiences are stored in a Nash buffer, Nash equilibrium points are calculated, and Nash equilibrium strategies are learned using a Nash Actor-Critic network. By introducing a cooperation factor, a weighted mixture is applied between the original TD3 strategy and the Nash equilibrium strategy to obtain the final action. : ; in, Represents intelligent agents In local state The original TD3 strategy below; Represents intelligent agents In local state The Nash equilibrium strategy under the following conditions; Indicates the cooperation factor.
10. A processor for performing operations, characterized in that, The operation includes the step of performing the active distribution network optimization and coordination method based on Nash equilibrium-guided deep reinforcement learning with multiple network constraints, as described in any one of claims 1-9.
