Automatic switch configuration method and device considering post-disaster multi-stage recovery process of power distribution network, equipment and medium

By building an optimization framework for multi-stage recovery after the disaster of distribution network, the problem of ignoring multi-stage coupling in the existing technology is solved, the elasticity of post-disaster recovery of distribution network and the efficiency of automatic switch configuration are improved, and a more economical recovery solution is achieved.

CN119154261APending Publication Date: 2024-12-17GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411172042.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The existing technology only considers a single stage in the post-disaster recovery process of distribution networks, ignoring multi-stage coupling, resulting in insufficient elasticity of the distribution network and being unable to effectively deal with power interruptions caused by natural disasters.

Method used

Build an optimization framework for multi-stage recovery of distribution networks after disasters, build sub-models of degradation, isolation and recovery stages by obtaining basic data and pre-disaster connection status, establish target optimization models, and optimize distribution network recovery with automatic switch deployment scheme process.

Benefits of technology

It improves the flexibility of the distribution network's post-disaster recovery process, comprehensively considers the investment and operation costs brought by automatic switch configuration, and provides a more effective recovery plan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119154261A_ABST
    Figure CN119154261A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic switch configuration method, an automatic switch configuration device, automatic switch configuration equipment and a medium in consideration of a post-disaster multi-stage recovery process of a power distribution network. The method comprises the following steps: constructing sub-models corresponding to a degradation stage, an isolation stage and a power supply recovery stage of a power distribution network, constructing a target optimization model according to the constructed sub-model of the degradation stage, the sub-model of the fault isolation stage and the sub-model of the power supply recovery stage of the power distribution network, and optimizing the power supply recovery stage of the power distribution network under the constraint of the number of automatic switches. And solving the target optimization model by taking the minimum annual deployment total cost of the automatic switch and the minimum annual loss load total cost of the power distribution network as a target, thereby obtaining an automatic switch deployment scheme of the power distribution network according to model output, and deploying the automatic switch at a corresponding position. By implementing the method, a proper automatic switch configuration scheme can be found, so that the capability of quickly recovering the power distribution network after the disaster is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a field, and in particular to an automatic switch configuration method, device, equipment and medium considering a multi-stage recovery process of a distribution network after a disaster. Background Art

[0002] At present, the power system controls the lifeline of the national economy and is the most important infrastructure in modern society. However, natural disasters have occurred frequently in recent years, causing many serious power outages. As people's awareness of such threats deepens, whether the power system can adapt to the ever-changing environment and quickly recover from interruptions has become one of the key issues that scholars focus on.

[0003] In order to improve the resilience of the distribution system, optimizing the configuration of flexible resources such as automatic switches is a common approach at the planning level. Through the remote and rapid switching of automatic switches, the fault isolation and load recovery of the distribution network can be achieved, thereby achieving the purpose of improving the resilience of the distribution network. However, the current automatic switch optimization configuration method often only considers a single stage of power supply recovery after a disaster in the distribution network, ignoring the degradation and fault isolation stages. However, the actual recovery process is actually a multi-stage process, with different stages coupled to each other, and the resilience of the distribution network depends on its system function during the entire recovery process. Therefore, in order to improve the ability of the distribution network to recover quickly after a disaster, it is urgent to propose an automatic switch configuration method that considers the multi-stage recovery process of the distribution network after a disaster. Summary of the invention

[0004] The present invention provides an automatic switch configuration method, device, equipment and medium that take into account the multi-stage recovery process of a distribution network after a disaster. The method finds an appropriate automatic switch configuration scheme by constructing an optimization framework for improving the multi-stage resilience of the distribution network after a disaster, aiming to improve the ability of the distribution network to quickly recover after a disaster.

[0005] An embodiment of the present invention provides an automatic switch configuration method considering a multi-stage recovery process of a power distribution network after a disaster, comprising:

[0006] Obtain basic data of the distribution network, the pre-disaster line connectivity status of the distribution network, and fault data;

[0007] According to the basic data of the distribution network, automatic switch quantity constraints are constructed;

[0008] According to the basic data of the distribution network, the pre-disaster line connection status and the fault data, construct a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model and a distribution network power supply restoration stage sub-model;

[0009] Constructing a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model;

[0010] Under the constraint of the number of automatic switches, with the goal of minimizing the total annual deployment cost of automatic switches and the total annual loss load cost of the distribution network, the target optimization model is solved to output an automatic switch deployment plan for the distribution network; wherein the automatic switch deployment plan includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed;

[0011] According to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan, the automatic switch is deployed at the corresponding position.

[0012] Furthermore, the target optimization model includes:

[0013] min C CoD +C VoLL ;

[0014]

[0015] In the formula, C CoD represents the total annual deployment cost of the automatic switch; C VoLL represents the total annual loss load cost of the distribution network; m represents the actual number of automatic switches deployed; represents the investment cost of the automatic switch; r 0 represents the discount rate; τ represents the expected life of the automatic switch; l om Represents the total cost of operating and maintaining the deployed automatic switches within one year; represents the unit cost of the lost load; Failure time of simulated investment distribution network within one year; c represents the probability of each fault scenario; C represents the set of fault scenarios; ω j represents the weight of the node load, B represents the node set; P S,j,c,stage |stage=1,2,3 represents the active load loss of the node in scenario c in the degradation stage (stage=1), fault isolation stage (stage=2) and power supply restoration stage (stage=3); T f Indicates the time when the failure occurs, T ir Indicates the time point of isolating the fault, T rr Indicates the time point when power supply is restored, T im Indicates the time point when the fault is repaired.

