A power distribution network light storage collaborative configuration method considering fault uncertainty and dynamic frequency safety constraint

By constructing a multi-uncertainty model and dynamic frequency security constraints for the active distribution network, the problem of uncertainty in photovoltaic output and fault timing was solved, enabling the safe and stable operation of a high-proportion photovoltaic distribution network under fault timing, and providing the optimal photovoltaic and energy storage site selection and capacity setting scheme.

CN123144159APending Publication Date: 2026-11-20NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611259732.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies cannot uniformly consider the uncertainties of photovoltaic output, the timing of failures, islanding recovery capabilities, and dynamic frequency safety constraints during the planning stage, resulting in insufficient safe and stable operation of high-proportion photovoltaic distribution networks under the most unfavorable failure conditions.

Method used

A multi-uncertainty model for active distribution networks is constructed. By combining the fuzzy set of photovoltaic output probability and the set of fault uncertainty, the islanding scheme is determined for any typical daily scenario, any fault scenario, and any candidate fault time. Dynamic frequency security constraints are constructed, and a photovoltaic-storage collaborative planning model with the goal of minimizing annualized comprehensive cost is established to output the optimal photovoltaic and energy storage site selection and capacity determination scheme.

Benefits of technology

By uniformly describing the uncertainties of photovoltaic power output and fault timing, the shortcomings of photovoltaic power output probability deviation and fault timing randomness are resolved. The forward dynamic frequency security constraint is brought to the planning level, providing a quantitative decision-making basis that takes into account both economy and resilience, and ensuring the islanding recovery capability and dynamic frequency security level of high-proportion photovoltaic distribution networks under any candidate fault timing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144159A_ABST
    Figure CN123144159A_ABST
Patent Text Reader

Abstract

The application discloses a power distribution network light storage collaborative configuration method considering fault uncertainty and dynamic frequency safety constraints, and relates to the technical field of power distribution network planning. The method comprises the following steps: acquiring annual historical photovoltaic output data and historical fault data or an expected accident set, and constructing a multiple uncertainty model of an active power distribution network; determining an arbitrary typical day scene, a fault scene and an island division scheme formed after a fault at a candidate fault time based on the multiple uncertainty model, constructing a dynamic frequency safety constraint for any island after the fault; based on the multiple uncertainty model and the dynamic frequency safety constraint, establishing a light storage collaborative planning model with the minimum annualized comprehensive cost as an objective and the photovoltaic energy storage planning, normal operation, island emergency operation and dynamic frequency safety as constraint conditions, and solving the model to output an optimal photovoltaic energy storage site selection and capacity determination scheme. The application improves the economy, island recovery capability and dynamic frequency safety of the light storage collaborative configuration under multiple uncertainties.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of distribution network planning technology, and in particular to a method for co-configuring photovoltaic and energy storage systems in distribution networks that takes into account fault uncertainty and dynamic frequency security constraints. Background Technology

[0002] As the scale of distributed photovoltaic (PV) grid integration continues to increase, the distribution system is transforming from a traditional unidirectional power receiving network to an active distribution network with bidirectional source-load interaction and local autonomy capabilities. However, PV output is significantly affected by meteorological conditions such as solar irradiance, cloud cover variations, and ambient temperature, exhibiting strong randomness and volatility. This can easily lead to problems such as large fluctuations in net load, reverse power flow, node voltage exceeding limits, and increased curtailment rates. Energy storage systems, with their rapid charging and discharging capabilities, energy time-shifting characteristics, and bidirectional power regulation functions, can not only smooth PV power fluctuations, improve node voltage distribution, and enhance PV absorption, but also provide rapid active power support in the early stages of islanding after a fault, creating crucial conditions for island frequency stabilization and the restoration of important loads. Therefore, the synergistic configuration of PV and energy storage has become an important technical means to improve the economy, power supply reliability, and system resilience of high-proportion PV distribution networks.

[0003] On the other hand, due to uncertainties such as extreme weather, line damage, equipment failure, or disturbances from the upstream power grid, some lines in the distribution network may be partially disconnected and form islanded operation. For distribution networks with a high proportion of power electronic equipment, the islanding inertia level is low and the power imbalance is prominent after a fault, which can easily lead to problems such as rapid frequency drop, excessive frequency change rate, protection malfunction, or even failure to establish islanding. This creates an urgent need for pre-configuring sufficient and reasonably located fast frequency support resources during the planning stage.

[0004] Currently, research on photovoltaic-storage collaborative planning focuses primarily on economic optimization under normal grid-connected operation scenarios, with insufficient consideration given to islanding recovery capabilities and dynamic frequency security constraints after faults. Meanwhile, related fault recovery research is mostly based on preset fault scenarios or fixed fault times, making it difficult to fully characterize the coupling relationship between the fault time and photovoltaic output, load level, energy storage state of charge, and pre-fault power flow distribution. Furthermore, although dynamic frequency security constraints have been applied to some extent in operation scheduling or post-fault control phases, they have not yet been systematically embedded into the site selection and capacity planning models for photovoltaic and energy storage. This prevents planning schemes from pre-assessing and proactively constraining the frequency dynamic response process in the initial stage of islanding establishment before commissioning.

[0005] In summary, the relevant technologies still cannot uniformly consider the uncertainties of photovoltaic output, the timing of faults, islanding recovery capabilities, and dynamic frequency safety constraints during the planning stage, making it difficult to guarantee the safe and stable operation of a high proportion of photovoltaic distribution networks under the most unfavorable fault conditions.

[0006] Therefore, there is an urgent need to provide a method for co-configuring photovoltaic and energy storage systems in distribution networks that takes into account fault uncertainty and dynamic frequency security constraints in order to solve the above problems. Summary of the Invention

[0007] The purpose of this application is to provide a method for co-configuring photovoltaic and energy storage systems in distribution networks that takes into account fault uncertainty and dynamic frequency security constraints, thereby improving the economy, islanding recovery capability, and dynamic frequency security of co-configuration of photovoltaic and energy storage systems under multiple uncertainties.

[0008] To achieve the above objectives, this application provides the following solution: This application provides a method for coordinated configuration of photovoltaic and energy storage in distribution networks that takes into account fault uncertainty and dynamic frequency security constraints. The method includes: Obtain the annual historical photovoltaic power output data and historical fault data or anticipated accident set of the target distribution network, and construct an active distribution network multiple uncertainty model; Based on the active distribution network multiple uncertainty model, the islanding scheme formed after the fault is determined for any typical daily scenario, any fault scenario, and any candidate fault time. For any island after the fault, a dynamic frequency security constraint considering photovoltaic and energy storage support is constructed. The dynamic frequency security constraint includes frequency deviation constraint and frequency change rate constraint. Based on the active distribution network multiple uncertainty model and the dynamic frequency security constraint, a photovoltaic-storage collaborative planning model is established with the goal of minimizing the annualized comprehensive cost and with constraints such as photovoltaic energy storage planning constraints, normal operation constraints, islanding emergency operation constraints, and dynamic frequency security constraints. The photovoltaic-storage collaborative planning model is solved to output the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme for the target distribution network.

