Power network vulnerability assessment method and device based on cactus structure

Through the power network assessment method based on the cactus structure, weighted directed graphs and algorithms are used to identify key nodes, which solves the problem of vulnerability assessment of complex power networks and improves the robustness and control efficiency of the power network.

CN118780488APending Publication Date: 2024-10-15SHENYANG AEROSPACE UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410906587.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The structural characteristics and dynamic behavior of complex power networks make it difficult to directly apply traditional complex network control theory, making it difficult to effectively evaluate and improve the security and resilience of power networks, especially in the face of threats such as large-scale cascading faults and blackouts. .

Method used

This paper proposes a power network vulnerability assessment method based on the cactus structure. By abstracting the power network as a weighted directed graph, defining the electrical control capability, electrical observation capability and electrical dynamic characteristics, using the weighted maximum matching algorithm and reachability judgment algorithm, Calculate the number of nodes and control ranges in high-weighted stems and maximum power cacti to assess the vulnerability of power networks.

Benefits of technology

Accurately identifying key control and observation nodes in complex power networks improves the robustness and control efficiency of complex power networks, and enhances network security and resilience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780488A_ABST
    Figure CN118780488A_ABST
Patent Text Reader

Abstract

The invention provides a power network vulnerability assessment method and device based on a cactus structure, and belongs to the technical field of complex power network control, and the method comprises the steps: abstracting a power network into a weighted directed graph based on electrical betweenness; taking a sub-graph of the weighted directed graph as a power cactus structure of a node i; defining three indexes based on the power cactus structure; calculating a high-weight stem taking the node i as a root node by adopting a weighted maximum matching algorithm to obtain a high-weight stem node set; a reachability judgment algorithm is adopted in the high-weight stem node set, and the number of nodes in the cactus with the maximum electric power of the node i and the electric control range of the node i are obtained through calculation; calculating to obtain an electric dynamic characteristic calculation result; and sorting according to the magnitude of the electric dynamic characteristic calculation result to obtain a power network vulnerability evaluation result. According to the method, the control and observation key nodes in the complex power network are accurately identified, and the control and observation robustness of the complex power network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of complex power network control, and in particular relates to a power network vulnerability assessment method and device based on a cactus structure. Background Art

[0002] The study of complex network theory is an interdisciplinary subject involving many fields such as mathematics, physics, computer, control, biology, etc. As a typical complex network, complex power network control theory provides a new structural research framework for the study of complex power network control. The study of complex power network control can realize the identification of key control components, automatic traction coordinated control, cascade fault control, structural optimization control and other issues, further promoting the development of monitoring, protection and control research of complex power networks.

[0003] As a key hub connecting energy production and consumption, the power network occupies a core position in modern economic production activities and is one of the most important infrastructures in contemporary society. With the continuous development and transformation of the power network, the challenges it faces are becoming increasingly severe, especially large-scale cascading failures and blackouts, which pose a major threat to the safe and stable operation of the power network. Therefore, it is crucial to conduct macro-level system analysis, explore the complex dynamic behavior of the power network, and implement effective network control strategies to ensure the stable operation of the power system. Since the power network has the characteristics of short average shortest path and high clustering coefficient in structure, it can be regarded as a strongly coupled and highly complex network system. In recent years, complex network theory has been widely used in the study of structural control of power networks. However, the unique structural characteristics and complex dynamic behavior of the power network itself make it difficult for traditional complex network control theory to be directly applied. Summary of the invention

[0004] In view of the shortcomings of the existing technology, this application proposes a power network vulnerability assessment method and device based on the cactus structure. Based on the complex network theory, it focuses on exploring the power network vulnerability assessment based on the cactus structure, aiming to improve the safety and resilience of the power network.

[0005] In the first aspect, the present application proposes a power network vulnerability assessment method based on a cactus structure, comprising:

[0006] Abstract the power network into a weighted directed graph based on electrical betweenness;

[0007] The subgraph of the weighted directed graph is taken as the power cactus structure of node i;

[0008] Based on the electric cactus structure, three indicators are defined, including: electric control capability, electric observation capability and electric dynamic characteristics. The electric control capability is defined as the number of nodes in the maximum electric cactus of node i, the electric observation capability is defined as the electric control range of node i, and the electric dynamic characteristics is defined as the average value of the square of the electric control capability and the electric observation capability of node i;

[0009] The weighted maximum matching algorithm is used to calculate the high-weight stem with node i as the root node to obtain a set of high-weight stem nodes;

[0010] The reachability judgment algorithm is used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the set of high-weight stem nodes;

[0011] According to the number of nodes in the maximum power cactus of the node i and the electrical control range of the node i, the electrical dynamic characteristic calculation result is calculated;

[0012] The results of the calculation of the electric dynamic characteristics are sorted to obtain the power network vulnerability assessment results.

[0013] The power network is abstracted into a weighted directed graph based on electrical betweenness, including:

[0014] The power plant, substation and load are abstracted as nodes in a weighted directed graph, and the high-voltage transmission lines with voltage values ​​higher than the preset standard are abstracted as edges connecting the nodes;

[0015] Combine the parallel transmission lines on the same tower into one high-voltage transmission line, ignoring the connecting lines of the parallel capacitors;

[0016] The electrical betweenness is used to determine the directionality and weight of each edge in a weighted directed graph, and the electrical betweenness matrix is ​​established.

[0017] The method of using electrical betweenness to determine the directionality and weight of each edge in a weighted directed graph and establishing an electrical betweenness matrix includes:

[0018] Calculate the electrical betweenness of the edge (m,n) in the weighted directed graph. The calculation formula is as follows:

[0019]

[0020] in, is the electrical betweenness of edge (m,n) in the weighted directed graph, v G is the generator node set, v L is the load node set, C i is the rated capacity of generator i, C j is the maximum load demand of load j, I mn(i, j) is the current generated in edge (m, n) when one current unit is transmitted from generator node i to load node j, I mn (i, j) is calculated as follows:

[0021] I mn (i, j) = Y mn (U m -U n )

[0022] Among them, Y mn is the admittance of edge (m, n), U m is the voltage at node m, U n is the voltage of node n;

[0023] According to the electrical betweenness of the edge (m, n) in the weighted directed graph, an electrical betweenness matrix is ​​established, and the calculation formula is as follows:

[0024]

[0025] in, The electrical betweenness matrix, the weight of the edge (m, n) is the value of the element in the electrical betweenness matrix, and the electrical betweenness matrix is ​​an antisymmetric matrix.

[0026] The power cactus structure of using the subgraph of the weighted directed graph as the node i includes:

[0027] (1) In the subgraph, there is a directed path from node i to all other nodes;

[0028] (2) Find a part with an expansion structure in the subgraph, and select a substructure in the part with the expansion structure, wherein the substructure does not contain an expansion structure, the expansion structure is that the same node has at least two edges connected to the node, and the substructure is that each node has only one edge connected to the node;

[0029] (3) Select the edge with the largest weight in the substructure and combine all the edges with the largest weight to form the stem of the power cactus structure in the subgraph.

[0030] The weighted maximum matching algorithm is used to calculate the high-weight stem with node i as the root node to obtain a high-weight stem node set, including:

[0031] Step S4.1: Starting from node i, initialize G v [i] is true, indicating that node i has been visited;

[0032] Step S4.2: Starting from node i, search all edges connected to node i and select the edge with the highest electrical betweenness;

[0033] Step S4.3: Save the edge with the highest electrical betweenness to Gh , and the target node j's G v [j] is set to true;

[0034] Step S4.4: Starting from node j, repeat steps S4.2 to S4.3 until no more nodes can be added or the upper limit of node data is reached, then stop the iteration;

[0035] Step S4.5: G h All the saved edges are used as high-weight stems, and a set of high-weight stem nodes is output.

[0036] The reachability judgment algorithm is used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the high-weight stem node set, including:

[0037] Step S5.1: Find the non-zero weight edges in the node set of the weighted directed graph, record the non-zero weight starting point in the row label set, and record the non-zero weight end point in the row and column label set;

[0038] Step S5.2: Calculate the number of nodes in the maximum power cactus as the union of the intersection of the row label set and the row and column label set and the stem node set with the same high weight, and assign the complement set of the largest cactus node among all nodes to r u , and set the number of iterations to 1;

[0039] Step S5.3: Determine whether the node is reachable;

[0040] Step S5.4: If the node is unreachable, output the number of nodes in the maximum power cactus of node i and the power control range of node i;

[0041] Step S5.5: If the node is reachable, record the reachable node in the set r a In the above example, the number of iterations is increased by 1, and it is determined whether x is less than or equal to r. u Length;

[0042] Step S5.6: If x is less than or equal to r u length, then go to step S5.3;

[0043] Step S5.7: If x is greater than r u length, then the node record in the set r a Update the number of nodes in the maximum power cactus and go to step S1 to determine the reachability of the next node.

[0044] In the second aspect, the present application proposes a power network vulnerability assessment device based on a cactus structure, comprising:

[0045] Directed graph abstraction module, used to abstract the power network into a weighted directed graph based on electrical betweenness;

[0046] A cactus structure building module, used for taking a subgraph of a weighted directed graph as a power cactus structure of a node i;

[0047] An indicator definition module, used to define three indicators based on the power cactus structure, including: power control capability, power observation capability and power dynamic characteristics, wherein the power control capability is defined as the number of nodes in the maximum power cactus of node i, the power observation capability is defined as the power control range of node i, and the power dynamic characteristics is defined as the average value of the square of the power control capability and the power observation capability of node i;

[0048] A high-weight matching module is used to calculate a high-weight stem with node i as the root node by using a weighted maximum matching algorithm to obtain a high-weight stem node set;

