Search

CN-121980063-A - Method, system, equipment and medium for automatically constructing relay protection service model and generating virtual loop

CN121980063ACN 121980063 ACN121980063 ACN 121980063ACN-121980063-A

Abstract

The invention relates to the technical field of intelligent substation relay protection, and discloses a method, a system, equipment and a medium for automatically constructing a relay protection service model and generating a virtual loop, wherein the method comprises the steps of obtaining a substation configuration file and a primary system diagram, and performing data analysis to construct a unified data model; the method comprises the steps of establishing a graph database model according to a node type set and a side relation type set to realize node instantiation and relation link, automatically generating and completing virtual loops by adopting a two-stage strategy combining rule deduction and intelligent completion of a graph neural network to obtain complete virtual loop connection relations, visually displaying the virtual loop connection relations, and supporting hierarchical navigation and viewing based on voltage levels, wiring modes and intervals. The invention greatly reduces modeling time and error probability, and the generated service model and the visual display thereof provide a firm and reliable model foundation for subsequent protection logic verification, intelligent operation and maintenance and digital twin application.

Inventors

  • SHI HENGCHU
  • CHEN XIAOFAN
  • YOU HAO
  • XU SHOUDONG
  • DING XIAOLI
  • ZHOU HAICHENG
  • HU XIAO
  • WANG ZICHENG

Assignees

  • 云南电网有限责任公司

Dates

Publication Date
20260505
Application Date
20260408

