Intelligent substation secondary equipment loop information association mapping method based on SCD model

By using a method based on the SCD model, the automatic association mapping of all circuit information of secondary equipment in intelligent substations was realized, which solved the problem of unintuitive association of secondary equipment information in existing technologies and improved the efficiency and accuracy of fault diagnosis.

CN115345093BActive Publication Date: 2026-02-10NARI NANJING CONTROL SYSTEM CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210738179.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2026-02-10
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In smart substations, existing technologies struggle to achieve automatic association mapping of secondary equipment circuit information without altering SCD model file information, resulting in low efficiency in communication link fault diagnosis and maintenance.

Method used

Using the SCD model-based method, the computer loads the SCD model file, performs information association mapping between secondary equipment and voltage levels, primary equipment intervals, virtual circuits and physical circuits, defines output and input control blocks, parses relevant element labels, establishes unique identifier indexes, traverses virtual terminals and physical terminals, and achieves full association mapping.

Benefits of technology

It realizes multi-level information association mapping from substations to secondary equipment, improves association efficiency and accuracy, avoids errors caused by manual modification, and supports secondary equipment status monitoring and fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115345093B_ABST
    Figure CN115345093B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on SCD model's intelligent substation secondary equipment loop information association mapping method, including steps (1) computer loads SCD model file;(2) computer completes secondary equipment and voltage grade and the information association mapping between belonging primary equipment interval, secondary equipment virtual loop information association mapping and secondary equipment physical loop information association mapping;(3) computer completes the full association mapping of secondary equipment virtual loop and physical loop.The present application is completely based on existing intelligent substation SCD model file, on the basis that the information of existing SCD model file is not changed, realizes the automatic association mapping of secondary equipment full loop information, and provides method support for the topological association information required for subsequent intelligent substation secondary equipment loop related application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for troubleshooting fault events in intelligent substations, and more particularly to a method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model. Background Technology

[0002] With the continuous development of intelligent substation secondary systems based on IEC 61850 information modeling, new changes have emerged in the modeling of connection relationships between secondary equipment. In addition to modeling the traditional, visually observable fiber optic or network communication connections between secondary equipment, the SCD model file also models virtual loops by using virtual terminal connections to connect different information transmitted through a single physical channel.

[0003] The emergence of virtual loops provides a clearer definition of information transmitted in physical channels, such as sampled data (SV) information and substation event (GOOSE) information for general objects. These virtual loops, defined in the SCD model file, enable ordered transmission between different secondary devices. However, the relationships between virtual loops between different secondary devices are not intuitive, and since the information transmission of virtual loops ultimately relies on physical channels, clarifying the mapping between virtual and physical loops is a primary issue that must be addressed. From a practical application perspective, communication link failures are a common problem in the operation and maintenance of smart substations. Because multiple virtual loops are carried on physical loops, a physical loop failure can lead to simultaneous failures in multiple virtual loops. Currently, to address this issue, maintenance personnel have begun using visualization methods to draw different loop diagrams of secondary devices for operational observation. A review of relevant literature indicates that existing methods for secondary device loop information association mainly target physical loops or virtual loops themselves. For full-loop information association of secondary devices, existing methods require extended definitions of the SCD model file. As the secondary equipment modeling information in the SCD model file continues to become richer, how to automatically associate and map the full-circuit information of the secondary equipment without changing the existing SCD model file information has become a problem that needs to be solved in the implementation of advanced applications such as secondary equipment condition monitoring and fault diagnosis. Summary of the Invention

[0004] Purpose of the invention: To address the above problems, this invention proposes a method for associating and mapping the circuit information of secondary equipment in intelligent substations based on the SCD model. Without changing the existing SCD model file information, it realizes the automatic association and mapping of the circuit information of secondary equipment, providing basic data support for advanced applications such as status monitoring and fault diagnosis of the circuit information of secondary equipment.

