Active power distribution network active-reactive power coordinated dispatching modeling method considering inverter working state switching

By taking the active power-reactive power coordinated dispatch modeling method of the active distribution network into account inverter working state switching, the working state of distributed photovoltaic and energy storage inverters is optimized, and the power distribution problems caused by the high proportion of renewable energy access are solved. It solves the problem of unstable grid voltage and power flow distribution, achieves active-reactive power synergy balance and voltage stability, and improves the efficiency of light abandonment revenue.

CN118801489APending Publication Date: 2024-10-18HEFEI UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410660102.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The high proportion of renewable energy access leads to unstable voltage and power flow distribution in the distribution network. The existing technology fails to make full use of the voltage stabilization capability of the inverter and the reactive power supply capability of energy storage, and the curtailment and reactive power dispatching and allocation are insufficient. Reasonable.

Method used

This paper proposes a modeling method for active power-reactive power coordinated dispatch in active distribution networks that considers inverter working state switching. By obtaining network parameters and power supply parameters, the working state model of distributed photovoltaic and energy storage inverters is established to construct a dynamic The light abandonment penalty coefficient is used, and a double-layer stochastic optimization model is used for scheduling to optimize the scheduling results of active and reactive equipment.

Benefits of technology

It improves the voltage support flexibility and active-reactive power scheduling flexibility of distributed photovoltaic and energy storage inverters, converts passive light abandonment into active light abandonment, reduces light abandonment losses, improves light abandonment revenue efficiency, and reduces system voltage deviation and network losses and increase the consumption rate of renewable energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118801489A_ABST
    Figure CN118801489A_ABST
Patent Text Reader

Abstract

The invention discloses an active power distribution network active-reactive power coordinated dispatching modeling method considering inverter working state switching. The method comprises the following steps: 1, generating a distributed photovoltaic output fluctuation scene and a load fluctuation scene of an active power distribution network; 2, establishing a working state switching model of a distributed photovoltaic inverter PV and a working state switching model of a distributed energy storage inverter ESS; 3, constructing a distributed photovoltaic light abandoning capacity expansion demand evaluation index, and establishing an active power reduction benefit index by using a distributed photovoltaic output fluctuation scene so as to calculate a dynamic light abandoning penalty coefficient; and 4, establishing a double-layer stochastic optimization model of active power-reactive power coordination of the active power distribution network considering the working state switching of the inverter, and optimizing and solving by utilizing a solver. According to the invention, the multi-time-scale active-reactive cooperative balance and voltage stabilization of the power distribution network are realized, and the passive abandoned light in the system operation is converted into the positive abandoned light with positive benefits through reasonable distribution of the abandoned light and the grid-connected reactive power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of active power distribution network active-reactive coordinated dispatching, in particular to an active power distribution network active-reactive coordinated dispatching modeling method considering inverter working state switching. Background Art

[0002] The access of a high proportion of renewable energy will have a great impact on the power quality and power flow distribution of the distribution network. The randomness of its output lacks matching characteristics with the actual demand of the load, which leads to over-limit of distribution network voltage and over-limit of line power. Therefore, it is necessary to fully develop the reactive resources of the distribution network to ensure the safe and stable operation of the system after the high proportion of distributed renewable energy is connected to the grid. Some existing studies only consider the control effect of optimizing reactive regulation on voltage. Due to the relatively high R / X ratio of the distribution network, active scheduling also has a high impact on voltage. The simple reactive scheduling to adjust the voltage is not enough to give full play to the voltage stability ability of the distribution network, and it is not sufficient to play a role in the safety and stability of the power flow. In the existing research on the optimization scheduling method of active and reactive coordination, it is not considered that the direct voltage stability ability of the voltage source can be exerted by the DC power inverter connected to the grid.

[0003] Some studies have considered actively abandoning photovoltaic power during high-generation photovoltaic power generation to increase the upper limit of reactive power dispatch, but have not explored the reactive power dispatch capability of the STATCOM working mode. In recent years, some studies have considered the STATCOM working mode of photovoltaic power generation and the expansion of photovoltaic power generation during high-generation abandonment, and have fully utilized the reactive power supply capability of photovoltaic power generation, but have ignored the exploration of reactive power supply capability of energy storage during non-charging and discharging, and have also ignored the benefits and disadvantages of inverter working state timing selection to balance distributed photovoltaic power generation and distributed energy storage. At the same time, due to the uneven distribution of reactive power at nodes in the distribution network, abandonment of photovoltaic power generation with equal priority has caused certain negative benefits to distributed photovoltaic power generation. Summary of the invention

[0004] The present invention aims to solve the deficiencies of the above-mentioned prior art and proposes a modeling method for active-reactive coordinated scheduling of active distribution networks taking into account the switching of inverter working states, so as to transform the passive abandonment of light in system operation into active abandonment of light with positive benefits, and reasonably allocate the abandonment of light and reactive scheduling distribution, so as to give full play to the direct and indirect voltage support capacity of renewable energy, thereby improving the active-reactive scheduling flexibility of the active distribution network and the voltage support flexibility of the inverter, and solving the problems of safe and stable operation of power quality and power flow of the distribution network caused by a high proportion of renewable energy, passive abandonment of light, and unreasonable abandonment of light and reactive scheduling distribution.

[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0006] The present invention provides an active power distribution network active-reactive coordinated dispatch modeling method considering inverter working state switching, which comprises the following steps:

[0007] Step 1: Obtain network parameters of the active distribution network and parameters of various types of power sources, typical daily time series load forecast curves of each node of the active distribution network, and typical daily photovoltaic output forecast curves, so as to generate output volatility scenarios of distributed photovoltaics and load volatility scenarios of the active distribution network;

[0008] Step 2: Establish a working state switching model of a distributed photovoltaic inverter PV and a working state switching model of a distributed energy storage inverter ESS;

[0009] Step 3: construct an evaluation index for abandoned photovoltaic expansion demand of distributed photovoltaics, and use the output volatility scenario of the distributed photovoltaics to establish an active power reduction benefit index, so as to calculate a dynamic abandoned photovoltaic penalty coefficient;

[0010] Step 4: Based on the working state switching model of the distributed photovoltaic inverter PV and the working state switching model of the distributed energy storage inverter ESS, as well as the dynamic abandonment penalty coefficient calculation model, a two-layer stochastic optimization model of active-reactive coordination of the active distribution network considering the inverter working state switching is established;

[0011] Step 5. According to the output volatility scenario of distributed photovoltaics and the load volatility scenario of the active distribution network, the double-layer stochastic optimization model is solved using the yalmip tool and the gurobi solver to obtain the optimal scheduling results of the active and reactive equipment of the active distribution network, including: the grid-connected active and reactive power of distributed photovoltaics, the grid-connected active and reactive power of distributed energy storage, the grid-connected reactive power of grouped switching capacitors, the tap position of the on-load tap-changing transformer, and the grid-connected reactive power of the static VAR compensator.

[0012] The active distribution network active-reactive coordinated dispatch modeling method considering inverter working state switching of the present invention is also characterized in that: the step 1 includes:

[0013] Step 1a, obtaining network parameters of the active distribution network and parameters of various types of power sources, including: network topology parameters of the active distribution network, power parameters of distributed photovoltaics, power parameters of distributed energy storage, parameters of static VAR compensators, parameters of group switching capacitors, and parameters of on-load tap-changing transformers;

[0014] The network topology parameters of the active power distribution network include: network node numbers and load active reference values ​​and load reactive reference values ​​of the corresponding nodes, network feeder numbers and their corresponding starting node numbers, pointing node numbers, feeder resistance values ​​and feeder reactance values;

[0015] The distributed photovoltaic power supply parameters include: the number of distributed photovoltaic power supplies, the grid-connected node number of each distributed photovoltaic, and the power supply capacity;

[0016] The power supply parameters of the distributed energy storage include: the number of power supplies of the distributed energy storage, the grid-connected node number of each distributed energy storage, the power supply capacity, the upper and lower limits of the charge, the operating cost, the charging and discharging efficiency, the upper and lower limits of the charging and discharging power, and the initial charge;

[0017] The parameters of the static VAR compensator include: the number of static VAR compensators, the grid-connected node number of each static VAR compensator, and the upper and lower limits of capacity;

[0018] The parameters of the group switching capacitors include: the number of group switching capacitors, the grid-connected node number of each group switching capacitor, the group switching step length, the maximum number of switching groups and the upper limit of the switching action in a single day;

[0019] The parameters of the on-load tap-changing transformer include: the number of on-load tap-changing transformers, the grid-connected feeder number of the on-load tap-changing transformer, the tap ratio step, the upper and lower limits of the ratio, and the upper limit of the tap operation in a single day;

[0020] Step 1b: Obtain the typical daily time series load forecast curve of each node of the active distribution network:

[0021] After the load active reference value and the load reactive reference value of each node of the active distribution network obtained in step 1a are multiplied by the typical day time series load prediction per unit value curve, the typical day time series load prediction curve of each node of the active distribution network is obtained, including: a typical day time series load active prediction curve and a typical day time series load reactive prediction curve;

[0022] Step 1c: Obtain the typical day photovoltaic output forecast curve:

[0023] After multiplying the photovoltaic capacity of each distributed node of the active distribution network obtained in step 1a by the typical daily photovoltaic output prediction per unit value curve, a typical daily photovoltaic output prediction curve of the distributed photovoltaic nodes of each node of the active distribution network is obtained;

[0024] Step 1d: Generate the output volatility scenario of distributed photovoltaics:

[0025] Taking the typical daily photovoltaic output forecast curve as the mean, combined with the output volatility variance of each distributed photovoltaic, several initial scenarios are generated through Latin hypercube sampling, and then the initial scenarios are clustered and reduced into distributed photovoltaic output volatility scenarios through K-means clustering;

[0026] Step 1e: Generate load fluctuation scenarios for active distribution networks:

[0027] The typical daily time-series load forecast curve of each node of the active distribution network is taken as the mean, and combined with the variance of the load active power fluctuation of each node, several initial scenarios are generated through Latin hypercube sampling, and then several initial scenarios are clustered and reduced into load fluctuation scenarios of the active distribution network through K-means clustering.

[0028] The step 2 comprises:

[0029] Step 2a: According to the relationship between the inverter and the grid it is connected to, the grid connection mode of the inverter is divided into a grid-following type and a grid-building type;

[0030] Formula (1) is used to construct the grid-connected reactive power constraint of the inverter in the root-grid type grid-connected mode:

[0031] Q min ≤Q in ≤Q max (1)

[0032] In formula (1), Q min is the lower limit of the inverter's grid-connected reactive power dispatch; Q in is the grid-connected reactive power of the inverter; Q max The upper limit of the inverter's grid-connected reactive power dispatch;

[0033] Formula (2) is used to construct the grid-connected reactive power constraint of the inverter in the grid-connected mode:

[0034]

[0035] In formula (2), V is the per unit value of the grid-connected node voltage of the inverter relative to the inverter reference voltage; V min is the lower limit of the voltage reactive power droop control dead zone; V max is the upper limit of the dead zone of voltage and reactive power droop control; δ1 is the minimum limit voltage of voltage and reactive power droop control; δ2 is the maximum limit voltage of voltage and reactive power droop control;

[0036] Step 2b, dividing the inverter working mode into active full absorption, active reduction and STATCOM;

[0037] Using formula (3), we can construct the upper limit Q of the inverter's grid-connected reactive power dispatch max , lower limit Q min Relationship with active power constraints:

[0038]

[0039] In formula (3), S is the rated capacity of the inverter; P ref Theoretically supply active power to the DC power supply side of the inverter; is the maximum power factor angle; P inis the actual grid-connected active power of the inverter;

[0040] Step 2c: Use formula (4) to establish the active scheduling model of the working state switching model of the distributed photovoltaic inverter PV:

[0041]

[0042] In formula (4), is the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the theoretical grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the amount of photovoltaic abandonment of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the active power corresponding to the reactive upper and lower limit turning points of the distributed photovoltaic inverter PV on the i-th node; is the rated capacity of the distributed photovoltaic inverter PV on the i-th node; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the STATCON working mode at the t-th moment, To switch to STATCOM working mode, To switch out from STATCOM working mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node in the active power reduction working mode at the t-th moment, To switch to active power reduction mode, To switch out from the active reduction work mode; is the state variable of the interval pv2 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv2. The actual grid-connected active power is not within the interval pv2; is the state variable of the interval pv1 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv1. The actual grid-connected active power is not within the interval pv1; Θ PV is the set of grid-connected node numbers of distributed photovoltaics; T is the scheduling period; is a positive number;

[0043] Step 2d: Use formula (5) to construct a reactive power dispatch model of the working state switching model of the distributed photovoltaic inverter PV:

[0044]

[0045] In formula (5), is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the s-th scenario in the grid-connected mode; is the lower limit of reactive power dispatch of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; V is the reactive power dispatch upper limit of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; i,t,s is the per unit value of the grid-connected node voltage at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state variable of the grid-connected node voltage per unit value in the interval v1 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v1, The grid-connected node voltage per unit value is not within the interval v1; is the state variable of the grid-connected node voltage per unit value in interval v2 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v2, The grid-connected node voltage per unit value is not within the interval v2; is the state variable of the grid-connected node voltage per unit value in interval v4 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v4, The per unit value of the grid-connected node voltage is not within the interval v4; is the state variable of the grid-connected node voltage per unit value in the interval v5 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v5, The grid-connected node voltage per unit value is not within the interval v5; and:

[0046]

[0047] Step 2e: Use formula (7) to establish the active scheduling model of the working state switching model of the distributed energy storage inverter ESS:

[0048]

[0049] In formula (7), Θ ESS A collection of grid-connected node numbers of distributed energy storage; is the grid-connected active power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the discharge amount of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the charge amount of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the upper limit of the charge and discharge of the distributed energy storage inverter ESS at the i-th node; is the active power corresponding to the reactive upper and lower limit turning points of the distributed energy storage inverter ESS at the i-th node; E i,t,s is the charge of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the lower limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; E i,0 is the initial charge of the distributed energy storage inverter ESS on the i-th node; η is the charging and discharging efficiency of the distributed energy storage; is the rated capacity of the distributed energy storage inverter ESS at the i-th node; is the discharge state variable of the distributed energy storage inverter ESS at the ith node at the tth time, For discharge, For charging; is the charging state variable of the distributed energy storage inverter ESS at the ith node at the tth time, For charging, For discharge; is the state variable of the discharge interval dis2 of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis2. The grid-connected active power is not within the interval dis2; is the discharge interval dis1 state of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis1. The grid-connected active power is not within the interval dis1; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node in interval ch2, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch2. The grid-connected active power is not within interval 2; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch1. The grid-connected active power is not within the interval ch1, and there are:

[0050]

[0051] Step 2e: Use formula (9) to establish a reactive power dispatch model of the working state switching model of the distributed energy storage inverter ESS:

[0052]

[0053] In formula (9), is the grid-connected reactive power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-connected mode; is the lower limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node in the STATCOM working mode at the t-th moment, To switch to STATCOM working mode, To switch out of STATCOM working mode, there are:

[0054]

[0055] The step 3 comprises:

[0056] Step 3a: Use formula (11) to construct the evaluation index of the abandoned photovoltaic expansion demand of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time:

[0057]

[0058] Step 3b: Use formula (12) to construct the active power reduction benefit index of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time:

[0059]

[0060] Step 3c: Use formula (13) to construct the dynamic abandonment penalty coefficient of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time:

[0061]

[0062] The step 4 comprises:

[0063] Step 4a: Use formula (14) to construct the upper objective function obj1 of the two-layer stochastic optimization model:

[0064]

[0065] In formula (14), NT is the period of upper layer optimization scheduling; is a set of scenario numbers for the volatility scenarios including the output volatility scenarios of distributed photovoltaics and the load volatility scenarios of active distribution networks in the long term; f t (s) is the probability of the s-th scenario at time t; is the operating loss in the sth scenario at the tth time; is the network loss of the active distribution network in the sth scenario at the tth time; is the voltage deviation of the active distribution network in the sth scenario at the tth time; ω1 is the target weight of the network loss of the active distribution network; ω2 is the target weight of the operating loss; ω3 is the target weight of the voltage deviation, and:

[0066]

[0067]

[0068] In formula (15)-formula (16), is the operating loss of distributed energy storage in the sth scenario at the tth time; is the abandonment and load shedding loss in the s-th scenario at the t-th time; is the loss of active power input to the main grid in the sth scenario at the tth time; is the unit operation and maintenance loss of distributed energy storage at time t; is the fixed abandonment penalty coefficient of the distributed photovoltaic inverter PV; is the fixed load shedding loss coefficient of the active distribution network; is the unit loss of active power input from the main grid to the balancing node at time t; is the load shedding amount at the i-th node in the s-th scenario at the t-th time; is the active power input from the main network to the balancing node in the sth scenario at the tth time; N is the maximum number of nodes; r ij is the resistance value of the feeder between the i-th node and the j-th node; I ij,t,s is the square of the current of the feeder between the ith node and the jth node in the sth scenario at the tth time; U i,t,s is the square of the voltage of the ith node in the sth scenario at the tth time; U N is the standard value of rated voltage of active distribution network;

[0069] Step 4b: Construct the upper constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching:

[0070] Use equation (17) to establish the power balance constraint on the upper layer nodes:

[0071]

