Intelligent substation secondary system SDD and SCD model association method
By analyzing and mapping the SDD and SCD model files of the intelligent substation, the association relationship between the devices, optical cables and physical connection points is established, and the problem of lack of mapping relationships between models is solved, and the interaction between models and multi-dimensional display of data is realized, improving the improvement of Fault diagnosis efficiency.
Patent Information
- Application Number
- CN202411437937.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-10-15
AI Technical Summary
In the prior art, it is difficult for the SDD model to describe the virtual loop connection inside the optical cable, and the SCD model to reflect the actual physical optical port information, optical cable information and cable wiring information, resulting in the lack of mapping relationship between the two models, difficulty in application retrieval, and joint insertion cannot be carried out.
By analyzing SDD and SCD model files, the device information, optical cable information and physical connection points are extracted, and the mapping relationship between devices, the mapping relationship between virtual loop ports and physical ports, and the association relationship between physical connection points and ICD nodes within the device is established. , establish virtual and real association files to host all connection relationships.
The interaction between the SDD model and the SCD model is realized, and the problem of physical loop model and IED instance configuration and communication interoperability is solved. It provides data support for the multi-dimensional panoramic display of substations, construction acceptance and operation inspection, and abnormal analysis and fault diagnosis in various links, improving Loop displays integrity and fault diagnosis efficiency.
Smart Images