[0009] According to the specific embodiments provided in this application, this application has the following technical effects: This application discloses a method for coordinated photovoltaic and energy storage configuration in distribution networks that considers fault uncertainty and dynamic frequency security constraints. It constructs an active distribution network multi-uncertainty model based on historical photovoltaic output data, historical fault data, or anticipated accident sets of the target distribution network. This model incorporates the probability distribution deviation of photovoltaic output and the randomness of fault occurrence time into a unified uncertainty description framework, overcoming the shortcomings of related technologies in characterizing the probability shift of photovoltaic output and the randomness of fault occurrence time. Secondly, based on the multi-uncertainty model, it determines the islanding scheme formed after a fault under any typical daily scenario, any fault scenario, and any candidate fault time. For each island, a dynamic frequency security constraint including frequency deviation constraints and frequency change rate constraints is constructed, thus controlling the dynamic frequency... The safety constraints are moved from the operation and scheduling level to the planning level, which solves the shortcomings of related technologies that ignore the dynamic frequency response process of islanding after a fault. On this basis, with the goal of minimizing the annualized comprehensive cost, the photovoltaic energy storage planning constraints, normal operation constraints, islanding emergency operation constraints, and frequency security constraints are incorporated into a unified photovoltaic-storage collaborative planning model. This breaks the limitation of related technologies that consider investment planning, operation and scheduling, and fault recovery separately, and solves the problem of disconnect between planning, operation, and fault recovery. Finally, by solving the collaborative planning model and outputting the optimal location and capacity scheme, a quantitative decision-making basis that takes into account both economy and resilience is provided for the distribution network, ensuring the islanding recovery capability and dynamic frequency security level of a high proportion of photovoltaic distribution networks under any candidate fault. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A schematic flowchart of a distribution network photovoltaic-storage coordinated configuration method considering fault uncertainty and dynamic frequency security constraints provided in an embodiment of this application; Figure 2 This is a schematic diagram illustrating an example of a disconnection fault scenario provided in an embodiment of this application; Figure 3 This is a schematic diagram of the node configuration result of photovoltaic and energy storage provided in one embodiment of this application; Figure 4 A comparative schematic diagram of the impact of photovoltaic uncertainty on photovoltaic output provided in an embodiment of this application, wherein (a) is a schematic diagram of photovoltaic output without considering photovoltaic uncertainty, and (b) is a schematic diagram of photovoltaic output with considering photovoltaic uncertainty; Figure 5A comparison diagram showing the impact of photovoltaic uncertainty on energy storage output is provided for one embodiment of this application; Figure 6 This is a schematic diagram of the frequency response curve during the establishment process of an islanded microgrid under frequency constraints, provided in an embodiment of this application. Figure 7 A schematic diagram of the frequency response curve of the islanded microgrid establishment process without frequency constraints provided in an embodiment of this application; Figure 8 A schematic diagram of the frequency modulation variation curve during the establishment process of an islanded microgrid under frequency constraints, provided in an embodiment of this application; Figure 9 This is a comparative schematic diagram of the frequency response process provided by an embodiment of the present application, wherein (a) is a schematic diagram of the frequency response process curve when energy storage is involved in fault scenario 1, and (b) is a schematic diagram of the frequency response process curve when energy storage is not involved. Detailed Implementation

[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0013] This application proposes a method for coordinated photovoltaic (PV) and energy storage (ESS) configuration in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints. First, based on historical PV output data throughout the year, typical daily scenarios are extracted to construct a fuzzy set of PV output probabilities, and a full-time fault uncertainty set is established based on fault line combinations. Second, for isolated microgrids formed after a fault, dynamic frequency security constraints considering the frequency support of energy storage and PV are constructed, embedding frequency deviation and frequency change rate-related constraints into the fault recovery process. Third, a robust PV-ESS coordinated planning model is established, consisting of investment planning, typical daily operation scheduling, and isolated emergency operation, to achieve coordinated optimization of PV-ESS planning, operation, and fault recovery decisions. Finally, through linearization, decomposed bar dual transformation, and a two-stage solution strategy, the model is transformed into a single-layer mixed-integer linear programming model and solved.

[0014] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0015] In one exemplary embodiment, such as Figure 1As shown, a method for coordinated configuration of photovoltaic and energy storage in a distribution network, taking into account fault uncertainty and dynamic frequency security constraints, is provided. This method is executed by computer equipment, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is described using a server as an example, and includes the following steps: Step S1: Obtain the annual historical photovoltaic power output data and historical fault data or anticipated accident set of the target distribution network, and construct an active distribution network multiple uncertainty model; As an optional implementation method, step S1 specifically includes: Step S11: Expand the daily power output sample based on the historical photovoltaic power output data throughout the year. Use the total daily irradiance, peak time and cloud cover fluctuation as clustering features, and use K-means clustering to obtain a set of typical daily scenarios and the corresponding nominal probability vector. Step S12: Based on the nominal probability vector, 1-norm constraint, and ∞-norm constraint, construct a fuzzy set of photovoltaic power output probabilities; Step S13: Determine the combination of faulty lines based on historical fault data or expected accident set, and construct a full-time fault uncertainty set by taking all time periods within the normal operation scheduling cycle as candidate fault times. Step S14: The active distribution network multi-uncertainty model is constructed from the fuzzy set of photovoltaic output probability and the set of all-time fault uncertainties.

[0016] Specifically, the photovoltaic output probability fuzzy set is used to describe the offset range of the typical daily photovoltaic output probability distribution relative to the nominal probability distribution; the all-time fault uncertainty set is used to describe different fault line combinations and their possible states at any candidate time during the normal operation scheduling cycle.

[0017] The resulting set of typical daytime scenes is as follows: ; The nominal probability vector is: ; in, A collection of typical daytime scenes; Numbering is a typical daytime scene, and ; This represents the number of typical daily scenarios; This represents the nominal probability vector for a typical daily scene. For the first The nominal probability of a typical daily scenario; This is the transpose of the matrix.

[0018] Considering the limited historical samples and typical daily probability deviations caused by clustering errors, a fuzzy set of photovoltaic power output probabilities is constructed based on the obtained nominal probability vector. : ; in, This is a typical daily probability fuzzy set; For the first The true probability of a typical daily scenario; Let be the true probability vector to be considered; The radius of the 1-norm fuzzy set and - Norm fuzzy set radius.

[0019] Based on historical faults or anticipated incident sets (including disaster scenarios), faulty line combinations are determined, and all time periods within the normal operation scheduling cycle are used as candidate fault times to construct a full-time fault uncertainty set. for: ; in, A set of fault scenarios; For the set of candidate fault moments; For fault scenarios Set of failed lines; A collection of distribution network lines; This represents the candidate fault moment.

[0020] Based on the full-time fault uncertainty set, we calculate the fault moment risk index under different fault scenarios and candidate fault moments to identify the most unfavorable fault moment.

[0021] ; in, For fault scenarios At the candidate fault time Risk indicators below; A collection of isolated islands formed after a failure; For the isolated island Active power disturbance at the initial moment of the fault; For the isolated island The power of the load shedding; For the isolated island The maximum frequency deviation during the dynamic frequency response process; , , As the weighting coefficient, if the most unfavorable moment is identified only from the perspective of static recovery, it can also be set as follows: If the focus is on frequency security analysis, it can improve... The weight.

[0022] Step S2: Based on the active distribution network multiple uncertainty model, determine the islanding scheme formed after the fault in any typical daily scenario, any fault scenario, and any candidate fault time. For any island after the fault, construct a dynamic frequency security constraint that takes into account the support of photovoltaic and energy storage. The dynamic frequency security constraint includes frequency deviation constraint and frequency change rate constraint. As an optional implementation, in step S2, based on the active distribution network multiple uncertainty model, a scheme for islanding after a fault is determined for any typical daily scenario, any fault scenario, and any candidate fault time. Specifically, this includes: Step S211: For any fault scenario in the active distribution network multiple uncertainty model, based on the failed line under the corresponding fault scenario, determine the set of islands formed after the distribution network is disconnected and the node affiliation within each island. Step S212: For each island, under any typical day scenario and any candidate fault time, determine the set of cut-off lines between the corresponding island and the main network to obtain the island partitioning scheme.