[0072] In formula (17), P ij,t,s is the active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the actual grid-connected active power of the load of the ith node in the sth scenario at the tth time; Q ij,t,sis the reactive power of the feeder between the ith node and the jth node in the sth scenario at the tth time; x ki is the feeder reactance value between the kth node and the ith node; is the grid-connected reactive power of the load of the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the grouped switched capacitor of the i-th node at the t-th moment; is the grid-connected reactive power of the static VAR compensator at the i-th node in the s-th scenario at the t-th time;

[0073] The voltage constraint on the upper feeder is established using equation (18):

[0074]

[0075] The upper layer node voltage and power flow safety constraints are established using equation (19):

[0076]

[0077] In formula (19), U min is the lower limit of the safe voltage of the active distribution network; U max It is the safe voltage upper limit of the active distribution network; is the upper limit of the safe current of the feeder between the i-th node and the j-th node;

[0078] The virtual node constraints of the upper on-load tap-changing transformer after linearization are established using equation (20):

[0079]

[0080] In formula (20), n ol k is the number of tap positions of the on-load tap-changing transformer; ij,t,ol is the transformation ratio value corresponding to the timing state of the ol-th gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node; κ ij,t,ol is the linearized virtual node voltage on the feeder between the ith node and the jth node multiplied by the timing state of the olth gear of the on-load tap-changing transformer; u ol (ij,t) is the time sequence state of the olth gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node, u ol (ij,t)=1 means the tap is in the olth gear position, u ol (ij,t)=0 means the tap is not in the olth gear position; is the upper limit of the tap changer action within a single day; M is a positive integer; i′ is the number of the virtual node introduced by the on-load tap-changing transformer on the feeder between the i-th node and the j-th node after linearization; U i′,t,sis the node voltage of the i′th virtual node in the sth scenario at the tth time;

[0081] The grid-connected reactive power constraint of the upper-layer static VAR compensation device is established using equation (21):

[0082]

[0083] In formula (21), is the lower limit of reactive power dispatch of static VAR compensator on the i-th node; is the reactive scheduling upper limit of the static VAR compensator on the i-th node;

[0084] The upper load shedding constraint is established using equation (22):

[0085]

[0086] In formula (22), is the load forecast value of the sth scenario at the tth time on the ith node; is the minimum grid-connected load on the ith node;

[0087] The linearized operation constraints of the upper group switching capacitors are established using equation (23):

[0088]

[0089] In formula (23), is the number of switched groups of group-switched capacitors at the ith node at the tth moment; is the switching step length of the group switching capacitor on the i-th node; is the maximum number of switching groups of group-switched capacitors on the i-th node; is the state variable of the switching group number action of the group switching capacitor at the tth time on the i-th node, The number of switching groups changes. The number of switching groups has not changed; It is the upper limit of the switching action of group switching capacitors in a single day;

[0090] Formula (24) is used to construct the upper-level reactive power dispatch constraint of distributed photovoltaic PV considering the inverter working state switching, so as to establish the upper-level active-reactive coordinated dispatch constraint of distributed photovoltaic PV considering the inverter working state switching together with Formula (4) and Formula (6):

[0091]

[0092] Formula (23) is used to construct the upper-level reactive power dispatch constraint of the distributed energy storage ESS considering the inverter working state switching, and thus the upper-level active-reactive power coordinated dispatch constraint of the distributed energy storage ESS considering the inverter working state switching is established together with Formula (7), Formula (8) and Formula (10):

[0093]

[0094] Formula (26) is used to establish the upper voltage supplement constraint brought by the introduction of the inverter working state switching model:

[0095]

[0096] In formula (26), is the reference voltage of the inverter on the i-th node at the t-th moment in the grid-connected mode;

[0097] Step 4c: Use formula (27) to establish the lower objective function obj2 of the two-layer stochastic optimization model:

[0098]

[0099] In formula (27), It is a set of scenario numbers for the volatility scenarios including the distributed photovoltaic output volatility scenario and the active distribution network load volatility scenario in the short time scale; is the short-time-scale operating loss of the s-th scenario at the t-th time; is the network loss fluctuation of the active distribution network in the sth scenario at the tth time; is the voltage fluctuation in the sth scenario at the tth moment; ω4 is the target weight of short-time scale operation loss; ω5 is the target weight of network loss fluctuation; ω6 is the target weight of voltage fluctuation; Nt is the lower-level optimization scheduling period; and:

[0100]

[0101]

[0102] In formula (28)-formula (29), is the lower-level energy storage and operation and maintenance loss in the s-th scenario at the t-th time; is the actual abandoned light loss in the s-th scenario at the t-th time; is the actual load shedding loss in the sth scenario at the tth time; is the square of the short-time scale current of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the square of the lower layer voltage at the ith node in the sth scenario at the tth time;

[0103] Step 4d: Construct the lower constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching:

[0104] Formula (30) is used to construct the power balance constraint on the nodes in the lower layer:

[0105]

[0106] In formula (30), is the short-time-scale feeder active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the short-time scale feeder reactive power of the feeder between the ith node and the jth node in the sth field scenario at the tth time;

[0107] The voltage constraint on the lower feeder is constructed using equation (31):

[0108]

[0109] Formula (32) is used to construct the node voltage and power flow safety constraints of the lower layer:

[0110]

[0111] Formula (33) is used to establish the virtual node constraints of the lower layer on-load tap-changing transformer:

[0112]

[0113] In formula (33), K ij,t is the transformation ratio of the on-load tap-changing transformer on the feeder between the i-th node and the j-th node at the t-th moment;

[0114] Formula (21) is used to establish the grid-connected reactive power constraint of the lower-layer static VAR compensation device;

[0115] The load shedding constraint of the lower layer is established using equation (34):

[0116]

[0117] In formula (34), is the short-time-scale load forecast value under the s-th scenario at the t-th time on the ith node;

[0118] Formula (4) and Formula (5) are used to construct the lower layer of active-reactive coordinated scheduling constraints of distributed photovoltaic inverters PV considering inverter working state switching;

[0119] Formula (7), (8) and (9) are used to construct the lower layer of active-reactive coordinated scheduling of distributed energy storage inverter ESS considering inverter working state switching;

[0120] The voltage supplement constraint of the lower layer is constructed using formula (35):

[0121]

[0122] In formula (35), is the state variable of the inverter grid-connected node voltage per unit value in the interval v3 under the s-th scenario at the ith node at the t-th time, The grid-connected node voltage per unit value is within the interval v3, is not within the interval v3; U N It is the voltage reference value of the active distribution network.

[0123] An electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the active distribution network active-reactive coordinated scheduling modeling method, and the processor is configured to execute the program stored in the memory.

[0124] The present invention provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, which is characterized in that when the computer program is run by a processor, the steps of the active distribution network active-reactive coordinated scheduling modeling method are executed.

[0125] Compared with the prior art, the present invention has the following beneficial effects:

[0126] 1. The present invention takes into account the inverter grid-connected mode and the active-reactive scheduling characteristics of various working states, introduces a working state switching binary variable, establishes an inverter working state switching model, and gives full play to the direct and indirect voltage support capabilities of renewable energy, thereby improving the inverter voltage support flexibility and active-reactive scheduling flexibility of distributed photovoltaic and distributed energy storage, and improving the power quality;

[0127] 2. The present invention considers the benefits of active reduction and the demand for expansion of abandoned light, quantifies the priority of active abandoned light in distributed photovoltaic timing, and calculates the dynamic abandoned light penalty coefficient to reasonably distribute the active abandoned light distribution, and transforms the passive abandoned light in system operation into active abandoned light with positive benefits, thereby improving the coordinated allocation of distributed photovoltaic active-reactive scheduling, reducing abandoned light losses, and improving the efficiency of abandoned light benefits;

[0128] 3. Based on the inverter working state switching model and the active abandoned light guiding method, the present invention establishes a two-layer stochastic optimization model of active-reactive coordination of active distribution network considering inverter working state switching through linearization methods such as second-order convex relaxation and large M method, and realizes the active-reactive coordinated balance and voltage stability of the distribution network under the fluctuation of new energy output, which has a very obvious effect and is of great significance for reducing system voltage deviation and network loss and improving the renewable energy consumption rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0129] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0130] In this embodiment, in order to solve the problem of reduced safety operation stability such as power quality and power flow distribution caused by high proportion of new energy access to the distribution network, a modeling method for active-reactive coordinated scheduling of active distribution network considering inverter working state switching is proposed. Figure 1 As shown, the following steps are included:

[0131] Step 1: Obtain network parameters of the active distribution network and parameters of various types of power sources, typical daily time series load forecast curves of each node of the active distribution network, and typical daily photovoltaic output forecast curves, so as to generate output volatility scenarios of distributed photovoltaics and load volatility scenarios of the active distribution network;

[0132] Step 1a, obtaining network parameters of the active distribution network and parameters of various types of power sources, including: network topology parameters of the active distribution network, power parameters of distributed photovoltaics, power parameters of distributed energy storage, parameters of static VAR compensators, parameters of group switching capacitors, and parameters of on-load tap-changing transformers;