Claims (10)

  1. 1. The method for automatically constructing the relay protection service model and generating the virtual loop is characterized by comprising the following steps of: Acquiring a substation configuration file and a primary system diagram, carrying out data analysis on the substation configuration file and the primary system diagram, and constructing a unified data model; defining a node type set and an edge relation type set based on the unified data model, and constructing a graph database model according to the node type set and the edge relation type set so as to realize node instantiation and relation link; Based on the graph database model, adopting a two-stage strategy combining rule deduction and intelligent completion of the graph neural network to automatically generate and complete a virtual loop, and obtaining a complete virtual loop connection relation; And visually displaying the virtual loop connection relation, and supporting hierarchical navigation and viewing based on voltage level, wiring mode and interval.
  2. 2. The method for automatically constructing and generating virtual circuits of the relay protection service model according to claim 1, wherein the data parsing of the substation configuration file and the primary system diagram comprises the following steps: Carrying out grammar verification and structure analysis on the transformer substation configuration file by adopting an analysis engine, and extracting information including a transformer substation structure, an intelligent electronic equipment instance, logic equipment, logic nodes, input definitions, sampling value control blocks, a transformer substation event control block facing a general object and communication configuration; analyzing an extensible markup language file in a standard format attached to the primary system diagram to acquire a device connection relation, and associating the device connection relation with a graphic identifier in a scalable vector diagram to realize graphic-model integration; Constructing a unified data model, and defining a standard paradigm of entities, attributes and relations, including a circuit breaker, a transformer, protection intelligent electronic equipment and a general object-oriented substation event control block; and filling the original data analyzed from the substation configuration file and the primary system diagram into the unified data model through the mapping rule and the conversion script, and outputting a structured data set.
  3. 3. The method for automatically constructing and generating virtual circuits of a relay protection service model according to claim 2, wherein constructing a graph database model according to the node type set and the side relationship type set to realize node instantiation and relationship linking comprises: defining a node type set, wherein the node type set comprises a primary equipment node used for representing physical equipment in a transformer substation main wiring diagram, a secondary equipment node used for representing intelligent electronic equipment, a protection function unit node used for representing internal logic functions of the intelligent electronic equipment, a virtual terminal node used for representing input and output signal connection points of the function unit, and interval nodes and transformer substation nodes used for representing system space and function division levels; Defining an edge relation type set, wherein the edge relation type set comprises physical topological relation edges established between the primary equipment nodes, containing relation edges used for defining a hierarchical structure, functional association relation edges used for representing control and controlled or protected and protected relation and virtual loop connection relation edges established between virtual terminal nodes of different intelligent electronic equipment based on communication configuration and input definition; traversing standardized data in the unified data model, and automatically creating a corresponding node instance according to the node type set; based on the side relation type set, automatically establishing side relation between corresponding node examples according to logical association and physical association among data; And storing the node instance and the side relation which are completely created into a graph database model in a lasting way, and indexing the attribute of the node to support quick retrieval.
  4. 4. The method for automatically constructing and generating virtual circuits according to claim 3, wherein said two-stage strategy combining rule deduction and intelligent completion of the graphic neural network comprises: Acquiring a primary topological relation from the graph database model, and calling a preset protection configuration rule base, wherein the protection configuration rule base comprises protection principle rules based on different voltage classes and wiring modes; Traversing the protection function unit nodes in the graph database model, and identifying primary equipment associated by each protection function unit node through a protection edge; For each protection function unit node, matching a corresponding protection principle rule from the protection configuration rule base; The matched general protection principle rule is combined with the specific primary equipment topology associated with the protection function unit to be instantiated into a specific virtual loop connection instruction; and creating the virtual loop connection instruction as a virtual loop connection edge of a state to be confirmed in the graph database model, and generating an initial service model containing all virtual loop connections deduced according to rules.
  5. 5. The method for automatically constructing and generating a virtual circuit according to claim 4, wherein the two-stage strategy combining rule deduction and intelligent completion of the graphic neural network is adopted to automatically generate and complete the virtual circuit, and the method further comprises: acquiring a historical engineering atlas as a training sample set, wherein the historical engineering atlas comprises complete node, side and attribute information; constructing a graph neural network model, and inputting the historical engineering atlas into the graph neural network model for training, so that the model learns the probability of connection relation among virtual terminal nodes; Inputting the initial service model into a trained graphic neural network model, calculating a feature vector of each virtual terminal node, and calculating connection probability between virtual terminal node pairs with connection missing based on the feature vector; and sorting according to the calculated connection probability, and screening out the first N connections with highest probability as intelligent complement suggestion output.
  6. 6. The method for automatically constructing and generating a virtual circuit according to claim 5, wherein the two-stage strategy combining rule deduction and intelligent completion of the graphic neural network is adopted to automatically generate and complete the virtual circuit, and the method further comprises: combining the initial service model with the intelligent completion suggestion to form a complete service model to be checked, and performing consistency check in the combining process; submitting the business model to be checked to a professional engineer for checking and confirming, wherein the checking and confirming comprises the steps of accepting or rejecting the intelligent completion suggestion, taking a checking result confirmed by the engineer as a new correct sample, and feeding back the new correct sample to a historical engineering atlas database; and periodically retraining the graph neural network model by using the updated historical engineering atlas database so as to realize continuous optimization of the model.
  7. 7. The method for automatically constructing and generating a virtual circuit according to claim 6, wherein the visually displaying the connection relationship of the virtual circuit comprises: classifying and organizing the virtual loop connection relation in the business model to be checked according to the voltage grade, the main wiring form and the interval; combining the characteristics of relay protection service under different voltage classes and wiring modes, and performing automatic logic modeling on virtual loops in the total station relay protection service model; classifying and organizing the total station intervals by adopting a hierarchical design concept, and displaying a total station model diagram on a main interface; responding to the selection operation of a specific interval performed by a user through a main interface model diagram, entering the detailed virtual loop connection information including the association of a transmitting end and a receiving end of a substation event signal and a sampling value signal facing a general object, the trend of a data stream and the matching of signal types in the next interface display interval.
  8. 8. An automatic construction and virtual circuit generation system for a relay protection service model, and a method for automatically constructing and generating a virtual circuit by applying the relay protection service model according to any one of claims 1 to 7, comprising the following steps: The data processing module is used for acquiring a transformer substation configuration file and a primary system diagram, carrying out data analysis on the transformer substation configuration file and the primary system diagram, and constructing a unified data model; The graph database modeling module is used for defining a node type set and an edge relation type set based on the unified data model, and constructing a graph database model according to the node type set and the edge relation type set so as to realize node instantiation and relation link; the virtual circuit automatic generation and completion module is used for carrying out virtual circuit automatic generation and completion by adopting a two-stage strategy combining rule deduction and intelligent completion of a graph neural network based on the graph database model to acquire a complete virtual circuit connection relation; and the visualization module is used for carrying out visual display on the virtual loop connection relation and supporting hierarchical navigation and viewing based on voltage level, wiring mode and interval.
  9. 9. An electronic device comprising a memory and a processor, wherein the memory is configured to store computer executable instructions, and the processor implements the steps of a method for automatically constructing and generating a virtual circuit for a relay protection service model according to any one of claims 1 to 7 when executing the computer executable instructions.
  10. 10. A computer readable storage medium having computer executable instructions stored thereon, wherein the computer executable instructions when executed by a processor implement the steps of a method for automatically constructing and generating virtual circuits for a relay protection service model as set forth in any one of claims 1 to 7.