[0016] Furthermore, the automatic switch quantity constraint includes:

[0017]

[0018] Where N Switchrepresents the total number of automatic switches; m represents the actual number of automatic switches deployed; E represents the set of distribution network lines; A binary variable indicating whether the line (i, j) is equipped with an automatic switch. If it is 1, it means it is installed, otherwise it is not installed. κ=1, 2 means that the automatic switch is installed at the i end and j end of the line (i, j).

[0019] Furthermore, constructing a distribution network degradation stage sub-model according to the basic data of the distribution network, the pre-disaster line connection status and the fault data includes:

[0020] Constructing a first distribution network operation constraint according to the basic data of the distribution network, the pre-disaster line connection status and the fault data;

[0021] Constructing a first fault area determination constraint according to the basic data of the distribution network, the pre-disaster line connectivity status and the fault data;

[0022] A distribution network degradation stage sub-model is constructed according to the first distribution network operation constraint and the first fault area determination constraint.

[0023] Furthermore, the first distribution network operation constraint includes:

[0024] The first power balance constraint:

[0025]

[0026] First line disconnect constraint:

[0027] c ij,1 =(1-f ij.c )c ij,0 ;

[0028] The first DistFlow power flow equation constraint:

[0029]

[0030] First line capacity constraint:

[0031]

[0032] First voltage limit constraint:

[0033]

[0034] The first distributed power output constraint:

[0035]

[0036] In the formula, π(j) represents the parent node of node j; δ(j) represents the child node of node j; Pij,1 represents the active power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; B is the set of distribution network nodes; E is the set of distribution network lines; Q ij,1 represents the reactive power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; P js,1 represents the active power flow of the line (j, s) formed by node j and its child node s in the degradation stage; Q js,1 represents the reactive power flow of the line (j, s) formed by node j and its child node s in the degradation stage; P L,j represents the active load value of node j; Q L,j represents the reactive load value of node j; P DG,j,1 represents the active output of distributed generation in the degradation stage of node j; Q DG,j,1 represents the reactive power output of distributed generation in the degradation stage of node j; P S,j,c,1 represents the active load shedding amount of line (i, j) in the degradation stage; Q S,j,c,1 Indicates the reactive load shedding amount of line (i, j) in the degradation stage; binary variable n j,c,1 Indicates whether node j is affected by the fault in the degradation stage. It takes 1 if the node is affected by the fault, otherwise it takes 0. ij,0 Indicates the pre-disaster connectivity status of line (i, j). If it is 1, it means it is closed, otherwise it is disconnected; c ij,1 Indicates the connectivity status of line (i, j) in the degradation stage. If it is 1, it means closed, otherwise it is disconnected. Binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0; U 0 Indicates the voltage rating; M indicates a larger constant; r ij represents the resistance value of line (i, j); x ij Indicates the reactance value of line (i, j); U i,1 represents the voltage value of node i in the degradation stage; U j,1 represents the voltage value of node j at the degradation stage; represents the capacity of line (i, j); B is the set of distribution network nodes; represents the voltage upper limit of node j; U j max represents the lower voltage limit of node j; represents the upper limit of the active output of the distributed generation at node j; represents the lower limit of the active output of the distributed generation at node j; represents the upper limit of reactive power output of distributed generation at node j; Represents the lower limit of reactive power output of distributed generation at node j.

[0037] Furthermore, the construction of a distribution network fault isolation phase sub-model based on the distribution network basic data, the pre-disaster line connectivity status and the fault data includes:

[0038] According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a first automatic switch constraint, a first line status constraint, a second distribution network operation constraint and a second fault area determination constraint are constructed;

[0039] A distribution network fault isolation phase sub-model is constructed according to the first automatic switch constraint, the first line state constraint, the second distribution network operation constraint and the second fault area determination constraint.

[0040] Furthermore, the construction of a distribution network power supply recovery phase sub-model based on the basic data of the distribution network, the pre-disaster line connection status and the fault data includes:

[0041] According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a connectivity constraint, a topology constraint, a second automatic switch constraint, a second line status constraint and a third distribution network operation constraint are constructed;

[0042] According to the connectivity constraint, topology constraint, second automatic switch constraint, second line state constraint and third distribution network operation constraint, a distribution network power supply restoration phase sub-model is constructed.

[0043] An embodiment of the present invention further provides an automatic switch configuration device considering the multi-stage recovery process of a distribution network after a disaster, comprising: a data acquisition module, an automatic switch quantity constraint construction module, a multi-stage sub-model construction module, a target optimization model construction module, a solution output module, and a deployment module;

[0044] The data acquisition module is used to acquire basic data of the distribution network, the line connection status of the distribution network before the disaster, and fault data;