[0023] As an optional implementation, in step S2, for any isolated island after a fault, a dynamic frequency security constraint considering optical storage support is constructed, specifically including: Step S221: For any island, based on the active power flow of each island's cut-off lines before the fault, calculate the initial active power disturbance of each island at the time of the fault. Step S222: Calculate the island's equivalent inertia and equivalent damping using the capacity aggregation method, and determine the total frequency support power provided by energy storage and photovoltaics for the island based on the droop control relationship and the first-order discrete response model. Step S223: Using the discretized equivalent swing equation, based on the initial active power disturbance, island equivalent inertia, island equivalent damping, and the total frequency support power provided by energy storage and photovoltaic for the island, calculate the frequency deviation at each dynamic discrete moment. Step S224: Based on the frequency deviation at each dynamic discrete moment, construct the frequency deviation constraint and frequency change rate constraint for each island respectively, and obtain the dynamic frequency safety constraint taking into account the optical storage support.

[0024] Specifically, Figure 2 This diagram illustrates a line break fault scenario, showing the islanding results for both single-line and multi-line fault cases. For any typical daily scenario, fault scenario, candidate fault time, and island, the initial active power disturbance of the island is calculated based on the active power flow of the lines cut before the fault: ; in, Typical daytime scene Fault scenarios Candidate Fault Timing Down to the isolated island The initial active power disturbance; For fault scenarios Down to the isolated island The set of adjacent cutting lines; For the line Compared to an isolated island A trend indicator; For the line In a typical daytime scenario Candidate Fault Timing The current trend is beneficial.

[0025] The equivalent inertia and equivalent damping of the island are represented by capacity aggregation, and the total frequency support power provided by energy storage and photovoltaics to the island is described based on the droop control relationship and a first-order discrete response model. The corresponding calculation formulas are as follows: ; ; ; ; ; ; in, and Each is a fault scenario Candidate Fault Timing Down to the isolated island The equivalent inertia and equivalent damping; and These are the mapping functions from capacity to equivalent frequency parameters, and this application uses piecewise linear functions to represent them; For the isolated island In failure scenarios and candidate fault moments The energy storage capacity that can participate in frequency support; This is the photovoltaic damping conversion factor; For the isolated island In failure scenarios and candidate fault moments The photovoltaic capacity that can participate in frequency support; For dynamic moments Down to the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments The photovoltaic reference support power is as follows; The ramp-up rate limit coefficient for photovoltaic frequency-supported power; For dynamic moments Down to the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments Frequency deviation below; For dynamic moments Down to the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments The energy storage reference support power is as follows; The ramp-up rate limit coefficient for energy storage frequency-supported power; For dynamic moments Down to the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments The frequency-supported power provided by the energy storage below; The dynamic discrete time step; The energy storage frequency supports the response time constant; For dynamic moments Down to the isolated island In typical daytime scenes, Obstacle Scene and candidate fault moments The frequency-supported power provided by the photovoltaic system; The photovoltaic frequency supports the response time constant; For dynamic moments Down to the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments Total frequency support power.

[0026] To prevent islanded frequencies from exceeding limits during dynamic response, frequency deviations at each dynamic discrete moment are limited, and the frequency deviation constraint is constructed as follows: ; in, and These are the minimum and maximum allowable frequency deviations, respectively.

[0027] To prevent protection malfunctions or equipment disconnection caused by excessively rapid frequency changes after a fault, the frequency change rate of the isolated system is limited, and a frequency change rate constraint is constructed: ; in, and These are the minimum and maximum permissible rate of frequency change, respectively.

[0028] It is worth noting that since the application adopts a full-time discrete frequency response model, the frequency deviation constraint has already constrained the frequency deviation at all dynamic moments, so there is no need to construct an additional constraint for the lowest frequency point.

[0029] Step S3: Based on the active distribution network multiple uncertainty model and the dynamic frequency security constraints, establish a photovoltaic-storage collaborative planning model with the goal of minimizing the annualized comprehensive cost and with constraints such as photovoltaic energy storage planning constraints, normal operation constraints, islanding emergency operation constraints, and dynamic frequency security constraints. As an optional implementation, step S3 specifically includes: Step S31: Establish an annualized comprehensive cost objective function consisting of the annualized investment cost of photovoltaic and energy storage, the typical daily normal operation cost, and the islanding emergency operation cost; Step S32: Establish planning constraints for photovoltaics and energy storage; Step S33: Establish typical daily normal grid-connected operation constraints; Step S34: Establish island emergency operation constraints; Step S35: The dynamic frequency security constraint is added to the islanded emergency operation constraint to form the complete constraint conditions of the photovoltaic-storage collaborative planning model, thereby constructing the photovoltaic-storage collaborative planning model.

[0030] As an optional implementation, in step S31, the expression for the annualized comprehensive cost objective function is: ; ; ; ; in, This represents the system's annualized comprehensive cost. Annualized investment cost for photovoltaic and energy storage; To account for the normal operating costs of typical daily probability deviations; Costs for emergency operation on isolated islands; This is the annualized conversion factor; For distribution network nodes; The unit capacity investment cost of photovoltaic power; For nodes The installed capacity of photovoltaic power; Fixed construction cost per unit capacity of photovoltaic power; For photovoltaic construction state variables; Investment cost per unit power capacity of energy storage; For nodes The energy storage capacity; Investment cost per unit of energy storage capacity; For nodes Energy storage capacity; Fixed construction costs for energy storage units; State variables for energy storage construction; A collection of typical daytime scenes; Typical daytime scene The actual probability; This is the coefficient used to convert typical daily operating costs to annual operating costs; It is the set of discrete moments in the dynamic frequency response process; The electricity purchase price; For the power purchased; The electricity price; This refers to the power output for electricity sales. For operation and maintenance costs; Equivalent power for operation and maintenance of photovoltaic and energy storage systems; The cost of penalties for abandoning light; This refers to the power of discarded light. This is the reserve cost coefficient; This is the sum of the system's upper and lower backup capacities; This is the annual failure rate conversion factor; A set of fault scenarios; For fault scenarios The weights; For the set of candidate fault moments; Penalty cost per unit of power outage; For fault scenarios Candidate Fault Timing The power supply loss under the following conditions; Penalty cost for exceeding voltage limits.

[0031] As an optional implementation, in step S32, the photovoltaic energy storage planning constraints include: photovoltaic installed capacity constraints for each node, constraints on the number of photovoltaic construction sites, constraints on energy storage power capacity for each node, constraints on energy storage energy capacity for each node, constraints on the ratio of energy storage energy capacity to power capacity, and constraints on the number of energy storage construction sites.

[0032] As an optional implementation, in step S33, the normal operation constraints include: node power balance constraints, line voltage drop constraints, node voltage constraints, line capacity constraints, photovoltaic output constraints, energy storage charging and discharging constraints, and standby constraints.

[0033] As an optional implementation, in step S34, the islanding emergency operation constraints include: islanding topology constraints, load recovery constraints, post-fault power balance constraints, voltage constraints, minimum recovery ratio constraints, photovoltaic-storage emergency output constraints, and dynamic frequency safety constraints.