[0005] Technical Solution: The technical solution adopted in this invention is a method for associating and mapping the secondary equipment circuit information of a smart substation based on the SCD model, including the following steps: (1) The computer loads the SCD model file; (2) The computer completes the information association mapping between secondary equipment and voltage level, the information association mapping between secondary equipment and its primary equipment bay, the information association mapping of virtual circuits of secondary equipment, and the information association mapping of physical circuits of secondary equipment; The information association mapping between secondary equipment and voltage level, and the information association mapping between secondary equipment and its primary equipment bay, are based on the node attribute information such as VoltageLevel, Bay, and LNode under the Substation element in the SCD model, and form a hierarchical association relationship between the substation, voltage level, primary equipment bay, and secondary equipment through association matching; The information association mapping of virtual circuits of secondary equipment includes the following process First, define and classify virtual loop control blocks for secondary equipment. The classification includes output control blocks and input control blocks. The output control blocks include GOOSE output control blocks and SV output control blocks. The GSEControl and SampledValueControl element tags in the SCD model are parsed respectively. The input control blocks parse the Inputs element tags in the SCD model. The input control blocks and output control blocks define unique identifier indexes, virtual terminal node counts, and virtual terminal node information respectively. Then, traverse the unique identifier indexes of the output virtual terminals and the unique identifier indexes of the input virtual terminals of different secondary equipment. If they are consistent, establish a virtual loop information association mapping for different secondary equipment. (3) The computer completes the full association mapping between the virtual loops and physical loops of the secondary equipment. The full association is divided into the association between input virtual terminals and physical terminals, and the association between output virtual terminals and physical terminals.

[0006] Different secondary equipment is associated with voltage levels and primary equipment bay information. Based on the node attribute information such as VoltageLevel, Bay, and LNode under the Substation element in the SCD model, a hierarchical relationship of substation → voltage level → primary equipment bay → secondary equipment is formed through association matching.

[0007] The virtual loop information of different secondary devices is associated, and virtual loop control blocks are defined and classified for secondary devices, including output control blocks and input control blocks. Output control blocks include two types: GOOSE output control blocks and SV output control blocks, whose relevant information is obtained by parsing the GSEControl and SampledValueControl element tags in the SCD model, respectively. Input control blocks obtain relevant information by parsing the Inputs element tags in the SCD model. Each control block internally defines a unique identifier index, the number of virtual terminal nodes, and other information. Specifically, the following steps are included:

[0008] (1) Locate the GSEControl and SampledValueControl element tags in the SCD model file respectively, use them as output control blocks, extract the name attribute of the GSEControl and SampledValueControl nodes to the variable cbName, and extract the datSet attribute of the GSEControl and SampledValueControl nodes to the variable datSet.

[0009] (2) Starting from the current GSEControl and SampledValueControl nodes, locate the relevant parent nodes LN0, LDevice, AccessPoint and IED nodes in sequence; extract the lnClass, inst and prefix attributes of the LN0 node to the variables lnClass, lnInst and lnPrefix respectively; extract the inst attribute of the LDevice node to the variable ldName; extract the name attribute of the AccessPoint node to the variable apnodeName; extract the name attribute of the IED node to the variable iedName; the output control block unique identifier index is defined as follows: iedName: apnodeName: ldName: lnPrefix+lnClass+lnInst: cbName, where the symbol "+" is not included in the unique identifier index, but only represents the sum of the three;

[0010] (3) Based on the dataset name attribute of the GSEControl and SampledValueControl element labels, locate the relevant dataset DataSet node in the SCD model file, extract the functional constraint attribute FCDA child node from the DataSet node, and count the number of child nodes as the virtual terminal of the corresponding GSEControl or SampledValueControl output block, referred to as the output virtual terminal; the extracted output virtual terminal information includes the unique identifier index ref and the Chinese description desc; the unique identifier index of the output virtual terminal is defined as follows: the device IED name where the virtual terminal is located + "." + the unique identifier index of the FCDA node, where the symbol "+" is not included in the unique identifier index, but only represents the sum of the three;

[0011] (4) Locate the Inputs element tag in the SCD model file, use it as the input control block, and use the method in step (2) to obtain the relevant information that makes up the unique identifier index; the unique identifier index of the input control block is defined as follows: iedName: apnodeName: ldName: lnPrefix+lnClass+lnInst, where the symbol "+" is not included in the unique identifier index, but only represents the sum of the three;