[0045] The automatic switch quantity constraint building module is used to build the automatic switch quantity constraint according to the basic data of the distribution network;

[0046] The multi-stage sub-model construction module is used to construct a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model and a distribution network power supply restoration stage sub-model according to the distribution network basic data, the pre-disaster line connection status and the fault data;

[0047] The target optimization model construction module is used to construct a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model;

[0048] The scheme output module is used to solve the target optimization model and output the automatic switch deployment scheme of the distribution network with the goal of minimizing the total annual deployment cost of the automatic switches and the total annual loss load cost of the distribution network under the constraint of the number of automatic switches, wherein the automatic switch deployment scheme includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed;

[0049] The deployment module is used to deploy the automatic switch at a corresponding position according to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan.

[0050] The present application also provides a terminal device, including:

[0051] one or more processors;

[0052] A memory, coupled to the processor, for storing one or more programs;

[0053] When the one or more programs are executed by the one or more processors, the one or more processors implement the automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as described in the above-mentioned embodiment of the invention.

[0054] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for automatically configuring switches considering the multi-stage recovery process of a distribution network after a disaster as described in the above-mentioned embodiment of the invention is implemented.

[0055] The following beneficial effects are achieved by implementing the present invention:

[0056] The present invention provides an automatic switch configuration method, device, equipment and medium considering the multi-stage recovery process of a distribution network after a disaster. The method considers the degradation stage, isolation stage and power supply recovery stage in the multi-stage recovery process of the distribution network after a disaster, and constructs a sub-model corresponding to each stage respectively. Then, according to the constructed distribution network degradation stage sub-model, distribution network fault isolation stage sub-model and distribution network power supply recovery stage sub-model, a target optimization model is constructed, and under the constraint of the number of automatic switches, the target optimization model is solved with the goal of minimizing the total annual deployment cost of the automatic switch and the total annual loss load cost of the distribution network, so that the automatic switch deployment scheme of the distribution network obtained by the solution can effectively improve the elasticity of each stage of the distribution network post-disaster recovery process, and further comprehensively considers the investment and operation costs brought by the automatic switch configuration, so as to provide reference suggestions for the investment and construction of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the implementation manner will be briefly introduced below. Obviously, the drawings described below are only some implementation manners of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0058] Figure 1 It is a flowchart of an automatic switch configuration method considering a multi-stage recovery process of a distribution network after a disaster provided by a certain embodiment of the present application;

[0059] Figure 2 It is a flowchart of a multi-stage recovery process of a power distribution network after a disaster provided by a certain embodiment of the present application;

[0060] Figure 3 It is a structural schematic diagram of an automatic switch configuration device considering a multi-stage recovery process of a distribution network after a disaster provided by a certain embodiment of the present application;

[0061] Figure 4 It is a structural diagram of a terminal device provided in a certain embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0064] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0065] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0066] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0067] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0068] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0069] See also Figure 1 , is a flow chart of an automatic switch configuration method considering a multi-stage recovery process of a distribution network after a disaster provided by an embodiment of the present invention, including:

[0070] S1. Obtain basic data of the distribution network, the connection status of the distribution network lines before the disaster, and fault data;

[0071] Specifically, the basic data of the distribution network include line impedance, location and capacity of distributed power sources, node load power, node voltage amplitude boundary, automatic switch investment, operation and maintenance cost, expected life and discount rate of automatic switch, and unit load loss amount;

[0072] The pre-disaster line connectivity state of the distribution network refers to the line connectivity state corresponding to the island formed by the network reconstruction and the distributed power source before the fault caused by the disaster occurs;

[0073] The fault data includes the probability of occurrence of the fault scenario, the name of the fault line, and the fault evolution time;

[0074] It should be noted that the pre-disaster line connectivity status of the distribution network includes several line connectivity states c ij,0 , where c ij,0 Indicates the connectivity status of line (i, j) in the active islanding phase. If it is 1, it means it is closed, otherwise it is disconnected.

[0075] S2. Constructing automatic switch quantity constraints according to the basic data of the distribution network;

[0076] In a preferred embodiment, the automatic switch quantity constraint includes:

[0077]

[0078] Where N Switch represents the total number of automatic switches; m represents the actual number of automatic switches deployed; E represents the set of distribution network lines; A binary variable indicating whether the line (i, j) is equipped with an automatic switch. If it is 1, it means it is installed, otherwise it is not installed. κ=1, 2 means that the automatic switch is installed at the i end and the j end of the line (i, j) respectively.

[0079] Specifically, in order to ensure that the actual number of automatic switch deployments in the subsequent output switch configuration scheme does not exceed the expected total number of automatic switches, it is necessary to construct an automatic switch number constraint to ensure that the output switch configuration scheme is feasible.

[0080] S3. Constructing a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model, and a distribution network power supply restoration stage sub-model according to the distribution network basic data, the pre-disaster line connection status, and the fault data;

[0081] In a preferred embodiment, the construction of the distribution network degradation stage sub-model according to the distribution network basic data, the pre-disaster line connection status and the fault data includes:

[0082] Constructing a first distribution network operation constraint according to the basic data of the distribution network, the pre-disaster line connection status and the fault data;