Description

Method, system, equipment and medium for automatically constructing relay protection service model and generating virtual loop Technical Field The invention relates to the technical field of relay protection of intelligent substations, in particular to a method, a system, equipment and a medium for automatically constructing a relay protection service model and generating a virtual loop. Background At present, the generation of the relay protection service model of the intelligent substation mainly depends on a system configuration description file, however, in practical engineering application, engineering model information of the system configuration description file, especially a substation structural part, is often incomplete or low in engineering degree, so that a key virtual loop and equipment relationship of the directly generated service model are lost. And the system configuration description file has a complex structure, the publish/subscribe relationship among devices in the system configuration description file forms a huge network, and the manual analysis efficiency is low and the system configuration description file is very easy to make mistakes. Some existing semi-automatic methods depend on manual splitting topology or reasoning based on fixed rules, and are difficult to cope with the actual situations of naming differences, engineering data loss and the like of equipment of different manufacturers. Moreover, the existing semi-automatic method lacks the capability of dynamically checking the follow-up and actual running states of the model, is solidified once generated, and cannot be adaptively corrected. Therefore, the prior art is difficult to generate a complete, accurate and dynamically modifiable relay protection service model, and threatens the reliability of a protection system. Therefore, a method for automatically constructing and generating virtual loops of the relay protection service model of the intelligent substation, which can integrate multi-source information and has automatic completion and dynamic correction capabilities, is needed to improve the integrity and practicality of the relay protection service model and can perform actual visual display. Disclosure of Invention The present invention has been made in view of the above-described problems occurring in the prior art. Therefore, the invention provides a method, a system, equipment and a medium for automatically constructing a relay protection service model and generating a virtual loop, which solve the problems that the prior art mainly relies on manual or semi-automatic analysis and modeling of a system configuration description file, and model information is incomplete, the generation efficiency is low, errors are easy to occur and dynamic correction capability is lacked. In order to solve the technical problems, the invention provides the following technical scheme: in a first aspect, the present invention provides a method for automatically constructing a relay protection service model and generating a virtual loop, including: Acquiring a substation configuration file and a primary system diagram, carrying out data analysis on the substation configuration file and the primary system diagram, and constructing a unified data model; defining a node type set and an edge relation type set based on the unified data model, and constructing a graph database model according to the node type set and the edge relation type set so as to realize node instantiation and relation link; Based on the graph database model, adopting a two-stage strategy combining rule deduction and intelligent completion of the graph neural network to automatically generate and complete a virtual loop, and obtaining a complete virtual loop connection relation; And visually displaying the virtual loop connection relation, and supporting hierarchical navigation and viewing based on voltage level, wiring mode and interval. The invention provides a preferable scheme of an automatic construction and virtual loop generation method of a relay protection service model, wherein the data analysis is carried out on the configuration file of a transformer substation and a primary system diagram, and the construction of a unified data model comprises the following steps: Carrying out grammar verification and structure analysis on the transformer substation configuration file by adopting an analysis engine, and extracting information including a transformer substation structure, an intelligent electronic equipment instance, logic equipment, logic nodes, input definitions, sampling value control blocks, a transformer substation event control block facing a general object and communication configuration; analyzing an extensible markup language file in a standard format attached to the primary system diagram to acquire a device connection relation, and associating the device connection relation with a graphic identifier in a scalable vector diagram to realize graph