[0049] An indicator calculation module, used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the set of high-weight stem nodes by using a reachability judgment algorithm;

[0050] A characteristic calculation module, used for calculating the electric dynamic characteristic calculation result according to the number of nodes in the maximum power cactus of the node i and the electric control range of the node i;

[0051] The vulnerability assessment module is used to sort the calculation results of the electric dynamic characteristics to obtain the power network vulnerability assessment results.

[0052] In a third aspect, the present application proposes an electronic device comprising: one or more processors, and a memory, wherein the memory is used to store instructions, and when the instructions are executed by the one or more processors, the one or more processors execute the cactus structure-based power network vulnerability assessment method.

[0053] In a fourth aspect, the present application proposes a computer-readable storage medium storing executable instructions, which, when executed, enable a processor to execute the power network vulnerability assessment method based on the cactus structure.

[0054] In a fifth aspect, the present application proposes a computer program product, including a computer program or instructions, which, when executed by a processor, implements the power network vulnerability assessment method based on the cactus structure.

[0055] Beneficial effects:

[0056] The present application proposes a method and device for assessing the vulnerability of a power network based on a cactus structure, which accurately identifies key control and observation nodes in a complex power network and improves the robustness of control and observation of the complex power network. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A flow chart of a power network vulnerability assessment method based on a cactus structure according to an embodiment of the present application;

[0058] Figure 2 The cactus structure diagram of the embodiment of the present application;

[0059] Figure 3 The structure diagram of the China Electric Power Cactus in the embodiment of the present application. ;

[0060] Figure 4 The weighted maximum matching algorithm in the embodiment of the present application;

[0061] Figure 5 The expansion structure diagram of the embodiment of the present application, (a) schematic diagram of the expansion structure diagram, (b) schematic diagram of the stem of the power cactus structure;

[0062] Figure 6 The reachability determination algorithm of the embodiment of the present application;

[0063] Figure 7 Principle block diagram of a power network vulnerability assessment device based on a cactus structure according to an embodiment of the present application. DETAILED DESCRIPTION

[0064] The specific implementation of the present application is further described in detail below in conjunction with the drawings and examples.

[0065] Embodiment 1:

[0066] This embodiment proposes a power network vulnerability assessment method based on the cactus structure, such as Figure 1 As shown, including:

[0067] Step S1: Abstract the power network into a weighted directed graph based on electrical betweenness, including:

[0068] Step S1.1: abstract the power plant, substation and load into nodes in a weighted directed graph, and abstract the high-voltage transmission lines with voltage values ​​higher than the preset standard into edges connecting the nodes;

[0069] Step S1.2: merge the parallel transmission lines on the same tower into one high-voltage transmission line, ignoring the connection lines of the parallel capacitors;

[0070] Step S1.3: Use electrical betweenness to determine the directionality and weight of each edge in the weighted directed graph, and establish an electrical betweenness matrix. In this embodiment, first of all, basic topological rules should be defined, and the complex power network should be simplified into a graph model according to the basic topological rules, that is, the power network is abstracted into a weighted directed graph based on electrical betweenness. Specifically, power plants, substations and loads are abstracted into nodes, and these nodes form different node sets according to their different functions. The node sets can be divided into generator node sets V G , transmission node set V T and load node set V L At the same time, all high-voltage transmission lines with voltage values ​​higher than the preset standard are abstracted as edges connecting nodes. In order to simplify the model and avoid the appearance of multiple edges, this embodiment ignores parallel capacitor lines and merges parallel transmission lines on the same tower to generate a more concise weighted directed graph. This embodiment establishes a detailed complex power weighted directed graph based on impedance values, and uses electrical betweenness to determine the directionality and weight of each edge in the weighted directed graph to reflect the importance and influence of different transmission lines in power transmission.

[0071] In step S1.3, the electrical betweenness is used to determine the directionality and weight of each edge in the weighted directed graph, and an electrical betweenness matrix is ​​established, including:

[0072] Step S1.3.1: Based on Ohm's law, the complex power network is represented in the form of a matrix;

[0073] In this embodiment, a complex power network including N+1 nodes can be described by a set of linear equations, where the reference node is set to the ground. Based on Ohm's law, the complex power network can be expressed as follows:

[0074]

[0075] Among them, Z ij is the impedance value of the transmission line ij. If there is a transmission line from node i to node j, then Z ij =Z ji ≠0 otherwise Z ij =Z ji = 0. i is the bus voltage, I i is the injected current of the bus, and N is the total number of nodes.

[0076] In graph theory, the electrical betweenness of an edge i→j is defined as the total number of shortest paths through the edge (i, j). The electrical betweenness of an edge (m, n) in a weighted directed graph is calculated as follows:

[0077]