[0083] In a preferred embodiment, the first distribution network operation constraint includes:

[0084] The first power balance constraint:

[0085]

[0086] First line disconnect constraint:

[0087] c ij,1 =(1-f ij.c )cij,0 ;

[0088] The first DistFlow power flow equation constraint:

[0089]

[0090] First line capacity constraint:

[0091]

[0092] First voltage limit constraint:

[0093]

[0094] The first distributed power output constraint:

[0095]

[0096] In the formula, π(j) represents the parent node of node j; δ(j) represents the child node of node j; P ij,1 represents the active power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; B is the set of distribution network nodes; E is the set of distribution network lines; Q ij,1 represents the reactive power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; P js,1 represents the active power flow of the line (j, s) formed by node j and its child node s in the degradation stage; Q js,1 represents the reactive power flow of the line (j, s) formed by node j and its child node s in the degradation stage; P L,j represents the active load value of node j; Q L,j represents the reactive load value of node j; P DG,j,1 represents the active output of distributed generation in the degradation stage of node j; Q DG,j,1 represents the reactive power output of distributed generation in the degradation stage of node j; P S,j,c,1 represents the active load shedding amount of line (i, j) in the degradation stage; Q S,j,c,1 Indicates the reactive load shedding amount of line (i, j) in the degradation stage; binary variable n j,c,1 Indicates whether node j is affected by the fault in the degradation stage. It takes 1 if the node is affected by the fault, otherwise it takes 0. ij,0 Indicates the pre-disaster connectivity status of line (i, j). If it is 1, it means it is closed, otherwise it is disconnected; c ij,1 Indicates the connectivity status of line (i, j) in the degradation stage. If it is 1, it means closed, otherwise it is disconnected. Binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0; U 0 Indicates the voltage rating; M indicates a larger constant; rij represents the resistance value of line (i, j); x ij Indicates the reactance value of line (i, j); U i,1 represents the voltage value of node i in the degradation stage; U j,1 represents the voltage value of node j at the degradation stage; represents the capacity of line (i, j); B is the set of distribution network nodes; represents the upper voltage limit of node j; represents the lower voltage limit of node j; represents the upper limit of the active output of the distributed generation at node j; represents the lower limit of the active output of the distributed generation at node j; represents the upper limit of reactive power output of distributed generation at node j; Represents the lower limit of reactive power output of distributed generation at node j.

[0097] Constructing a first fault area determination constraint according to the basic data of the distribution network, the pre-disaster line connectivity status and the fault data;

[0098] Specifically, the first fault area determination constraint is as follows:

[0099]

[0100] Among them, M represents a large constant; π(j) represents the parent node of node j; δ(j) represents the child node of node j; the binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0. Binary variable f js,c Indicates whether the line (j, s) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0. Binary variable n j,c,1 Indicates whether node j is affected by the fault in the degradation stage. It takes 1 if the node is affected by the fault, otherwise it takes 0; y ijκ,0 A binary constant representing the starting state of the switch of line (i, j). κ = 1, 2 represent the two ends of line (i, j) respectively. 1 means that the switch is not configured or the switch is closed, otherwise it means that the switch is configured and the switch is open. jsk,0 A binary constant representing the starting state of the switch of line (j, s). κ=1, 2 represent the two ends of line (j, s) respectively. 1 means that the switch is not configured or the switch is closed, otherwise it means that the switch is configured and the switch is open.

[0101] A distribution network degradation stage sub-model is constructed according to the first distribution network operation constraint and the first fault area determination constraint.

[0102] In a preferred embodiment, the construction of a distribution network fault isolation stage sub-model based on the distribution network basic data, the pre-disaster line connectivity status and the fault data includes:

[0103] According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a first automatic switch constraint, a first line status constraint, a second distribution network operation constraint and a second fault area determination constraint are constructed;

[0104] Specifically, the first automatic switch constraint is as follows:

[0105]

[0106] in, A binary variable indicating whether the line (i, j) is equipped with an automatic switch, κ = 1, 2 represents the two ends of the line (i, j) respectively; y ijκ,0 A binary constant representing the starting state of the switch of line (i, j). 1 means the switch is not configured or closed, otherwise it means the switch is configured and open. ijκ,2 A binary variable representing the switch state of line (i, j) during the fault isolation phase; this constraint indicates that the switch state on the configuration side is allowed to change only when the line is configured with switches.

[0107] Specifically, the second fault area determination constraint is as follows:

[0108]

[0109] Among them, M represents a large constant; π(j) represents the parent node of node j; δ(j) represents the child node of node j; the binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0. Binary variable f js,c Indicates whether the line (j, s) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0. Binary variable n j,c,2 Indicates whether node j is affected by the fault in the degradation stage. It takes 1 if the node is affected by the fault, otherwise it takes 0; y ijk,2 A binary constant representing the starting state of the switch of line (i, j). κ = 1, 2 represent the two ends of line (i, j) respectively. 1 means that the switch is not configured or the switch is closed, otherwise it means that the switch is configured and the switch is open. jsk,2 A binary constant representing the starting state of the switch of line (j, s). κ=1, 2 represent the two ends of line (j, s) respectively. 1 means that the switch is not configured or the switch is closed, otherwise it means that the switch is configured and the switch is open.