Figure CN119397758A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power secondary systems, and in particular to a method for associating SDD and SCD models of a secondary system of an intelligent substation. Background Art
[0002] In smart substations, the signal sampling and other information of primary equipment is generally connected to process layer IED devices such as intelligent components through cables in the physical loop. The process layer IED devices connect their own signals to the protection and measurement and control and other interval layer IED devices through virtual terminals through optical cable media in a communication manner. The protection and measurement and control and other interval layer IED devices communicate with the station control layer devices such as remote motors and backstage machines to fully reflect the information of the substation. The physical loop information such as cable wiring and optical cable laying is described by the SDD model, while the virtual loop information between the process layer equipment and the interval layer equipment is described by the SCD model. It can be seen that the SDD model can describe the physical information such as cable wiring and optical cable laying, but it is difficult to describe how the virtual loop inside the optical cable is connected; the SCD model can describe how the virtual loop inside the optical cable is connected, but it is difficult to reflect the actual physical optical port information, optical cable information, cable wiring and other information. The two models lack a mapping relationship, and it is difficult to retrieve in actual application, and it is impossible to jointly insert the two sets of models. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method for associating SDD and SCD models of the secondary system of an intelligent substation, so as to solve the technical problems that the DD model in the prior art can describe physical information such as cable wiring and optical cable laying, but it is difficult to describe how the virtual circuit inside the optical cable is connected; the SCD model can describe how the virtual circuit inside the optical cable is connected, but it is difficult to reflect the actual physical optical port information, optical cable information, cable wiring information, etc. The two models lack a mapping relationship, the actual application retrieval is difficult, and the two sets of models cannot be jointly inserted.
[0004] Technical solution of the present invention:
[0005] A method for associating SDD and SCD models of a secondary system of a smart substation, the method comprising:
[0006] Step 1: parse the SDD and SCD model files respectively, extract device information and establish mapping relationships between devices;
[0007] Step 2, respectively parse the SDD and SCD model files, extract the optical cable information and establish the mapping relationship between the virtual circuit port and the physical port;
[0008] Step 3, respectively parse the SDD and SCD model files to extract the association between the physical connection points inside the device and the ICD nodes;
[0009] Step 4: Create a virtual-real association file *.smap to carry all connection relationships.
[0010] The method for extracting device information and establishing a mapping relationship between devices includes:
[0011] Step 1.1, traverse all Device elements in the SDD model file, extract the name and desc attributes of the cabinet where the device is located, extract the iedName, desc and model attributes of the device, and record them as CubicleName, CubicleDesc, iedName, DeviceDesc and DeviceModel respectively;
[0012] Step 1.2, extract the feature code from the attribute according to the space character "-", form an array of {{screen cabinet name}, {screen cabinet description}, {device location and number}, {device description} and {device model}}, and use the array as the input of the hash code to form a unique hash code for the device in the SDD model file;
[0013] Step 1.3, in the SCD model file, traverse all devices, extract the iedName, description, and model of the device, combine them into a "iedName-description-model" string, and use the string as the input of the hash code to form a unique hash code for the device in the SCD model file;
[0014] Step 1.4, match the device string obtained in step 1.3 with the feature code extracted in step 1.2, record the successful feature match as the same device, and store the device iedname, device feature code, device hash code of SDD, device iedname in SDD, combined string and device hash code in the Device part of the smap file to complete the matching of the SDD model file and the SCD model file device.
[0015] The method for extracting optical cable information and establishing a mapping relationship between a virtual circuit port and a physical port includes:
[0016] Step 2.1, in the SDD model file, traverse the optical communication ports of each device according to port type type="FP", extract the device and board where the port is located, and form a unique code iedName / slot / no;
[0017] Step 2.2, traverse the SCD model file by device, extract the port information of each device, and form a unique code iedName-port number;
[0018] Step 2.3, match the devices according to the Device correspondence recorded in the bearer file, and sort the optical ports of each device in the SDD file by slot-no, and sort the optical ports of each device in the SCD file by port number. Both are in ascending or descending order. The groups with the same sequence number are paired. The iedName / slot / no information in the SDD file and the iedName-port number information in the SCD file are recorded in pairs in the bearer file to complete the port matching.
[0019] The method for extracting the association relationship between the physical connection point inside the device and the ICD node includes:
[0020] Step 3.1, traverse the five types of ports in SDD: input, output, voltage, current and DC, and extract the port information iedName / slot / no;
[0021] Step 3.2, traverse the sending data set of the device in the SCD model, extract the data object reference name LD / LN.DO.DA and the corresponding short address, parse the short address and split it according to the similar structure of the SDD file, combine it with the device iedName, and combine it into iedName / slot / no;
[0022] Step 3.3. According to the corresponding relationship between the SDD model and the device in the SCD model, match the board number slot and the port number no, obtain the association between the device backplane wiring pin and the ICD node in the SCD model, record the port information iedName / slot / no in the SDD file and the ICD node information iedName / LD / LN.DO.DA in the SCD file into the bearer file to complete the port matching.
[0023] The method of establishing a virtual-real association file *.smap, which carries all connection relationships, includes: completing the mapping of devices between two models, the mapping of optical fiber connection ports, and the mapping of physical connection points inside the device and ICD nodes respectively, and then establishing a virtual-real association file, which includes the connection relationships at the device level, port level and connection point level; the mapping of SDD model and SCD model devices is recorded at the device level, including "SDD device iedname, device feature code, device hash code, device iedname in SDD, combined string and device hash code"; the mapping of optical fiber connection ports between SDD model and SCD model is recorded at the port level, including "iedName / slot / no information in SDD file and iedName-port number information in SCD file"; the mapping of physical connection points inside the device and ICD nodes in SCD is recorded at the connection point level, including "port information in SDD file (iedName / slot / no) and ICD node information in SCD file (iedName / LD / LN.DO.DA)".
[0024] Beneficial effects of the present invention:
[0025] The present invention completes the interaction between the SDD model and the SCD model by establishing an associated mapping relationship between the SDD model and the SCD model, solves the problem of physical loop model and IED instance configuration and communication interoperability, provides data support for multi-dimensional panoramic display of substations, construction acceptance and abnormal analysis and fault diagnosis in various links of operation and inspection, improves loop display integrity, and improves fault diagnosis efficiency.
[0026] The DD model in the prior art can describe physical information such as cable wiring and optical cable laying, but it is difficult to describe how the virtual circuit inside the optical cable is connected; the SCD model can describe how the virtual circuit inside the optical cable is connected, but it is difficult to reflect the actual physical optical port information, optical cable information, cable wiring, etc. The two models lack a mapping relationship, which makes practical application retrieval difficult and the two models cannot be jointly inserted. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The figure is a schematic diagram for explaining the association mapping in a specific implementation. DETAILED DESCRIPTION
[0028] The SDD in the present invention is a substation digital design description, Substation Digital Design Description, referred to as SDD; and the SCD is a substation system configuration description, Substation Configuration Description, referred to as SCD.
[0029] A method for associating SDD and SCD models of a secondary system of a smart substation, specifically comprising:
[0030] Step 1: parse the SDD and SCD model files respectively, extract device information, and establish mapping relationships between devices.
[0031] In the SDD model file, each secondary device is stored in the form of "Substation-Cubicles-Device". Each device corresponds to a "Device" element. Each Device element contains "iedName", "cubicle", "inst", "desc", "model", "vendor" and other elements, which represent the device name, cabinet name, device serial number in the cabinet, device Chinese description, device model, and device manufacturer. Among them, iedName is the unique description of the device. Before the device IDD model is instantiated, iedName is consistent with the name attribute under the IED element in the ICD or CID file of the device. After the IDD model is instantiated, the iedName identification method uses the "cubicle / inst" method (such as "P9 / 1-1n") as its own unique identification. In the SCD model file, each secondary device uses iedName as its own unique identifier. The naming rule of this identifier is the same as the iedName naming method in IEC 61850 communication (such as "C_L1101X"). It can be seen that there is no direct correspondence between the unique identifiers of the same device in the SDD model and the SCD model. The following method can be used to correspond.
[0032] Step 1.1: In the SDD model file, traverse all Device elements, extract the name and desc attributes of the cabinet where the device is located, extract the iedName, desc, and model attributes of the device, and record them as CubicleName, CubicleDesc, iedName, DeviceDesc, and DeviceModel respectively.
[0033] Step 1.2, extract the feature code from the attributes in the previous step based on the space character and "-" to form an array of {{screen cabinet name}, {screen cabinet description}, {device location and number}, {device description}, {device model}}, and use the array as the input of the hash code to form a unique hash code for the device in the SDD model file.
[0034] Step 1.3: In the SCD model file, traverse all devices, extract the device's iedName, description, and model, combine them into an "iedName-description-model" string, and use the string as the input of the hash code to form a unique hash code for the device in the SCD model file.
[0035] Step 1.4, match the device string obtained in step ③ with the feature code extracted in step ②. If the feature match is successful, record it as the same device, and store the device iedname, device feature code, device hash code of SDD, device iedname in SDD, combined string, and device hash code in the Device part of the smap file to complete the matching of the SDD model file and the SCD model file device.
[0036] Through the above method, the problem of irrelevance of the unique identifiers of the SDD model and the SCD model devices is solved, and the device mapping association between the SDD model and the SCD model is realized. It is the basis for the association between the SDD model and the SCD model, and provides the possibility for the optical port and backplane wiring interconnection between the two models.
[0037] Step 2: parse the SDD and SCD model files respectively, extract the optical cable information, and establish a mapping relationship between the virtual circuit port and the physical port.
[0038] The process layer IED device communicates with the bay layer IED device through the physical optical fiber medium. The SDD model describes the connection relationship and port relationship of optical cables, jumpers and other media, and the SCD describes the connection relationship and port relationship of virtual terminals in the communication medium. The port names of the two are different. It is necessary to associate the physical connection corresponding to the optical cable in the SDD with the port mapping of the virtual circuit.
[0039] In the SDD model, each optical port of the device is a "Port" element, which contains attributes such as "no" and "type", which are the terminal number and terminal type respectively. The terminal number corresponds to the name of the terminal in the device configuration diagram. One is a graphical object representing the terminal, and the other is the attribute configuration of the terminal. The index description of the device terminal is composed of the unique identifiers of each layer spliced by the symbol " / " (iedName / slot / no). In SCD, the device port is generated in sequence, and the format is board number-board internal number. If the device has only one board, the board number may be omitted. It can be seen that the board numbers of both are the numbers of the board where the optical port is located, and the board numbers are not necessarily the same. For example, the port numbers in SDD are G1~G8, while the numbers in SCD are AH, and the two cannot be directly matched. You can follow the steps below.
[0040] Step 2.1: In the SDD model file, traverse the optical communication ports of each device according to the port type (type = "FP"), extract the device and board where the port is located, and form a unique code iedName / slot / no.
[0041] Step 2.2: Traverse the SCD model file by device, extract the port information of each device, and form a unique code iedName-port number.
[0042] Step 2.3, match the devices according to the Device correspondence recorded in the bearer file, and sort the optical ports of each device in the SDD file by slot-no, and sort the optical ports of each device in the SCD file by port number. Both are in ascending or descending order. The groups with the same sequence number are paired. The iedName / slot / no information in the SDD file and the iedName-port number information in the SCD file are recorded in pairs in the bearer file to complete the port matching.
[0043] Through the above method, the optical ports in the SDD model and the SCD model are matched one by one, and the optical ports of the two model systems are interconnected, providing a data basis for analyzing the optoelectronic signal conversion and the signal transmission path.
[0044] Step 3: Analyze the SDD and SCD model files respectively to extract the relationship between the physical connection points inside the device and the ICD nodes
[0045] For process layer IED devices such as intelligent components, the physical loop is associated with the process layer signal of the ICD model through internal mapping, and then associated with the process layer logical device of the interval layer device through virtual terminal connection; for interval layer devices such as protection, measurement and control, the real loop is associated with the station control layer logical device of the ICD model through internal mapping.
[0046] To complete the above mapping relationship, it is first necessary to establish the association relationship between the ICD model data object (DO) of the IED device and its own signal acquisition element.
[0047] In the SDD model, the Device element describes the instantiated electrical equipment, which can contain one or more board elements, and the board element can contain one or more port elements. The port element represents the terminal and contains attributes such as no, desc, icdRef, type, and graphId. Among them, the port types are open input, open output, voltage, current, and DC. The five types of ports need to correspond to the data sets in the SCD model, and the rest of the grounding, serial port, etc. do not need to correspond.
[0048] Step 3.1, traverse the five types of ports in SDD: input, output, voltage, current, and DC, and extract the port information (iedName / slot / no).
[0049] Step 3.2, traverse the sending data set of the device in the SCD model, extract the data object reference name (LD / LN.DO.DA) and the corresponding short address (such as YX:B02.BI_E_01), and parse the short address. Take YX:B02.BI_E_01 as an example, split it into slot=02, no=01 according to the similar structure of the SDD file, and combine it with the device iedName to form iedName / slot / no.
[0050] Step 3.3, according to the above steps, obtain the corresponding relationship between the SDD model and the device in the SCD model, and match the board number slot and port number no, and obtain the association between the device backplane connection pin and the ICD node in the SCD model. Record the port information (iedName / slot / no) in the SDD file and the ICD node information (iedName / LD / LN.DO.DA) in the SCD file into the bearer file to complete the port matching.
[0051] The above method realizes the association between the device backplane wiring pins in the SDD model file and the ICD nodes in the SCD model file, and corresponds the input, output and analog sampling backplane information with the DO / DA information of the ICD. It is a key step in analyzing the transmission of the entire signal and all links, and solves the problem that the physical circuit and virtual circuit of the traditional model cannot communicate with each other.
[0052] Step 4: Create a virtual-real association file *.smap to carry the above connection relationship.
[0053] Through the above steps, the mapping of devices between the two models, the mapping of fiber connection ports, and the mapping of physical connection points inside the device and ICD nodes are completed respectively. By establishing a virtual-real association file, it contains the connection relationship at the device level, port level, and connection point level. The device level records the mapping of SDD model and SCD model devices, and the main content is "SDD device iedname, device feature code, device hash code, SDD device iedname, combined string, device hash code", the port level records the mapping of fiber connection ports between the SDD model and the SCD model, and the main content is "SDD file iedName / slot / no information, SCD file iedName-port number information", and the connection point level records the mapping of physical connection points inside the device and ICD nodes in SCD, and the main content is "SDD file port information (iedName / slot / no) and SCD file ICD node information (iedName / LD / LN.DO.DA)".
[0054] The above method records the association between the SDD model file and the SCD model file through the carrier file, and stores them one by one from the three levels of device-optical port-backplane wiring, avoiding multiple analysis of advanced applications in subsequent links and improving the matching efficiency of subsequent applications.
Claims
1. A method for associating SDD and SCD models of a secondary system of a smart substation, characterized by: The method comprises: Step 1: parse the SDD and SCD model files respectively, extract device information and establish mapping relationships between devices; Step 2, respectively parse the SDD and SCD model files, extract the optical cable information and establish the mapping relationship between the virtual circuit port and the physical port; Step 3, respectively parse the SDD and SCD model files to extract the association between the physical connection points inside the device and the ICD nodes; Step 4: Create a virtual-real association file *.smap to carry all connection relationships.
2. A method for associating SDD and SCD models of a secondary system of a smart substation according to claim 1, characterized in that: The method for extracting device information and establishing a mapping relationship between devices includes: Step 1.1, traverse all Device elements in the SDD model file, extract the name and desc attributes of the cabinet where the device is located, extract the iedName, desc and model attributes of the device, and record them as CubicleName, CubicleDesc, iedName, DeviceDesc and DeviceModel respectively; Step 1.2, extract the feature code from the attribute according to the space character "-", form an array of {{screen cabinet name}, {screen cabinet description}, {device location and number}, {device description} and {device model}}, and use the array as the input of the hash code to form a unique hash code for the device in the SDD model file; Step 1.3, in the SCD model file, traverse all devices, extract the device's iedName, description, and model, combine them into a "iedName-description-model" string, and use the string as the input of the hash code to form a unique hash code for the device in the SCD model file; Step 1.4, match the device string obtained in step 1.3 with the feature code extracted in step 1.2, record the successful feature match as the same device, and store the device iedname, device feature code, device hash code of SDD, device iedname in SDD, combined string and device hash code in the Device part of the smap file to complete the matching of the SDD model file and the SCD model file device.
3. A method for associating SDD and SCD models of a secondary system of a smart substation according to claim 1, characterized in that: The method for extracting optical cable information and establishing a mapping relationship between a virtual circuit port and a physical port includes: Step 2.1, in the SDD model file, traverse the optical communication ports of each device according to port type type="FP", extract the device and board where the port is located, and form a unique code iedName / slot / no; Step 2.2, traverse the SCD model file by device, extract the port information of each device, and form a unique code iedName-port number; Step 2.3, match the devices according to the Device correspondence recorded in the bearer file, and sort the optical ports of each device in the SDD file by slot-no, and sort the optical ports of each device in the SCD file by port number. Both are in ascending or descending order. The groups with the same sequence number are paired. The iedName / slot / no information in the SDD file and the iedName-port number information in the SCD file are recorded in pairs in the bearer file to complete the port matching.
4. A method for associating SDD and SCD models of a secondary system of a smart substation according to claim 1, characterized in that: The method for extracting the association relationship between the physical connection point inside the device and the ICD node includes: Step 3.1, traverse the five types of ports in SDD: input, output, voltage, current and DC, and extract the port information iedName / slot / no; Step 3.2, traverse the sending data set of the device in the SCD model, extract the data object reference name LD / LN.DO.DA and the corresponding short address, parse the short address and split it according to the similar structure of the SDD file, combine it with the device iedName, and combine it into iedName / slot / no; Step 3.
3. According to the corresponding relationship between the SDD model and the device in the SCD model, match the board number slot and the port number no, obtain the association between the device backplane wiring pin and the ICD node in the SCD model, record the port information iedName / slot / no in the SDD file and the ICD node information iedName / LD / LN.DO.DA in the SCD file into the bearer file to complete the port matching.
5. The method for associating SDD and SCD models of a secondary system of a smart substation according to claim 1, characterized in that: The method of establishing a virtual-real association file *.smap, which carries all connection relationships, includes: completing the mapping of devices between two models, the mapping of optical fiber connection ports, and the mapping of physical connection points inside the device and ICD nodes respectively, and then establishing a virtual-real association file, which includes the connection relationships at the device level, port level and connection point level; the mapping of SDD model and SCD model devices is recorded at the device level, including "SDD device iedname, device feature code, device hash code, device iedname in SDD, combined string and device hash code"; the mapping of optical fiber connection ports between SDD model and SCD model is recorded at the port level, including "iedName / slot / no information in SDD file and iedName-port number information in SCD file"; the mapping of physical connection points inside the device and ICD nodes in SCD is recorded at the connection point level, including "port information (iedName / slot / no) in SDD file and ICD node information (iedName / LD / LN.DO.DA) in SCD file".
Citation Information
Patent Citations
Physical loop extension and automatic virtual-real mapping method based on SCD (System Configuration Description) file
CN104820755A
Method for automatically associating information of physical link and virtual terminal of transformer substation
CN113395317A
Method for constructing unified data platform of digital twin system of transformer substation
CN117114647A
Substation secondary system loop defect searching method based on AR technology
CN117173374A
Secondary photoelectric circuit automatic mapping method based on intelligent substation model file
CN117195812A