[0078] in, is the electrical betweenness of edge (m,n) in the weighted directed graph, v G is the generator node set, v L is the load node set, C i is the rated capacity of generator i, C j is the maximum load demand of load j, I mn (i, j) is the current generated in edge (m, n) when one current unit is transmitted from generator node i to load node j, I mn (i, j) is calculated as follows:

[0079] I mn (i, j) = Y mn (U m -U n )

[0080] Among them, Y mn is the admittance of edge (m, n), U m is the voltage at node m, U n is the voltage of node n;

[0081] Among them, the voltage of a certain node is calculated as follows:

[0082] U k =Z ki -Z kj

[0083] Among them, U k The voltage at node k, that is, the voltage at node k when one unit of current is transmitted from generator node i to load node j.

[0084] According to the electrical betweenness of the edge (m, n) in the weighted directed graph, an electrical betweenness matrix is ​​established, wherein any element in the electrical betweenness matrix is ​​calculated as follows:

[0085]

[0086] in, The electrical betweenness matrix, the weight of the edge (m,n) is the value of the element in the electrical betweenness matrix, and the electrical betweenness matrix is ​​an antisymmetric matrix.

[0087] In this embodiment, the electrical betweenness matrix is ​​a matrix used to quantify the importance of each edge in the network in the current transmission. For each edge (m, n) in the network, its electrical betweenness is calculated based on the participation of the edge in the current transmission path between all node pairs. Specifically, each element of the matrix can be expressed as the sum of the current carried by the edge (m, n) in the shortest path between all possible node pairs (i, j), taking into account the admittance and voltage distribution of the network. In this way, the electrical betweenness matrix provides a method to evaluate the strategic importance and vulnerability of each edge in the network.

[0088] Step S2: Taking the subgraph of the weighted directed graph as the power cactus structure of node i, including:

[0089] In this embodiment, in a complex power network, the concept of "power cactus structure" is introduced to evaluate the control power of a single node in the network, where a linear time-invariant system (LTI system) can be expressed as:

[0090]

[0091] In a linear time-invariant system, the vector X = (x1, ..., x N ) T Represents the node state in a subgraph of a weighted directed graph, where N is the total number of nodes in the system, A = [a ij ]∈R N×N is the coupling matrix of the system, where a ij represents the coupling strength between nodes. For an undirected network, there is a ij =a ji , vector u=(u1,u2,...,u m ) T represents the states of m controllers, and the matrix B = R N ×m is the control input matrix, matrix C∈R r×N is the output matrix, and y∈R r×r Output vector, where r represents the number of observers. Define the structural mode matrix is the structural mode of the system coupling matrix A, is the structural mode matrix of the input matrix B, and is the structural pattern matrix of the output matrix c. In these structural pattern matrices, any element value of zero means that its corresponding element is or or The elements in the matrix are equal to zero. If they are not zero, the element can be any other value. These definitions help describe the structure and existence of the relationship between the elements of each matrix in the system. Based on the structural controllability theory and graph theory, the control range of a single node is clarified. Describe the power control domain of a single node. Describe the power observation domain of a single node. Single node control range: The control range of node i is defined as the total number of nodes that can be controlled in the graph when node i is the only input node, denoted as In a linear time-invariant system, the number of nodes in the maximum input cactus structure with node i as the root node represents the maximum control range that can be achieved with a single input node i, denoted as This method emphasizes the influence and importance of a single node on the control of the entire network. By analyzing the maximum input cactus structure of a single node, the control capability of a single node in the network and the control structure of the network can be effectively evaluated. EC :In G(D E ), the power control range of a single node i is defined as the number of nodes in the maximum power cactus structure with node i as the root node. The power observation domain S of a single node EO :In G(D E ), the electrical observation range of a single node i is G(D ET ) is the electrical control range of a single node i, where D ET is the matrix D E Based on the above analysis, three indicators can be defined for the electric cactus structure, including: electric control capability, electric observation capability and electric dynamic characteristics.

[0092] How to introduce the power cactus structure into a weighted directed graph requires certain conditions to be met. The power cactus structure C E : In a weighted directed graph based on electrical betweenness, a subgraph can be called an electrical cactus structure with node i as the root node if and only if the following conditions are met:

[0093] (1) In the subgraph, there is a directed path from node i to all other nodes;

[0094] In this embodiment, Figure 2 As shown in the figure, it is a diagram of the structure of a cactus. Figure 3 The structure diagram of the electric cactus is shown. Figure 3 It can be seen from that there are directed paths from node i to all other nodes;

[0095] (2) Find a part with an expansion structure in the subgraph, and select a substructure in the part with the expansion structure, wherein the substructure does not contain an expansion structure, the expansion structure is that the same node has at least two edges connected to the node, and the substructure is that each node has only one edge connected to the node;

[0096] In this embodiment, the expansion structure is as follows Figure 5 As shown in (a), all expansion structures are found in the overall subgraph, and a substructure needs to be selected in the part with expansion structure, where each node has only one edge connected to the node.