[0110] Specifically, the first line state constraint is as follows:

[0111]

[0112] Among them, ε represents a small constant; c ij,2 Indicates the connectivity status of line (i, j) during the fault isolation phase. If it is 1, it means it is closed, otherwise it is disconnected.

[0113] It should be noted that if no switches are configured on both sides of the line or the switches are closed, the line is connected; conversely, if there is at least one open switch on both sides of the line, the line is disconnected.

[0114] Specifically, the second distribution network operation constraints are as follows:

[0115] Second power balance constraint:

[0116]

[0117] Second line disconnect constraint:

[0118] c ij,2 =(1-f ij,c )c ij,1 ;

[0119] The second DistFlow power flow equation constraint:

[0120]

[0121] Second line capacity constraint:

[0122]

[0123] Second voltage limit constraint:

[0124]

[0125] Second distributed power generation output constraint:

[0126]

[0127] In the formula, π(j) represents the parent node of node j; δ(j) represents the child node of node j; P ij,2 represents the active power flow of the line (i, j) formed by node j and its parent node i in the isolation stage; B is the set of distribution network nodes; E is the set of distribution network lines; Q ij,2 represents the reactive power flow of the line (i, j) formed by node j and its parent node i during the isolation phase; P js,2 represents the active power flow of the line (j, s) formed by node j and its child node s during the isolation phase; Q js,2represents the reactive power flow of the line (j, s) formed by node j and its child node s during the isolation phase; P L,j represents the active load value of node j; Q L,j represents the reactive load value of node j; P DG,j,2 represents the active output of the distributed generation during the isolation phase of node j; Q DG,j,2 represents the reactive power output of distributed generation in the isolation phase of node j; P S,j,c,2 represents the active load shedding amount during the isolation phase of line (i, j); Q S,j,c,2 Represents the reactive load shedding amount during the isolation phase of line (i, j); binary variable n j,c,2 Indicates whether node j is affected by the fault during the isolation phase. It takes 1 if the node is affected by the fault, otherwise it takes 0. ij,1 Indicates the connectivity status of line (i, j) in the degradation stage. If it is 1, it means it is closed, otherwise it is disconnected; c ij,2 Indicates the connectivity status of line (i, j) during the isolation phase. If it is 1, it means it is closed, otherwise it is disconnected. Binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0; U 0 Indicates the voltage rating; M indicates a larger constant; r ij represents the resistance value of line (i, j); x ij Indicates the reactance value of line (i, j); U i,2 Indicates the voltage value of node i during the isolation phase; U j,2 represents the voltage value of node j during the isolation phase; represents the capacity of line (i, j); B is the set of distribution network nodes; represents the upper voltage limit of node j; represents the lower voltage limit of node j; represents the upper limit of the active output of the distributed generation at node j; represents the lower limit of the active output of the distributed generation at node j; represents the upper limit of reactive power output of distributed generation at node j; Represents the lower limit of reactive power output of distributed generation at node j.

[0128] Constructing a distribution network fault isolation phase sub-model according to the first automatic switch constraint, the first line state constraint, the second distribution network operation constraint and the second fault area determination constraint;

[0129] Specifically, according to the above-mentioned first automatic switch constraint, the first line state constraint, the second distribution network operation constraint and the second fault area determination constraint, a distribution network fault isolation stage sub-model is constructed.

[0130] In a preferred embodiment, the construction of a distribution network power supply recovery stage sub-model based on the basic data of the distribution network, the pre-disaster line connection status and the fault data includes:

[0131] According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a connectivity constraint, a topology constraint, a second automatic switch constraint, a second line status constraint and a third distribution network operation constraint are constructed;

[0132] Specifically, the connectivity constraints are as follows:

[0133] Specifically, the topology constraints include radial subgraph quantity constraints and connectivity constraints, which are as follows:

[0134] Constraints on the number of radial subgraphs:

[0135]

[0136] Among them, N node represents the total number of distribution network nodes; c ij,3 Indicates the connectivity status of line (i, j) during the power supply recovery phase; γ j,3 represents the potential source node after network reconstruction during the power supply recovery phase, and the connectivity state c of the line (i, j) connected to node j during this phase ij,3 and line (j,s) connected state c js,3 Decide;

[0137] It should be noted that the radial subgraph number constraint means that the number of closed paths is equal to the number of nodes N node Subtract 1 (that is, the number of sub-diagrams connected to the substation {Sub}) and the other two sub-diagram numbers γ j,3 (Microgrid powered by distributed generation and unpowered load islands).

[0138] Connectivity constraints:

[0139]

[0140] Among them, W j is the source node output; F ij,3 is the virtual power flow in the power restoration phase. Specifically, the second automatic switch constraint is as follows:

[0141]

[0142] Among them, y ijκ,3 A binary variable representing the switch state of line (i, j) during the power supply recovery phase. Specifically, the third distribution network operation constraint is as follows:

[0143] The third power balance constraint:

[0144]

[0145] Third line disconnect constraint:

[0146] c ij,3 =(1-f ij,c )c ij,2 ;

[0147] The third DistFlow power flow equation constraint:

[0148]

[0149] Third line capacity constraint:

[0150]

[0151] The third voltage limit constraint:

[0152]

[0153] The third distributed power output constraint:

[0154]

[0155] In the formula, π(j) represents the parent node of node j; δ(j) represents the child node of node j; P ij,3 represents the active power flow of the line (i, j) formed by node j and its parent node i during the power supply recovery phase; B is the set of distribution network nodes; E is the set of distribution network lines; Q ij,3 represents the reactive power flow of the line (i, j) formed by node j and its parent node i during the power supply recovery phase; P js,3 represents the active power flow of the line (j, s) formed by node j and its child node s during the power supply recovery phase; Q js,3 represents the reactive power flow of the line (j, s) formed by node j and its child node s during the power supply recovery phase; P L,j represents the active load value of node j; Q L,j represents the reactive load value of node j; P DG,j,3 represents the active output of the distributed generation in the power supply recovery phase of node j; Q DG,j,3 represents the reactive power output of the distributed generation at the power supply recovery stage of node j; P S,j,c,3 represents the active load shedding amount during the power supply restoration phase of line (i, j); Q S,j,c,3 Indicates the reactive load shedding amount during the power supply restoration phase of line (i, j); binary variable n j,c,3 Indicates whether node j is affected by the fault during the power supply recovery phase. It takes 1 if the node is affected by the fault, otherwise it takes 0. ij,2Indicates the connectivity status of line (i, j) during the power supply recovery phase. If it is 1, it means it is closed, otherwise it is disconnected; c ij,3 Indicates the connectivity status of line (i, j) during the power restoration phase. If it is 1, it means it is closed, otherwise it is disconnected. Binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0; U 0 Indicates the voltage rating; M indicates a larger constant; r ij represents the resistance value of line (i, j); x ij Indicates the reactance value of line (i, j); U i,3 Indicates the voltage value of node i during the power supply recovery phase; U j,3 represents the voltage value of node j during the power supply recovery phase; represents the capacity of line (i, j); B is the set of distribution network nodes; represents the upper voltage limit of node j; represents the lower voltage limit of node j; represents the upper limit of the active output of the distributed generation at node j; represents the lower limit of the active output of the distributed generation at node j; represents the upper limit of reactive power output of distributed generation at node j; Represents the lower limit of reactive power output of distributed generation at node j.

[0156] Specifically, the second line state constraint is as follows:

[0157]

[0158] Among them, ε represents a small constant;

[0159] According to the connectivity constraint, topology constraint, second automatic switch constraint, second line state constraint and third distribution network operation constraint, a distribution network power supply restoration phase sub-model is constructed.

[0160] S4. Constructing a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model;

[0161] In a preferred embodiment, the target optimization model includes:

[0162] min C CoD +C VoLL ;

[0163]

[0164] In the formula, C CoD represents the total annual deployment cost of the automatic switch; CVoLL represents the total annual loss load cost of the distribution network; m represents the actual number of automatic switches deployed; represents the investment cost of the automatic switch; r 0 represents the discount rate; τ represents the expected life of the automatic switch; l om Represents the total cost of operating and maintaining the deployed automatic switches within one year; represents the unit cost of the lost load; Failure time of simulated investment distribution network within one year; c represents the probability of each fault scenario; C represents the set of fault scenarios; ω j represents the weight of the node load, B represents the node set; P S,j,c,stage |stage=1,2,3 represents the active load loss of the node in scenario c in the degradation stage (stage=1), fault isolation stage (stage=2) and power supply restoration stage (stage=3); T f Indicates the time when the failure occurs, T ir Indicates the time point of isolating the fault, T rr Indicates the time point when power supply is restored, T im Indicates the time point when the fault is repaired.

[0165] S5. Under the constraint of the number of automatic switches, with the goal of minimizing the total annual deployment cost of automatic switches and the total annual loss load cost of the distribution network, solve the target optimization model and output an automatic switch deployment plan for the distribution network; wherein the automatic switch deployment plan includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed;

[0166] Specifically, with the goal of minimizing the total annual deployment cost of the automatic switch and the total annual loss load cost of the distribution network, the target optimization model is solved to obtain the total number of automatic switches to be deployed and the to-be-deployed position corresponding to each automatic switch to be deployed.

[0167] S6. Deploy the automatic switch at the corresponding position according to the position to be deployed of each automatic switch to be deployed in the automatic switch deployment plan.

[0168] Specifically, according to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan, deploy the automatic switch at the corresponding position;

[0169] See also Figure 2 , in order to better explain this application, Figure 2 It is shown that after the distribution network automatic switches are deployed according to the automatic switch configuration method of the present application that takes into account the multi-stage recovery process of the distribution network after a disaster, the system performance of the resilient power system formed is much higher than that of the traditional power system.

[0170] See also Figure 3 , is an automatic switch configuration device considering the multi-stage recovery process of a distribution network after a disaster provided by a certain embodiment of the present application, comprising: a data acquisition module, an automatic switch quantity constraint construction module, a multi-stage sub-model construction module, a target optimization model construction module, a solution output module and a deployment module;