[0012] (5) Extract the ExtRef child node information of the Inputs element tag as the virtual terminal of the corresponding input control block, referred to as the input virtual terminal; extract the iedName, ldInst, lnClass, inst, prefx, doName, daName and intAddr attributes of the ExtRef child node to the variables iedName, ldInst, lnClass, lnInst, lnPrefix, doName, daName and intAddr; the unique identifier index of the input virtual terminal is defined as follows: iedName.ldInst / ldName+lnPrefix+lnClass+lnInst.doName.daName, where the symbol "+" is not included in the unique identifier index, but only represents the sum of the three;

[0013] (6) Traverse the unique identifier index of the output virtual terminal and the unique identifier index of the input virtual terminal of different secondary devices respectively. If the two are consistent, establish the association mapping of virtual circuit information of different secondary devices.

[0014] The physical circuit information of different secondary equipment is associated and mapped. Referring to the definition of the virtual circuit control block for secondary equipment, a physical circuit control block is designed. Relevant information is obtained by parsing the ConnectedAP element tags in the SCD model. The physical control block internally defines information such as a unique identifier index, the number of physical terminal nodes, and the physical terminal node information. Specifically, this includes the following steps:

[0015] (1) Locate the ConnectedAP element tag in the SCD model file, extract the iedName attribute of the ConnectedAP node to the variable iedName, extract the apName attribute of the ConnectedAP node to the variable apName, and extract the desc attribute of the ConnectedAP node to the variable desc;

[0016] (2) Starting from the current ConnectedAP node, locate the parent node SubNetwork, extract the name attribute of the parent node of SubNetwork to the variable subNetworkName, and define the unique identifier index of the physical control block as follows: subNetworkName.iedName.apName;

[0017] (3) Extract the PhysConn child node information of the ConnectedAP element tag as the physical terminal of the corresponding physical control block, and extract the Cable and Port attributes of the PhysConn child node into the variables physicalPort_Cable and physicalPort_Port. The Cable attribute is used as the unique identifier index of the corresponding physical terminal.

[0018] (4) Traverse the unique identifier index of the physical terminals of different secondary devices respectively. If the two are consistent, establish the association mapping of physical circuit information of different secondary devices.

[0019] The fully associative mapping between virtual and physical loops of different secondary devices, starting from the input virtual terminal IVT of secondary device A itself. a Start by inputting the virtual terminal IVT. a and its own physical terminal PT a Perform association mapping. Then, based on the virtual loop information that has been associated and mapped between different secondary devices, find the output virtual terminal (OVT) of other secondary device B that is associated and mapped with secondary device A. b Simultaneously, based on the physical circuit information that has been mapped between different secondary devices, the physical terminal PT of the other secondary device B that is mapped to secondary device A is located. b At this point, if the other secondary device B mapped by the physical loop is a switch, the recursive query continues until it is found that the secondary device B mapped by the virtual loop and the secondary device B mapped by the physical loop are the same secondary device. Then, the output virtual terminal OVT of the mapped secondary device B is set. b With its own physical terminal PT b Establish the association mapping. Then, repeat the above process for all secondary devices in sequence to complete the full association mapping between all virtual circuits (including input virtual terminals and output virtual terminals) and physical circuits (physical terminals) of all secondary devices.