[0097] (3) Select the edge with the largest weight in the substructure and combine all the edges with the largest weight to form the stem of the power cactus structure in the subgraph, such as Figure 5 (b).

[0098] In this embodiment, in all substructures, the edge with the largest weight in the expansion structure is selected, that is, each edge in the stem (main axis) of the substructure is the edge with the largest weight in the expansion structure where it is located, and all the edges with the largest weight constitute the stem (main axis) of the power cactus structure in the subgraph.

[0099] The maximum power cactus structure with node i as the root node is the effective control range of a single node i. Moreover, the control energy required by the maximum power cactus structure is less than or equal to the maximum cactus structure with the same root node. This definition emphasizes the maximization of the control capability of a single node in the power network, and how to effectively utilize the characteristics of the network structure to improve control efficiency while ensuring the cost-effectiveness of control.

[0100] Step S3: Based on the electric cactus structure, three indicators are defined, including: electric control capability, electric observation capability, and electric dynamic characteristics. The electric control capability is defined as the number of nodes in the maximum electric cactus of node i, the electric observation capability is defined as the electric control range of node i, and the electric dynamic characteristics is defined as the average value of the square of the electric control capability and the electric observation capability of node i;

[0101] In this embodiment, the electrical control capability, that is, the electrical control range of a single node H C :In a weighted directed graph G(D E ), the power control range of a single node i is defined as the number of nodes in the largest power cactus with root node i. E ), the electrical control range of a single node i is defined as the number of nodes in the largest electrical cactus structure with node i as the root node. This indicator measures the total number of nodes that can be affected from a given node through direct or indirect control connections. The electrical control range not only reflects the control importance of a node in the power network, but is also a key factor in evaluating network stability and the effectiveness of control strategies.

[0102] Electrical observation capability, that is, the electrical observation range of a single node H O :In the weighted directed graph G(D E ), the electrical observation range of a single node i is defined asET ) is the electrical control range of node i. Here, D ET Yes D E The transpose of the matrix represents the reverse control path. The electrical observation range reflects the number of other nodes that a node can "observe" or influence through the network feedback path. This indicator is crucial for understanding the information feedback mechanism and enhancing the system's responsiveness.

[0103] Combining the electrical control capability index (CCI) and the electrical observation capability index (OCI), the electrical dynamic characteristic index (DCI) is defined as the average of the squares of the node control capability and observation capability:

[0104]

[0105] Among them, DCI i is the electrical dynamic characteristic index of the ith node, is the electrical control capability index of the ith node, DCI is the electrical observation capability index of the i-th node. It provides a comprehensive index that comprehensively considers the control and observation capabilities of nodes in the power network. Nodes with high DCI values ​​can not only effectively control multiple other nodes, but also effectively collect information through the feedback mechanism of the network. They are key nodes in the power network. This index is of great significance for optimizing network design, improving operation efficiency, and responding to network failures in a timely manner.

[0106] Step S4: Use the weighted maximum matching algorithm to calculate the high-weight stems with node i as the root node to obtain a set of high-weight stem nodes, such as Figure 4 As shown, including:

[0107] Step S4.1: Starting from node i, initialize G v [i] is true, indicating that node i has been visited;

[0108] Step S4.2: Starting from node i, search all edges connected to node i and select the edge with the highest electrical betweenness;

[0109] Step S4.3: Save the edge with the highest electrical betweenness to G h , and the target node j's G v [j] is set to true;

[0110] Step S4.4: Starting from node j, repeat steps S4.2 to S4.3 until no more nodes can be added or the upper limit of node data is reached, then stop the iteration;

[0111] Step S4.5: G h All the saved edges are used as high-weight stems, and a set of high-weight stem nodes is output.

[0112] In this embodiment, in order to calculate the high-weight stem with node i as the root node and record the related edges and nodes, the whole process involves traversing the electrical betweenness matrix D E , and filter out the path with the highest weight starting from i. Here, an iterative method will be used to determine and record these paths and nodes. The following are the detailed steps:

[0113] Definition: G h : A graph used to record edges, G v : Used to record the status of the node (whether it has been visited), the initial status is false.

[0114] Initialization: Starting from the root node i, initialize G v [i] is true, indicating that node i has been visited. Find the edge with the highest weight: Starting from node i, search all outgoing edges and select the edge with the highest electrical betweenness. This can be done by comparing D E [i, j], where j is the value of all possible target nodes. In the specific implementation, find G h The non-zero elements in G are recorded in the set LL. h G g G v The first non-zero element in G is denoted as y. v (y) is set to true and the non-zero elements under label y in set LL are recorded in set ii.

[0115] Update G h and G v : Record the highest weight edge found in G h and the target node j's G v [j] is set to true.

[0116] Recursive / iterative process: Repeat the initialization and update steps, but this time starting from the newly added node j, until no more nodes can be added or the upper limit N of the number of nodes is reached.