[0171] The data acquisition module is used to acquire basic data of the distribution network, the line connection status of the distribution network before the disaster, and fault data;

[0172] The automatic switch quantity constraint building module is used to build the automatic switch quantity constraint according to the basic data of the distribution network;

[0173] The multi-stage sub-model construction module is used to construct a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model and a distribution network power supply restoration stage sub-model according to the distribution network basic data, the pre-disaster line connection status and the fault data;

[0174] The target optimization model construction module is used to construct a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model;

[0175] The scheme output module is used to solve the target optimization model and output the automatic switch deployment scheme of the distribution network with the goal of minimizing the total annual deployment cost of the automatic switches and the total annual loss load cost of the distribution network under the constraint of the number of automatic switches, wherein the automatic switch deployment scheme includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed;

[0176] The deployment module is used to deploy the automatic switch at a corresponding position according to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan.

[0177] See also Figure 4 , a certain embodiment of the present application further provides a terminal device, including:

[0178] one or more processors;

[0179] A memory, coupled to the processor, for storing one or more programs;

[0180] When the one or more programs are executed by the one or more processors, the one or more processors implement the automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as described above.

[0181] The processor is used to control the overall operation of the terminal device to complete all or part of the steps of the above-mentioned automatic switch configuration method considering the multi-stage recovery process of the power distribution network after a disaster. The memory is used to store various types of data to support the operation of the terminal device, and these data may include, for example, instructions for any application or method used to operate on the terminal device, and data related to the application. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk.

[0182] In an exemplary embodiment, the terminal device can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components, and is used to execute the automatic switch configuration method considering the multi-stage post-disaster recovery process of the distribution network as described in any of the above embodiments, and achieve the same technical effect as the above method.

[0183] In another exemplary embodiment, a computer-readable storage medium including a computer program is also provided, and when the computer program is executed by a processor, the steps of the automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as described in any of the above embodiments are implemented. For example, the computer-readable storage medium can be the above-mentioned memory including the computer program, and the above-mentioned computer program can be executed by the processor of the terminal device to complete the automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as described in any of the above embodiments, and achieve the technical effect consistent with the above method.

[0184] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An automatic switch configuration method considering the multi-stage recovery process of a distribution network after a disaster, characterized in that: include: Obtain basic data of the distribution network, the pre-disaster line connectivity status of the distribution network, and fault data; According to the basic data of the distribution network, automatic switch quantity constraints are constructed; According to the basic data of the distribution network, the pre-disaster line connection status and the fault data, construct a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model and a distribution network power supply restoration stage sub-model; Constructing a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model; Under the constraint of the number of automatic switches, with the goal of minimizing the total annual deployment cost of automatic switches and the total annual loss load cost of the distribution network, the target optimization model is solved to output an automatic switch deployment plan for the distribution network; wherein the automatic switch deployment plan includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed; According to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan, the automatic switch is deployed at the corresponding position.

2. The automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as claimed in claim 1 is characterized in that: The target optimization model comprises: my C CoD +C VoLL ; In the formula, C CoD represents the total annual deployment cost of the automatic switch; C VoLL represents the total annual loss load cost of the distribution network; m represents the actual number of automatic switches deployed; represents the investment cost of the automatic switch; r0 represents the discount rate; τ represents the expected life of the automatic switch; Represents the total cost of operating and maintaining the deployed automatic switches within one year; represents the unit cost of the lost load; Failure time of simulated investment distribution network within one year; c represents the probability of each fault scenario; C represents the set of fault scenarios; ω j represents the weight of the node load, B represents the node set; P S,j,c,stage |stage=1,2,3 represents the active load loss of the node in scenario c in the degradation stage (stage=1), fault isolation stage (stage=2) and power supply restoration stage (stage=3); T f Indicates the time when the failure occurs, T ir Indicates the time point of isolating the fault, T rr Indicates the time point when power supply is restored, T im Indicates the time point when the fault is repaired.

3. The automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as claimed in claim 2 is characterized in that: The automatic switch quantity constraint includes: Where N Switch represents the total number of automatic switches; m represents the actual number of automatic switches deployed; E represents the set of distribution network lines; A binary variable indicating whether the line (i, j) is equipped with an automatic switch. If it is 1, it means it is installed, otherwise it is not installed. κ=1, 2 means that the automatic switch is installed at the i end and j end of the line (i, j).

4. The automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as claimed in claim 3 is characterized in that: The constructing of a distribution network degradation stage sub-model according to the basic data of the distribution network, the pre-disaster line connection status and the fault data includes: Constructing a first distribution network operation constraint according to the basic data of the distribution network, the pre-disaster line connection status and the fault data; Constructing a first fault area determination constraint according to the basic data of the distribution network, the pre-disaster line connectivity status and the fault data; A distribution network degradation stage sub-model is constructed according to the first distribution network operation constraint and the first fault area determination constraint.