[0133] The network topology parameters of the active distribution network include: network node number and its corresponding node load active reference value and load reactive reference value, network feeder number and its corresponding starting node number, pointing node number, feeder resistance value and feeder reactance value;

[0134] The power supply parameters of distributed photovoltaics include: the number of distributed photovoltaic power sources, the grid-connected node number of each distributed photovoltaic, and the power supply capacity;

[0135] The power supply parameters of distributed energy storage include: the number of power supplies of distributed energy storage, the grid-connected node number of each distributed energy storage, power supply capacity, upper and lower limits of charge, operating cost, charging and discharging efficiency, upper and lower limits of charging and discharging power, and initial charge;

[0136] The parameters of the static VAR compensator include: the number of static VAR compensators, the grid-connected node number of each static VAR compensator, and the upper and lower limits of capacity;

[0137] The parameters of group switching capacitors include: the number of group switching capacitors, the grid-connected node number of each group switching capacitor, the group switching step length, the maximum number of switching groups and the upper limit of switching actions in a single day;

[0138] The parameters of the on-load tap-changing transformer include: the number of on-load tap-changing transformers, the grid-connected feeder number of the on-load tap-changing transformer, the tap ratio step, the upper and lower limits of the ratio, and the upper limit of the tap operation in a single day.

[0139] Step 1b: Obtain the typical daily time series load forecast curve of each node of the active distribution network:

[0140] After multiplying the load active reference value and the load reactive reference value of each node of the active distribution network obtained in step 1a by the typical day time series load forecast per unit value curve, the typical day time series load forecast curve of each node of the active distribution network is obtained, including: a typical day time series load active forecast curve and a typical day time series load reactive forecast curve.

[0141] Step 1c: Obtain the typical day photovoltaic output forecast curve:

[0142] After multiplying the photovoltaic capacity of each distributed node of the active distribution network obtained in step 1a by the typical daily photovoltaic output prediction per unit value curve, the typical daily photovoltaic output prediction curve of the distributed photovoltaics of each node of the active distribution network is obtained.

[0143] Step 1d: Generate the output volatility scenario of distributed photovoltaics:

[0144] Taking the typical daily photovoltaic output prediction curve as the mean, combined with the output volatility variance of each distributed photovoltaic, several initial scenarios are generated through Latin hypercube sampling, and then several initial scenarios are clustered and reduced into distributed photovoltaic output volatility scenarios through K-means clustering.

[0145] Step 1e: Generate load fluctuation scenarios for active distribution networks:

[0146] The typical daily time-series load forecast curve of each node of the active distribution network is taken as the mean, and combined with the variance of the load active power fluctuation of each node, several initial scenarios are generated through Latin hypercube sampling, and then several initial scenarios are clustered and reduced into load fluctuation scenarios of the active distribution network through K-means clustering.

[0147] Step 2: Establish a working state switching model of a distributed photovoltaic inverter PV and a working state switching model of a distributed energy storage inverter ESS;

[0148] Step 2a: According to the relationship between the inverter and the grid it is connected to, the inverter can be divided into two grid-connected modes: the following grid mode and the building grid mode according to the control technology. The switch between the two grid-connected modes only affects the scheduling model of the grid-connected reactive power. When the inverter is in the root grid-connected mode, the grid-connected reactive power can be freely scheduled between the upper and lower limits. Therefore, the grid-connected reactive power constraint of the inverter in the root grid-connected mode can be constructed using formula (1):

[0149] Q min ≤Q in ≤Q max (1)

[0150] In formula (1), Q min is the lower limit of the inverter's grid-connected reactive power dispatch; Q in is the grid-connected reactive power of the inverter; Q max It is the upper limit of the inverter’s grid-connected reactive power dispatch.

[0151] When the inverter is in the grid-connected mode of grid-building type, the grid-connected reactive power adopts voltage-reactive power droop control, and the grid-connected reactive power cannot be freely dispatched. In different voltage ranges of the grid-connected node voltage, it has a different equation relationship with the grid-connected node voltage. Therefore, the grid-connected reactive power constraint of the inverter in the grid-building type grid-connected mode can be constructed using formula (2):

[0152]

[0153] In formula (2), V is the per unit value of the grid-connected node voltage of the inverter relative to the inverter reference voltage; V min is the lower limit of the voltage reactive power droop control dead zone; V max is the upper limit of the dead zone of voltage and reactive power droop control; δ1 is the minimum limit voltage of voltage and reactive power droop control, and the value of the present invention is 0.9; δ2 is the maximum limit voltage of voltage and reactive power droop control, and the value of the present invention is 1.1.

[0154] Step 2b: According to the relationship between the actual grid-connected active power controlled by the inverter and the theoretical active power supplied by the DC power supply side, the inverter can be divided into active full absorption, active reduction and STATCOM (static synchronous compensation). The switching between working modes only affects the upper and lower limits of the grid-connected reactive power scheduling. Therefore, the upper limit Q of the grid-connected reactive power scheduling of the inverter can be constructed using formula (3): max , lower limit Q min Constraint relationship with active power:

[0155]

[0156] In formula (3), S is the rated capacity of the inverter; P refTheoretically supply active power to the DC power supply side of the inverter; is the maximum power factor angle; P in It is the actual grid-connected active power of the inverter.

[0157] Step 2c: According to the division of the grid-connected mode of the inverter mentioned in step 2a and the division of the working mode of the inverter mentioned in step 2b, the active scheduling model of the distributed photovoltaic inverter PV can be organized into a unified expression, that is, the working state switching model of the distributed photovoltaic inverter PV is established using formula (4):

[0158]

[0159] In formula (4), is the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the theoretical grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the amount of photovoltaic abandonment of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the active power corresponding to the reactive upper and lower limit turning points of the distributed photovoltaic inverter PV on the i-th node; is the rated capacity of the distributed photovoltaic inverter PV on the i-th node; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the STATCON working mode at the t-th moment, To switch to STATCOM working mode, To switch out from STATCOM working mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node in the active power reduction working mode at the t-th moment, To switch to active power reduction mode, To switch out from the active reduction work mode; is the state variable of the interval pv2 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv2. The actual grid-connected active power is not within the interval pv2; is the state variable of the interval pv1 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv1. The actual grid-connected active power is not within the interval pv1; Θ PV is the set of grid-connected node numbers of distributed photovoltaics; T is the scheduling period; Is a positive number.

[0160] Step 2d, the reactive power dispatch model of the distributed photovoltaic inverter PV can be constructed as a unified model based on equations (1), (2) and (3) according to the division of the inverter grid-connected mode mentioned in step 2a and the division of the inverter working mode mentioned in step 2b. The reactive power dispatch model of the distributed photovoltaic inverter PV working state switching model is constructed using equation (5):

[0161]

[0162] In formula (5), is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time in the grid-connected mode; is the lower limit of reactive power dispatch of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; V is the reactive power dispatch upper limit of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; i,t,s is the per unit value of the grid-connected node voltage at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state variable of the grid-connected node voltage per unit value in the interval v1 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v1, The grid-connected node voltage per unit value is not within the interval v1; is the state variable of the grid-connected node voltage per unit value in interval v2 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v2, The grid-connected node voltage per unit value is not within the interval v2; is the state variable of the grid-connected node voltage per unit value in interval v4 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v4, The per unit value of the grid-connected node voltage is not within the interval v4; is the state variable of the grid-connected node voltage per unit value in the interval v5 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v5, The grid-connected node voltage per unit value is not within the interval v5; and:

[0163]

[0164] Step 2e: Compared with photovoltaic power, the grid-connected active power of energy storage is not affected by the natural environment and does not require an active power reduction mode. Therefore, according to the division of the grid-connected mode of the inverter mentioned in step 2a and the division of the working mode of the inverter mentioned in step 2b, a working state switching model of the distributed energy storage inverter ESS is established. The active power scheduling model of the unified working state switching model of the distributed energy storage inverter ESS is established using formula (7):

[0165]

[0166] In formula (7), Θ ESS A collection of grid-connected node numbers of distributed energy storage; is the grid-connected active power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the discharge amount of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the charge amount of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the upper limit of the charge and discharge of the distributed energy storage inverter ESS at the i-th node; is the active power corresponding to the reactive upper and lower limit turning points of the distributed energy storage inverter ESS at the i-th node; E i,t,s is the charge of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the lower limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; E i,0 is the initial charge of the distributed energy storage inverter ESS on the i-th node; η is the charging and discharging efficiency of the distributed energy storage; is the rated capacity of the distributed energy storage inverter ESS at the i-th node; is the discharge state variable of the distributed energy storage inverter ESS on the i-th node at the t-th time, 1 for discharge and 0 for charge; is the charging state variable of the distributed energy storage inverter ESS on the i-th node at the t-th time, 1 represents charging and 0 represents discharging; is the state variable of the discharge interval dis2 of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis2. The grid-connected active power is not within the interval dis2; is the discharge interval dis1 state of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis1. The grid-connected active power is not within the interval dis1; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node in interval ch2, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch2. The grid-connected active power is not within interval 2; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch1. The grid-connected active power is not within the interval ch1, and there are:

[0167]

[0168] Step 2e, the reactive power dispatch model of the distributed energy storage inverter ESS can be constructed as a unified model based on equations (1), (2) and (3) according to the division of the inverter grid-connected mode mentioned in step 2a and the division of the inverter working mode mentioned in step 2b. The reactive power dispatch model of the working state switching model of the distributed energy storage inverter ESS is established using equation (9):

[0169]

[0170] In formula (9), is the grid-connected reactive power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-connected mode; is the lower limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node in the STATCOM working mode at the t-th moment, To switch to STATCOM working mode, To switch out of STATCOM working mode, there are:

[0171]

[0172] Step 3: Construct an evaluation index for the abandoned photovoltaic expansion demand of distributed photovoltaics, and use the output volatility scenario of distributed photovoltaics to establish an active power reduction benefit index to calculate the dynamic abandoned photovoltaic penalty coefficient;

[0173] Step 3a: Due to the limited reactive capacity of the inverter, when the voltage problem of the grid-connected node is more serious, the reactive dispatch range under full active absorption is difficult to meet the reactive demand of the system, which requires active reduction of photovoltaic power at some nodes to release more reactive capacity. The reactive power distribution of nodes in the distribution network is uneven. Therefore, the global priority of abandonment of photovoltaic power should not only consider the benefits of active reduction, but also the degree of demand for photovoltaic abandonment expansion at different nodes at the current moment. Formula (11) is used to construct the evaluation index of the abandoned photovoltaic expansion demand of the distributed photovoltaic inverter PV at the i-th node in the s-th scenario at the t-th moment: Describe the need for expanding the capacity of distributed photovoltaic power generation:

[0174]

[0175] Step 3b: The reactive capacity released by active abandonment is closely related to the operating state and rated capacity of distributed photovoltaics. The benefits of active abandonment and expansion of distributed photovoltaics are different. The closer the operating point of distributed photovoltaics is to the rated state, the greater the reactive capacity that can be released by reducing the same active power. Therefore, the global abandonment priority also needs to consider the benefits of active power reduction. Based on the size of the reactive capacity released by reducing the same active power (here 5% of the rated capacity is specified), the active power reduction benefit index of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time is constructed using formula (12):

[0176]

[0177] Step 3c: According to the evaluation index of abandoned light expansion demand and active power reduction benefit index of distributed photovoltaic inverter PV established in steps 3a and 3b, a dynamic abandoned light penalty coefficient is proposed. To ensure that the penalty coefficient of distributed photovoltaic with high abandonment priority is small and the penalty coefficient of distributed photovoltaic with low priority is large, the dynamic abandonment penalty coefficient of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time is constructed using formula (13):

[0178]

[0179] Step 4: Based on the working state switching model of the distributed photovoltaic inverter PV and the working state switching model of the distributed energy storage inverter ESS, as well as the dynamic abandonment penalty coefficient calculation model, a two-layer stochastic optimization model of active-reactive coordination of the active distribution network considering the inverter working state switching is established.

[0180] Step 4a, upper-level optimization first optimizes the scheduling of slow-response equipment such as on-load tap-changing transformers and group switching capacitors, and determines the grid-connected mode, grid-connected reactive power demand, reference voltage in the grid-connected mode, and charging and discharging action status of distributed energy storage of distributed photovoltaic inverters PV and distributed energy storage inverters ESS. Since the action of on-load tap-changing transformers and group switching capacitors has a great influence on the operation status of the distribution network, and the adjustment action is a mechanical action, in order to ensure the operating life of the equipment and reduce its frequent impact on the operation of the distribution network, such equipment must be scheduled on a long-term scale, and the number of scheduling times is limited. The upper-level optimization optimizes the scheduling losses including operating losses, abandoned light losses, and load shedding losses based on the predicted output curves of distributed photovoltaics and loads, volatility scenarios, and short-term optimization results, and considers the weighted comprehensive goal of minimizing network losses and voltage deviations. The time interval of the upper optimization is 1 hour. The upper limit constraint of the reactive power dispatch of the inverter is not considered during the optimization process. The grid-connected reactive power of the optimized inverter is the theoretical reactive power demand of the node, which is compared with the theoretical reactive power dispatch upper limit of the inverter. The reactive power dispatch margin of the inverter and other optimization results are used as constant parameters for intraday optimization and participate in the intraday optimization operation. The upper objective function obj1 of the two-layer stochastic optimization model is constructed using formula (14):

[0181]

[0182] In formula (14), NT is the period of upper layer optimization scheduling; is a set of scenario numbers for the volatility scenarios including the output volatility scenarios of distributed photovoltaics and the load volatility scenarios of active distribution networks in the long term; f t (s) is the probability of the s-th scenario at time t; is the number at time t s Operation loss in the scenario of is the network loss of the active distribution network in the sth scenario at the tth time; is the voltage deviation of the active distribution network in the sth scenario at the tth time; ω1 is the target weight of the network loss of the active distribution network; ω2 is the target weight of the operating loss; ω3 is the target weight of the voltage deviation, and:

[0183]

[0184]

[0185] In formula (15)-formula (16), is the operating loss of distributed energy storage in the sth scenario at the tth time; is the abandonment and load shedding loss in the sth scenario at the tth time; is the loss of active power input to the main grid in the s-th scenario at the t-th time; is the unit operation and maintenance loss of distributed energy storage at time t; is the fixed abandonment penalty coefficient of the distributed photovoltaic inverter PV; is the fixed load shedding loss coefficient of the active distribution network; is the unit loss of active power input from the main grid to the balancing node at time t; is the load shedding amount at the i-th node in the s-th scenario at the t-th time; is the active power input from the main network to the balancing node in the sth scenario at the tth time; N is the maximum number of nodes; r ij is the resistance value of the feeder between the i-th node and the j-th node; I ij,t,s is the square of the current of the feeder between the ith node and the jth node in the sth scenario at the tth time; U i,t,s is the square of the voltage of the ith node in the sth scenario at the tth time; U N It is the standard value of the rated voltage of the active distribution network.

[0186] Step 4b: Construct the upper constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching:

[0187] Use equation (17) to establish the power balance constraint on the upper layer nodes:

[0188]

[0189] In formula (17), P ij,t,s is the active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the actual grid-connected active power of the load of the ith node in the sth scenario at the tth time; Q ij,t,s is the reactive power of the feeder between the ith node and the jth node in the sth scenario at the tth time; x ki is the feeder reactance value between the kth node and the ith node; is the grid-connected reactive power of the load of the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the grouped switched capacitor of the i-th node at the t-th moment; is the grid-connected reactive power of the static VAR compensator of the ith node at the tth time in the sth scenario.

[0190] The voltage constraint on the upper feeder is established using equation (18):

[0191]

[0192] The upper layer node voltage and power flow safety constraints are established using equation (19):

[0193]

[0194] In formula (19), U min is the lower limit of the safe voltage of the active distribution network; U max It is the safe voltage upper limit of the active distribution network; is the upper limit of the safe current of the feeder between the i-th node and the j-th node.

[0195] The virtual node constraints of the upper on-load tap-changing transformer after linearization are established using equation (20):

[0196]

[0197] In formula (20), n ol k is the number of tap positions of the on-load tap-changing transformer; ij,t,ol is the transformation ratio value corresponding to the timing state of the ol-th gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node; κ ij,t,ol is the linearized virtual node voltage on the feeder between the ith node and the jth node multiplied by the timing state of the olth gear of the on-load tap-changing transformer; u ol (ij,t) is the time sequence state of the olth gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node, u ol (ij,t)=1 means the tap is in the olth gear position, u ol (ij,t)=0 means the tap is not in the olth gear position; is the upper limit of the tap changer action within a single day; M is a positive integer; i′ is the number of the virtual node introduced by the on-load tap-changing transformer on the feeder between the i-th node and the j-th node after linearization; U i′,t,s is the node voltage of the virtual node numbered i′ in the sth scenario at the tth time.

[0198] The upper-layer static VAR compensation device grid-connected reactive power constraint is established using equation (21):

[0199]

[0200] In formula (21), is the lower limit of reactive power dispatch of static VAR compensator on the i-th node; is the reactive scheduling upper limit of the static VAR compensator on the i-th node;

[0201] The load shedding constraint on the upper layer of the line is established using formula (22):

[0202]

[0203] In formula (22), is the load forecast value of the sth scenario at the tth time on the ith node; is the minimum grid-connected load on the ith node.

[0204] The linearized upper group switching capacitor operation constraints are established using equation (23):

[0205]