[0117] Termination condition: When there are no more nodes to join or when all nodes have been considered, the iteration stops.

[0118] Recording and Output: Final G h will contain all selected high-weight edges, and G v All visited nodes will be marked. This process assumes that B E The weight in represents the importance or strength of the edge, and a high weight represents a more preferred control path. Possible loops and repeated nodes must be considered, especially in directed graphs. The method of this embodiment is suitable for deterministically finding the highest weight path, but additional selection criteria need to be defined when there are multiple identical highest weights.

[0119] Step S5: Use the reachability judgment algorithm to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the high-weight stem node set, such as Figure 6 As shown, including:

[0120] Step S5.1: Find the non-zero weight edges in the node set of the weighted directed graph, record the non-zero weight starting point in the row label set, and record the non-zero weight end point in the row and column label set;

[0121] Step S5.2: Calculate the number of nodes in the maximum power cactus as the union of the intersection of the row label set and the row and column label set and the stem node set with the same high weight, and assign the complement set of the largest cactus node among all nodes to r u , and set the number of iterations to 1;

[0122] Step S5.3: Determine whether the node is reachable;

[0123] Step S5.4: If the node is unreachable, output the number of nodes in the maximum power cactus of node i and the power control range of node i;

[0124] Step S5.5: If the node is reachable, record the reachable node in the set r a In the above example, the number of iterations is increased by 1, and it is determined whether x is less than or equal to r. u Length;

[0125] Step S5.6: If x is less than or equal to r u length, then go to step S5.3;

[0126] Step S5.7: If x is greater than r u length, then calculate the number of nodes in the maximum power cactus and the set r a The intersection of the nodes is obtained, and the union of the intersection result and the root node is calculated. The union result is used to update the number of nodes in the maximum power cactus, and then go to step S1 to determine the reachability of the next node.

[0127] In this embodiment, directed graph node set: The algorithm starts by defining a weighted directed graph node set A set of high-weight stem nodes with node i as the root node i : Select a node i as the root node and find the high-weight stem starting from this node.

[0128] Find the non-zero elements in the set of nodes of the weighted directed graph: Among these high-weight paths, find the edges with non-zero weights. Record the row and column labels of the edges with non-zero weights: For each edge with non-zero weight, record the starting point (row label) and the end point (column label).

[0129] Intersection and union operations: By taking the intersection of the row label set and the column label set a1∩a2, we can find the set of nodes that can reach each other. Then, we can combine it with the stem i Take the union and update the number of nodes nn in the current maximum power cactus i .

[0130] Update and check condition: set r u for The value of , initialize x to 1.

[0131] Loop to check reachability: Check if the node (which may be a matrix or function to represent the reachability between nodes) is reachable. Record the reachable nodes in the set r a If the node is unreachable, the number of nodes in the maximum power cactus of node i and the power control range of node i are output; if the node is reachable, the reachable nodes are recorded in the set r a In the above example, the number of iterations is increased by 1, and it is determined whether x is less than or equal to r. u Length;

[0132] Update the node set: if x is less than or equal to r u length, return to the previous step to continue searching; if x is greater than r u length, then calculate the number of nodes in the maximum power cactus and the set r a The intersection of the two nodes is calculated, and the union of the intersection result and the root node is calculated. The union result is used to update the number of nodes in the maximum power cactus.

[0133] Calculation results: Finally, the electrical control range of node i is set to nn i The absolute value of nn i The determinant of .

[0134] Step S6: Calculate the electric dynamic characteristic calculation result according to the number of nodes in the maximum power cactus of the node i and the electric control range of the node i;

[0135] In this embodiment, the electric dynamic characteristic calculation result is calculated by taking the average value of the number of nodes in the maximum power cactus of node i and the square of the electric control range of node i.

[0136] Step S7: Sort the results of the calculation of the electric dynamic characteristics according to their magnitudes to obtain a power network vulnerability assessment result.

[0137] The present embodiment proposes a power network vulnerability assessment method based on the cactus structure, which accurately identifies key control and observation nodes in complex power networks and improves the robustness of control and observation of complex power networks.

[0138] Embodiment 2:

[0139] This embodiment proposes a power network vulnerability assessment device based on a cactus structure, such as Figure 7 As shown, including:

[0140] Directed graph abstraction module, used to abstract the power network into a weighted directed graph based on electrical betweenness;

[0141] A cactus structure building module, used for taking a subgraph of a weighted directed graph as a power cactus structure of a node i;

[0142] An indicator definition module, used to define three indicators based on the power cactus structure, including: power control capability, power observation capability and power dynamic characteristics, wherein the power control capability is defined as the number of nodes in the maximum power cactus of node i, the power observation capability is defined as the power control range of node i, and the power dynamic characteristics is defined as the average value of the square of the power control capability and the power observation capability of node i;