5. The automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as claimed in claim 4 is characterized in that: The first distribution network operation constraint includes: The first power balance constraint: First line disconnect constraint: c ij,1 =(1-f ij.c )c ij,0 ; The first DistFlow power flow equation constraint: First line capacity constraint: First voltage limit constraint: The first distributed power output constraint: In the formula, π(j) represents the parent node of node j; δ(j) represents the child node of node j; P ij,1 represents the active power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; B is the set of distribution network nodes; E is the set of distribution network lines; Q ij,1 represents the reactive power flow of the line (i, j) formed by node j and its parent node i in the degradation stage; P js,1 represents the active power flow of the line (j, s) formed by node j and its child node s in the degradation stage; Q js,1 represents the reactive power flow of the line (j, s) formed by node j and its child node s in the degradation stage; P L,j represents the active load value of node j; Q L,j represents the reactive load value of node j; P DG,j,1 represents the active output of distributed generation in the degradation stage of node j; Q DG,j,1 represents the reactive power output of distributed generation in the degradation stage of node j; P S,j,c,1 represents the active load shedding amount of line (i, j) in the degradation stage; Q S,j,c,1 Indicates the reactive load shedding amount of line (i, j) in the degradation stage; binary variable n j,c,1 Indicates whether node j is affected by the fault in the degradation stage. It takes 1 if the node is affected by the fault, otherwise it takes 0. ij,0 Indicates the pre-disaster connectivity status of line (i, j). If it is 1, it means it is closed, otherwise it is disconnected; c ij,1 Indicates the connectivity status of line (i, j) in the degradation stage. If it is 1, it means closed, otherwise it is disconnected. Binary variable f ij,c Indicates whether the line (i, j) is in a fault state in fault scenario c. If the line is faulty, it takes 1, otherwise it takes 0; U0 represents the voltage rating; M represents a large constant; r ij represents the resistance value of line (i, j); x ij Indicates the reactance value of line (i, j); U i,1 represents the voltage value of node i in the degradation stage; U j,1 represents the voltage value of node j at the degradation stage; represents the capacity of line (i, j); B is the set of distribution network nodes; represents the upper voltage limit of node j; represents the lower voltage limit of node j; represents the upper limit of the active output of the distributed generation at node j; represents the lower limit of the active output of the distributed generation at node j; represents the reactive power output upper limit of the distributed generation at node j; Represents the lower limit of the reactive power output of the distributed generation at node j.

6. The automatic switch configuration method considering the multi-stage recovery process of the power distribution network after a disaster as claimed in claim 5 is characterized in that: The constructing of a distribution network fault isolation phase sub-model according to the distribution network basic data, the pre-disaster line connection status and the fault data includes: According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a first automatic switch constraint, a first line status constraint, a second distribution network operation constraint and a second fault area determination constraint are constructed; A distribution network fault isolation phase sub-model is constructed according to the first automatic switch constraint, the first line state constraint, the second distribution network operation constraint and the second fault area determination constraint.

7. The automatic switch configuration method considering the multi-stage recovery process of the power distribution network after a disaster as claimed in claim 6 is characterized in that: The constructing of a distribution network power supply recovery phase sub-model according to the basic data of the distribution network, the pre-disaster line connection status and the fault data includes: According to the basic data of the distribution network, the connection status of the line before the disaster and the fault data, a connectivity constraint, a topology constraint, a second automatic switch constraint, a second line status constraint and a third distribution network operation constraint are constructed; According to the connectivity constraint, topology constraint, second automatic switch constraint, second line state constraint and third distribution network operation constraint, a distribution network power supply restoration phase sub-model is constructed.

8. An automatic switch configuration device considering the multi-stage recovery process of the distribution network after a disaster, characterized in that: include: Data acquisition module, automatic switch quantity constraint building module, multi-stage sub-model building module, target optimization model building module, solution output module and deployment module; The data acquisition module is used to acquire basic data of the distribution network, the line connection status of the distribution network before the disaster, and fault data; The automatic switch quantity constraint building module is used to build the automatic switch quantity constraint according to the basic data of the distribution network; The multi-stage sub-model construction module is used to construct a distribution network degradation stage sub-model, a distribution network fault isolation stage sub-model and a distribution network power supply restoration stage sub-model according to the distribution network basic data, the pre-disaster line connection status and the fault data; The target optimization model construction module is used to construct a target optimization model according to the distribution network degradation stage sub-model, the distribution network fault isolation stage sub-model and the distribution network power supply restoration stage sub-model; The scheme output module is used to solve the target optimization model and output the automatic switch deployment scheme of the distribution network with the goal of minimizing the total annual deployment cost of the automatic switches and the total annual loss load cost of the distribution network under the constraint of the number of automatic switches, wherein the automatic switch deployment scheme includes the number of automatic switches to be deployed and the location to be deployed of each automatic switch to be deployed; The deployment module is used to deploy the automatic switch at a corresponding position according to the to-be-deployed position of each automatic switch to be deployed in the automatic switch deployment plan.

9. A device, characterized in that: include: one or more processors; A memory, coupled to the processor, for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the automatic switch configuration method considering the multi-stage post-disaster recovery process of the distribution network as described in any one of claims 1-7.

10. A medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the automatic switch configuration method considering the multi-stage recovery process of the distribution network after a disaster as described in any one of claims 1 to 7 is implemented.