SCD file virtual loop detection method and system based on intermediate model
Through the SCD file virtual loop detection method based on the intermediate model, the virtual loop detection error problem caused by the different parameter naming methods and data structures of IED in the intelligent substation is solved, and more accurate and efficient virtual loop detection is achieved, improving the safety of the power grid and reliability.
Patent Information
- Application Number
- CN202411403313.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2024-12-31
AI Technical Summary
The different parameter naming methods, data structures and functional characteristics of IED in smart substations lead to a high risk of virtual loop detection errors, affecting the safety and reliability of the power grid.
Using the SCD file virtual loop detection method based on the intermediate model, by obtaining the properties of IED, the standard mapping model is converted, the connection relationship between the internal and external virtual terminals is judged, and the virtual terminals is determined based on the interval number and the matching of the parent branch of the intelligent terminal reception is determined. The correctness of the circuit.
It simplifies data processing, reduces the integration difficulty of IEDs of different manufacturers, improves the accuracy and efficiency of virtual loop detection, and ensures the safety and reliability of the power system.
Smart Images

Figure CN119226243A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of intelligent substations, and more specifically, to a method and system for detecting virtual circuits of SCD files based on an intermediate model. Background Art
[0002] Smart substations use advanced information technology, automation technology and communication technology to improve the intelligence level of traditional substations to achieve more efficient, safe and reliable power transmission and distribution systems. It can collect and analyze data in real time and optimize power grid operation by integrating various intelligent devices and systems such as intelligent protection, automatic control, monitoring and communication.
[0003] With the increase in the number of smart substations, early SCD files may contain hidden errors due to factors such as personnel technical level and imperfect specifications, resulting in an increased risk of virtual circuit configuration. Since smart substations use a single SCD file and the information is highly coupled, any configuration error may cause abnormal operation of the protection device, thereby affecting the safety of the power grid. In addition, during the renovation and expansion process, files are frequently modified and on-site control relies on factory personnel, which increases the risk of errors. Therefore, it is particularly important to develop an optimized control plan for SCD files, establish standardized processes, and promptly discover safety hazards in configuration files. The necessity of virtual circuit detection lies in the ability to identify and correct potential errors, ensure the normal operation of relay protection and measurement and control devices, and thus improve the reliability and safety of the power system.
[0004] However, due to the different construction periods and manufacturers of IEDs, IEDs may use different parameter naming methods, data structures and functional characteristics, which makes the integration and analysis of SCD files more complex and increases the risk of errors in virtual circuit detection. Summary of the invention
[0005] In order to solve the technical problem that the above-mentioned IED may adopt different parameter naming methods, data structures and functional characteristics, resulting in a greater risk of errors in IED virtual circuit detection, the present invention provides solutions in the following aspects.
[0006] In a first aspect, a method for detecting virtual circuits in an SCD file based on an intermediate model is provided, the method comprising: obtaining the attributes of each IED in the SCD file, wherein for any IED, its attributes include the interval number description character, external virtual terminal description character and internal virtual terminal description character corresponding to the IED; converting the external virtual terminal description characters and internal virtual terminal description characters of all IEDs in the SCD file through a standard mapping model to obtain the standard internal virtual terminal description characters and standard external virtual terminal description characters corresponding to each IED, wherein the naming format of the standard internal virtual terminal description characters and the standard external virtual terminal description characters of all IEDs is the same; for any IED: according to the standard virtual circuit model file Determine whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED with the standard internal virtual terminal description character and the standard external virtual terminal description character of the IED; take the IED corresponding to the external virtual terminal of the IED as the associated IED of the IED, determine whether the interval number of the IED is the same as the interval number of the associated IED, and determine whether the bus differential branch received by the intelligent terminal of the IED is consistent with the bus differential branch received by the intelligent terminal of the associated IED; in response to the existence of a connection relationship between the internal virtual terminal and the external virtual terminal of the IED, and the interval number of the IED and the bus differential branch received by the intelligent terminal are the same as or different from the interval number of the associated IED and the bus differential branch received by the intelligent terminal, determine that the virtual circuit of the IED is correct.
[0007] Preferably, a virtual circuit detection method for an SCD file based on an intermediate model also includes: for any IED and any associated IED thereof, in response to the existence of a connection relationship between the internal virtual terminal of the IED and the external virtual terminal, the different interval numbers of the IED and the associated IED, and the same mother differential branch received by the intelligent terminal of the IED and the associated IED, determining a virtual circuit error between the IED and the associated IED with a larger interval number; in response to the existence of a connection relationship between the internal virtual terminal of the IED and the external virtual terminal, the same interval numbers of the IED and the associated IED, and different mother differential branches received by the intelligent terminal of the IED and the associated IED, determining a virtual circuit error between the IED and the associated IED with a larger interval number.
[0008] Preferably, constructing a standard virtual circuit model includes: obtaining basic attributes and extended attributes of a standard IED model; connecting standard virtual terminal templates of different types of IED models according to the basic attributes of the standard IED model to obtain a standard virtual circuit; performing logical calculations on the extended attributes of the standard IED model and the standard virtual circuit, and obtaining a virtual connection as a standard virtual circuit model.
[0009] Preferably, judging whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED according to the standard virtual circuit model file and the standard internal virtual terminal description characters and the standard external virtual terminal description characters of the IED includes: traversing the standard virtual circuit model to judge whether there is a standard virtual circuit in the virtual circuit model that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED; in response to the existence of a standard virtual circuit that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, determining that there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED; in response to the absence of a standard virtual circuit that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, determining that there is no connection relationship between the internal virtual terminal and the external virtual terminal of the IED.
[0010] Preferably, constructing a standard mapping model includes: obtaining the manufacturer of a standard IED model; obtaining an ICD model corresponding to an actual IED model of different models, different manufacturers, different versions, and different check codes; establishing a mapping relationship between the attributes of the IED model and the attributes of the standard IED model in response to a match between the model, version number, manufacturer, and structural parameters between the actual IED model and the standard IED model; establishing a mapping relationship between the attributes of all actual IED models and the attributes of the standard IED model to obtain a standard mapping model.
[0011] Preferably, obtaining the standard internal virtual terminal description characters and standard external virtual terminal description characters of the IED includes: for any IED, obtaining the attributes of the standard IED model that has a mapping relationship with the attributes of the IED through a standard mapping model; determining that the external virtual terminal description characters in the attributes of the standard IED model are the standard external virtual terminal description characters of the IED; and determining that the internal virtual terminal description characters in the attributes of the standard IED model are the standard internal virtual terminal description characters of the IED.
[0012] In a second aspect, a SCD file virtual loop detection system based on an intermediate model includes a processor and a memory, wherein the memory stores a computer program, and is characterized in that the processor executes the computer program to implement a SCD file virtual loop detection method based on an intermediate model as described in the above invention content.
[0013] The beneficial effects of the present invention are: The present invention standardizes the description characters used to describe the IED virtual terminals through an intermediate model (standard mapping model), simplifies the complex data (data used to describe the IED virtual terminals), ensures that IEDs from different manufacturers are detected through the same standard virtual circuit model, reduces the integration difficulty and improves the efficiency and accuracy of detection. At the same time, the present invention further determines the accuracy of the IED virtual circuit based on whether the interval number of the IED and its associated IED and the mother differential branch received by the intelligent terminal are the same, thereby improving the accuracy of the IED virtual circuit detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein: Figure 1 is a flowchart schematically illustrating a method for detecting a virtual circuit of an SCD file based on an intermediate model according to an embodiment of the present invention; Figure 2 The figure schematically shows a SCD file virtual loop detection system based on an intermediate model according to an embodiment of the present invention. DETAILED DESCRIPTION
[0015] 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0017] Figure 1 The figure is a flowchart schematically showing a method for detecting a virtual circuit of an SCD file based on an intermediate model according to an embodiment of the present invention.
[0018] like Figure 1 As shown, a method for detecting virtual circuits in an SCD file based on an intermediate model includes steps S1 to S5.
[0019] Step S1: Obtain the attributes of each IED in the SCD file.
[0020] For any IED, its attributes include the interval number description character, external virtual terminal description character and internal virtual terminal description character corresponding to the IED.
[0021] In one embodiment, the attributes of the SCD also include device type description characters, interval type description characters, voltage level description characters, and wiring method description characters; the naming standards of the device type description characters, interval type description characters, voltage level description characters, and wiring method description characters in the attributes of the SCD are shown in Table 1.
[0022] Table 1
[0023] Step S2: converting the external virtual terminal description characters and internal virtual terminal description characters of all IEDs in the SCD file through a standard mapping model to obtain standard internal virtual terminal description characters and standard external virtual terminal description characters corresponding to each IED.
[0024] The naming format of the standard internal virtual terminal description characters and the standard external virtual terminal description characters of all IEDs is the same.
[0025] In one embodiment, constructing a standard mapping model includes: obtaining the manufacturer of a standard IED model; obtaining an ICD model corresponding to an actual IED model of different models, different manufacturers, different versions, and different check codes; establishing a mapping relationship between the attributes of the IED model and the attributes of the standard IED model in response to a match between the model, version number, manufacturer, and structural parameters between the actual IED model and the standard IED model; establishing a mapping relationship between the attributes of all actual IED models and the attributes of the standard IED model to obtain a standard mapping model.
[0026] Among them, obtaining the IED standard internal virtual terminal description characters and standard external virtual terminal description characters includes: for any IED, obtaining the attributes of the standard IED model that has a mapping relationship with the attributes of the IED through a standard mapping model; determining that the external virtual terminal description characters in the attributes of the standard IED model are the standard external virtual terminal description characters of the IED; and determining that the internal virtual terminal description characters in the attributes of the standard IED model are the standard internal virtual terminal description characters of the IED.
[0027] Step S3: For any IED: judging whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED according to the standard virtual circuit model file and the standard internal virtual terminal description characters and the standard external virtual terminal description characters of the IED.
[0028] In one embodiment, constructing a standard virtual circuit model includes: obtaining basic attributes and extended attributes of a standard IED model; connecting standard virtual terminal templates of different types of IED models according to the basic attributes of the standard IED model to obtain a standard virtual circuit; performing logical calculations on the extended attributes of the standard IED model and the standard virtual circuit, and obtaining a virtual connection as a standard virtual circuit model.
[0029] Among them, when performing calculation logic, the following principles are followed: If IED1 and IED2 span the bay and their associated bus attributes are exactly the same, the connection between IED1 and IED2 should be configured according to the standard specifications. If IED1 and IED2 span the bay and their associated bus attributes are partially the same and are in an inclusion relationship, the connection between IED1 and IED2 should be configured according to the standard specifications. If IED1 and IED2 span the bay and their associated bus attributes are partially the same but are not in an inclusion relationship, the connection between IED1 and IED2 should not be configured according to the standard specifications. If IED1 and IED2 span the bay and their associated bus attributes are not the same, the connection between IED1 and IED2 should not be configured according to the standard specification description.
[0030] Step S4: Taking the IED corresponding to the external virtual terminal of the IED as the associated IED of the IED, determine whether the interval number of the IED is the same as the interval number of its associated IED, and determine whether the bus differential branch received by the IED intelligent terminal is consistent with the bus differential branch received by the intelligent terminal of the associated IED.
[0031] In one embodiment, judging whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED according to the standard virtual circuit model file and the standard internal virtual terminal description characters and the standard external virtual terminal description characters of the IED includes: traversing the standard virtual circuit model to judge whether there is a standard virtual circuit in the virtual circuit model that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED; in response to the existence of a standard virtual circuit that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, determining that there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED; in response to the absence of a standard virtual circuit that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, determining that there is no connection relationship between the internal virtual terminal and the external virtual terminal of the IED.
[0032] Step S5: In response to the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, the interval number and the intelligent terminal receiving bus differential branch of the IED are the same or different from the interval number and the intelligent terminal receiving bus differential branch of the associated IED, determining that the virtual circuit of the IED is correct.
[0033] It should be noted that if the interval numbers of any IED and any of its associated IEDs are the same, it means that the two work in the same logical interval; if the intelligent terminal receiving bus differential branch of any IED and any of its associated IEDs is the same, the two devices work under the same power supply conditions. Under normal circumstances, if the interval numbers of two IEDs with a connection relationship are the same, the intelligent terminal receiving bus differential branch of the two IEDs is also the same; if the interval numbers of two IEDs with a connection relationship are different, the intelligent terminal receiving bus differential branch of the two IEDs is also different.
[0034] Further, for any IED and any associated IED thereof, in response to the existence of a connection relationship between the internal virtual terminal of the IED and the external virtual terminal, the different interval numbers of the IED and the associated IED, and the same intelligent terminal receiving bus differential branch between the IED and the associated IED, a virtual circuit error between the IED and the associated IED with a larger interval number is determined; in response to the existence of a connection relationship between the internal virtual terminal of the IED and the external virtual terminal, the same interval numbers of the IED and the associated IED, and different intelligent terminal receiving bus differential branches between the IED and the associated IED, a virtual circuit error between the IED and the associated IED with a larger interval number is determined. It should be noted that if the IED with a larger interval number shares the same intelligent terminal receiving bus differential branch with other IEDs, its signal may be affected by the downstream IED. The incorrect configuration of the downstream IED may be transmitted to the upstream, resulting in a virtual circuit error of the upstream IED.
[0035] Figure 2 FIG. 4 is a structural block diagram schematically showing a SCD file virtual loop detection system based on an intermediate model according to the present embodiment.
[0036] The present invention also provides a SCD file virtual circuit detection system based on an intermediate model. Figure 2 As shown, the system includes a processor and a memory, wherein the memory stores computer program instructions. When the computer program instructions are executed by the processor, a SCD file virtual circuit detection method based on an intermediate model according to the first aspect of the present invention is implemented.
[0037] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of or accessible or connectable to. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.
[0038] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0039] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
Claims
1. A method for detecting virtual circuits in SCD files based on an intermediate model, characterized in that: include: Obtaining the attributes of each IED in the SCD file, wherein for any IED, the attributes include the interval number description character, the external virtual terminal description character and the internal virtual terminal description character corresponding to the IED; The external virtual terminal description characters and internal virtual terminal description characters of all IEDs in the SCD file are converted through the standard mapping model to obtain the standard internal virtual terminal description characters and standard external virtual terminal description characters corresponding to each IED, wherein the naming format of the standard internal virtual terminal description characters and standard external virtual terminal description characters of all IEDs is the same; For any IED: determine whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED according to the standard virtual circuit model file and the standard internal virtual terminal description character and the standard external virtual terminal description character of the IED; take the IED corresponding to the external virtual terminal of the IED as the associated IED of the IED, determine whether the interval number of the IED is the same as the interval number of the associated IED, and determine whether the bus differential branch received by the intelligent terminal of the IED is consistent with the bus differential branch received by the intelligent terminal of the associated IED; In response to the connection relationship between the internal virtual terminal and the external virtual terminal of the IED, the interval number and the intelligent terminal receiving bus differential branch of the IED are the same or different from the interval number and the intelligent terminal receiving bus differential branch of the associated IED, it is determined that the virtual circuit of the IED is correct.
2. The SCD file virtual circuit detection method based on the intermediate model according to claim 1 is characterized in that: Also includes: For any IED and any associated IED thereof, in response to the fact that an internal virtual terminal of the IED is connected to an external virtual terminal, the interval numbers of the IED and the associated IED are different, and the intelligent terminal receiving bus differential branches of the IED and the associated IED are the same, determining that a virtual circuit error occurs between the IED and the associated IED with a larger interval number; In response to the fact that the internal virtual terminal of the IED is connected to the external virtual terminal, the interval numbers of the IED and the associated IED are the same, and the intelligent terminal receiving mother differential branches of the IED and the associated IED are different, it is determined that the virtual circuit of the IED and the associated IED with the larger interval number is wrong.
3. The SCD file virtual circuit detection method based on the intermediate model according to claim 1 is characterized in that: Building a standard virtual circuit model includes: Get the basic and extended properties of the standard IED model; According to the basic properties of the standard IED model, standard virtual terminal templates of different types of IED models are connected to obtain a standard virtual circuit; The virtual connection obtained by performing logical calculation on the extended attributes of the standard IED model and the standard virtual circuit is used as the standard virtual circuit model.
4. The method for detecting virtual circuits in SCD files based on an intermediate model according to claim 3, characterized in that: Judging whether there is a connection relationship between the internal virtual terminal and the external virtual terminal of the IED according to the standard virtual circuit model file and the standard internal virtual terminal description character and the standard external virtual terminal description character of the IED includes: Traversing the standard virtual circuit model, determining whether there is a standard virtual circuit in the virtual circuit model that describes the connection relationship between the internal virtual terminal and the external virtual terminal of the IED; In response to the existence of a standard virtual circuit describing a connection relationship between an internal virtual terminal and an external virtual terminal of the IED, determining that a connection relationship exists between the internal virtual terminal and the external virtual terminal of the IED; In response to the absence of a standard virtual circuit describing a connection relationship between an internal virtual terminal and an external virtual terminal of the IED, it is determined that no connection relationship exists between the internal virtual terminal and the external virtual terminal of the IED.
5. The SCD file virtual circuit detection method based on the intermediate model according to claim 1 is characterized in that: Building a standard mapping model includes: Manufacturers who obtain standard IED models; Obtain the ICD model corresponding to the actual IED model of different models, different manufacturers, different versions, and different check codes; In response to the matching of the model, version number, manufacturer, and structure parameters between the actual IED model and the standard IED model, a mapping relationship is established between the attributes of the IED model and the attributes of the standard IED model; A mapping relationship is established between the attributes of all actual IED models and the attributes of the standard IED model to obtain a standard mapping model.
6. The method for detecting virtual circuits in SCD files based on an intermediate model according to claim 5, characterized in that: Obtaining IED standard internal virtual terminal description characters and standard external virtual terminal description characters includes: For any IED, the attributes of the standard IED model that have a mapping relationship with the attributes of the IED are obtained through the standard mapping model; Determine that the external virtual terminal description character in the attribute of the standard IED model is the standard external virtual terminal description character of the IED; The internal virtual terminal description characters in the attributes of the standard IED model are determined to be standard internal virtual terminal description characters of the IED.
7. A SCD file virtual circuit detection system based on an intermediate model, comprising a processor and a memory, wherein the memory stores a computer program, characterized in that: The processor executes the computer program to implement the SCD file virtual circuit detection method based on the intermediate model as described in any one of claims 1-6.
Citation Information
Cited By
Test method and system for acceptance inspection of intelligent substation
CN119401664A