[0143] A high-weight matching module is used to calculate a high-weight stem with node i as the root node by using a weighted maximum matching algorithm to obtain a high-weight stem node set;

[0144] An indicator calculation module, used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the set of high-weight stem nodes by using a reachability judgment algorithm;

[0145] A characteristic calculation module, used for calculating the electric dynamic characteristic calculation result according to the number of nodes in the maximum power cactus of the node i and the electric control range of the node i;

[0146] The vulnerability assessment module is used to sort the calculation results of the electric dynamic characteristics to obtain the power network vulnerability assessment results.

[0147] Embodiment 3:

[0148] This embodiment proposes an electronic device, including: one or more processors, and a memory, wherein the memory is used to store instructions, and when the instructions are executed by the one or more processors, the one or more processors execute the power network vulnerability assessment method based on the cactus structure.

[0149] The electronic device may be a mobile phone, a computer or a tablet computer, etc., including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the power network vulnerability assessment method based on the cactus structure as described in the embodiment is implemented. It can be understood that the electronic device may also include an input / output (I / O) interface and a communication component.

[0150] The processor is used to execute all or part of the steps in the power network vulnerability assessment method based on the cactus structure as described in the above embodiment. The memory is used to store various types of data, which may include instructions of any application or method in the electronic device, as well as data related to the application.

[0151] The processor can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the power network vulnerability assessment method based on the cactus structure described in the above embodiment.

[0152] Embodiment 4:

[0153] This embodiment provides a computer-readable storage medium storing executable instructions. When the instructions are executed and implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.

[0154] The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the power network vulnerability assessment method based on the cactus structure described in each embodiment of the present application.

[0155] The aforementioned storage media include: flash memory, hard disk, multimedia card, card-type memory (for example, SD (Secure Digital Memory Card) or DX (Memory Data Register, MDR abbreviation, memory data register) memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, CD, server, APP (Application, abbreviation of application software) application store and other media that can store program verification codes, on which a computer program is stored. When the computer program is executed by the processor, the various steps of the above-mentioned power network vulnerability assessment method based on the cactus structure can be implemented.

[0156] Embodiment 5:

[0157] This embodiment provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the power network vulnerability assessment method based on the cactus structure.

[0158] Based on such understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a computer program product.

[0159] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0160] The protection scope of the present application is not limited to the above-mentioned embodiments. Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the scope and spirit of the present disclosure. If these changes and modifications fall within the scope of the claims of the present disclosure and their equivalents, the intention of the present disclosure also includes these changes and modifications.

Claims

1. A power network vulnerability assessment method based on cactus structure, It is characterized in that include: Abstract the power network into a weighted directed graph based on electrical betweenness; The subgraph of the weighted directed graph is taken as the power cactus structure of node i; Based on the electric cactus structure, three indicators are defined, including: electric control capability, electric observation capability and electric dynamic characteristics. The electric control capability is defined as the number of nodes in the maximum electric cactus of node i, the electric observation capability is defined as the electric control range of node i, and the electric dynamic characteristics is defined as the average value of the square of the electric control capability and the electric observation capability of node i; The weighted maximum matching algorithm is used to calculate the high-weight stem with node i as the root node to obtain a set of high-weight stem nodes; The reachability judgment algorithm is used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the set of high-weight stem nodes; According to the number of nodes in the maximum power cactus of the node i and the electrical control range of the node i, the electrical dynamic characteristic calculation result is calculated; The results of the calculation of the electric dynamic characteristics are sorted to obtain the power network vulnerability assessment results.

2. According to the power network vulnerability assessment method based on cactus structure according to claim 1, It is characterized in that The power network is abstracted into a weighted directed graph based on electrical betweenness, including: The power plant, substation and load are abstracted as nodes in a weighted directed graph, and the high-voltage transmission lines with voltage values ​​higher than the preset standard are abstracted as edges connecting the nodes; Combine the parallel transmission lines on the same tower into one high-voltage transmission line, ignoring the connecting lines of the parallel capacitors; The electrical betweenness is used to determine the directionality and weight of each edge in a weighted directed graph, and the electrical betweenness matrix is ​​established.

3. According to the power network vulnerability assessment method based on cactus structure according to claim 2, It is characterized in that The method of using electrical betweenness to determine the directionality and weight of each edge in a weighted directed graph and establishing an electrical betweenness matrix includes: Calculate the electrical betweenness of the edge (m, n) in the weighted directed graph, and the calculation formula is as follows: in, is the electrical betweenness of edge (m, n) in the weighted directed graph, v G is the set of generator nodes, v L is the load node set, C i is the rated capacity of generator i, C j is the maximum load demand of load j, I mn (i, j) is the current generated in edge (m, n) when one current unit is transmitted from generator node i to load node j, I mn (i, j) is calculated as follows: I mn (i,j)=Y mn (U m -U n ) Among them, Y mn is the admittance of edge (m, n), U m is the voltage at node m, U n is the voltage of node n; According to the electrical betweenness of the edge (m, n) in the weighted directed graph, an electrical betweenness matrix is ​​established, and the calculation formula is as follows: in, The electrical betweenness matrix, the weight of the edge (m, n) is the value of the element in the electrical betweenness matrix, and the electrical betweenness matrix is ​​an antisymmetric matrix.