[0020] Beneficial Effects: Compared with existing technologies, this invention has the following advantages: 1. It performs a full-circuit association mapping for the secondary equipment of intelligent substations and associates it with voltage levels and primary equipment bays, forming a multi-level information association mapping: substation → voltage level → primary equipment bay → secondary equipment → control block {physical circuit control block and virtual circuit control block (input control block and output control block)} → terminal {physical terminal and virtual terminal (input virtual terminal and output virtual terminal)}. 2. This invention divides control blocks into output control blocks and input control blocks, and virtual circuit terminals include input virtual terminals and output virtual terminals. It defines unique identifiers for input virtual terminals and output virtual terminals, and establishes a virtual circuit information association mapping for different secondary equipment by traversing the unique identifiers of the output virtual terminals and input virtual terminals of different secondary equipment. 3. This invention divides the association between virtual circuits and physical circuits into the association between input virtual terminals and physical terminals and the association between output virtual terminals and physical terminals. Through the mapping of input virtual terminal → physical terminal → associated physical terminal → output virtual terminal associated with input virtual terminal → comparison mapping, the association between virtual circuits and physical circuits is realized, improving the association efficiency and accuracy. 4. This invention locates the ConnectedAP element tag in the SCD model file, obtains the Cable attribute of the PhysConn child node, and uses the Cable attribute as a unique identifier index for the corresponding physical terminal. It then iterates and matches different secondary device physical terminals to establish the association mapping of physical circuits. 5. Based on the existing SCD model file, automatic association mapping is performed. With the secondary device connection relationships correctly modeled, there is no need to modify the existing SCD model file again, avoiding the possibility of incorrect association of secondary device circuit information due to manual configuration modifications. Attached Figure Description

[0021] Figure 1 This is a flowchart illustrating the method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model as described in this invention.

[0022] Figure 2 This is a flowchart illustrating the association and mapping process between different secondary devices and voltage levels and their corresponding primary device interval information as described in this invention.

[0023] Figure 3 This is a flowchart of the virtual circuit information association mapping process for different secondary devices as described in this invention;

[0024] Figure 4 This is a flowchart of the physical circuit information association mapping process for different secondary devices as described in this invention;

[0025] Figure 5 This is a flowchart of the information association mapping process for virtual and physical circuits of different secondary devices as described in this invention. Detailed Implementation

[0026] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0027] The method for associating and mapping secondary equipment circuit information of intelligent substation based on SCD model described in this invention includes the following steps: (1) the computer loads the SCD model file; (2) the computer completes the information association mapping between secondary equipment and voltage level, the information association mapping between secondary equipment and its primary equipment bay, the information association mapping between secondary equipment virtual circuits and the information association mapping between secondary equipment physical circuits; (3) the computer completes the full association mapping between the virtual circuits and physical circuits of secondary equipment.

[0028] The mapping of information related to different secondary devices and voltage levels, their intervals with primary devices, virtual circuits of different secondary devices, and physical circuits of different secondary devices relies on specific information in the SCD model file. This is achieved by pre-loading the SCD model file, loading the node data to be analyzed into memory, and then using a multi-threaded approach to process the mapping of information related to different secondary devices and voltage levels, their intervals with primary devices, virtual circuits of different secondary devices, and physical circuits of different secondary devices. After all three are processed, a final full mapping of the virtual and physical circuits of different secondary devices is performed. The specific process is as follows: Figure 1 As shown.

[0029] 1. A mapping system associates different secondary equipment with voltage levels and their corresponding primary equipment bays. This primarily involves a preliminary classification of secondary equipment, facilitating hierarchical management based on the relationship between substation → voltage level → primary equipment bay. The process is as follows: Figure 2 As shown, the specific steps include:

[0030] Step (1) Define the substation structure, whose member attributes include: Chinese name (char* pointer type), number of voltage levels (int type), and voltage level object pointer (char* pointer type); voltage level structure, whose member attributes include: Chinese name (char* pointer type), number of primary equipment bays (int type), and primary equipment bay object pointer (char* pointer type); primary equipment bay structure, whose member attributes include: Chinese name (char* pointer type), number of LNode nodes (int type), and LNode node object pointer (char* pointer type); LNode structure, whose member attributes include: unique identifier index (char* pointer type) and secondary equipment English name iedName (char* pointer type).

[0031] Step (2): Locate the Substation element tag in the SCD model file and obtain all VoltageLevel child node information under it, including the voltage level name (name attribute of the VoltageLevel node) and the number of primary equipment bays (Bay child nodes of the VoltageLevel node). According to the association relationship established in the SCD model, map the above information to the substation and voltage level structure variables defined in step (1), thereby establishing the association mapping relationship between the substation, voltage level and primary equipment bay.