[0034] Specifically, the planning constraints for photovoltaic energy storage are as follows: ; in, and They are nodes Lower and upper limits of photovoltaic installed capacity; For nodes Whether to build photovoltaic power - variable; For nodes The installed capacity of photovoltaic power; This represents the maximum number of photovoltaic (PV) sites that can be built. and They are nodes Energy storage power capacity and energy capacity upper limit; and They are nodes Energy storage power capacity and energy storage capacity; and These are the lower and upper limits of the energy storage capacity and power capacity ratio, respectively. For nodes Whether to build energy storage - variable; The upper limit on the number of energy storage sites that can be built; This represents the number of nodes in the distribution network.

[0035] Typical daily normal grid-connected operation constraints are as follows: ; ; ; ; ; ; ; ; ; ; ; ; ; in, For nodes In a typical daytime scenario ,time The active power load demand; For power inflow node A collection of routes; Power outflow node A collection of routes; For the line In a typical daytime scenario ,time The active power flowing through; For nodes In a typical daytime scenario ,time The actual active power output of photovoltaic power generation; For nodes In a typical daytime scenario ,time Net energy storage output (discharge is positive, charging is negative); For nodes In a typical daytime scenario ,time Switching power with the main network; For nodes In a typical daytime scenario ,time The reactive load demand; For the line In a typical daytime scenario ,time The reactive power flowing through; For nodes In a typical daytime scenario ,time Reactive power exchanged with the main network; For the line End node In a typical daytime scenario ,time The square of the voltage amplitude; For the line The resistance; For the line The reactance; For the line First node In a typical daytime scenario ,time The square of the voltage amplitude; , For nodes The upper and lower limits of voltage; For the line The maximum allowable active power to flow; For the line The maximum allowable reactive power to flow; For nodes In a typical daytime scenario ,time The photovoltaic power available for use; In typical daytime scenarios ,time Photovoltaic normalized usable output coefficient; For nodes The installed capacity of photovoltaic power; For nodes In a typical daytime scenario ,time The actual output of photovoltaic power; For nodes In a typical daytime scenario ,time The power of abandoned light; For nodes In a typical daytime scenario ,time of ; For nodes In a typical daytime scenario ,time The photovoltaic power available for use; For nodes In a typical daytime scenario ,time ; For nodes In a typical daytime scenario ,time The energy storage discharge power; For nodes In a typical daytime scenario ,time ; For nodes In a typical daytime scenario ,time The stored charged energy; For nodes In a typical daytime scenario ,time The stored charged energy; To improve energy storage charging efficiency; For energy storage discharge efficiency; This is the limit of the state of charge; For nodes Energy storage capacity; This represents the upper limit of the state of charge. For nodes In a typical daytime scenario ,time Total system backup capacity; For nodes In a typical daytime scenario ,time Backup capacity on photovoltaic power plants; For nodes In a typical daytime scenario ,time The backup capacity of energy storage; For nodes In a typical daytime scenario ,time Total system backup capacity; For nodes In a typical daytime scenario ,time The backup capacity under photovoltaic power; For nodes In a typical daytime scenario ,time The energy storage capacity for backup.

[0036] The constraints for emergency island operations are as follows: ; ; ; ; ; ; ; ; ; ; ; in, For fault scenarios The following is a set of candidate isolated islands; , and These are respectively node affiliation, line energization, and islanded operation status. - variable; Indicates a typical daytime scenario Fault scenarios and candidate fault moments Next, node Is it an isolated island? ; Indicates a typical daytime scenario Fault scenarios and candidate fault moments Next, node Is it an isolated island? And it is in a charged state; The line is available, indicating the status under fault conditions. Downline Is it available? (1 indicates available, 0 indicates fault or disconnection). For the line First node Is it an isolated island? ; For the line First node Is it an isolated island? ; Indicates an isolated island Whether it is in a running state (1 indicates that the island exists and is running), a 0-1 variable; For nodes Whether to configure the construction variables for frequency support resources; For nodes In a typical daytime scenario Fault scenarios and candidate fault moments The active power of the restored load; For nodes In a typical daytime scenario and candidate fault moments The active power load demand; For the line In a typical daytime scenario Fault scenarios and candidate fault moments The current is a meritorious trend; For nodes In a typical daytime scenario Fault scenarios and candidate fault moments The corresponding active power injection in an emergency state; For nodes In a typical daytime scenario Fault scenarios and candidate fault moments The reactive load power that is restored; For the line In a typical daytime scenario Fault scenarios and candidate fault moments The corresponding reactive power flow under emergency conditions; For nodes In a typical daytime scenario Fault scenarios and candidate fault moments The corresponding reactive power injection in an emergency situation; For nodes Permissible lower voltage limit; An island formed after a failure Inside, node Voltage status indicator variable; For nodes In a typical daytime scenario Fault scenarios and candidate fault moments The square of the corresponding node voltage amplitude after the fault; For nodes Permissible upper voltage limit; This represents the minimum load recovery ratio for the system. Typical daytime scene Fault scenarios and candidate fault moments The recovery ratio slack variable; For energy storage in fault scenarios Candidate Fault Timing The lower level can provide backup; For the nth discrete moment in the dynamic frequency response process, the island In a typical daytime scenario Fault scenarios and candidate fault moments The actual frequency-supported power provided by the energy storage system below; For energy storage in fault scenarios Candidate Fault Timing The following can be provided as backup; For photovoltaics in fault scenarios Candidate Fault Timing The following can be provided as backup; For the nth discrete moment in the dynamic frequency response process, the island In a typical daytime scenario Fault scenarios and candidate fault moments The actual frequency-supported power provided by the photovoltaic system under the current conditions; For photovoltaics in fault scenarios Candidate Fault Timing The lower level can provide backup; For the isolated island In failure scenarios and candidate fault moments Energy storage capacity that can participate in frequency support; This represents the power change of the energy storage system at the (n+1)th dynamic discrete moment relative to the nth dynamic discrete moment; The ramp-up rate limit coefficient for photovoltaic frequency-supported power; For the isolated island In failure scenarios and candidate fault moments The photovoltaic capacity that can participate in frequency support.

[0037] Dynamic frequency safety constraints are directly incorporated into the islanded emergency operation constraints, and together with load recovery after a fault, power flow safety, voltage safety, and emergency output constraints of photovoltaic and energy storage, they form the final constraint set of the photovoltaic-energy storage collaborative planning model, so that the planning scheme can simultaneously meet the requirements of fault recovery feasibility and dynamic frequency safety.

[0038] Step S4: Solve the photovoltaic-storage collaborative planning model and output the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme for the target distribution network.

[0039] As an optional implementation, step S4 specifically includes: Step S41: Write the photovoltaic-storage collaborative planning model into a min-max type sub-Bruker bar planning compact form; Step S42: Linearize the nonlinear terms in the compact form of the min-max type split-Brow bar programming model for photovoltaic-storage collaborative planning, and perform split-Brow bar dualization on the term maximizing the typical daily probability distribution, so as to transform the photovoltaic-storage collaborative planning model into a single-layer mixed integer linear programming model. Step S43: Solve the single-layer mixed integer linear programming model using a two-stage solution strategy, and output the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme. In the two-stage solution strategy, the first stage prioritizes resilience and feasibility, introduces safety relaxation variables for solution, and obtains the optimal resilience index value; the second stage optimizes the annualized comprehensive cost while keeping the optimal resilience index value from deteriorating, thereby obtaining the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme.

