CN-122024269-A - Power grid topological structure identification method and system based on geographic wiring diagram
Abstract
The invention provides a method and a system for identifying a power grid topological structure based on a geographic wiring diagram, wherein the method is applied to an identification system comprising a data processing module, a topological association analysis module and a topological output module, and concretely comprises the steps of preprocessing the geographic wiring diagram of a target power grid, identifying elements in the preprocessed geographic wiring diagram based on target detection, marking corresponding attribute information, constructing an element adjacent matrix based on the marking of each element and the graph connection relation between the elements, carrying out rule matching on the element adjacent matrix by combining a preset electrical rule, verifying and correcting the connection relation in the element adjacent matrix according to a matching result, constructing a topological branch according to the corrected element adjacent matrix by taking the identified elements as topological nodes, and obtaining the power grid topological structure. According to the invention, the target detection and the space topology association analysis are adopted to automatically identify and output the structural power grid topology information, so that the efficient and accurate identification of the power grid topology is realized.
Inventors
- WANG XINYU
- CHEN YIMING
- Xu Haiba
- CANG YUQING
- WANG LINMEI
- ZHOU HONGQING
- BAO JIELI
- WANG XUEYING
- WANG PENG
- LIANG QIU
Assignees
- 国网浙江省电力有限公司台州供电公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251226
Claims (10)
- 1. The power grid topological structure identification method based on the geographic wiring diagram is characterized by comprising the following steps of: Receiving a geographic wiring diagram of a target power grid, and preprocessing the geographic wiring diagram; identifying elements in the preprocessed geographic wiring diagram based on target detection, and marking corresponding attribute information; constructing an element adjacent matrix based on the labeling of each element and the graph connection relation between the elements, carrying out rule matching on the element adjacent matrix by combining with a preset electric rule, and verifying and correcting the connection relation in the element adjacent matrix according to the matching result; and constructing a topology branch according to the corrected element adjacency matrix by taking the identified element as a topology node, and acquiring a power grid topology structure according to the topology node and the topology branch.
- 2. The method for identifying a topology of a power grid based on a geographical wiring diagram according to claim 1, wherein the receiving the geographical wiring diagram of the target power grid, preprocessing the geographical wiring diagram, comprises: splitting a geographic wiring diagram of a target power grid into a vector diagram and a grid diagram according to the image type; Image preprocessing of image enhancement, denoising and binarization is sequentially carried out on the split grid image, and element layers are screened from the vector image through layer separation; And performing redundant pixel clearing and broken pixel complement treatment on the grid image after image pretreatment, and performing redundant element clearing and line broken repair on the screened element image layer.
- 3. The method for identifying a topological structure of a power grid based on a geographical wiring diagram according to claim 1, wherein the steps of identifying the elements in the preprocessed geographical wiring diagram based on the target detection and labeling the corresponding attribute information include: Carrying out legend symbol recognition on the preprocessed geographic wiring diagram through a pre-trained target detection model, and obtaining each element in the preprocessed geographic wiring diagram and the position coordinates and type labels of each element; Extracting text information of the preprocessed geographic wiring diagram through an OCR (optical character recognition) algorithm, performing space matching according to the position coordinates of the text information and the position coordinates of each element, and establishing an association relation between the text information and the corresponding element; Attribute information is built based on the associated text information, position coordinates and type tags, and attribute information labels are added to the corresponding elements.
- 4. The method for identifying a topological structure of a power grid based on a geographical wiring diagram according to claim 1, wherein the process of obtaining the graphic connection relationship between the elements comprises: Identifying successive line images starting from the port position of each element; extracting line features from the identified line images, and screening out electrical connection lines by combining preset rules; and obtaining the graph connection relation between the elements based on the connection relation between the screened electrical connection lines and the elements.
- 5. The method for identifying a topological structure of a power grid based on a geographical wiring diagram according to claim 4, wherein the constructing an element adjacency matrix based on the labeling of each element and the graphic connection relation between the elements comprises: Identifying the position coordinates of each element based on the labels, and determining adjacent elements by combining the spatial indexes; acquiring a start-stop element of each electrical connecting wire based on a graph connection relation among the elements, and setting corresponding start-stop attributes for each element; Setting the ordering sequence of each element by combining the adjacent elements and the starting and ending properties of each element, and constructing an initial element adjacent matrix according to the ordering sequence of each element; And assigning a value to each element in the initial element adjacency matrix based on the graph connection relation among the elements, and acquiring the element adjacency matrix.
- 6. The method for identifying a topological structure of a power grid based on a geographical wiring diagram according to claim 1, wherein the rule matching is performed on the element adjacency matrix by combining with a preset electrical rule, and the connection relationship in the element adjacency matrix is verified and corrected according to the matching result, and the method comprises the following steps: Assigning corresponding quantitative identifiers to the element attributes, and constructing a connection judgment rule by combining with a preset electrical rule; Traversing each element value in the element adjacency matrix based on the connection judgment rule, and identifying conflict elements with conflict between the connection relation and the element values according to the rule type of the satisfied connection judgment rule; The conflicting elements are corrected based on the rule type corresponding to the satisfied connection decision rule.
- 7. The geographical wiring diagram-based power grid topology identification method of claim 6, wherein the connection decision rules include at least a forbidden connection rule, an allowed connection rule, and a forced connection rule.
- 8. The method for identifying a topological structure of a power grid based on a geographical wiring diagram according to claim 1, wherein the steps of using the identified elements as topological nodes, constructing topological branches according to the corrected element adjacency matrix, and obtaining the topological structure of the power grid according to the topological nodes and the topological branches include: Mapping the identified elements into topology nodes, and adding attribute information for each topology node by combining corresponding labels; Traversing non-zero elements in the modified element adjacent matrix, and constructing corresponding topology branches according to topology node combinations corresponding to the non-zero elements; And establishing association relation between the topological nodes and the topological branches according to the topological nodes contained in the topological branches, and constructing structural power grid topology data by combining the topological node set and the topological branch set.
- 9. A geographical wiring diagram based power grid topology identification system for performing the geographical wiring diagram based power grid topology identification method of any one of claims 1 to 8, comprising: The data processing module is used for receiving the geographic wiring diagram of the target power grid, preprocessing the geographic wiring diagram, identifying elements in the preprocessed geographic wiring diagram based on target detection, and marking corresponding attribute information; The topology association analysis module is used for constructing an element adjacent matrix based on the labeling of each element and the graph connection relation between the elements, carrying out rule matching on the element adjacent matrix by combining with a preset electrical rule, and verifying and correcting the connection relation in the element adjacent matrix according to a matching result; the topology output module is used for constructing a topology branch according to the corrected element adjacency matrix by taking the identified element as a topology node, and acquiring a power grid topology structure according to the topology node and the topology branch.
- 10. The geographical wiring diagram-based grid topology identification system of claim 9, wherein the topology association analysis module comprises: The connection relation identification unit is used for identifying continuous line images, screening out electrical connection lines by combining with preset rules, and acquiring the graph connection relation among the elements according to the electrical connection lines; the matrix construction unit is used for identifying adjacent elements, setting starting and ending properties of the elements, carrying out element assignment by combining with the graph connection relation among the elements, and constructing an element adjacent matrix; a rule setting unit for constructing a connection decision rule in combination with a preset electrical rule; and the verification and correction unit is used for verifying and correcting the connection relation in the element adjacent matrix according to the connection judgment rule.
Description
Power grid topological structure identification method and system based on geographic wiring diagram Technical Field The invention relates to the technical field of power grid topology identification, in particular to a power grid topology structure identification method and system based on a geographic wiring diagram. Background The modern large power grid has huge scale and wide coverage, comprises elements such as a large number of substations, lines, switches and the like, has complicated connection relations among the elements, and meanwhile, the power grid topology can dynamically change along with the operation of new lines, the transformation of old equipment and the like, so that the topology identification is required to have the capability of high efficiency, accuracy and quick response. The traditional identification method relies on manual interpretation of a geographical wiring diagram or a universal image identification tool to finish preliminary treatment, and is difficult to cope with the scale challenges of a large power grid, so that the manual interpretation cannot finish the identification and updating of the topology of the large power grid in a short time, and errors in judgment are easy to occur due to the fact that the number of elements is too large and the connection relation is complex, and the errors can cause distortion of simulation results of subsequent power grids, unreasonable planning and design, and even cause running risks of the power grids. The general image recognition tool cannot accurately match the refined requirements of the large power grid on element classification and connection logic due to lack of semantic understanding of the power grid, the recognition result cannot reflect the actual electrical topology of the large power grid, and safe and stable operation of the large power grid is difficult to support. Disclosure of Invention The invention aims to overcome the defects that in the prior art, manual interpretation of a geographic wiring diagram or a general image recognition tool is relied on for preliminary processing, large-scale topology recognition of a large power grid is difficult to deal with and the accuracy of topology recognition is low, and provides a power grid topological structure recognition method and system based on the geographic wiring diagram. The invention aims at realizing the following technical scheme: the power grid topological structure identification method based on the geographic wiring diagram comprises the following steps: Receiving a geographic wiring diagram of a target power grid, and preprocessing the geographic wiring diagram; identifying elements in the preprocessed geographic wiring diagram based on target detection, and marking corresponding attribute information; constructing an element adjacent matrix based on the labeling of each element and the graph connection relation between the elements, carrying out rule matching on the element adjacent matrix by combining with a preset electric rule, and verifying and correcting the connection relation in the element adjacent matrix according to the matching result; and constructing a topology branch according to the corrected element adjacency matrix by taking the identified element as a topology node, and acquiring a power grid topology structure according to the topology node and the topology branch. Further, the receiving the geographical wiring diagram of the target power grid, preprocessing the geographical wiring diagram, includes: splitting a geographic wiring diagram of a target power grid into a vector diagram and a grid diagram according to the image type; Image preprocessing of image enhancement, denoising and binarization is sequentially carried out on the split grid image, and element layers are screened from the vector image through layer separation; And performing redundant pixel clearing and broken pixel complement treatment on the grid image after image pretreatment, and performing redundant element clearing and line broken repair on the screened element image layer. Further, the identifying the element in the preprocessed geographic wiring diagram based on the target detection and labeling the corresponding attribute information includes: Carrying out legend symbol recognition on the preprocessed geographic wiring diagram through a pre-trained target detection model, and obtaining each element in the preprocessed geographic wiring diagram and the position coordinates and type labels of each element; Extracting text information of the preprocessed geographic wiring diagram through an OCR (optical character recognition) algorithm, performing space matching according to the position coordinates of the text information and the position coordinates of each element, and establishing an association relation between the text information and the corresponding element; Attribute information is built based on the associated text information, position coordinates and