[0206] In formula (23), is the number of switched groups of group-switched capacitors at the ith node at the tth moment; is the switching step length of the group switching capacitor on the node numbered i; is the maximum number of switching groups of group-switched capacitors on node number i; is the state variable of the switching group number action of the group switching capacitor at the tth moment on the node numbered i, The number of switching groups changes. The number of switching groups has not changed; It is the upper limit of single-day switching action of group switching capacitors.

[0207] Since the upper layer only performs the optimization scheduling of the working state and theoretical reactive power demand, the upper layer reactive power scheduling constraint of the distributed photovoltaic PV considering the inverter working state switching is constructed using formula (24), thereby jointly establishing the upper layer active-reactive coordinated scheduling constraint of the distributed photovoltaic PV considering the inverter working state switching with formula (4) and formula (6):

[0208]

[0209] Similarly, the upper layer reactive power dispatch constraint of the distributed energy storage ESS considering the inverter working state switching is constructed using formula (23), thereby jointly establishing the upper layer active-reactive power coordinated dispatch constraint of the distributed energy storage ESS considering the inverter working state switching with formula (7), formula (8) and formula (10):

[0210]

[0211] Formula (26) is used to establish the upper voltage supplement constraint brought by the introduction of the inverter working state switching model:

[0212]

[0213] In formula (26), is the reference voltage of the inverter on the i-th node at the t-th moment in the grid-connected mode.

[0214] Step 4c: In order to respond to the PV fluctuations that may occur in a shorter time, the reactive scheduling capabilities of distributed PV inverters PV and distributed energy storage inverters ESS are fully explored, with the goal of minimizing network loss fluctuations and voltage fluctuations. At the same time, the energy storage operation and maintenance losses, the abandonment penalty losses, and the load shedding penalty losses are taken into consideration, and the lower-level optimization with a time interval of 15 minutes is set. The short-time scale optimization is based on the upper-level optimization operation state and the short-time scale distributed PV output volatility scenario and the load volatility scenario of the active distribution network. The theoretical reactive demand is used as the reactive scheduling lower limit and the upper-level inverter grid-connected active power is used as the active scheduling upper limit. The actual grid-connected active power, actual grid-connected reactive power, short-time scale node voltage, grid-connected reactive power of reactive compensation devices, and actual abandonment and load shedding of distributed PV and distributed energy storage are optimized. In addition, in order to more reasonably allocate the inverter working state switching and reactive scheduling, based on the inverter reactive scheduling margin index and inverter active power reduction benefit index obtained by the upper-level optimization, a penalty coefficient for the dynamic change of the abandonment penalty target of each distributed PV is given. Formula (27) is used to establish the lower objective function obj2 of the two-layer stochastic optimization model:

[0215]

[0216] In formula (27), It is a set of scenario numbers for the volatility scenarios including the distributed photovoltaic output volatility scenario and the active distribution network load volatility scenario in the short time scale; is the short-time-scale operating loss of the s-th scenario at the t-th time; is the network loss fluctuation of the active distribution network in the sth scenario at the tth time; is the voltage fluctuation in the sth scenario at the tth moment; ω4 is the target weight of short-time-scale operating loss; ω5 is the target weight of network loss fluctuation; ω6 is the target weight of voltage fluctuation; Nt is the lower-level optimization scheduling period.

[0217] Among them, the lower layer dynamic light abandonment penalty coefficient constructed by equations (11)-(13) is added to equation (28), and the sub-objective functions of the lower layer objective function are established using equations (28) and (29):

[0218]

[0219]

[0220] In formula (28)-formula (29), is the lower-level energy storage and operation and maintenance loss in the s-th scenario at the t-th time; is the actual abandoned light loss in the s-th scenario at the t-th time; is the actual load shedding loss in the sth scenario at the tth time; is the square of the short-time scale current of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the square of the lower layer voltage of the ith node in the sth scenario at the tth time.

[0221] Step 4d: Construct the lower constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching:

[0222] Formula (30) is used to construct the power balance constraint on the nodes in the lower layer:

[0223]

[0224] In formula (30), is the short-time-scale feeder active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the short-time scale feeder reactive power of the feeder between the ith node and the jth node in the sth scenario at the tth moment.

[0225] The voltage constraint on the lower feeder is constructed using equation (31):

[0226]

[0227] Formula (32) is used to construct the node voltage and power flow safety constraints of the lower layer:

[0228]

[0229] Formula (33) is used to establish the virtual node constraints of the lower layer on-load tap-changing transformer:

[0230]

[0231] In formula (33), K ij,t is the transformation ratio of the on-load tap-changing transformer on the feeder between the i-th node and the j-th node at the t-th moment.

[0232] Formula (21) is used to establish the grid-connected reactive power constraint of the lower-layer static VAR compensation device;

[0233] Formula (34) is used to establish the load shedding constraint of the lower layer:

[0234]

[0235] In formula (34), is the short-time-scale load forecast value under the s-th scenario at the t-th time on the ith node;

[0236] Formulas (4) and (5) are used to construct the lower layer of active-reactive coordinated scheduling constraints of distributed photovoltaic inverters PV considering inverter working state switching;

[0237] Equations (7), (8) and (9) are used to construct the lower layer of active-reactive coordinated scheduling of distributed energy storage inverter ESS considering inverter working state switching.

[0238] Since the grid-connected node voltage per unit value segmentation is introduced considering the inverter working state switching, the voltage supplement constraint of the lower layer is constructed using formula (35):

[0239]

[0240] In formula (35), is the state variable of the inverter grid-connected node voltage per unit value in the interval v3 under the s-th scenario at the ith node at the t-th time, The grid-connected node voltage per unit value is within the interval v3, is not within the interval v3; U N It is the voltage reference value of the active distribution network.

[0241] Step 5. According to the output volatility scenario of distributed photovoltaics and the load volatility scenario of the active distribution network, the double-layer stochastic optimization model is solved using the yalmip tool and the gurobi solver to obtain the optimal scheduling results of the active and reactive equipment of the active distribution network, including: the grid-connected active and reactive power of distributed photovoltaics, the grid-connected active and reactive power of distributed energy storage, the grid-connected reactive power of group switching capacitors, the tap position of the on-load tap-changing transformer, and the grid-connected reactive power of the static VAR compensator.

[0242] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0243] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

[0244] In summary, the present invention considers the grid-connected modes of distributed photovoltaic inverters PV and distributed energy storage inverters ESS, as well as the active-reactive scheduling characteristics and new energy fluctuation characteristics of various working states. Aiming at the safe operation and stability problems such as power quality and power flow distribution caused by the high proportion of new energy access to the distribution network, the working state switching model of the distributed photovoltaic inverter PV and the working state switching model of the distributed energy storage inverter ESS are established respectively, the dynamic abandonment penalty coefficient is calculated, and a two-layer stochastic optimization model of active-reactive coordination of the active distribution network is established based on the above model, so as to realize the multi-time scale active-reactive coordinated balance and voltage stability of the distribution network under the fluctuation of new energy output, and transform the passive abandonment of light in the system operation into active abandonment of light with positive benefits through the reasonable allocation of abandoned light and reactive power.

Claims

1. A modeling method for active-reactive coordinated dispatching of active distribution network considering inverter working state switching, characterized in that: The steps include: Step 1: Obtain network parameters of the active distribution network and parameters of various types of power sources, typical daily time series load forecast curves of each node of the active distribution network, and typical daily photovoltaic output forecast curves, so as to generate output volatility scenarios of distributed photovoltaics and load volatility scenarios of the active distribution network; Step 2: Establish a working state switching model of a distributed photovoltaic inverter PV and a working state switching model of a distributed energy storage inverter ESS; Step 3: construct an evaluation index for abandoned photovoltaic expansion demand of distributed photovoltaics, and use the output volatility scenario of the distributed photovoltaics to establish an active power reduction benefit index, so as to calculate a dynamic abandoned photovoltaic penalty coefficient; Step 4: Based on the working state switching model of the distributed photovoltaic inverter PV and the working state switching model of the distributed energy storage inverter ESS, as well as the dynamic abandonment penalty coefficient calculation model, a two-layer stochastic optimization model of active-reactive coordination of the active distribution network considering the inverter working state switching is established; Step 5. According to the output volatility scenario of distributed photovoltaics and the load volatility scenario of the active distribution network, the double-layer stochastic optimization model is solved using the yalmip tool and the gurobi solver to obtain the optimal scheduling results of the active and reactive equipment of the active distribution network, including: the grid-connected active and reactive power of distributed photovoltaics, the grid-connected active and reactive power of distributed energy storage, the grid-connected reactive power of grouped switching capacitors, the tap position of the on-load tap-changing transformer, and the grid-connected reactive power of the static VAR compensator.