[0040] Specifically, the photovoltaic-storage collaborative planning model is written in a min-max type sub-Bruker bar planning compact form as follows: ; in, This represents an outer-layer minimization problem, with decision variables including: photovoltaic and energy storage site selection and capacity variables. Typical daily normal operation variables Isolated emergency operation variables and dynamic frequency safety variables ; Annualized investment cost for photovoltaic and energy storage; This represents the inner-layer maximization problem in the fuzzy set of photovoltaic output probabilities. Find the probability distribution that maximizes the normal operating cost. ; Typical daytime scene Normal operating costs; Typical daytime scene Variables for normal grid-connected operation; (a) represents the emergency operation cost of isolated systems; (b) represents the planning constraints for photovoltaics and energy storage. , (a) Corresponding planning constraint variables, such as upper and lower limits of photovoltaic capacity, upper and lower limits of energy storage power / energy capacity, and construction quantity restrictions; (b) Inequality constraints during normal operation, including node voltage constraints, line active power capacity constraints, line reactive power capacity constraints, photovoltaic output constraints, curtailment constraints, energy storage charge and discharge constraints, energy storage state of charge constraints, photovoltaic upper reserve constraints, photovoltaic lower reserve constraints, energy storage upper reserve constraints, energy storage lower reserve constraints, and system upper reserve constraints and system lower reserve constraints; (c) Equality constraints during normal operation, including node active power balance constraints, node reactive power balance constraints, line voltage drop constraints, photovoltaic available output constraints, photovoltaic power balance constraints, energy storage net output constraints, and energy storage state of charge update constraints. , , , (d) represents the inequality constraints in the islanded emergency operation constraints, including node affiliation constraints, line energization constraints, island connectivity constraints, island operation status constraints, load restoration power upper limit constraints, post-fault node voltage constraints, minimum load restoration ratio constraints, upper and lower limits of emergency output of photovoltaic and energy storage, and frequency support power ramping constraints of photovoltaic and energy storage; (e) represents the equality constraints in the islanded emergency operation constraints, including the active power balance equation and the reactive power balance equation after the fault. Typical daytime scene Fault scenarios Candidate Fault Timing Fault recovery variables under; , , , , Corresponding to the island emergency operation constraint variables; (f) represents the inequality constraints in the dynamic frequency security constraints, including frequency deviation constraints, frequency change rate constraints, upper and lower limits of energy storage frequency support power constraints, and upper and lower limits of photovoltaic frequency support power constraints; (g) represents the equality constraints in the dynamic frequency security constraints, including the discretized equivalent swing equation, photovoltaic reference support power calculation equation, energy storage reference support power calculation equation, photovoltaic first-order discrete response equation, energy storage first-order discrete response equation, and total frequency support power aggregation equation; For the corresponding dynamic frequency safety variables; , , , , , , , Corresponding dynamic frequency safety constraint variables; , The corresponding constant variable on the right-hand side.

[0041] For the compact form of the min-max type split-bar planning for photovoltaic-storage collaborative planning model, a two-stage solution strategy is adopted. The first stage prioritizes searching the resilient feasible region that satisfies fault recovery and dynamic frequency security. The second stage optimizes the economics and annualized comprehensive cost without deteriorating the resilience index, and outputs the optimal photovoltaic site selection capacity, the optimal energy storage site selection capacity, and the corresponding operation strategy.

[0042] The first phase prioritizes resilient feasibility and introduces safety relaxation variables such as power outages, islanding, insufficient reserves, insufficient recovery ratios, and frequency overruns to construct the following problem: ; in, , , and These represent the relaxation amounts corresponding to power loss, recovery ratio, frequency safety, and other safety constraints, respectively. , , and This corresponds to the penalty coefficient; It is a comprehensive decision-making variable composed of photovoltaic energy storage planning variables, normal operation variables, islanded emergency operation variables, and dynamic frequency safety variables; For a vector of safe relaxation variables; This is the set of inequality constraints after introducing safety relaxation variables; This is a set of equality constraints; For the first One binary decision variable; A set of binary variable indices.

[0043] The optimal value obtained in the first stage is denoted as... , The minimum weighted penalty value for power outage, insufficient recovery ratio, frequency safety exceeding limits, and other safety constraint slack is used to determine the resilient feasible boundary that the model can reach under given planning conditions; when When, it means that the planning scheme can meet fault recovery and dynamic frequency safety constraints without introducing safety relaxation; when When this occurs, it indicates that partial fault recovery or frequency safety constraints cannot be fully met, and the degree of infeasibility needs to be characterized by slack variables.

[0044] The second phase, while maintaining the resilience indicators from the first phase, optimizes investment and operational economics: ; in, This represents the annualized comprehensive cost; To allow for tolerance of toughness index, when At that time, the second stage strictly maintains the optimal resilience level obtained in the first stage; when In the second stage, the economic efficiency can be further optimized within the allowable relaxation range of resilience indicators. If the first stage obtains a feasible solution with zero relaxation, the relevant safety relaxation variables can be fixed to 0 in the second stage, thereby obtaining a photovoltaic-storage collaborative planning scheme that simultaneously satisfies the economic efficiency of distributed rod operation, the feasibility of fault recovery, and the dynamic frequency safety. This photovoltaic-storage collaborative planning scheme includes photovoltaic construction nodes, photovoltaic installed capacity, energy storage construction nodes, energy storage power capacity, energy storage capacity, and their corresponding normal operation and emergency support strategies after faults.

[0045] The compact form of the min-max type partitioned Brussels bar programming model for photovoltaic-storage co-programming is linearized and dualized using partitioned Brussels bars. This transforms the model, which contains dynamic frequency nonlinear terms and probability distribution maximization terms, into a single-layer mixed-integer linear programming model. The specific execution process includes the following steps.

[0046] Step 1: Determine the model transformation target Based on the compact form of the min-max type split-bar planning model for photovoltaic-storage collaborative planning, model terms requiring transformation are extracted. These model terms include two categories: The first category consists of nonlinear terms in the dynamic frequency safety constraints. These nonlinear terms originate from the established discrete frequency response model and mainly include the product of islanded equivalent inertia and frequency change, and the product of islanded equivalent damping and frequency deviation. Without linearization, this part of the constraint is difficult to directly incorporate into the mixed-integer linear programming model. The second category consists of the typical day probability distribution maximization term in the normal operation cost. This term originates from the established photovoltaic output probability fuzzy set, used to characterize the shift of the actual probability relative to the nominal probability on a typical day. Since it manifests as an inner-layer maximization problem, it needs to be transformed into a directly solvable linear form through dualization.

[0047] This step determines that the input objects for subsequent model transformation are: dynamic frequency security constraints and photovoltaic output probability fuzzy sets.

[0048] Step 2: Linearize the dynamic frequency safety constraints. Based on the identified dynamic frequency nonlinear terms, discretize the islanded equivalent inertia and equivalent damping into a finite number of piecewise levels. Let the set of inertia pieces be... The damping piecewise set is And introduce segmented selection variables and Then we have: ; in, For the isolated island In failure scenarios and candidate fault moments The equivalent inertia of the following; and The first The segmented value of inertia and the first Each damping segment value; and These are the piecewise selection variables for inertia and the piecewise selection variables for damping, respectively. For the isolated island In failure scenarios and candidate fault moments The equivalent damping is below; These are the state variables for islanded operation. Through this process, the equivalent inertia and damping are transformed from continuous variables into a combination of a finite number of discrete piecewise parameters.

[0049] Furthermore, based on the discrete frequency response equation, the frequency change at adjacent dynamic moments is defined, and auxiliary variables are introduced to handle the product between the piecewise selection variable and the frequency variable.