[0032] Step (3): Iterate through all Bay child node information under each VoltageLevel node, including the interval name (name attribute of the Bay node) and the number of LNode nodes contained. According to the association relationship established in the SCD model, map the primary equipment interval information to the primary equipment interval and LNode structure variables, thereby establishing the association mapping relationship between the primary equipment interval and LNode nodes.

[0033] Step (4): Sequentially obtain the iedName attribute from each LNode node, associate it with the iedName attribute member of the LNode structure variable, and establish the association mapping relationship between the secondary equipment and the primary equipment interval through the iedName attribute, thereby finally forming the hierarchical association relationship of: substation → voltage level → primary equipment interval → secondary equipment.

[0034] 2. Associate virtual loop information for different secondary devices. Define and classify virtual loop control blocks for secondary devices, including output control blocks and input control blocks. Output control blocks include two types: GOOSE output control blocks and SV output control blocks. Relevant information is obtained by parsing the GSEControl and SampledValueControl element tags in the SCD model, respectively. Input control blocks obtain relevant information by parsing the Inputs element tags in the SCD model. The process is as follows: Figure 3 As shown, the specific steps include:

[0035] Step (1) Define a virtual loop control block structure, whose member attributes include: control block type (int type, 0: input control block, 1: output control block), unique identifier index (char* pointer type), control block name (char* pointer type), dataset name (Chinese name (char* pointer type), number of virtual terminal nodes (int type), pointer to virtual terminal object (char* pointer type); virtual terminal structure, whose member attributes include: terminal type (int type), unique identifier index (char* pointer type), and Chinese name (char* pointer type).

[0036] Step (2): Locate the GSEControl and SampledValueControl element tags in the SCD model file respectively, and extract the control block name (name attribute of GSEControl and SampledValueControl nodes) to the variable cbName and the dataset name (datSet attribute of GSEControl and SampledValueControl nodes) to the variable datSet respectively.

[0037] Step (3): Starting from the current GSEControl and SampledValueControl nodes, locate the relevant parent nodes LN0, LDevice, AccessPoint, and IED nodes in sequence. Extract the lnClass, inst, and prefix attributes of the LN0 node to the variables lnClass, lnInst, and lnPrefix, respectively; extract the inst attribute of the LDevice node to the variable ldName; extract the name attribute of the AccessPoint node to the variable apnodeName; and extract the name attribute of the IED node to the variable iedName. Define the unique identifier index of the output control block as follows: iedName:apnodeName:ldName:lnPrefix+lnClass+lnInst:cbName, where the symbol "+" is not included in the unique identifier index and only represents the sum of the three.

[0038] Step (4): Based on the dataset name attribute of the GSEControl and SampledValueControl element labels, locate the relevant dataset DataSet node in the SCD model file, extract the functional constraint attribute FCDA child node from the DataSet node, and count the number of child nodes as the virtual terminal of the output block of the GSEControl or SampledValueControl, referred to as the output virtual terminal. The extracted output virtual terminal information includes the unique identifier index (ref), Chinese description (desc), etc. The unique identifier index of the output virtual terminal is defined as follows: the device IED name where the virtual terminal is located + "." + the unique identifier index of the FCDA node, where the symbol "+" is not included in the unique identifier index, but only represents the sum of the three.

[0039] Step (5) locates the Inputs element tag in the SCD model file and uses it as the input control block. Similar to step (3), it obtains the relevant information that makes up the unique identifier index. The unique identifier index of the input control block is defined as follows: iedName: apnodeName: ldName: lnPrefix+lnClass+lnInst, where the symbol "+" is not included in the unique identifier index and only represents the sum of the three.

[0040] Step (6) extracts the ExtRef child node information of the Inputs element tag as the virtual terminal of this input control block, referred to as the input virtual terminal. The iedName, ldInst, lnClass, inst, prefix, doName, daName, and intAddr attributes of the ExtRef child nodes are extracted into the variables iedName, ldInst, lnClass, lnInst, lnPrefix, doName, daName, and intAddr. The unique identifier index of the input virtual terminal is defined as follows: iedName.ldInst / ldName+lnPrefix+lnClass+lnInst.doName.daName, where the "+" sign is not included in the unique identifier index and only represents the sum of the three.

[0041] Step (7): Traverse the unique identifier index of the output virtual terminal and the unique identifier index of the input virtual terminal of different secondary devices respectively. If the two are consistent, establish the association mapping of virtual circuit information of different secondary devices.

[0042] 3. Associating and mapping physical circuit information of different secondary equipment: Referring to the definition of virtual circuit control blocks for secondary equipment, design physical circuit control blocks. Obtain relevant information by parsing the ConnectedAP element tags in the SCD model and perform association mapping. The process is as follows: Figure 4 As shown, the specific steps include:

[0043] Step (1) Define the physical control block structure, whose member attributes include: unique identifier index (char* pointer type), Chinese name (char* pointer type), English name of the secondary device (char* pointer type), access point name (char* pointer type), number of physical terminal nodes (int type), and physical terminal object pointer (char* pointer type); physical terminal structure, whose member attributes include: unique identifier index (char* pointer type), Chinese name (char* pointer type), and physical port number (char* pointer type).

[0044] Step (2): Locate the ConnectedAP element tag in the SCD model file, extract the name of the secondary device (the iedName attribute of the ConnectedAP node) to the variable iedName, the access point name (the apName attribute of the ConnectedAP node) to the variable apName, and the Chinese name of the physical control block (the desc attribute of the ConnectedAP node) to the variable desc.

[0045] Step (3): Starting from the current ConnectedAP node, locate the parent node SubNetwork, extract the name attribute of the parent node of SubNetwork to the variable subNetworkName, and define the unique identifier index of the physical control block as follows: subNetworkName.iedName.apName.

[0046] Step (4): Extract the PhysConn child node information of the ConnectedAP element tag as the physical terminal of the physical control block, extract the Cable attribute of the PhysConn child node as the unique identifier index of the physical terminal, and extract the physical port number (Port attribute of the PhysConn child node) into the variable physicalPort_Port.

[0047] Step (5): Traverse the unique identifier index of the physical terminals of different secondary devices respectively. If the two are consistent, establish the association mapping of physical circuit information of different secondary devices.

[0048] 4. Based on the separate mapping of virtual and physical loops of secondary equipment, the virtual input terminals of the input control block of the virtual loop of the secondary equipment itself and the physical terminals of the physical control block of the physical loop are matched to achieve the mapping of virtual input terminals and physical terminals of the secondary equipment itself. Using this as a link, the output virtual terminals of all other secondary equipment associated with the input virtual terminals of this secondary equipment and the physical terminals of all other secondary equipment associated with the physical terminals of this secondary equipment are traversed. Based on the secondary equipment to which the output virtual terminals and physical terminals of other secondary equipment belong, the two are associated, thus achieving full mapping of virtual and physical loops of all secondary equipment. The process is as follows: Figure 5 As shown, the specific steps include:

[0049] Step (1) involves iteratively extracting the port information of the physical terminal of the secondary device from the intAddr attribute variable value of the input virtual terminal structure object of the virtual loop input control block of the secondary device itself, and matching it with the physical port number attribute variable of the physical terminal structure object of the secondary device itself. If the match is successful, an association mapping relationship between the input virtual terminal and the physical terminal of the secondary device itself is established. Otherwise, proceed to step (1).

[0050] Step (2): Based on the physical circuit information that has been mapped between different secondary devices, find the physical terminals of other secondary devices that have been mapped to the physical virtual terminals of the secondary devices in step (1). Otherwise, proceed to step (2).

[0051] Step (3): If the secondary device to which the physical terminal associated with the virtual terminal of the secondary device input in step (2) belongs is a switch (the criterion is that the number of virtual loop input control blocks and output control blocks are both 0), then continue to recursively query all other secondary devices associated with the physical terminal of the switch until a secondary device that is not a switch is found. Otherwise, go to step (3).

[0052] Step (4): If the secondary device to which the physical terminal associated with the virtual terminal of the secondary device input in step (1) belongs is a switch (the criterion is that the number of virtual loop input control blocks and output control blocks are both 0), then continue to recursively query all other secondary devices associated with the physical terminal of the switch until a secondary device that is not a switch is found. Otherwise, go to step (4).

[0053] Step (5): Based on the virtual loop information that has been mapped between different secondary devices, find the output virtual terminals of other secondary devices that have been mapped to the input virtual terminals of the secondary devices in step (1). Otherwise, proceed to step (5).

[0054] Step (6): If the secondary device to which the output virtual terminal associated with the secondary device input virtual terminal in step (1) belongs and the secondary device to which the physical terminal belongs are both the same secondary device, then the output virtual terminal and physical terminal of the found secondary device are associated and mapped. Otherwise, proceed to step (5).

Claims

1. A method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model, characterized in that: Includes the following steps: (1) The computer loads the SCD model file; (2) The computer completes the information association mapping between secondary equipment and voltage level, the information association mapping between secondary equipment and the interval of its primary equipment, the information association mapping of virtual circuits of secondary equipment, and the information association mapping of physical circuits of secondary equipment; The information association mapping between secondary equipment and voltage level, and between secondary equipment and its corresponding primary equipment bay, is based on the VoltageLevel, Bay, and LNode node attribute information under the Substation element in the SCD model. Through association matching, a hierarchical association relationship is formed between substations, voltage levels, primary equipment bays, and secondary equipment. The virtual loop information association mapping of secondary equipment includes the following process: First, virtual loop control blocks are defined and classified for secondary equipment. The classification includes output control blocks and input control blocks. The output control blocks include GOOSE output control blocks and SV output control blocks. The GSEControl and SampledValueControl element tags in the SCD model are parsed respectively. The input control blocks parse the Inputs element tags in the SCD model. The unique identifier index, the number of virtual terminal nodes, and the virtual terminal node information are defined inside the input control blocks and output control blocks respectively. Then, the unique identifier index of the output virtual terminal and the unique identifier index of the input virtual terminal of different secondary equipment are traversed. If the two are consistent, the virtual loop information association mapping of different secondary equipment is established. The aforementioned physical circuit information association mapping for secondary equipment includes the following steps: Step (1-1): Define the physical control block structure, whose member attributes include: unique identifier index, Chinese name, English name of the secondary device to which it belongs, access point name, number of physical terminal nodes, and pointer to physical terminal object; physical terminal structure, whose member attributes include: unique identifier index, Chinese name, and physical port number; Step (1-2): Locate the ConnectedAP element tag in the SCD model file, and extract the name of the secondary device to the variable iedName, the name of the access point to the variable apName, and the Chinese name of the physical control block to the variable desc; Steps (1-3): Starting from the current ConnectedAP node, locate the parent node SubNetwork, extract the name attribute of the parent node of SubNetwork to the variable subNetworkName, and define the unique identifier index of the physical control block as follows: subNetworkName.iedName.apName; Steps (1-4): Extract the PhysConn child node information of the ConnectedAP element tag as the physical terminal of the physical control block, extract the Cable attribute of the PhysConn child node as the unique identifier index of the physical terminal, and extract the physical port number to the variable physicalPort_Port; Steps (1-5) involve iterating through the unique identifier indexes of the physical terminals of different secondary devices. If the two are consistent, an association mapping of physical circuit information of different secondary devices is established. (3) The computer completes the full associative mapping between the virtual circuit and the physical circuit of the secondary device, including the following process: For secondary device A, the input virtual terminals of secondary device A are mapped... and its own physical terminals Perform association mapping; based on the virtual loop information that has been associated and mapped between different secondary devices, find the output virtual terminals of other secondary devices B that are associated and mapped by secondary device A. Simultaneously, based on the physical circuit information that has been mapped between different secondary devices, the physical terminals of other secondary devices B that are mapped to secondary device A are located. If the other secondary device B mapped by the physical loop is a switch, the recursive query continues until it is found that the secondary device B mapped by the virtual loop and the secondary device B mapped by the physical loop are the same secondary device. Then the output virtual terminal of the mapped secondary device B is... With its own physical terminals Establish an association mapping.

2. The method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model according to claim 1, characterized in that, The aforementioned virtual circuit information association mapping for secondary equipment includes the following steps: (2-1) Locate the GSEControl and SampledValueControl element tags in the SCD model file respectively, use them as output control blocks, extract the name attribute of the GSEControl and SampledValueControl nodes to the variable cbName, and extract the datSet attribute of the GSEControl and SampledValueControl nodes to the variable datSet; (2-2) Starting from the current GSEControl and SampledValueControl nodes, locate the relevant parent nodes LN0, LDevice, AccessPoint, and IED nodes in sequence; extract the lnClass, inst, and prefix attributes of the LN0 node into the variables lnClass, lnInst, and lnPrefix respectively; extract the inst attribute of the LDevice node into the variable ldName; extract the name attribute of the AccessPoint node into the variable apnodeName; extract the name attribute of the IED node into the variable iedName; output the string obtained by concatenating the unique identifier index of the control block as iedName:apnodeName:ldName:lnPrefix, lnClass, and lnInst:cbName; (2-3) Based on the dataset name attribute of the GSEControl and SampledValueControl element labels, locate the relevant dataset DataSet node in the SCD model file, extract the functional constraint attribute FCDA child node from the DataSet node, and count the number of child nodes as the virtual terminal of the corresponding GSEControl or SampledValueControl output block, referred to as the output virtual terminal; the extracted output virtual terminal information includes the unique identifier index ref and the Chinese description desc; the unique identifier index of the output virtual terminal is the string obtained by concatenating the device IED name where the virtual terminal is located, the symbol ".", and the unique identifier index of the FCDA node; (2-4) Locate the Inputs element tag in the SCD model file, use it as the input control block, and use the method in step (2) to obtain the relevant information that makes up the unique identifier index; the unique identifier index of the input control block is the string obtained by concatenating iedName:apnodeName:ldName:lnPrefix, lnClass and lnInst. (2-5) Extract the ExtRef child node information of the Inputs element tag as the virtual terminal of the corresponding input control block, referred to as the input virtual terminal; extract the iedName, ldInst, lnClass, inst, prefix, doName, daName and intAddr attributes of the ExtRef child node into the variables iedName, ldInst, lnClass, lnInst, lnPrefix, doName, daName and intAddr; the unique identifier index of the input virtual terminal is the string obtained by concatenating iedName.ldInst / ldName, lnPrefix, lnClass and lnInst.doName.daName; (2-6) Traverse the unique identifier index of the output virtual terminal and the unique identifier index of the input virtual terminal of different secondary devices respectively. If the two are consistent, establish the association mapping of virtual circuit information of different secondary devices.

3. The method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model according to claim 1, characterized in that: The computer performs the information association mapping between secondary equipment and voltage levels, and the information association mapping between secondary equipment and its corresponding primary equipment interval, including the following steps: (3-1) Locate the Substation element tag in the SCD model file, obtain the information of all VoltageLevel child nodes under the Substation element, including the name attribute and the number of Bay child nodes, and establish the association mapping relationship between voltage level and primary equipment interval; (3-2) Process all Bay child node information under each VoltageLevel node in a loop, including the name attribute of the Bay node and the number of LNode nodes it contains, and establish the association mapping relationship between the primary device interval and the LNode nodes; (3-3) Obtain the iedName attribute from each LNode in sequence. With the help of the association mapping relationship between the LNode and the primary device interval, establish the association mapping relationship between the secondary device and the primary device interval through the iedName attribute.

4. The method for associating and mapping secondary equipment circuit information in intelligent substations based on the SCD model according to claim 1, characterized in that: The virtual circuit includes an input virtual terminal and an output virtual terminal, and the physical circuit includes physical terminals.

Citation Information

Patent Citations

  • Intelligent transformer station secondary equipment modeling method for simulation training system

    CN108319593A

  • A method and a system for establishing a virtual-real link mapping relationship in an intelligent substation

    CN109861860A