4. According to the power network vulnerability assessment method based on cactus structure according to claim 1, It is characterized in that The power cactus structure of using the subgraph of the weighted directed graph as the node i includes: (1) In the subgraph, there is a directed path from node i to all other nodes; (2) Find a part with an expansion structure in the subgraph, and select a substructure in the part with the expansion structure, wherein the substructure does not contain an expansion structure, the expansion structure is that the same node has at least two edges connected to the node, and the substructure is that each node has only one edge connected to the node; (3) Select the edge with the largest weight in the substructure and combine all the edges with the largest weight to form the stem of the power cactus structure in the subgraph.

5. According to the power network vulnerability assessment method based on cactus structure according to claim 1, It is characterized in that The weighted maximum matching algorithm is used to calculate the high-weight stem with node i as the root node to obtain a high-weight stem node set, including: Step S4.1: Starting from node i, initialize G v [i] is true, indicating that node i has been visited; Step S4.2: Starting from node i, search all edges connected to node i and select the edge with the highest electrical betweenness; Step S4.3: Save the edge with the highest electrical betweenness to G h , and the target node j's G v [j] is set to true; Step S4.4: Starting from node j, repeat steps S4.2 to S4.3 until no more nodes can be added or the upper limit of node data is reached, then stop the iteration; Step S4.5: G h All the saved edges are used as high-weight stems, and a set of high-weight stem nodes is output.

6. According to the power network vulnerability assessment method based on the cactus structure of claim 1, It is characterized in that The reachability judgment algorithm is used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the high-weight stem node set, including: Step S5.1: Find the non-zero weight edges in the node set of the weighted directed graph, record the non-zero weight starting point in the row label set, and record the non-zero weight end point in the row and column label set; Step S5.2: Calculate the number of nodes in the maximum power cactus as the union of the intersection of the row label set and the row and column label set and the stem node set with the same high weight, and assign the complement set of the largest cactus node among all nodes to r u , and set the number of iterations to 1; Step S5.3: Determine whether the node is reachable; Step S5.4: If the node is unreachable, output the number of nodes in the maximum power cactus of node i and the power control range of node i; Step S5.5: If the node is reachable, record the reachable node in the set r a In the above example, the number of iterations is increased by 1, and it is determined whether x is less than or equal to r. u Length; Step S5.6: If x is less than or equal to r u length, then go to step S5.3; Step S5.7: If x is greater than r u length, then calculate the number of nodes in the maximum power cactus and the set r a The intersection of the nodes is obtained, and the union of the intersection result and the root node is calculated. The union result is used to update the number of nodes in the maximum power cactus, and then go to step S1 to determine the reachability of the next node.

7. A power network vulnerability assessment device based on cactus structure, It is characterized in that include: Directed graph abstraction module, used to abstract the power network into a weighted directed graph based on electrical betweenness; A cactus structure building module, used for taking a subgraph of a weighted directed graph as a power cactus structure of a node i; An indicator definition module, used to define three indicators based on the power cactus structure, including: power control capability, power observation capability and power dynamic characteristics, wherein the power control capability is defined as the number of nodes in the maximum power cactus of node i, the power observation capability is defined as the power control range of node i, and the power dynamic characteristics is defined as the average value of the square of the power control capability and the power observation capability of node i; A high-weight matching module is used to calculate a high-weight stem with node i as the root node by using a weighted maximum matching algorithm to obtain a high-weight stem node set; An indicator calculation module, used to calculate the number of nodes in the maximum power cactus of node i and the power control range of node i in the set of high-weight stem nodes by using a reachability judgment algorithm; A characteristic calculation module, used for calculating the electric dynamic characteristic calculation result according to the number of nodes in the maximum power cactus of the node i and the electric control range of the node i; The vulnerability assessment module is used to sort the calculation results of the electric dynamic characteristics to obtain the power network vulnerability assessment results.

8. An electronic device, It is characterized in that include: One or more processors, and a memory, wherein the memory is used to store instructions, and when the instructions are executed by the one or more processors, the one or more processors execute the power network vulnerability assessment method based on the cactus structure as described in any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that It stores executable instructions, which, when executed, enable the processor to execute the power network vulnerability assessment method based on the cactus structure as described in any one of claims 1 to 6.

10. A computer program product comprising a computer program or instructions, It is characterized in that When the computer program or instruction is executed by a processor, the power network vulnerability assessment method based on the cactus structure described in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Multi-node dynamic switching method and system of MongoDB

    CN121166819A