[0050] ; in, This refers to the frequency change between adjacent dynamic moments; For the island at dynamic time n+1 In a typical daytime scenario Fault scenarios and candidate fault moments Frequency deviation below; For the isolated island In a typical daytime scenario Fault scenarios and candidate fault moments Frequency deviation below; The auxiliary variable representing the product of the inertia segmentation selection variable and the frequency change; This represents the auxiliary variable corresponding to the product of the damping segment selection variable and the frequency deviation.

[0051] After linearizing the above auxiliary variables using the Big M method, the discrete frequency response equation can be transformed into: ; in, The rated frequency; The discrete time step in the dynamic frequency response process; For dynamic moments Down to the isolated island Total frequency support power; This is the initial active power disturbance during a fault.

[0052] Through this step, the dynamic frequency response equation, frequency deviation constraint, frequency change rate constraint, and photovoltaic-storage frequency support constraint are transformed into linear constraints. These linear constraints serve as dynamic frequency security constraints in the subsequent single-layer mixed-integer linear programming model.

[0053] Step 3: Perform bibru bar dualization on the maximization term of the typical daily probability distribution. Based on the identified maximization term of the typical daily probability distribution, and by calling the fuzzy set of photovoltaic output probability, let... Typical daytime scene Normal operating costs, introducing auxiliary variables This represents the absolute value of the probability deviation, i.e. .but This can be equivalently written as the following linear programming problem: ; in, To account for the operating cost of the sub-bulb bar after considering the probability deviation of typical days; A collection of typical daytime scenes; Typical daytime scene The actual probability; Typical daytime scene Normal operating costs; Typical daytime scene The nominal probability; It serves as an auxiliary variable for the absolute value of probability deviation; and They are respectively 1-norm and - Norm probability fuzzy set radius.

[0054] The above linear programming problem is linearly dualized. Let... and Constraints and The corresponding dual variable; To constrain The corresponding dual variable; To constrain The corresponding dual variable; These are the free dual variables corresponding to the probability normalization equality constraints. Due to the fuzzy set of photovoltaic power output probabilistics... Given a non-empty bounded polyhedron and the objective function of the original maximization problem being a linear function, strong duality holds. Therefore, the running cost of the sub-Bruker bar can be equivalently transformed into the following equation: ; Through this step, the maximization term of the typical daily probability distribution corresponding to the normal operation cost is transformed into a linear dual objective term and a linear dual constraint.

[0055] Step 4: Merge constraints and form a single-level mixed-integer linear programming model. Merge the dynamic frequency linearization constraint, the split-bar dual constraint, the planning constraint, the normal operation constraint, and the islanded emergency operation constraint.

[0056] Let the dual variable be denoted as By combining these variables with planning variables, normal operation variables, fault recovery variables, and dynamic frequency safety variables, the final set of decision variables can be obtained. .in, Determine the capacity variables for photovoltaic and energy storage site selection; These are variables for normal operation on a typical day; For emergency operation on an isolated island; For dynamic frequency safety variables; For the set of dual variables of the Blue bar; This is the set of comprehensive decision variables for a single-level mixed-integer linear programming model.

[0057] After the dynamic frequency constraint linearization in step 2 and the split-bar dualization in step 3, the compact form of the min-max type split-bar planning optical-storage collaborative planning model is transformed into the following single-layer mixed integer linear programming model: ; Therefore, the original photovoltaic-storage synergistic planning model, which contained probability distribution maximization terms and dynamic frequency nonlinear terms, was transformed into a single-layer mixed-integer linear programming model. This model serves as the input model for a two-stage solution strategy, used to further solve for photovoltaic and energy storage synergistic configuration schemes that satisfy fault recovery feasibility, dynamic frequency security, and distributed rod operation economics.

[0058] Beneficial effects: 1) This application constructs a fuzzy set of photovoltaic output probability and a set of all-time fault uncertainty, incorporating the probability distribution deviation of photovoltaic output and the randomness of the fault occurrence time into a unified uncertainty description framework, so that the planning scheme can simultaneously resist the dual impact of the most unfavorable probability distribution and the most severe fault time.

[0059] 2) This application constructs dynamic frequency safety constraints that include frequency deviation constraints and frequency change rate constraints, thereby moving the dynamic frequency safety requirements of islanding from the operation and scheduling level to the planning level. This allows the planning scheme to pre-evaluate and constrain the frequency dynamic response process in the early stage of islanding after a fault before commissioning, effectively avoiding frequency drop exceeding the limit or islanding failure due to insufficient inertia.

[0060] 3) This application establishes a photovoltaic-storage collaborative planning model with the goal of minimizing annualized comprehensive cost and jointly considering photovoltaic energy storage planning constraints, typical daily normal operation constraints, and islanded emergency operation constraints. This breaks through the limitation of related technologies that consider investment planning, operation scheduling, and fault recovery separately, and achieves the optimal synergy between economy and resilience from the planning source.

[0061] 4) This application transforms the min-max type sub-Brubar programming model containing nonlinear terms and probability distribution maximization terms into a single-layer mixed integer linear programming model through linearization and sub-Brubar dualization. It can be solved directly on existing commercial solvers and has good prospects for engineering applications.

[0062] 5) The computational results of this application on the IEEE-33 node system show that the proposed method can effectively improve the economy, islanding recovery capability and dynamic frequency security of optical-storage collaborative configuration under multiple uncertainties.

[0063] To enable those skilled in the art to better understand this application and its advantages over related technologies, further explanation is provided below in conjunction with specific embodiments.

