A method and system for quickly searching key transmission sections of a power grid
Through the combination of standard spectral clustering algorithm and power grid partition, the key transmission sections of the power grid are identified, solving the problem of section identification caused by the complexity of the power grid structure, improving the identification accuracy and speed, avoiding cascading failures, and providing safe operation of the power grid. important reference.
Patent Information
- Application Number
- CN202311774224.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-12-21
AI Technical Summary
With the large-scale integration of wind and solar and other new energy sources into the grid, the grid structure has become more complex, making it difficult to quickly and accurately identify key transmission sections, resulting in frequent cascading failures during faults and posing challenges to the safe operation of the grid.
Using the spectral clustering algorithm based on the canonical cut, combined with the power grid partition, by establishing a canonical cut objective function that considers the electrical distance and power flow characteristics, the segmentation vector of the graph is obtained, and the sections with risk of exceeding the limit are identified according to the security risk index sorting. as a key section.
It improves the accuracy and calculation speed of key transmission section identification, avoids the disadvantages of missed selection, wrong selection or multiple selection, and ensures that nodes with close electrical connections are divided into the same area. The power flow of tie lines between areas is large and the risk of cross-section violation is high. It provides An important reference for power grid planning and operation.
Smart Images

Figure CN117741345B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid fault judgment, and in particular to a method and system for quickly searching for key power transmission sections of a power grid. Background Art
[0002] Major power outages are often caused by weak links in the transmission network. In order to effectively reduce the computational complexity and control difficulty of large-scale power grid safety analysis, power grid operation and dispatching experts usually manually analyze and select specific key transmission sections as the objects of monitoring and control to achieve effective monitoring and management. With the rapid expansion of installed capacity of renewable energy such as wind power and photovoltaics, regional interconnection in a large range is gradually realized. While improving energy utilization, the scale of the power grid is getting larger and the structure is becoming more complex. With the large-scale grid connection of new energy such as wind and solar, the power system network flow changes rapidly, and the key transmission sections of the power grid change frequently, which is difficult to identify quickly and accurately.
[0003] Due to the intermittent and uncertain nature of renewable energy output, key sections of the system change frequently, especially when renewable energy is generated in large or small amounts instantly, the network flow changes greatly in a short period of time. Once a line overload trip occurs, it will cause a large-scale transfer of system flow, causing overload of other normally operating lines, thus causing a series of chain failures, which poses a great challenge to the safe operation of the power grid. Therefore, quickly and effectively identifying key transmission sections of the power grid is one of the key technologies for building a new power system. Summary of the invention
[0004] In view of the above problems mentioned in the prior art, in order to solve the above technical problems, the present invention provides a method and system for rapid search of key transmission sections of power grids. The method adopts the establishment of a canonical cut objective function that considers electrical distance and power flow characteristics, first obtains the segmentation vector of the graph, calculates the canonical cut objective function value according to the segmentation vector and sorts it, and finally searches for the section with over-limit risk line in the segmented section as the key section according to the safety risk index. The method makes full use of the advantage of fast partitioning speed of the spectral clustering algorithm based on canonical cut, and at the same time combines the application of power grid partitioning, and further corrects the results by establishing safety risk indicators, avoiding the disadvantages of existing methods of missing, wrongly selecting or multiple selecting key transmission sections.
[0005] The present application provides a method for quickly searching key transmission sections of a power grid, comprising the steps of:
[0006] S1: Simplify the power system, merge two parallel buses, merge multiple lines between two nodes into one loop, and delete independent nodes;
[0007] S2: Construct network topology: Abstract the system into a graph model G with n nodes and m lines: G = (V, E, W), where V represents the vertex set of power plant nodes in the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters;
[0008] S3: Calculate the degree matrix D and Laplace matrix L from the weight matrix W;
[0009] S4: Find the eigenvector, solve the equation LK=γDK, and obtain the Fiedler eigenvalue γ and eigenvector K of L;
[0010] S5: Find the section cut set corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold θ, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X splits the graph G into two subgraphs G1 and G2, thereby obtaining n-1 sets of section cut sets;
[0011] S6: Substitute the n-1 segmentation indicator vectors X into the objective function f, sort the segmentation indicator vectors from small to large according to the objective value, and obtain the preliminary section order corresponding to the segmentation indicator vector;
[0012]
[0013] where w ij 、w iz 、w jz Respectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector;
[0014]
[0015]
[0016]
[0017] B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jzare the base-state active powers of the i-th and j-th, i-th and z-th, and j-th and z-th node branches respectively;
[0018] S7: Perform N-1 checks on the pre-selected section lines according to the sequence of the pre-selected sections. When the sum of the section power is greater than 0.1 times the total power P and the safety risk value is When it is greater than 1, the transmission section is considered to be a critical section:
[0019]
[0020] in, is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition.
[0021] Preferably, the step S3: finding the Laplace matrix L and the degree matrix D from the weight matrix W includes: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
[0022] Preferably, the step S4: finds the eigenvector, solves the equation LK=γDK, obtains the Fiedler eigenvalue and eigenvector K of L, wherein the Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector is called the Fiedler vector; solves the equation using the QR decomposition method to calculate the eigenvalue and eigenvector.
[0023] Preferably, step S7: performing N-1 verification on the pre-selected section lines according to the order of the pre-selected sections, includes the steps of: selecting a section to simulate a fault; removing the section from the system model; performing a power flow calculation; checking the status of each component in the system to evaluate the results of the power flow calculation; determining whether the N-1 verification has passed; and repeating the above steps for all pre-selected sections.
[0024] Preferably, the step S5: finding the section cut set corresponding to the eigenvector K, when the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K=[k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold value, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n], the segmentation indicator vector X divides the graph G into two subgraphs G1 and G2, thereby obtaining n-1 groups of section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, compare the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is classified into subgraph G1; if the value of the element is greater than the threshold, it is classified into another subgraph G2; when the thresholds are different, the composition of subgraph G1 and subgraph G2 is different, thereby generating n-1 different segmentation indicator vectors.
[0025] The present application also provides a system for quickly searching key transmission sections of a power grid, comprising:
[0026] The power system simplification module merges two parallel buses, merges multiple lines between two nodes into one loop, and deletes independent nodes;
[0027] Constructing network topology diagram module: abstract the system into a graph model G = (V, E, W) with n nodes and m lines, where V represents the vertex set of power plant nodes of the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters;
[0028] Laplace matrix solving module: calculate the degree matrix D and Laplace matrix L from the weight matrix W;
[0029] The eigenvector calculation module solves the equation LK=γDK to obtain the Fiedler eigenvalue γ and eigenvector K of L;
[0030] Find the section cut set module corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold θ, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X splits the graph G into two subgraphs G1 and G2, thereby obtaining n-1 sets of section cut sets;
[0031] The objective function calculation module substitutes n-1 segmentation indication vectors X into the objective function f, sorts the segmentation indication vectors from small to large according to the objective value, and obtains the preliminary section order corresponding to the segmentation indication vectors;
[0032]
[0033] where w ij 、w iz 、w jzRespectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector;
[0034]
[0035]
[0036]
[0037] B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jz are the base-state active powers of the i-th and j-th, i-th and z-th, and j-th and z-th node branches respectively;
[0038] N-1 verification module, according to the initial section sequence, the pre-selected section line N-1 verification, when the section power sum is greater than 0.1 times the total power P and the safety risk value When it is greater than 1, the transmission section is considered to be a critical section:
[0039]
[0040] in, is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition.
[0041] Preferably, the Laplace matrix solving module: calculates the Laplace matrix L and the degree matrix D from the weight matrix W, including: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
[0042] Preferably, the eigenvector calculation module: solves the equation LK=γDK to obtain the Fiedler eigenvalue and eigenvector K of L, wherein the Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector is called the Fiedler vector; solves the equation using the QR decomposition method to calculate the eigenvalue and eigenvector.
[0043] Preferably, the N-1 verification module: performs N-1 verification on the pre-selected section lines according to the order of the pre-selected sections, including the steps of: selecting a section to simulate a fault; removing this section from the system model; performing a power flow calculation; checking the status of each component in the system to evaluate the results of the power flow calculation; determining whether the N-1 verification has been passed; and repeating the above steps for all pre-selected sections.
[0044] Preferably, the section cut set module for finding the characteristic vector K is as follows: when the threshold θ changes from negative infinity to positive infinity, according to the characteristic vector K=[k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold value, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X divides the graph G into two subgraphs G1 and G2, thereby obtaining n-1 groups of section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, compare the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is classified into subgraph G1; if the value of the element is greater than the threshold, it is classified into another subgraph G2; when the thresholds are different, the composition of subgraph G1 and subgraph G2 is different, thereby generating n-1 different segmentation indicator vectors.
[0045] The present invention provides a method and system for quickly searching for key power transmission sections of a power grid, which can achieve the following beneficial technical effects:
[0046] 1. The present invention improves the shortcomings of the existing key transmission section search algorithm, establishes a standard cut objective function that considers electrical distance and power flow characteristics, first obtains the segmentation vector of the graph, calculates the standard cut objective function value according to the segmentation vector and sorts it, and finally searches for the section with the risk of over-limit lines in the segmented section according to the safety risk index as the key section. This method fully utilizes the advantage of the fast partitioning speed of the spectral clustering algorithm based on standard cut, and at the same time combines the manufacturer's application of power grid partitioning, and further corrects the results by establishing safety risk indicators, avoiding the drawbacks of the existing methods of missing, wrongly selecting or multiple selecting key transmission sections. This method allows nodes with close electrical connections to be divided into the same area, and the connecting line flow between areas is large, and the risk of over-limit sections is high. Compared with other methods, this method has high search accuracy and fast calculation speed, and can provide an important reference for the planning and operation of power grids.
[0047] 2. The present invention improves the branch weights in the standard cutting algorithm and proposes a weight modeling method that comprehensively considers electrical distance and power flow characteristics. The model also considers the parameters of the transmission line components and the operating status of the system. The weight is defined as:
[0048]
[0049] B ij is the inverse of the reactance of the node branch, P ij is the base state active power of the branch, and the weight w ij As the branch admittance and power flow change, the smaller the admittance on the partition section line, the greater the absolute value of the active power flow, w ij The smaller it is, the weaker the electrical connection between partitions. When a failure occurs in the section line as the connecting line between partitions, the impact on the system will be greater, and the section obtained by such partitioning will be more critical.
[0050] 3. The spectral clustering algorithm based on canonical cut of the present invention is a heuristic algorithm. In the process of power grid partitioning, nodes with close electrical connections are clustered into the same partition, nodes divided into different partitions have weak electrical connections, and the ratio of the sum of branch weights of the partition section to the sum of weights of each sub-partition is the smallest.
[0051] 4. In order to avoid ignoring the actual operation characteristics of the power grid by only following the standard cutting target value during the standard cutting process, the present invention proposes a safety risk index for identifying key sections, and judges the criticality of the section according to the risk value. The risk index function is:
[0052]
[0053] N-1 verification module, according to the initial section sequence, the pre-selected section line N-1 verification, when the section power sum is greater than 0.1 times the total power P and the safety risk value When it is greater than 1, the transmission section is considered to be a critical section: is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 It is a schematic diagram of the steps of a method for quickly searching for key power transmission sections of a power grid according to the present invention.
[0056] Figure 2 It is a cross-sectional schematic diagram corresponding to the segmentation indication vector of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] Embodiment 1:
[0059] In view of the above problems mentioned in the prior art, in order to solve the above technical problems, as shown in the attached Figure 1 As shown: A method for quickly searching for key transmission sections of a power grid. In some embodiments, in order to determine the key sections, the following two goals need to be met: (1) The key transmission section divides the system into two relatively independent subsystems, the nodes within each subsystem are as closely connected as possible, and the connections between different subsystems are as weak as possible. (2) In the base state, the active power flow transmitted on the key section is as large as possible, and the risk of line flow exceeding the limit is high. The spectral clustering algorithm based on standard cut is very consistent with the above characteristics of power system section screening. The present invention combines the identification goal of the key sections of the power system, and obtains the key sections of the power system by improving the weight modeling and section search method of the spectral clustering algorithm of the standard cut.
[0060] The spectral clustering algorithm can transform the graph segmentation problem into a spectral decomposition problem, and finally obtain the partition of the data set, which can be applied to the cutting partition of the power grid topology map. The goal of clustering is to make the similarity within the group high and the similarity between different groups low, so the clustering performance is good, so the optimization of the clustering model is based on this standard. The objective function of the spectral clustering model is as follows:
[0061]
[0062] The quality of the graph cut criterion directly affects the quality of the clustering effect. Using the canonical cut criterion, the graph G is split into two independent subgraphs G1 and G2. The objective function is as follows:
[0063]
[0064] By minimizing the above objective function to segment the graph G, better results can be achieved.
[0065] In the weight function of the canonical cutting algorithm, different branch weight modeling methods affect the effectiveness of critical section screening. The modeling methods for power grid branch weights usually include weights based on topology, weights based on electrical connections, and weights based on power distribution. The weights based on topology do not take into account the electrical characteristics of the power grid itself and do not conform to the actual situation of the power grid; the weights based on electrical connections usually use the admittance of the line branch as the weight, which cannot reflect the impact of the power grid operation flow characteristics on the identification of critical sections; the weights based on power flow distribution cannot reflect the geographical characteristics between nodes.
[0066] To this end, the present application provides a method for quickly searching for key transmission sections of a power grid, comprising the steps of:
[0067] S1: Simplify the power system, merge two parallel buses, merge multiple lines between two nodes into one loop, and delete independent nodes; in the power system, when two parallel buses need to be merged, it is usually because the two buses are electrically similar or their electrical characteristics can be equivalent to one bus. The purpose of merging buses based on resistance and reactance values is to simplify the system model. Specifically, when two buses are to be merged based on resistance and reactance values, the following steps can be followed: For two parallel buses, their equivalent resistance Req and equivalent reactance Xeq can be calculated using the parallel formula. Remove the original bus and add an equivalent bus: In the system model, delete the two parallel buses and add a new equivalent bus in their place. The resistance and reactance values of this equivalent bus are Req and Xeq calculated in the previous step. In the power system, a "bus" (also called a "bar" or "bus") is a conductor used to connect a power source to one or more downstream loads or branches. Busbars can carry AC or DC current and are commonly found in substations, switchboards, and other electrical equipment. "Merge two buses in parallel", it usually refers to two buses that are physically connected in parallel, and the electrical connection between them is so close that they can almost be regarded as a single electrical node. In power grid analysis and modeling, in order to simplify the model and calculations, such parallel buses are often merged into a single node. For example, if two buses are connected in parallel and the resistance and reactance between them are very small, then in some analyses, they can be regarded as a single electrical node and are therefore merged in the model.
[0068] Purpose of step S1: The main purpose of this step is to simplify the model of the power system for subsequent analysis and calculation. In actual power systems, there are many parallel components or multiple lines connecting the same pair of nodes. These additional details may increase the complexity of the analysis. By simplifying the model, we can reduce the amount of calculation while still retaining the main characteristics of the power grid. About merging two parallel buses: In actual power systems, there are more than two parallel buses. The "merging two parallel buses" mentioned here is a general description, which means merging all parallel buses into a single bus. The purpose of this is to reduce the number of nodes in the model and simplify the analysis. Multiple lines between two nodes are merged into one loop: This is also to simplify the model. If there are multiple lines between two nodes, then when performing graph theory analysis, these lines can be regarded as a line with equivalent parameters. About the n nodes and m lines in S2: After step S1, the model has been simplified, so the n nodes and m lines mentioned in S2 refer to the number of nodes and lines after simplification.
[0069] S2: Construct network topology: Abstract the system into a graph model G with n nodes and m lines: G = (V, E, W), where V represents the vertex set of power plant nodes in the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters;
[0070] In some embodiments, V: represents a set of vertices. In the power grid model, these vertices usually represent nodes in the power system, such as power stations, substations or load points. E: represents a set of edges. In the power grid, edges represent transmission lines that connect different nodes. W: represents a set of weights or weights associated with the edges. In the case of power networks, these weights can be the resistance, reactance, transmission capacity or other parameters related to the transmission line of the line. Therefore, the graph G is a structure consisting of nodes V and edges E connecting these nodes, and each edge has an associated weight W. This graph theory model is used to analyze the topology, flow distribution, critical path, etc. of the power system.
[0071] S3: Degree matrix D and Laplace matrix L are obtained from weight matrix W; Degree matrix D: The degree matrix is a diagonal matrix. For an unweighted graph, the degree (or degree) of each node is the number of edges connected to it. For a weighted graph (such as a power grid model), the degree of each node is the sum of the weights of the edges connected to it. In a power system, the weight may represent the capacity, impedance, etc. of the line.
[0072] So, for node i, the i-th diagonal element Dii of the degree matrix D is the sum of the weights of all edges connected to node i.
[0073] Laplace matrix L:
[0074] The Laplacian matrix is the difference between the degree matrix and the weight matrix (or adjacency matrix).
[0075] The specific calculation formula is: L = DW, where L is the Laplace matrix, D is the degree matrix, and W is the weight matrix. In some embodiments, the weight matrix is usually represented as the electrical parameters (such as impedance, admittance, etc.) of each line or element in the graph theory model of the power system. Based on these weights, the degree matrix and the Laplace matrix can be calculated.
[0076] S4: Find the eigenvector, solve the equation LK=γDK, and obtain the Fiedler eigenvalue γ and eigenvector K of L;
[0077] S5: Find the section cut set corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold θ, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X splits the graph G into two subgraphs G1 and G2, thereby obtaining n-1 sets of section cut sets;
[0078] In one embodiment, the power grid contains 4 nodes, forming a square network. Edges connect these nodes, representing transmission lines. The resulting Fiedler vector is [-0.5,-0.5,0.5,0.5][-0.5,-0.5,0.5,0.5]. Node partitioning: Based on the positive and negative values of the Fiedler vector, we can divide the 4 nodes into two groups: nodes 1 and 2 (corresponding values are -0.5) in one group, and nodes 3 and 4 (corresponding values are 0.5) in another group. Section cut set: According to this partitioning, any edge connecting these two groups of nodes constitutes a "section". In this embodiment, the section may be the line connecting nodes 2 and 3, nodes 2 and 4, nodes 1 and 3, and nodes 1 and 4. n-1 sets of section cut sets: In more complex networks, by changing the threshold and repeating this process, n-1 sets of different section cut sets can be obtained, where n is the number of nodes in the graph.
[0079] In another embodiment, a Fiedler vector is obtained, which is the eigenvector corresponding to the second smallest eigenvalue of the Laplacian matrix of the graph. This vector can be used to determine the optimal or approximately optimal dichotomy of the graph. In the power network, this dichotomy can be used to identify the key transmission section. We have a Fiedler vector, which is the eigenvector corresponding to the second smallest eigenvalue of the Laplacian matrix of the graph. This vector can be used to determine the optimal or approximately optimal dichotomy of the graph. In the power network, this dichotomy can be used to identify the key transmission section. Change of threshold: The change of the threshold from negative infinity to positive infinity means that we gradually adjust this cutting point and observe how different partitioning methods affect the dichotomy of the graph. There is a Fiedler vector [-2,-1,1,3][-2,-1,1,3]. We can use the threshold for partitioning in the following way: when the threshold is 0, nodes 1 and 2 (the corresponding Fiedler vector elements are -2 and -1) are divided into one group, and nodes 3 and 4 (the corresponding Fiedler vector elements are 1 and 3) are divided into another group. If we adjust the threshold to 2, then nodes 1, 2, and 3 (with Fiedler vector elements of -2, -1, and 1, respectively) will be grouped together, while node 4 (with Fiedler vector element 3) will be grouped together.
[0080] Fixed Fiedler vector: The Fiedler vector is a vector obtained by a specific calculation. Its element values are fixed and will not change due to changes in the threshold. Threshold determines segmentation: The threshold is used to determine how to split the graph into two subgraphs based on the element values of the Fiedler vector. Specifically, the threshold determines which element values in the Fiedler vector will be considered to belong to one subgraph and which will be considered to belong to the other subgraph.
[0081] In one embodiment, the Fiedler vector is [-2,-1,1,3][-2,-1,1,3]. If the threshold is set to 0, the nodes corresponding to the negative elements (-2 and -1) will be grouped into one group, and the nodes corresponding to the positive elements (1 and 3) will be grouped into another group. If the threshold is adjusted to 2, only the nodes corresponding to element 3 will be grouped into one group, and the rest of the nodes will be grouped into another group.
[0082] S6: Substitute n-1 segmentation indicator vectors X into the objective function f, sort the segmentation indicator vectors from small to large according to the target value, and obtain the preliminary section order corresponding to the segmentation indicator vector; the spectral clustering algorithm based on the canonical cut is a heuristic algorithm that clusters nodes with close electrical connections into the same partition during the power grid partitioning process, and the nodes divided into different partitions have weak electrical connections, and the ratio of the weight sum of the partition section branches to the weight sum of each sub-partition is the smallest. The objective function of key section identification based on the canonical cut is as follows:
[0083]
[0084] Among them, w ij 、w iz 、w jz Respectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector; Based on the above considerations, the present invention improves the branch weights in the standard cutting algorithm and proposes a weight modeling method that comprehensively considers electrical distance and power flow characteristics. The model also considers the parameters of the transmission line components and the operating status of the system. The weight is defined as:
[0085]
[0086]
[0087]
[0088] B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jz are the base-state active powers of the ith and jth, ith and zth, and jth and zth node branches respectively; the weight w ij As the branch admittance and power flow change, the smaller the admittance on the partition section line, the greater the absolute value of the active power flow, w ij The smaller it is, the weaker the electrical connection between partitions. When a failure occurs in the section line as the connecting line between partitions, the impact on the system will be greater, and the section obtained by such partitioning will be more critical.
[0089] The spectral clustering algorithm based on canonical cut has shortcomings in power grid partitioning. To find the optimal power grid partition is to find the segmentation indicator vector X in the above formula that minimizes the objective function f. However, in actual power grid segmentation, the section corresponding to the segmentation indicator vector X is not necessarily the key section, but may be the segmentation indicator vector that makes the objective function f the second or third smallest. Figure 2 As shown in the figure, the sections corresponding to the split indicator vectors X' and X" are a and b respectively, and Z is the line load rate. a <f b However, the transmission line in section b is overloaded and there is a risk of exceeding the limit, while there is no risk of exceeding the limit in section a, so section b is the key section.
[0090] Step S7: Perform N-1 checks on the pre-selected section lines according to the sequence of the pre-selected sections. When the section power sum is greater than 0.1 times the total power P and the safety risk value is When it is greater than 1, the transmission section is identified as a critical section: In order to avoid ignoring the actual operating characteristics of the power grid in the standardized cutting process based only on the standardized cutting target value, the present invention proposes a safety risk index for identifying critical sections, and judges the criticality of the section according to the risk value. The risk index function is:
[0091]
[0092] in, is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition.
[0093] The n-1 minimum cut-off objective function values are obtained from the indicator vector, and N-1 safety checks are performed in the order of the objective function values from small to large. When the load rate of the section line is larger and the power flow transfer coefficient is larger, the risk of the section exceeding the limit will be greater when N-1 fault occurs. When Z+ZT>1, the safety risk index If it is greater than 1, the section is a critical section.
[0094] It should be noted that in the power system, N-1 verification (also known as N-1 criterion or N-1 safety standard) is an important method for evaluating the reliability of the power grid. It is used to ensure that even if any key component of the power grid (such as lines, transformers or generators) fails, the power grid can still operate safely without causing large-scale power outages or other serious consequences. The "N" in "N-1" represents the normal operating state of the power grid, that is, all equipment works as designed. And "-1" indicates the situation where any device in the system fails or is removed. In the N-1 verification, each key component of the power grid is assumed to be faulty or unavailable in turn, and then the performance of the power grid in this situation is analyzed.
[0095] In some embodiments, the step S3: finding the Laplacian matrix L and the degree matrix D from the weight matrix W includes: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
[0096] In some embodiments, the step S4: calculates the eigenvector, solves the equation LK=γDK, and obtains the Fiedler eigenvalue and eigenvector K of L, wherein the Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector is called the Fiedler vector; the equation is solved using the QR decomposition method to calculate the eigenvalue and eigenvector.
[0097] In some embodiments, step S7: performing N-1 verification on the pre-selected section lines according to the order of the pre-selected sections, includes the steps of: selecting a section to simulate a fault; removing the section from the system model; performing a flow calculation; checking the status of each component in the system to evaluate the results of the flow calculation; determining whether the N-1 verification has passed; and repeating the above steps for all pre-selected sections.
[0098] In some embodiments, step S5: finding the section cut set corresponding to the eigenvector K, when the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K=[k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold value, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X divides the graph G into two subgraphs G1 and G2, thereby obtaining n-1 groups of section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, compare the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is classified into subgraph G1; if the value of the element is greater than the threshold, it is classified into another subgraph G2; when the thresholds are different, the composition of subgraph G1 and subgraph G2 is different, thereby generating n-1 different segmentation indicator vectors.
[0099] The present application also provides a system for quickly searching key transmission sections of a power grid, comprising:
[0100] The power system simplification module merges two parallel buses, merges multiple lines between two nodes into one loop, and deletes independent nodes;
[0101] Constructing network topology diagram module: abstract the system into a graph model G = (V, E, W) with n nodes and m lines, where V represents the vertex set of power plant nodes of the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters;
[0102] Laplace matrix solving module: calculate the degree matrix D and Laplace matrix L from the weight matrix W;
[0103] The eigenvector calculation module solves the equation LK=γDK to obtain the Fiedler eigenvalue γ and eigenvector K of L;
[0104] Find the section cut set module corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold θ, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X divides the graph G into two subgraphs G1 and G2, thereby obtaining n-1 sets of section cut sets;
[0105] The objective function calculation module substitutes n-1 segmentation indication vectors X into the objective function f, sorts the segmentation indication vectors from small to large according to the objective value, and obtains the preliminary section order corresponding to the segmentation indication vectors;
[0106]
[0107] where w ij 、w iz 、w jz Respectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector;
[0108]
[0109]
[0110]
[0111] B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jz are the base-state active powers of the i-th and j-th, i-th and z-th, and j-th and z-th node branches respectively;
[0112] N-1 verification module, according to the initial section sequence, the pre-selected section line N-1 verification, when the section power sum is greater than 0.1 times the total power P and the safety risk value When it is greater than 1, the transmission section is considered to be a critical section:
[0113]
[0114] in, is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition.
[0115] In some embodiments, the Laplacian matrix solving module: calculates the Laplacian matrix L and the degree matrix D from the weight matrix W, including: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
[0116] In some embodiments, the eigenvector calculation module: solves the equation LK=γDK to obtain the Fiedler eigenvalue and eigenvector K of L, wherein the Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector is called the Fiedler vector; solves the equation using the QR decomposition method to calculate the eigenvalue and eigenvector.
[0117] In some embodiments, the N-1 verification module: performs N-1 verification on the pre-selected section lines according to the order of the pre-selected sections, including the steps of: selecting a section to simulate a fault; removing this section from the system model; performing a power flow calculation; checking the status of each component in the system to evaluate the results of the power flow calculation; determining whether the N-1 verification has passed; and repeating the above steps for all pre-selected sections.
[0118] In some embodiments, the section cut set module for finding the characteristic vector K is as follows: when the threshold θ changes from negative infinity to positive infinity, according to the characteristic vector K=[k1, k2, ..., k n ] is segmented by comparing the element value in the vector with the threshold value, and n-1 different segmentation indicator vectors X = [x1, x2, ..., x n ], the segmentation indicator vector X divides the graph G into two subgraphs G1 and G2, thereby obtaining n-1 groups of section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, compare the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is classified into subgraph G1; if the value of the element is greater than the threshold, it is classified into another subgraph G2; when the thresholds are different, the composition of subgraph G1 and subgraph G2 is different, thereby generating n-1 different segmentation indicator vectors.
[0119] The present invention provides a method and system for quickly searching for key power transmission sections of a power grid, which can achieve the following beneficial technical effects:
[0120] 1. The present invention improves the shortcomings of the existing key transmission section search algorithm, establishes a standard cut objective function that considers electrical distance and power flow characteristics, first obtains the segmentation vector of the graph, calculates the standard cut objective function value according to the segmentation vector and sorts it, and finally searches for the section with the risk of over-limit lines in the segmented section according to the safety risk index as the key section. This method fully utilizes the advantage of the fast partitioning speed of the spectral clustering algorithm based on standard cut, and at the same time combines the manufacturer's application of power grid partitioning, and further corrects the results by establishing safety risk indicators, avoiding the drawbacks of the existing methods of missing, wrongly selecting or multiple selecting key transmission sections. This method allows nodes with close electrical connections to be divided into the same area, and the connecting line flow between areas is large, and the risk of over-limit sections is high. Compared with other methods, this method has high search accuracy and fast calculation speed, and can provide an important reference for the planning and operation of power grids.
[0121] 2. The present invention improves the branch weights in the standard cutting algorithm and proposes a weight modeling method that comprehensively considers electrical distance and power flow characteristics. The model also considers the parameters of the transmission line components and the operating status of the system. The weight is defined as:
[0122]
[0123] B ij is the inverse of the reactance of the node branch, P ij is the base state active power of the branch, and the weight w ij As the branch admittance and power flow change, the smaller the admittance on the partition section line, the greater the absolute value of the active power flow, w ij The smaller it is, the weaker the electrical connection between partitions. When a failure occurs in the section line as the connecting line between partitions, the impact on the system will be greater, and the section obtained by such partitioning will be more critical.
[0124] 3. The spectral clustering algorithm based on canonical cut of the present invention is a heuristic algorithm. In the process of power grid partitioning, nodes with close electrical connections are clustered into the same partition, nodes divided into different partitions have weak electrical connections, and the ratio of the sum of branch weights of the partition section to the sum of weights of each sub-partition is the smallest.
[0125] 4. In order to avoid ignoring the actual operation characteristics of the power grid by only following the standard cutting target value during the standard cutting process, the present invention proposes a safety risk index for identifying key sections, and judges the criticality of the section according to the risk value. The risk index function is:
[0126]
[0127] N-1 verification module, according to the initial section order, the pre-selected section line N-1 verification, when the section power is greater than 0.1 times the total power P and the safety risk value When it is greater than 1, the transmission section is considered to be a critical section: is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the section line N-1 verification condition.
[0128] The above is a detailed introduction to a method and system for quickly searching for key transmission sections of a power grid. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention; at the same time, for general technicians in this field, according to the ideas and methods of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for quickly searching key transmission sections of a power grid. It is characterized in that Includes steps: S1: Simplify the power system, merge two parallel buses, merge multiple lines between two nodes into one loop, and delete independent nodes; S2: Construct network topology: Abstract the system into a graph model G with n nodes and m lines: G = (V, E, W), where V represents the vertex set of power plant nodes in the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters; S3: Calculate the degree matrix D and Laplace matrix L from the weight matrix W; S4: Find the eigenvector, solve the equation LK=γDK, and obtain the Fiedler eigenvalue γ and eigenvector K of L; S5: Find the section cut set corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k 1 ,k 2 ,...,k n ] and the threshold θ to obtain n-1 different segmentation indicator vectors X = [x 1 ,x 2 ,...,x n ], the split indicator vector X splits the graph G into two subgraphs G 1 and G 2 , thus obtaining n-1 groups of cross-section cut sets; S6: Substitute the n-1 segmentation indicator vectors X into the objective function f, sort the segmentation indicator vectors from small to large according to the objective value, and obtain the preliminary section order corresponding to the segmentation indicator vector; where w ij 、w iz 、w jz Respectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector; B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jz are the base-state active powers of the i-th and j-th, i-th and z-th, and j-th and z-th node branches respectively; S7: Perform N-1 checks on the pre-selected section lines according to the order of the pre-selected sections. When the sum of the section power is greater than 0.1 times the total power P and the safety risk value y Xn When it is greater than 1, the transmission section is considered to be a critical section: and Xn =e Z+TZ-1 Among them, y Xn is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the N-1 verification condition of the section line; The step S7: performing N-1 verification on the pre-selected section lines according to the sequence of the pre-selected sections, including the steps of: selecting a section to simulate a fault; removing the section from the system model; performing a power flow calculation; checking the status of each component in the system to evaluate the result of the power flow calculation; determining whether the N-1 verification is passed; repeating the above steps for all pre-selected sections; Step S5: Find the section cut set corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K=[k 1 ,k 2 ,...,k n ] is segmented by comparing the element value in ] with the threshold value, and n-1 different segmentation indicator vectors X=[x 1 ,x 2 ,...,x n ], the split indicator vector X splits the graph G into two subgraphs G 1 and G 2 , thus obtaining n-1 sets of cross-section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, comparing the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is included in the subgraph G 1 ; If the value of the element is greater than the threshold, it is assigned to another subgraph G 2 ; When the threshold is different, subgraph G 1 and subgraph G 2 The composition of is different, thereby generating n-1 different segmentation indication vectors.
2. A method for quickly searching for key power transmission sections of a power grid as claimed in claim 1, It is characterized in that The step S3: finding the Laplace matrix L and the degree matrix D from the weight matrix W includes: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
3. A method for quickly searching for key power transmission sections of a power grid as claimed in claim 1, It is characterized in that The step S4: find the eigenvector K, solve the equation LK=γDK, and obtain the Fiedler eigenvalue and eigenvector K of L, wherein the Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector K is called the Fiedler vector; the equation is solved using the QR decomposition method to calculate the eigenvalue and eigenvector K.
4. A system for rapid search of key transmission sections of power grids. It is characterized in that include: The power system simplification module merges two parallel buses, merges multiple lines between two nodes into one loop, and deletes independent nodes; Constructing network topology diagram module: abstract the system into a graph model G = (V, E, W) with n nodes and m lines, where V represents the vertex set of power plant nodes of the power system; E represents the edge set of transmission lines; W is a weight matrix composed of line resistance, impedance, and transmission capacity parameters; Laplace matrix solving module: calculate the degree matrix D and Laplace matrix L from the weight matrix W; The eigenvector calculation module solves the equation LK=γDK to obtain the Fiedler eigenvalue γ and eigenvector K of L; Find the section cut set module corresponding to the eigenvector K. When the threshold θ changes from negative infinity to positive infinity, according to the eigenvector K = [k 1 ,k 2 ,...,k n ] and the threshold θ to obtain n-1 different segmentation indicator vectors X = [x 1 ,x 2 ,...,x n ], the split indicator vector X splits the graph G into two subgraphs G 1 and G 2 , thus obtaining n-1 groups of cross-section cut sets; The objective function calculation module substitutes n-1 segmentation indication vectors X into the objective function f, sorts the segmentation indication vectors from small to large according to the objective value, and obtains the preliminary section order corresponding to the segmentation indication vectors; where w ij 、w iz 、w jz Respectively represent the weights between the i-th and j-th, i-th and z-th, and j-th and z-th element nodes in the segmentation indication vector; x i 、x j Respectively represent the i-th and j-th element nodes of the segmentation indicator vector; B ij , B iz , B jz are the inverse reactances of the i-th and j-th, i-th and z-th, and j-th and z-th node branches, respectively, P ij , P iz , P jz are the base-state active powers of the i-th and j-th, i-th and z-th, and j-th and z-th node branches respectively; N-1 verification module, according to the initial section sequence, performs N-1 verification on the pre-selected section line. When the section power sum is greater than 0.1 times of the total power P and the safety risk value y Xn When it is greater than 1, the transmission section is considered to be a critical section: and Xn =e Z+TZ-1 Among them, y Xn is the nth segmentation vector X n The corresponding safety risk value of the split section, Z is the maximum load rate of the section line, and T is the power flow transfer coefficient under the N-1 verification condition of the section line; The N-1 verification module: performs N-1 verification on the pre-selected section lines according to the sequence of the pre-selected sections, including the steps of: selecting a section to simulate a fault; removing the section from the system model; performing a power flow calculation; checking the status of each component in the system to evaluate the result of the power flow calculation; determining whether the N-1 verification is passed; repeating the above steps for all pre-selected sections; The section cut set module for finding the characteristic vector K: finding the section cut set corresponding to the characteristic vector K, when the threshold θ changes from negative infinity to positive infinity, according to the characteristic vector K=[k 1 ,k 2 ,...,k n ] is segmented by comparing the element value in ] with the threshold value, and n-1 different segmentation indicator vectors X=[x 1 ,x 2 ,...,x n ], the split indicator vector X splits the graph G into two subgraphs G 1 and G 2 , thus obtaining n-1 sets of cross-section cut sets, including: first setting an initial threshold, which starts from negative infinity and increases to positive infinity; for each element in the feature vector K, comparing the value of the element with the current threshold, if the value of the element is less than or equal to the threshold, it is included in the subgraph G 1 ; If the value of the element is greater than the threshold, it is assigned to another subgraph G 2 ; When the threshold is different, subgraph G 1 and subgraph G 2 The composition of is different, thereby generating n-1 different segmentation indication vectors.
5. A system for quickly searching key power transmission sections of a power grid as claimed in claim 4, It is characterized in that The Laplace matrix solving module: calculates the Laplace matrix L and the degree matrix D from the weight matrix W, including: corresponding to node i, the i-th diagonal element D of the degree matrix D ii is the sum of the weights of all edges connected to node i; the Laplacian matrix L is the difference between the degree matrix D and the weight matrix W.
6. A system for quickly searching key power transmission sections of a power grid as claimed in claim 4, It is characterized in that The eigenvector K calculation module: solves the equation LK=γDK to obtain the Fiedler eigenvalue and eigenvector K of L, where: The Fiedler eigenvalue refers to the second smallest eigenvalue of the Laplace matrix, and its corresponding eigenvector K is called the Fiedler vector; the QR decomposition method is used to calculate the eigenvalue and eigenvector K when solving the equation.