2. The active power distribution network active-reactive power coordinated dispatch modeling method considering inverter working state switching according to claim 1 is characterized in that: The step 1 comprises: Step 1a, obtaining network parameters of the active distribution network and parameters of various types of power sources, including: network topology parameters of the active distribution network, power parameters of distributed photovoltaics, power parameters of distributed energy storage, parameters of static VAR compensators, parameters of group switching capacitors, and parameters of on-load tap-changing transformers; The network topology parameters of the active power distribution network include: network node numbers and load active reference values ​​and load reactive reference values ​​of the corresponding nodes, network feeder numbers and their corresponding starting node numbers, pointing node numbers, feeder resistance values ​​and feeder reactance values; The distributed photovoltaic power supply parameters include: the number of distributed photovoltaic power supplies, the grid-connected node number of each distributed photovoltaic, and the power supply capacity; The power supply parameters of the distributed energy storage include: the number of power supplies of the distributed energy storage, the grid-connected node number of each distributed energy storage, the power supply capacity, the upper and lower limits of the charge, the operating cost, the charging and discharging efficiency, the upper and lower limits of the charging and discharging power, and the initial charge; The parameters of the static VAR compensator include: the number of static VAR compensators, the grid-connected node number of each static VAR compensator, and the upper and lower limits of capacity; The parameters of the group switching capacitors include: the number of group switching capacitors, the grid-connected node number of each group switching capacitor, the group switching step length, the maximum number of switching groups and the upper limit of the switching action in a single day; The parameters of the on-load tap-changing transformer include: the number of on-load tap-changing transformers, the grid-connected feeder number of the on-load tap-changing transformer, the tap ratio step, the upper and lower limits of the ratio, and the upper limit of the tap operation in a single day; Step 1b: Obtain the typical daily time series load forecast curve of each node of the active distribution network: After the load active reference value and the load reactive reference value of each node of the active distribution network obtained in step 1a are multiplied by the typical day time series load prediction per unit value curve, the typical day time series load prediction curve of each node of the active distribution network is obtained, including: a typical day time series load active prediction curve and a typical day time series load reactive prediction curve; Step 1c: Obtain the typical day photovoltaic output forecast curve: After multiplying the photovoltaic capacity of each distributed node of the active distribution network obtained in step 1a by the typical daily photovoltaic output prediction per unit value curve, a typical daily photovoltaic output prediction curve of the distributed photovoltaic nodes of each node of the active distribution network is obtained; Step 1d: Generate the output volatility scenario of distributed photovoltaics: Taking the typical daily photovoltaic output forecast curve as the mean, combined with the output volatility variance of each distributed photovoltaic, several initial scenarios are generated through Latin hypercube sampling, and then the initial scenarios are clustered and reduced into distributed photovoltaic output volatility scenarios through K-means clustering; Step 1e: Generate load fluctuation scenarios for active distribution networks: The typical daily time-series load forecast curve of each node of the active distribution network is taken as the mean, and combined with the variance of the load active power fluctuation of each node, several initial scenarios are generated through Latin hypercube sampling, and then several initial scenarios are clustered and reduced into load fluctuation scenarios of the active distribution network through K-means clustering.

3. The active power distribution network active-reactive power coordinated dispatch modeling method considering inverter working state switching according to claim 2 is characterized in that: The step 2 comprises: Step 2a: According to the relationship between the inverter and the grid it is connected to, the grid connection mode of the inverter is divided into a grid-following type and a grid-building type; Formula (1) is used to construct the grid-connected reactive power constraint of the inverter in the root-grid type grid-connected mode: Q min ≤Q in ≤Q max (1) In formula (1), Q min is the lower limit of the inverter's grid-connected reactive power dispatch; Q in is the grid-connected reactive power of the inverter; Q max The upper limit of the inverter's grid-connected reactive power dispatch; Formula (2) is used to construct the grid-connected reactive power constraint of the inverter in the grid-connected mode: In formula (2), V is the per unit value of the grid-connected node voltage of the inverter relative to the inverter reference voltage; V min is the lower limit of the voltage reactive power droop control dead zone; V max is the upper limit of the dead zone of voltage and reactive power droop control; δ1 is the minimum limit voltage of voltage and reactive power droop control; δ2 is the maximum limit voltage of voltage and reactive power droop control; Step 2b, dividing the inverter working mode into active full absorption, active reduction and STATCOM; Using formula (3), we can construct the upper limit Q of the inverter's grid-connected reactive power dispatch max , lower limit Q min Relationship with active power constraints: In formula (3), S is the rated capacity of the inverter; P ref Theoretically supply active power to the DC power supply side of the inverter; is the maximum power factor angle; P in is the actual grid-connected active power of the inverter; Step 2c: Use formula (4) to establish the active scheduling model of the working state switching model of the distributed photovoltaic inverter PV: In formula (4), is the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the theoretical grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the amount of photovoltaic abandonment of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the active power corresponding to the reactive upper and lower limit turning points of the distributed photovoltaic inverter PV on the i-th node; is the rated capacity of the distributed photovoltaic inverter PV on the i-th node; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the STATCON working mode at the t-th moment, To switch to STATCOM working mode, To switch out from STATCOM working mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node in the active power reduction working mode at the t-th moment, To switch to active power reduction mode, To switch out from the active reduction work mode; is the state variable of the interval pv2 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv2. The actual grid-connected active power is not within the interval pv2; is the state variable of the interval pv1 of the actual grid-connected active power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time, The actual grid-connected active power is within the interval pv1. The actual grid-connected active power is not within the interval pv1; Θ PV is the set of grid-connected node numbers of distributed photovoltaics; T is the scheduling period; is a positive number; Step 2d: Use formula (5) to construct a reactive power dispatch model of the working state switching model of the distributed photovoltaic inverter PV: In formula (5), is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the actual grid-connected reactive power of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the s-th scenario in the grid-connected mode; is the lower limit of reactive power dispatch of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; V is the reactive power dispatch upper limit of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time; i,t,s is the per unit value of the grid-connected node voltage at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed photovoltaic inverter PV on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state variable of the grid-connected node voltage per unit value in the interval v1 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v1, The grid-connected node voltage per unit value is not within the interval v1; is the state variable of the grid-connected node voltage per unit value in interval v2 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v2, The grid-connected node voltage per unit value is not within the interval v2; is the state variable of the grid-connected node voltage per unit value in interval v4 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v4, The per unit value of the grid-connected node voltage is not within the interval v4; is the state variable of the grid-connected node voltage per unit value in the interval v5 at the ith node in the sth scenario at the tth time, The grid-connected node voltage per unit value is within the interval v5, The grid-connected node voltage per unit value is not within the interval v5; and: Step 2e: Use formula (7) to establish the active scheduling model of the working state switching model of the distributed energy storage inverter ESS: In formula (7), Θ ESS A collection of grid-connected node numbers of distributed energy storage; is the grid-connected active power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the discharge amount of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the charge amount of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; P i ESS,max is the upper limit of the charge and discharge of the distributed energy storage inverter ESS at the i-th node; is the active power corresponding to the reactive upper and lower limit turning points of the distributed energy storage inverter ESS at the i-th node; E i,t,s is the charge of the distributed energy storage inverter ESS at the i-th node in the s-th scenario at the t-th time; is the lower limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of the charge of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; E i,0 is the initial charge of the distributed energy storage inverter ESS on the i-th node; η is the charging and discharging efficiency of the distributed energy storage; is the rated capacity of the distributed energy storage inverter ESS at the i-th node; is the discharge state variable of the distributed energy storage inverter ESS at the ith node at the tth time, For discharge, For charging; is the charging state variable of the distributed energy storage inverter ESS at the ith node at the tth time, For charging, For discharge; is the state variable of the discharge interval dis2 of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis2. The grid-connected active power is not within the interval dis2; is the discharge interval dis1 state of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time, The grid-connected active power of the distributed energy storage inverter ESS is within the interval dis1. The grid-connected active power is not within the interval dis1; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node in interval ch2, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch2. The grid-connected active power is not within interval 2; is the charging state of the distributed energy storage inverter ESS in the sth scenario at the tth time on the i-th node, The grid-connected active power of the distributed energy storage inverter ESS is within the interval ch1. The grid-connected active power is not within the interval ch1, and there are: Step 2e: Use formula (9) to establish a reactive power dispatch model of the working state switching model of the distributed energy storage inverter ESS: In formula (9), is the grid-connected reactive power of the distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-following grid-connected mode; is the grid-connected reactive power of the distributed energy storage inverter ESS on the i-th node in the s-th scenario at the t-th time in the grid-connected mode; is the lower limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the upper limit of reactive power dispatch of distributed energy storage inverter ESS at the ith node in the sth scenario at the tth time; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-following grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node at the t-th moment in the grid-connected mode, To switch to the grid-connected mode, To switch out from the grid-connected mode; is the state switching variable of the distributed energy storage inverter ESS on the i-th node in the STATCOM working mode at the t-th moment, To switch to STATCOM working mode, To switch out of STATCOM working mode, there are:

4. The active power distribution network active-reactive power coordinated dispatch modeling method considering inverter working state switching according to claim 3 is characterized in that: The step 3 comprises: Step 3a: Use formula (11) to construct the evaluation index of the abandoned photovoltaic expansion demand of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time: Step 3b: Use formula (12) to construct the active power reduction benefit index of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time: Step 3c: Use formula (13) to construct the dynamic abandonment penalty coefficient of the distributed photovoltaic inverter PV on the i-th node in the s-th scenario at the t-th time:

5. The active power distribution network active-reactive power coordinated dispatch modeling method considering inverter working state switching according to claim 4 is characterized in that: The step 4 comprises: Step 4a: Use formula (14) to construct the upper objective function obj1 of the two-layer stochastic optimization model: In formula (14), NT is the period of upper layer optimization scheduling; is a set of scenario numbers for the volatility scenarios including the output volatility scenarios of distributed photovoltaics and the load volatility scenarios of active distribution networks in the long term; f t (s) is the probability of the s-th scenario at time t; is the operating loss in the sth scenario at the tth time; is the network loss of the active distribution network in the sth scenario at the tth time; is the voltage deviation of the active distribution network in the sth scenario at the tth time; ω1 is the target weight of the network loss of the active distribution network; ω2 is the target weight of the operating loss; ω3 is the target weight of the voltage deviation, and: In formula (15)-formula (16), is the operating loss of distributed energy storage in the sth scenario at the tth time; is the abandonment and load shedding loss in the s-th scenario at the t-th time; is the loss of active power input to the main grid in the sth scenario at the tth time; is the unit operation and maintenance loss of distributed energy storage at time t; is the fixed abandonment penalty coefficient of the distributed photovoltaic inverter PV; is the fixed load shedding loss coefficient of the active distribution network; is the unit loss of active power input from the main grid to the balancing node at time t; is the load shedding amount at the i-th node in the s-th scenario at the t-th time; is the active power input from the main network to the balancing node in the sth scenario at the tth time; N is the maximum number of nodes; r ij is the resistance value of the feeder between the i-th node and the j-th node; I ij,t,s is the square of the current of the feeder between the ith node and the jth node in the sth scenario at the tth time; U i,t,s is the square of the voltage of the ith node in the sth scenario at the tth time; U N is the standard value of rated voltage of active distribution network; Step 4b: Construct the upper constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching: Use equation (17) to establish the power balance constraint on the upper layer nodes: In formula (17), P ij,t,s is the active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the actual grid-connected active power of the load of the ith node in the sth scenario at the tth time; Q ij,t,s is the reactive power of the feeder between the ith node and the jth node in the sth scenario at the tth time; x ki is the feeder reactance value between the kth node and the ith node; is the grid-connected reactive power of the load of the ith node in the sth scenario at the tth time; is the grid-connected reactive power of the grouped switched capacitor of the i-th node at the t-th moment; is the grid-connected reactive power of the static VAR compensator at the i-th node in the s-th scenario at the t-th time; The voltage constraint on the upper feeder is established using equation (18): The upper layer node voltage and power flow safety constraints are established using equation (19): In formula (19), U min is the lower limit of the safe voltage of the active distribution network; U max It is the safe voltage upper limit of the active distribution network; is the upper limit of the safe current of the feeder between the i-th node and the j-th node; The virtual node constraints of the upper on-load tap-changing transformer after linearization are established using equation (20): In formula (20), n ol k is the number of tap positions of the on-load tap-changing transformer; ij,t,ol is the transformation ratio value corresponding to the timing state of the ol-th gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node; κ ij,t,ol is the linearized virtual node voltage on the feeder between the ith node and the jth node multiplied by the timing state of the olth gear of the on-load tap-changing transformer; u ol (ij,t) is the time sequence state of the olth gear of the on-load tap-changing transformer on the feeder between the ith node and the jth node, u ol (ij,t)=1 means the tap is in the olth gear position, u ol (ij,t)=0 means the tap is not in the olth gear position; is the upper limit of the tap changer action within a single day; M is a positive integer; i′ is the number of the virtual node introduced by the on-load tap-changing transformer on the feeder between the i-th node and the j-th node after linearization; U i′,t,s is the node voltage of the i′th virtual node in the sth scenario at the tth time; The grid-connected reactive power constraint of the upper-layer static VAR compensation device is established using equation (21): In formula (21), is the lower limit of reactive power dispatch of static VAR compensator on the i-th node; is the reactive scheduling upper limit of the static VAR compensator on the i-th node; The upper load shedding constraint is established using equation (22): In formula (22), is the load forecast value of the sth scenario at the tth time on the ith node; P i L,min is the minimum grid-connected load on the i-th node; The linearized operation constraints of the upper group switching capacitors are established using equation (23): In formula (23), is the number of switched groups of group-switched capacitors at the ith node at the tth moment; is the switching step length of the group switching capacitor on the i-th node; is the maximum number of switching groups of group-switched capacitors on the i-th node; is the state variable of the switching group number action of the group switching capacitor at the tth time on the i-th node, The number of switching groups changes. The number of switching groups has not changed; It is the upper limit of the switching action of group switching capacitors in a single day; Formula (24) is used to construct the upper-level reactive power dispatch constraint of distributed photovoltaic PV considering the inverter working state switching, so as to establish the upper-level active-reactive coordinated dispatch constraint of distributed photovoltaic PV considering the inverter working state switching together with Formula (4) and Formula (6): Formula (23) is used to construct the upper-level reactive power dispatch constraint of the distributed energy storage ESS considering the inverter working state switching, and thus the upper-level active-reactive power coordinated dispatch constraint of the distributed energy storage ESS considering the inverter working state switching is established together with Formula (7), Formula (8) and Formula (10): Formula (26) is used to establish the upper voltage supplement constraint brought by the introduction of the inverter working state switching model: In formula (26), is the reference voltage of the inverter on the i-th node at the t-th moment in the grid-connected mode; Step 4c: Use formula (27) to establish the lower objective function obj2 of the two-layer stochastic optimization model: In formula (27), It is a set of scenario numbers for the volatility scenarios including the distributed photovoltaic output volatility scenario and the active distribution network load volatility scenario in the short time scale; is the short-time-scale operating loss of the s-th scenario at the t-th time; is the network loss fluctuation of the active distribution network in the sth scenario at the tth time; is the voltage fluctuation in the sth scenario at the tth moment; ω4 is the target weight of short-time scale operation loss; ω5 is the target weight of network loss fluctuation; ω6 is the target weight of voltage fluctuation; Nt is the lower-level optimization scheduling period; and: In formula (28)-formula (29), is the lower-level energy storage and operation and maintenance loss in the s-th scenario at the t-th time; is the actual abandoned light loss in the s-th scenario at the t-th time; is the actual load shedding loss in the sth scenario at the tth time; is the square of the short-time scale current of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the square of the lower layer voltage at the ith node in the sth scenario at the tth time; Step 4d: Construct the lower constraints of the two-layer stochastic optimization model for active-reactive coordination of active distribution network considering inverter working state switching: Formula (30) is used to construct the power balance constraint on the nodes in the lower layer: In formula (30), is the short-time-scale feeder active power of the feeder between the ith node and the jth node in the sth scenario at the tth time; is the short-time scale feeder reactive power of the feeder between the ith node and the jth node in the sth field scenario at the tth time; The voltage constraint on the lower feeder is constructed using equation (31): Formula (32) is used to construct the node voltage and power flow safety constraints of the lower layer: Formula (33) is used to establish the virtual node constraints of the lower layer on-load tap-changing transformer: In formula (33), K ij,t is the transformation ratio of the on-load tap-changing transformer on the feeder between the i-th node and the j-th node at the t-th moment; Formula (21) is used to establish the grid-connected reactive power constraint of the lower-layer static VAR compensation device; The load shedding constraint of the lower layer is established using equation (34): In formula (34), is the short-time-scale load forecast value under the s-th scenario at the t-th time on the ith node; Formula (4) and Formula (5) are used to construct the lower layer of active-reactive coordinated scheduling constraints of distributed photovoltaic inverters PV considering inverter working state switching; Formula (7), (8) and (9) are used to construct the lower layer of active-reactive coordinated scheduling of distributed energy storage inverter ESS considering inverter working state switching; The voltage supplement constraint of the lower layer is constructed using formula (35): In formula (35), is the state variable of the inverter grid-connected node voltage per unit value in the interval v3 under the s-th scenario at the ith node at the t-th time, The grid-connected node voltage per unit value is within the interval v3, is not within the interval v3; U N It is the voltage reference value of the active distribution network.

6. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the active distribution network active-reactive coordinated scheduling modeling method as described in any one of claims 1-5, and the processor is configured to execute the program stored in the memory.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the active power distribution network active-reactive coordinated dispatch modeling method described in any one of claims 1-5 are executed.

Citation Information

Cited By

  • Multi-mode control and reactive voltage on-site management and control method for port hybrid energy supply system

    CN119543179A

  • Voltage cooperative control method and device considering adjustable resources of transformer area, and storage medium

    CN121124085A