[0064] The proposed three-layer collaborative optimization model of investment planning, normal operation scheduling, and islanding emergency operation was tested and verified on a computer equipped with an AMD Ryzen 7 processor (2.9GHz) and 16GB of memory using MATLAB 2018b and Gurobi-9.0.3. To verify the feasibility and superiority of the proposed model, four cases are provided for comparison, detailed in Table 1. Case 1 (with only photovoltaic configuration) illustrates that without energy storage support, the dynamic frequency and load recovery of the islanded system under fault conditions may be insufficient. Case 2 (with the introduction of energy storage) improves both system economy and fault recovery capability, highlighting the role of energy storage in rapid response and power regulation. Case 3 (with the addition of a distributed bar optimization probability deviation constraint) analyzes the impact of planning margin on photovoltaic and energy storage capacity configuration. Case 4 (with the complete model corresponding to the proposed method (including all elements of Cases 1-3), while also considering dynamic frequency security constraints, further verifying the regulatory effect of frequency constraints on energy storage deployment and capacity planning.

[0065] Table 1 Case Comparison

[0066] A case study analysis was conducted using an improved IEEE-33 node distribution network. The system baseline capacity was set at 10 MVA, the main grid interconnection point was located at node 1, and 32 branches were retained in a radial structure. The electricity purchase price adopted a three-tiered time-of-use pricing system (TOU), with prices of 300 RMB / MWh, 600 RMB / MWh, and 1000 RMB / MWh for off-peak, flat, and peak periods, respectively, and the retail electricity price was set at 200 RMB / MWh. The fault line combination was constructed based on typical vulnerable branches and the fault impact range of the main / branch lines in the IEEE-33 node model. Fault scenario weights were used to represent the relative probability of occurrence. The dynamic frequency parameters were set as follows: rated frequency of 50 Hz, distance step length of 0.2 s, upper and lower frequency limits of 49.2 Hz and 50.8 Hz, and RoCoF upper limit of 1.25 Hz / s.

[0067] Table 2 summarizes the comparison of the annualized comprehensive cost of photovoltaic (PV) and energy storage configurations and systems under four planning schemes, demonstrating the impact of energy storage introduction, PV uncertainty, and dynamic frequency constraints on the planning results. It can be seen that Case 1, with only PV configuration and no energy storage, has the highest total cost, mainly due to the failure and voltage penalty caused by the lack of energy storage regulation. After introducing energy storage (Case 2), the PV capacity decreases by approximately 57%, the energy storage capacity increases to 3.46MW, the total cost decreases by approximately 89%, and the operating cost decreases by approximately 28%, indicating that energy storage significantly improves economics and fault recovery capabilities. Considering PV uncertainty (Case 3), the PV capacity increases by approximately 51%, the energy storage capacity decreases by approximately 31%, and the total cost increases by approximately 12% compared to Case 2, reflecting the robustness cost brought by robustness constraints. With the addition of dynamic frequency constraints (Case 4), the energy storage capacity further increases by approximately 108%, the PV capacity decreases by approximately 18%, and the total cost increases by approximately 11%, indicating that frequency security constraints force the configuration of more fast-response energy storage to ensure island stability. Overall, the introduction of energy storage and robustness and dynamic frequency constraints significantly improve the balance between economics and resilience in the planning schemes.

[0068] Table 2 Comparison of Calculation Results for Photovoltaic Storage Planning

[0069] To further demonstrate the spatial distribution characteristics of the planning results, Figure 3 The node configuration results for photovoltaic and energy storage in Case 4 are presented. Figure 3 As can be seen, photovoltaic (PV) power is mainly concentrated at nodes 18, 24, and 33, with a relatively large capacity, facilitating local consumption of electricity at the end point and reducing reverse power flow pressure on the main trunk line. Energy storage is distributed at nodes 6, 7, 11, 18, 24, and 32, with a moderate and dispersed capacity. This not only assists PV in regulating intraday power fluctuations but also provides rapid backup and frequency support for different islands after a fault. This configuration reflects the collaborative planning characteristics of PV providing the main energy and energy storage providing flexible regulation and rapid support, achieving a reasonable division of labor in spatial layout while balancing economic efficiency and system resilience.

[0070] Figure 4 This is a comparison chart showing the impact of photovoltaic uncertainty on photovoltaic power output. (a) shows the photovoltaic power output without considering photovoltaic uncertainty, and (b) shows the photovoltaic power output considering photovoltaic uncertainty. Figure 4As can be seen, in Case 2, the actual photovoltaic output is close to the available output, with only a small unused margin during certain periods in the afternoon, indicating sufficient photovoltaic absorption. However, in Case 3, after considering the photovoltaic output probability deviation constraint, the actual photovoltaic output during the 10-15 period is significantly lower than the available output, and the unused margin increases significantly. Looking at the data, the photovoltaic utilization rate in Case 2 is approximately 98.04%, while in Case 3 it drops to 88.56%, and the unused electricity increases from 0.84 MWh to 4.86 MWh. This demonstrates that by introducing the photovoltaic output probability deviation constraint, the planning scheme no longer simply pursues the maximum photovoltaic absorption under the nominal scenario, but actively retains a certain adjustment margin, thereby improving the system's adaptability to photovoltaic output probability deviations.

[0071] Figure 5 This is a comparison chart showing the impact of photovoltaic uncertainties on energy storage output. Figure 5 It can be seen that in Case 2, the energy storage charges and discharges more frequently, and the state of charge fluctuates more widely, indicating that without considering photovoltaic uncertainties, the system mainly relies on energy storage to track photovoltaic fluctuations and improve the absorption rate. In Case 3, after introducing photovoltaic output probability deviation constraints, the overall amplitude of net energy storage output decreases, the state of charge changes more smoothly, the total charge and discharge volume decreases by approximately 37%, and the state of charge fluctuation range decreases by approximately 31%. These results demonstrate that, within a robust planning framework considering photovoltaic output probability deviations, the system reduces its dependence on deep charge and discharge of energy storage by retaining a certain photovoltaic adjustment margin, making the energy storage operation strategy more robust.

[0072] To illustrate the suppressive effect of dynamic frequency constraints on the initial power surge during a fault, Table 3 presents the power imbalance of each island under typical fault scenarios. Table 3 shows that without considering dynamic frequency constraints, some islands in Case 3 exhibit significant power imbalances, particularly in fault scenario 2. Island 1 (MG1) and Island 2 (MG2) have power deficits of 1.541MW and 0.9384MW, respectively, while Island 3 (MG3) has a power surplus of 0.618MW. After introducing dynamic frequency constraints, the power imbalance of each island in Case 4 is significantly reduced, with the average absolute imbalance decreasing by approximately 60.1% and the maximum absolute imbalance decreasing by approximately 82.4%. These results indicate that dynamic frequency constraints can guide the model to pre-configure energy storage capacity and reserve rapid backup, thereby reducing the power surge at the moment of island formation and providing strong support for the frequency stability of islanded microgrids.

[0073] Table 3 Power Imbalance of Islanded Microgrids under Fault Scenarios

[0074] Figure 6 The frequency response curves for the establishment of the isolated microgrid in fault scenario 2 of Case 4 are presented. Figure 6It can be seen that, with the support of energy storage and photovoltaic fast frequency, although the frequencies of each island fluctuated briefly in the early stage of the fault, they gradually recovered and remained within the allowable range, indicating that the configured energy storage capacity and backup power can meet the dynamic frequency safety requirements of the island.

[0075] To verify the necessity of dynamic frequency constraints, Figure 7 The frequency response curves for Case 3 under the same fault conditions are presented. Since Case 3 only satisfies static power balance and post-disaster power supply constraints, and does not limit the dynamic frequency process in the early stages of island formation, MG1 and MG2 experienced a continuous frequency decrease under the power deficit impact, while MG3 showed a frequency increase due to relative surplus on the generation side, all exceeding the allowable range. This result indicates that static recovery feasibility is not equivalent to dynamic island establishment feasibility; without considering dynamic frequency constraints, the planning scheme may result in frequency exceeding limits or even island establishment failure after a fault.

[0076] Figure 8 The curves showing the variation of the primary frequency modulation during the dynamic frequency response are presented. Figure 8 It can be seen that energy storage has a fast response speed and a large adjustment range, and undertakes the main role in frequency support; the photovoltaic virtual synchronous machine has a relatively small response and mainly provides supplementary adjustment capabilities. This result indicates that in the islanded frequency support after a fault, energy storage is a key resource for suppressing rapid frequency shifts.

[0077] Figure 9 Comparison curves of the frequency response process with and without energy storage participation are presented for fault scenario 1. Figure 9 It can be seen that without energy storage, the MG3 frequency exhibits significant oscillations after a fault, with a large reverse overshoot after the initial frequency drop and some residual oscillations persisting for 8-10 seconds, indicating insufficient system frequency damping and a slow recovery process. In contrast, with energy storage involved, although the frequency still shows a large deviation in the initial stage of the fault, the subsequent oscillation amplitude decays rapidly, and the system recovers to near the rated frequency within approximately 5-6 seconds. This result demonstrates that energy storage improves the equivalent damping and dynamic regulation capability of islanded microgrids through rapid active power support, thereby significantly shortening the frequency recovery time and improving frequency stability after a fault.

[0078] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0079] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, characterized in that, The method includes: Obtain the annual historical photovoltaic power output data and historical fault data or anticipated accident set of the target distribution network, and construct an active distribution network multiple uncertainty model; Based on the active distribution network multiple uncertainty model, the islanding scheme formed after the fault is determined for any typical daily scenario, any fault scenario, and any candidate fault time. For any island after the fault, a dynamic frequency security constraint considering photovoltaic and energy storage support is constructed. The dynamic frequency security constraint includes frequency deviation constraint and frequency change rate constraint. Based on the active distribution network multiple uncertainty model and the dynamic frequency security constraint, a photovoltaic-storage collaborative planning model is established with the goal of minimizing the annualized comprehensive cost and with constraints such as photovoltaic energy storage planning constraints, normal operation constraints, islanding emergency operation constraints, and dynamic frequency security constraints. The photovoltaic-storage collaborative planning model is solved to output the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme for the target distribution network.

2. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Obtain the annual historical photovoltaic power output data and historical fault data or anticipated accident set of the target distribution network, and construct an active distribution network multiple uncertainty model, specifically including: Based on the historical photovoltaic power output data throughout the year, the daily power output sample was expanded. With total daily irradiance, peak time and cloud cover fluctuation as clustering features, K-means clustering was used to obtain a set of typical daily scenarios and corresponding nominal probability vectors. Based on the nominal probability vector, 1-norm constraint, and ∞-norm constraint, a photovoltaic power output probability fuzzy set is constructed; Based on historical fault data or anticipated accident sets, the combination of faulty lines is determined, and all time periods within the normal operation scheduling cycle are used as candidate fault times to construct a full-time fault uncertainty set. The active distribution network multi-uncertainty model is composed of the fuzzy set of photovoltaic output probability and the set of all-time fault uncertainty.

3. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Based on the aforementioned active distribution network multiple uncertainty model, the islanding schemes formed after a fault are determined for any typical daily scenario, any fault scenario, and any candidate fault time. Specifically, these include: For any fault scenario in the multiple uncertainty model of active distribution network, based on the failed line under the corresponding fault scenario, the set of islands formed after the distribution network is disconnected and the node affiliation in each island are determined; For each isolated island, under any typical day scenario and any candidate fault time, determine the set of cut-off lines between the corresponding isolated island and the main network to obtain the island partitioning scheme.

4. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... For any isolated area after a failure, dynamic frequency safety constraints considering the support of optical energy storage are constructed, specifically including: For any island, based on the active power flow of each island's cut-off lines before the fault, calculate the initial active power disturbance of each island at the moment of the fault. The equivalent inertia and equivalent damping of the island are calculated using a capacity aggregation method. Based on the droop control relationship and a first-order discrete response model, the total frequency support power provided by energy storage and photovoltaics for the island is determined. Using the discretized equivalent swing equation, the frequency deviation at each dynamic discrete moment is calculated based on the initial active power disturbance, the island's equivalent inertia, the island's equivalent damping, and the total frequency support power provided by energy storage and photovoltaics to the island. Based on the frequency deviation at each dynamic discrete moment, frequency deviation constraints and frequency change rate constraints are constructed for each island, resulting in dynamic frequency safety constraints that take into account the support of optical storage.

5. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Based on the aforementioned active distribution network multiple uncertainty model and the aforementioned dynamic frequency security constraints, a photovoltaic-storage collaborative planning model is established with the objective of minimizing annualized comprehensive cost and constraints including photovoltaic energy storage planning constraints, normal operation constraints, islanded emergency operation constraints, and dynamic frequency security constraints. Specifically, this model includes: Establish an annualized comprehensive cost objective function consisting of the annualized investment cost of photovoltaic and energy storage, the typical daily normal operation cost, and the islanding emergency operation cost; Establish planning constraints for photovoltaics and energy storage; Establish typical daily normal grid-connected operation constraints; Establish emergency operational constraints for isolated systems; The dynamic frequency security constraint is added to the islanded emergency operation constraint to form the complete constraint conditions of the photovoltaic-storage collaborative planning model, thereby constructing the photovoltaic-storage collaborative planning model.

6. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 5, is characterized in that... The expression for the annualized comprehensive cost objective function is: ; ; ; ; in, This represents the system's annualized comprehensive cost. Annualized investment cost for photovoltaic and energy storage; To account for the normal operating costs of typical daily probability deviations; Costs for emergency operation on isolated islands; This is the annualized conversion factor; For distribution network nodes; The unit capacity investment cost of photovoltaic power; For nodes The installed capacity of photovoltaic power; Fixed construction cost per unit capacity of photovoltaic power; For photovoltaic construction state variables; Investment cost per unit power capacity of energy storage; For nodes The energy storage capacity; Investment cost per unit of energy storage capacity; For nodes Energy storage capacity; Fixed construction costs for energy storage units; State variables for energy storage construction; A collection of typical daytime scenes; Typical daytime scene The actual probability; This is the coefficient used to convert typical daily operating costs to annual operating costs; It is the set of discrete moments in the dynamic frequency response process; The electricity purchase price; For the power purchased; The electricity price; This refers to the power output for electricity sales. For operation and maintenance costs; Equivalent power for operation and maintenance of photovoltaic and energy storage systems; The cost of penalties for abandoning light; This refers to the power of discarded light. This is the reserve cost coefficient; This is the sum of the system's upper and lower backup capacities; This is the annual failure rate conversion factor; A set of fault scenarios; For fault scenarios The weights; For the set of candidate fault moments; Penalty cost per unit of power outage; For fault scenarios Candidate Fault Timing The power supply loss under the following conditions; Penalty cost for exceeding voltage limits.

7. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... The constraints of photovoltaic energy storage planning include: photovoltaic installed capacity constraints at each node, constraints on the number of photovoltaic construction sites, constraints on energy storage power capacity at each node, constraints on energy storage energy capacity at each node, constraints on the ratio of energy storage energy capacity to power capacity, and constraints on the number of energy storage construction sites.

8. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Normal operation constraints include: node power balance constraints, line voltage drop constraints, node voltage constraints, line capacity constraints, photovoltaic output constraints, energy storage charging and discharging constraints, and standby constraints.

9. The method for coordinated configuration of photovoltaic and energy storage in distribution networks, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Islanding emergency operation constraints include: islanding topology constraints, load recovery constraints, post-fault power balance constraints, voltage constraints, minimum recovery ratio constraints, photovoltaic and energy storage emergency output constraints, and dynamic frequency safety constraints.

10. The method for coordinated configuration of photovoltaic and energy storage in a distribution network, taking into account fault uncertainty and dynamic frequency security constraints, as described in claim 1, is characterized in that... Solving the aforementioned photovoltaic-storage collaborative planning model yields the optimal photovoltaic site selection and capacity allocation scheme and the optimal energy storage site selection and capacity allocation scheme for the target distribution network, specifically including: The photovoltaic-storage collaborative planning model is written in a compact form of min-max type sub-Bruker bar planning; The nonlinear terms in the compact form of the min-max type split-Bru bar programming model for photovoltaic-storage synergistic programming are linearized, and the term maximizing the typical daily probability distribution is dualized using split-Bru bar programming, so as to transform the photovoltaic-storage synergistic programming model into a single-layer mixed integer linear programming model. The single-layer mixed integer linear programming model is solved using a two-stage solution strategy, and the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme are output. In the two-stage solution strategy, the first stage prioritizes resilience and feasibility, introduces safety relaxation variables for solution, and obtains the optimal resilience index value; the second stage optimizes the annualized comprehensive cost while keeping the optimal resilience index value from deteriorating, thereby obtaining the optimal photovoltaic site selection and capacity setting scheme and the optimal energy storage site selection and capacity setting scheme.