CN-122020931-A - Intelligent substation virtual circuit automatic verification method, system, equipment and medium
Abstract
The invention discloses an automatic virtual loop verification method, system, equipment and medium for an intelligent substation, which belong to the technical field of intelligent substation automation and comprise the steps of defining a unified body model to obtain standard function identification, generating a virtual loop verification rule and constructing a standardized knowledge base; obtaining and analyzing SCD configuration files of a target substation to obtain an instance virtual loop knowledge graph, carrying out consistency reasoning to generate a diagnosis report, wherein the diagnosis report comprises a diagnosis result of a to-be-confirmed item, and carrying out self-learning updating on a standardized knowledge base by a user. According to the invention, through constructing a standardized knowledge base and an example virtual loop knowledge map and combining a consistency reasoning and self-learning mechanism, the conversion from manual experience verification to full-automatic intelligent verification is realized, the problem that the traditional tool cannot perform functional semantic diagnosis is solved, the hidden expert knowledge is converted into a computable and evolutionable structural rule, the verification efficiency, the depth and the accuracy are improved, and the capability of continuously adapting to the technical development is provided.
Inventors
- SHI HENGCHU
- GUO WENJIE
- YOU HAO
- XU SHOUDONG
- CHEN XIAOFAN
- DING XIAOLI
- SHEN YANG
- HU XIAO
- YANG YUANHANG
- YANG QIAOWEI
Assignees
- 云南电网有限责任公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260410
Claims (9)
- 1. An intelligent substation virtual loop automatic verification method is characterized by comprising the following steps: Defining a unified body model, obtaining a standard function identifier through the unified body model, generating a virtual circuit verification rule by combining the unified body model and the standard function identifier, and constructing a standardized knowledge base through the unified body model, the standard function identifier and the virtual circuit verification rule; Obtaining an SCD configuration file of a target transformer substation, and analyzing the SCD configuration file according to the unified ontology model to obtain an instance virtual loop knowledge graph; consistency reasoning is carried out on the example virtual circuit knowledge graph and the virtual circuit verification rule, and a diagnosis report is generated, wherein the diagnosis report comprises a diagnosis result to be confirmed; the user confirms the diagnosis result of the item to be confirmed to obtain user feedback, and self-learning updating is carried out on the standardized knowledge base through the user feedback; a step of generating a diagnostic report, comprising: precompiled the virtual loop checking rule into a structured query; Executing the structured query in the example virtual loop knowledge graph, and performing consistency reasoning by locating the virtual terminal node of the receiving end and checking whether the virtual terminal node of the transmitting end at the upstream of the virtual terminal node of the receiving end accords with the functional identifier of the virtual loop verification rule to obtain a reasoning result; Generating an error diagnosis result when the constraint strength is first-level output and generating a warning diagnosis result when the constraint strength is second-level output according to the constraint strength and the reasoning result of the virtual loop checking rule, and identifying virtual terminal nodes with empty function identifiers in the virtual loop knowledge graph of the example to generate a diagnosis result of items to be confirmed with unknown function identifiers; and combining the error diagnosis result, the warning diagnosis result and the diagnosis result of the item to be confirmed to obtain a diagnosis report.
- 2. The method for automatically verifying virtual circuits of an intelligent substation according to claim 1, wherein a unified ontology model is defined, and the step of obtaining standard function identifiers through the unified ontology model comprises the steps of: Defining a space ontology model and a unified ontology model for describing the electrical space; And extracting standardized function definitions according to industry standard specifications, and mapping the standardized function definitions into the unified ontology model to obtain standard function identifiers.
- 3. The method for automatically checking virtual circuits of an intelligent substation according to claim 2, wherein the step of generating virtual circuit checking rules comprises the steps of: generating a virtual loop checking rule according to the primary equipment type and the standard function identifier defined in the interval ontology model, wherein the virtual loop checking rule comprises rule constraint in an electrical interval and rule constraint between the electrical intervals; When the type of the primary equipment is A type and the function identifier of the receiving terminal is B identifier, the primary output or the secondary output of the function identifier of the transmitting terminal is C identifier; The rule constraint of the electrical compartment is that when the primary equipment type of the electrical compartment is A type and the functional identifier of the electrical compartment receiving terminal is B identifier, the primary output or the secondary output of the primary equipment type of the external electrical compartment is D identifier and the primary output or the secondary output of the functional identifier of the external electrical compartment transmitting terminal is E identifier.
- 4. The method for automatically verifying virtual circuits of intelligent substation according to claim 3, wherein the step of obtaining an instance virtual circuit knowledge graph comprises the steps of: analyzing the SCD configuration file through the unified ontology model, and extracting intelligent electronic equipment and virtual terminal connection among the intelligent electronic equipment; the intelligent electronic equipment is subjected to domain grouping into corresponding electrical intervals, so that electrical interval composition and electrical interval attribution of each virtual terminal are obtained; And creating an electrical interval node corresponding to each electrical interval, a virtual terminal node corresponding to each virtual terminal, a subordinate edge pointing from the virtual terminal node to the electrical interval node to which the virtual terminal node belongs, and a connecting edge pointing from the virtual terminal node at the sending end to the virtual terminal node at the receiving end according to the electrical interval composition and the electrical interval attribution of each virtual terminal, so as to obtain an example virtual loop knowledge graph.
- 5. The intelligent substation virtual circuit automatic verification method according to claim 4, wherein the consistency reasoning comprises: after consistency reasoning of all virtual loop checking rules is completed, scanning all connecting edges in the virtual loop knowledge graph of the example, and identifying the connecting edges which do not meet the virtual loop checking rules as diagnosis results of items to be confirmed of redundant connection; And forming the diagnosis result of the item to be confirmed in the diagnosis report by the diagnosis result of the item to be confirmed of the redundant connection and the diagnosis result of the item to be confirmed of which the function identification is unknown.
- 6. The method for automatically verifying virtual circuits of intelligent substation according to claim 5, wherein the step of performing self-learning update on the standardized knowledge base through the user feedback comprises at least one of the following modes: When the user feedback of the diagnosis result to be confirmed is redundant connection, extracting a receiving end electrical interval type, a receiving end function identifier, a transmitting end electrical interval type and a transmitting end function identifier corresponding to the diagnosis result to be confirmed of the redundant connection, generating a virtual loop checking rule draft, and adding the virtual loop checking rule draft into a virtual loop checking rule of the standardized knowledge base; and when the user feedback of the diagnosis result of the item to be confirmed is that the function identification is unknown, updating the function identification confirmed by the user into the standard function identification of the standardized knowledge base.
- 7. An intelligent substation virtual circuit automatic verification system, applying the method as claimed in any one of claims 1-6, comprising: The knowledge base management module is used for constructing a standardized knowledge base; The map construction engine is used for analyzing the SCD configuration file and constructing the virtual loop knowledge map of the instance; an inference diagnostic engine for performing the consistency inference and generating the diagnostic report; the man-machine interaction module is used for outputting the diagnosis report, receiving confirmation operation of a user on the diagnosis result of the item to be confirmed, and forming user feedback; and the self-learning module is used for carrying out self-learning updating on the standardized knowledge base according to the user feedback.
- 8. An electronic device, comprising: A memory and a processor; The memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions, where the computer executable instructions when executed by the processor implement the steps of a virtual circuit automatic verification method for an intelligent substation according to any one of claims 1 to 6.
- 9. A computer readable storage medium storing computer executable instructions which when executed by a processor implement the steps of a virtual circuit auto-verification method for an intelligent substation according to any one of claims 1 to 6.
Description
Intelligent substation virtual circuit automatic verification method, system, equipment and medium Technical Field The invention relates to the technical field of intelligent substation automation, in particular to an intelligent substation virtual circuit automatic verification method, system, equipment and medium. Background With the comprehensive popularization of intelligent substation technology, the secondary circuit is changed from the traditional cable hard connection into the virtual communication connection based on IEC61850 standard, namely, a virtual circuit, the correctness of the virtual circuit configuration directly relates to the safe and stable operation of the substation and even the whole power grid, however, the total station configuration file serving as a final carrier of the virtual circuit design, namely, SCD configuration file, has a complex structure and huge information, and whether the contained thousands of virtual terminal connections are correct in functional logic or not becomes a core challenge and bottleneck in the engineering implementation and acceptance stage. At present, two main ways exist for checking SCD configuration files, one way is based on manual examination of experience of design and debugging personnel, the efficiency is low and the personal level is highly dependent, omission is difficult to avoid, and the other way is based on automatic checking by adopting some simple auxiliary tools, but most of the existing tools can only perform shallow checking of grammar, communication parameters or simple connection relations, and cannot diagnose whether connection is correct or not from the semantic level of functional logic, if a trip signal is not correctly sent to a trip outlet terminal, in addition, the checking rules of the tools are usually solidified, cannot adapt to new technology, new equipment or diversified engineering design schemes, and lack of self-learning and evolution capability, so that the intelligent degree is low, the checking depth is insufficient and the flexibility is poor. 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 an intelligent substation virtual circuit automatic verification method, system, equipment and medium, which solve the problems that the verification of the existing SCD configuration file mainly depends on manual examination with low efficiency and easy error, can only be subjected to shallow examination, cannot diagnose the correctness of functional logic, cannot self-adaptively evolve, and causes a simple auxiliary tool with insufficient verification depth and flexibility. In order to solve the technical problems, the invention provides the following technical scheme: In a first aspect, the invention provides an intelligent substation virtual circuit automatic verification method, which comprises the following steps: Defining a unified body model, obtaining a standard function identifier through the unified body model, generating a virtual circuit verification rule by combining the unified body model and the standard function identifier, and constructing a standardized knowledge base through the unified body model, the standard function identifier and the virtual circuit verification rule; Obtaining an SCD configuration file of a target transformer substation, and analyzing the SCD configuration file according to the unified ontology model to obtain an instance virtual loop knowledge graph; consistency reasoning is carried out on the example virtual circuit knowledge graph and the virtual circuit verification rule, and a diagnosis report is generated, wherein the diagnosis report comprises a diagnosis result to be confirmed; the user confirms the diagnosis result of the item to be confirmed to obtain user feedback, and self-learning updating is carried out on the standardized knowledge base through the user feedback; the step of generating a diagnostic report includes: precompiled the virtual loop checking rule into a structured query; Executing the structured query in the example virtual loop knowledge graph, and performing consistency reasoning by locating the virtual terminal node of the receiving end and checking whether the virtual terminal node of the transmitting end at the upstream of the virtual terminal node of the receiving end accords with the functional identifier of the virtual loop verification rule to obtain a reasoning result; Generating an error diagnosis result when the constraint strength is first-level output and generating a warning diagnosis result when the constraint strength is second-level output according to the constraint strength and the reasoning result of the virtual loop checking rule, and identifying virtual terminal nodes with empty function identifiers in the virtual loop knowledge graph of the example to generate a diagnosis result of items to be confirmed with unknown funct