A method and system for displaying virtual and real circuit diagrams of intelligent substations

By parsing SCD files to generate a data model and using HTML for display, the method addresses the challenge of adapting to SCD file changes, improving the display of virtual-real circuit diagrams in smart substations with enhanced speed and user experience.

CN114596384BActive Publication Date: 2025-03-28SHANDONG SHANDONG UNIV ELECTRIC POWER TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210222372.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2025-03-28
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

Current technologies lack effective models for combining virtual and physical fiber connections in smart substations, and existing methods struggle to adapt to changes in SCD files, making it difficult to generate static graphical representations of virtual-real circuit diagrams for fault diagnosis.

Method used

The method involves parsing SCD files to generate a data model, converting it into a JSON format, and using HTML to display virtual-real circuit diagrams, allowing for flexible adaptation to changes in SCD files by separating initialization, static graph generation, and display processes.

Benefits of technology

This approach enables flexible adaptation to SCD file changes, reduces data organization time, and enhances the speed and user experience of virtual-real circuit diagram display in smart substations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596384B_ABST
    Figure CN114596384B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for displaying a virtual-real loop diagram of a smart substation, including: selecting a central device and obtaining information about the central device; based on virtual terminal information in an SCD, finding all peripheral devices associated with the central device, with each peripheral device being a sub-item of a sibling object; for each peripheral device, determining its receiving signal and transmitting signal, with the signal information being a sub-item of each peripheral device; generating a json file with the central device information and the peripheral device information to construct a virtual-real loop diagram data model; based on the data model, generating an html file in a drawing manner to display the virtual-real loop diagram of a smart substation. In order to adapt to changes in the SCD file, the method of the present invention divides the initialization generation model, static graphics generation, and static graphics display into three independent processes, thereby solving the problem of flexible adaptation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of secondary visualization technology of smart substations, and in particular to a method and system for displaying a virtual-real loop diagram of a smart substation. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] The intelligent fault recording device is a device that can be deployed at the substation end and integrates functions such as fault recording, network record analysis, and secondary equipment status monitoring. The secondary system visualization function in the secondary equipment status monitoring can realize the online monitoring of the secondary equipment status, online monitoring of the secondary virtual circuit, online monitoring of the process layer optical fiber circuit, and intelligent diagnosis of secondary circuit faults based on the SCD file. Therefore, the virtual-real circuit diagram is abstracted to display the composition, ports, optical fiber status, logical link status, etc. of the virtual-real circuit related to the secondary equipment, which can assist in fault location.

[0004] At present, certain achievements have been made in the display and fault diagnosis of process-layer virtual circuits, but there are few studies and results on the combination of virtual and real circuits, especially the relationship between the real optical fiber circuits between secondary devices and the virtual connections abstracted from the real circuits. There is a lack of effective model structure, and when the SCD file changes, it cannot be flexibly adapted, and the static graphics required for the display of virtual and real circuit diagrams cannot be generated. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a method and system for displaying a virtual-real loop diagram of a smart substation, which generates a model structure required for display by parsing the SCD file of the entire station, and displays the virtual-real loop diagram in the system in HTML.

[0006] In some embodiments, the following technical solutions are adopted:

[0007] A method for displaying a virtual-real circuit diagram of a smart substation, comprising:

[0008] Selecting a central device and obtaining information about the central device;

[0009] Based on the virtual terminal information in the SCD, find all peripheral devices associated with the central device, and each peripheral device is a child item of the sibling object;

[0010] For each peripheral device, determine its receiving signal and transmitting signal, and use the signal information as a sub-item of each peripheral device;

[0011] Generate a json file with the central device information and the peripheral device information to construct a virtual-real loop diagram data model;

[0012] Based on the data model, an HTML file is generated in a drawing manner to display the virtual and real circuit diagram of the smart substation.

[0013] As a further solution, the central device is defined as a main object, which at least includes the following information: the IED name and description information of the central device, the hard pressure plate information of the system configuration, and the scheduling name information.

[0014] As a further solution, each peripheral device is a sub-item of the sibling object; each sub-item includes at least the following information: device IED name, dispatch name, description, hard pressure plate information, received signal and sent signal.

[0015] As a further solution, each peripheral device sub-item includes multiple signal objects, and each signal object includes a sending port, a receiving port, a signal type, an optical fiber name, an APPID, virtual connection information and switch information.

[0016] As a further solution, the report control block information is taken out according to the index address in the input signal to determine the signal type; the APPID is taken out according to the report control block information, and each signal is based on the APPID; each signal includes multiple virtual connection information, and these virtual connection information have the same APPID and are obtained by the associated virtual terminals in the SCD; the receiving port number is obtained based on the associated virtual terminal, and the virtual connection description is determined according to the index address; the actual real connection information between the receiving device and the sending device is obtained from the receiving device, the receiving port number, and the sending device.

[0017] As a further solution, the actual connection information between the receiving device and the sending device is obtained. The specific process includes:

[0018] Find all subnets in the SCD file, and find all Connect AP information for each subnet;

[0019] Traverse each Connect AP information. If the iedName in a certain information is the same as the ied name of the receiving device, traverse all PhysConn nodes in the Connect AP. When the Port in a certain node is the same as the receiving port number, take out the Cable information in PhysConn.

[0020] According to the Cable information, the local IED, the local port, the opposite IED, and the opposite port are segmented. After segmentation, it is determined whether the opposite IED is the same as the incoming receiving device. If they are the same, the segmented local IED and opposite IED, as well as the local port and the opposite port are exchanged respectively, so that the receiving device is the same as the exchanged local IED;

[0021] Then determine whether the sending device and the opposite IED after the exchange are the same. If they are the same, directly take out the port number of the sending device to form a real connection; if they are not the same, determine whether the opposite device is a switch. If it is a switch, continue to recursively search according to the opposite IED, the opposite port number, and the IED of the sending end until the port number of the sending device is found to form a real connection.

[0022] As a further solution, based on the data model, an HTML file is generated in a drawing manner to display the virtual and real circuit diagram of the smart substation, specifically including:

[0023] Draw the central device information; determine the positional relationship between the peripheral devices and the central device according to the number of peripheral device sub-items contained in the sibling object in the data model; and draw each peripheral device based on the positional relationship;

[0024] Draw the sub-items of the transmitting signal and receiving signal of each peripheral device respectively to form the connection between the central device and the peripheral devices; until the connection between all peripheral devices and the central device is completed, the static graphics of the virtual-real loop diagram are drawn.

[0025] As a further solution, the sub-items of the transmitted signal and received signal of each peripheral device are drawn separately, including:

[0026] Based on the transmitted signal or received signal and the positional relationship between the peripheral device and the central device, draw a signal connection relationship between the peripheral device and the central device;

[0027] When drawing each virtual connection of each signal, determine whether there is a pressure plate. If so, leave space for the pressure plate. Draw the pressure plate after the virtual connection is drawn.

[0028] After drawing each group of signals, the real loop information is determined according to the receiving port, the sending port and the virtual connection information, and the port and the real loop are drawn;

[0029] After the virtual connection and real circuit are drawn, if switch information exists, draw the switch information.

[0030] In other embodiments, the following technical solutions are adopted:

[0031] A virtual-real circuit diagram display system for a smart substation, comprising:

[0032] A central device information acquisition module is used to select a central device and obtain information about the central device;

[0033] The peripheral device information acquisition module is used to find all peripheral devices associated with the central device based on the virtual terminal information in the SCD, and each peripheral device is used as a sub-item of the sibling object; for each peripheral device, its receiving signal and transmitting signal are determined, and the signal information is used as a sub-item of each peripheral device;

[0034] A virtual-real loop diagram data model construction module is used to generate a json file from the central device information and the peripheral device information to construct a virtual-real loop diagram data model;

[0035] The data model display module is used to generate an HTML file in a drawing manner based on the data model to display the virtual and real circuit diagram of the smart substation.

[0036] In other embodiments, the following technical solutions are adopted:

[0037] A terminal device includes a processor and a memory, wherein the processor is used to implement various instructions; the memory is used to store multiple instructions, and the instructions are suitable for being loaded by the processor and executing the above-mentioned method for displaying a virtual-real loop diagram of a smart substation.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] (1) In order to adapt to the changes of SCD files, the method of the present invention divides the initialization generation model, static graphics generation, and static graphics display into three independent processes, thereby solving the problem of flexible adaptation.

[0040] (2) When the system is initialized, the initialization process generates data model files for all secondary devices based on the SCD file and stores them in the system hard disk. The static graphics generation process generates static graphics based on the model files of the secondary devices selected by the display process for display, so that the display process can display the corresponding virtual and real circuit diagrams.

[0041] (3) Compared with the conventional method of simultaneously displaying and acquiring relevant information, the display method of the present invention saves the time of data organization, speeds up the display speed, and improves the user experience.

[0042] Other features and additional advantages of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a structure diagram of a virtual-real loop diagram data model in an embodiment of the present invention;

[0044] Figure 2 This is a schematic diagram of data model generation and graphical display of data flow in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0046] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0047] Terminology explanation:

[0048] ConnectAP: Device access point node in the SCD file.

[0049] IED: Intelligent Electronic Device. The IEC61850 standard defines IED as follows: "Any device consisting of one or more processors that can receive and transmit data from an external source or control an external source, that is, an electronic multi-function instrument, microcomputer protection, controller, an entity that can perform one or more logical contact tasks within the scope of the interface under a specific environment." In this invention, it refers to various types of equipment such as protection, measurement and control, and acquisition execution units in the substation. These devices are abstracted into ied in the SCD file, iedName, that is, the device name or identifier.

[0050] PhysConn: Physical connection information node in the SCD file, usually composed of port, fiber and other information.

[0051] Port: refers to the port information in PhysConn, and Cable refers to the optical fiber information.

[0052] APPID: Unique identifier of the signal.

[0053] Embodiment 1

[0054] In one or more embodiments, a method for displaying a virtual-real loop diagram of a smart substation is disclosed, which mainly includes two parts: constructing a virtual-real loop diagram data model and graphical display;

[0055] Among them, the part of constructing the virtual-real loop diagram data model takes a certain device as the central device, which is defined as the main object, including the IED name and description information of the central device, and the hard pressure plate information and scheduling name information of the system configuration. According to the virtual terminal information in the SCD, find out all peripheral devices associated with the central device. For each peripheral device, find out its receiving signal and sending signal, and determine the virtual-real connection information based on the signal information, including the sending port, receiving port, signal type, fiber name, APPID, virtual connection information and switch information. Generate a model file in json format with the information of the central device and the peripheral devices.

[0056] The specific process is as follows:

[0057] Step (1): Select a central device and obtain information about the central device;

[0058] In this embodiment, a certain device is taken as the central device and defined as the main object, which includes the IED name and description information of the central device, as well as the hard pressure plate information and scheduling name information of the system configuration.

[0059] Step (2): Based on the virtual terminal information in the SCD, find all peripheral devices associated with the central device, and each peripheral device is a child item of the sibling object;

[0060] In this embodiment, all peripheral devices that have a virtual connection relationship with the central device are found through the sv and goose virtual terminals configured in the SCD, including the devices to which the signals sent by the central device arrive and the source devices of the signals received by the central signal, represented by sibling objects. Each peripheral device is a sub-item of the sibling object, and each sub-item contains the device IED name, scheduling name, description, hard pressure plate information, received signals and sent signals.

[0061] Step (3): for each peripheral device, determine its receiving signal and transmitting signal, and use the signal information as a sub-item of each peripheral device;

[0062] In this embodiment, taking a peripheral device as an example, all signals sent by the peripheral device, that is, all input signals of the central device, are found and used as the sub-item signals of the peripheral device object in the model. The sub-item signals contains multiple signal objects, each of which consists of a sending port, a receiving port, a signal type, a fiber name, an APPID, virtual connection information, and switch information.

[0063] According to the index address in the input signal, the report control block information is taken out to determine whether it is a goose signal or an sv signal, that is, the signal type. According to the report control block information, the APPID is taken out, and each signal is in units of APPID. There are multiple virtual connection information in a signal, and these virtual connection information have the same APPID, which is obtained by the associated virtual terminal in the SCD. The associated virtual terminal consists of the port number and index address of the receiving device of this signal, so the receiving port number can be obtained, and the virtual connection description can be found according to the index address.

[0064] In this embodiment, when a signal is sent from a peripheral device to a central device, the central device is a receiving device and the peripheral device is a sending device; conversely, when a signal is sent from a central device to a peripheral device, the central device is a sending device and the peripheral device is a receiving device.

[0065] The actual real connection information between the receiving device and the sending device is obtained from the receiving device (central device), the receiving port number, and the sending device. Specifically, the steps for finding the real connection information between the two devices are as follows:

[0066] Find all subnets in the SCD file, find all Connect AP information for each subnet, traverse each Connect AP information, if iedName is the same as the receiving device ied name, traverse all PhysConn nodes in the Connect AP, when the Port in PhysConn is the same as the receiving port number, take out the Cable information in PhysConn (because the Port and Cable information in the original SCD file may be empty values, what is described here is the SCD file configured by the configuration tool. The format of the configured Cable information is: device A Ied name: device A port number, device B Ied name: device B port number, such as P_L2211A:1-A, MIL2211A:1-A), according to the Cable information, split the local IED, local port, opposite IED, and opposite port. After the splitting is completed, determine whether the opposite IED is the same as the incoming receiving device. If the same, exchange the split local IED, opposite IED, local port, and opposite port respectively to make the receiving device the same as the exchanged local IED. Then determine whether the sending device is the same as the opposite IED after the exchange. If they are the same, the port number of the sending device can be directly taken out to form a real connection, such as P_L2211A:1-A, MIL2211A:1-A. If they are not the same, it means that there may be a switch between the sending and receiving devices. Determine whether the opposite device is a switch. If it is a switch, continue to recursively search according to the opposite IED, the opposite port number, and the IED of the sending end until the port number of the sending device is found to form a real connection, such as:

[0067] P_L2211A:1-A,SWW0001X:1,SWW0001X:3,MIl2211A:1-A.

[0068] In this embodiment, the Cable information format is: Device A Ied name: Device A port number, Device B Ied name: Device B port number, such as P_L2211A:1-A, MIL2211A:1-B;

[0069] Because one optical fiber connects two devices, the optical fiber number can be the same as above, or it can be MIL2211A:1-B, P_L2211A:1-A; so,

[0070] When the fiber format is the first case, the device on this side is P_L2211A and the device on the other side is MIL2211A.

[0071] When the fiber format is the second case, the device on this side is MIL2211A and the device on the other side is P_L2211A.

[0072] Because of these two situations, it is difficult to distinguish which is receiving and which is sending, so the IED on this side and the IED on the other side are exchanged, as well as the port on this side and the port on the other side are exchanged, so that the IED on this side and the receiving device after the exchange are the same.

[0073] Based on the real connection information found, the sending end port number can be obtained. Since the virtual-real loop diagram is an abstract display of the virtual-real connection relationship between two non-switch devices, the optical fiber name in the signal object is named in the form of sending end IED name: sending end port number, and receiving end IED name: receiving end port number.

[0074] Considering the direct connection between non-switch devices, the switch connection relationship is abstracted into a part of the real loop, which is represented by the switch object in the signal. The switch may be cascaded, so the switch object contains multiple switch objects. If there is a first-level switch, the switch object contains a switch 1, which has the IED name, description, and connection information attributes. The connection information includes connection information 1 organized in the form of sending device port and switch 1 port 1, and connection information 2 organized in the form of switch 1 port 2 and receiving device port. If there are two-level switches, the switch object contains two switches. Switch 1 contains the IED name, description, and connection information attributes. The connection information includes connection information 1 organized in the form of sending device port and switch 1 port 1, connection information 2 organized in the form of switch 1 port 2 and switch 2 port 1, and connection information 3 organized in the form of switch 2 port 2 and receiving device port. And so on.

[0075] Take a peripheral device as an example, find out the receiving signal of this peripheral device object, that is, all the input signals of the peripheral device, and use it as the sub-item receive_signals of this peripheral device object in the model. The sub-item receive_signals contains multiple signal objects, which is the same as the signals sub-item in step 3. The way to obtain properties such as signal type, APPID, receiving port number, virtual connection description, actual connection information, switch information, etc. is the same as step 3. The difference is that when obtaining the actual connection information, the receiving device becomes the peripheral device, and the receiving port number becomes the port number of the peripheral device.

[0076] For all peripheral devices, execute the above process to complete all peripheral device sub-items of the sibling object.

[0077] Step (4): Generate a json file with the central device information and the peripheral device information to construct a virtual-real loop diagram data model;

[0078] After obtaining the information of the central device and all peripheral devices, a json file is generated, and the data model is established.

[0079] The process of the graphic display part is as follows:

[0080] Based on the model json file, generate html files in a drawing way to display the virtual and real circuit diagram of the smart substation. Including drawing the central equipment, drawing the IED name, description, dispatch name and hard pressure plate information of the central equipment. Draw the peripheral equipment, determine the arrangement of the peripheral equipment on the left and right of the central equipment, and for each peripheral equipment, draw the IED name, description, dispatch name and hard pressure plate information. Draw the connection relationship between the central equipment and each peripheral equipment. First, draw the virtual connection information represented by the sending signal and the receiving signal, and then draw the pressure plate information, and then draw the port, real circuit, and finally draw the switch related information.

[0081] The specific process includes the following:

[0082] Step (1): Draw the central equipment, i.e. the main object in the data model. With a rectangle as the base, draw the IED name, IED description, and scheduling name in sequence on the top, and arrange the hard pressure plate in sequence on the bottom.

[0083] Step (2): Draw the peripheral devices, i.e., the sibling objects in the data model. A central device may have multiple peripheral devices. According to the number of peripheral device sub-items contained in the sibling object in the data model, the odd and even numbers are selected. The peripheral devices represented by the odd sub-items are arranged on the right side of the central device, and the peripheral devices represented by the even sub-items are arranged on the right side of the central device. Draw the IED name, IED description, and scheduling name of each peripheral device, and arrange the hard pressure plate in sequence below.

[0084] Step (3): Draw the connection between the central device and the peripheral device. First draw the outgoing signal, that is, the signals sub-item in the peripheral device sub-item in the model; then draw the received signal, that is, the receive_signals sub-item in the peripheral device sub-item in the model. The steps for drawing each signal are as follows:

[0085] Step (3.1) first determines whether it is sending a signal or receiving a signal. If it is sending a signal, it is the signal sent by the peripheral device to the central device. Then determine whether the peripheral devices are arranged on the left or right side of the central device. If it is on the left, the direction of the drawn signal is the signal sent from the left peripheral device to the central device, that is, from left to center; if it is on the right, the direction of the drawn signal is the signal sent from the right peripheral device to the central device, that is, from right to center. If it is receiving a signal, it is the signal sent by the central device to the peripheral device. Then determine whether the peripheral devices are arranged on the left or right side of the central device. If it is on the left, the direction of the drawn signal is the signal sent from the central device to the peripheral device, that is, from center to left; if it is on the right, the direction of the drawn signal is the signal sent from the central device to the right peripheral device, that is, from center to right.

[0086] When drawing each virtual connection of each signal in step (3.2), determine whether there is a pressure plate. If so, leave space for the pressure plate. Draw the pressure plate after the virtual connection is drawn.

[0087] After each group of signals is drawn in step (3.3), the real loop information is determined according to the receiving port, the sending port and the virtual connection information, and the port and the real loop are drawn.

[0088] After the virtual connection and the real circuit are drawn in step (3.4), if switch information exists, the switch information is drawn.

[0089] Step (4): Perform step 3 for each peripheral device until all peripheral devices are connected to the central device, the static graphics of the virtual-real loop diagram are drawn, and an HTML file is generated.

[0090] Figure 1This is the data model structure diagram of the virtual-real loop diagram. It mainly includes the data model structure of the central device and the peripheral device. The central device data model consists of the IED name, description, dispatch name, and hard pressure plate information. The peripheral device data model consists of the IED name, description, dispatch name, hard pressure plate information, sending signal, receiving signal, and switch information.

[0091] according to Figure 1 The data model provided in the document uses SVG drawing to draw the virtual connection information, port information, real connection information, switch information, pressure plate information, etc. between the central device and each peripheral device according to certain rules to generate an HTML file.

[0092] Figure 2 Generate data model and display data flow diagram in graphics. The initialization process generates data model files (json files) for all secondary devices by parsing the SCD file. When the interface requests a virtual circuit diagram of a certain device, the display process sends the device name information to the graphics generation process. The graphics generation process finds the model file of this device and generates an html file for the display process to display on the relevant page.

[0093] Embodiment 2

[0094] In one or more embodiments, a virtual-real loop diagram display system for a smart substation is disclosed, comprising:

[0095] A central device information acquisition module is used to select a central device and obtain information about the central device;

[0096] The peripheral device information acquisition module is used to find all peripheral devices associated with the central device based on the virtual terminal information in the SCD, and each peripheral device is used as a sub-item of the sibling object; for each peripheral device, its receiving signal and transmitting signal are determined, and the signal information is used as a sub-item of each peripheral device;

[0097] A virtual-real loop diagram data model construction module is used to generate a json file from the central device information and the peripheral device information to construct a virtual-real loop diagram data model;

[0098] The data model display module is used to generate an HTML file in a drawing manner based on the data model to display the virtual and real circuit diagram of the smart substation.

[0099] It should be noted that the specific implementation methods of the above modules have been described in detail in Example 1 and will not be described in detail again.

[0100] Embodiment 3

[0101] In one or more embodiments, a terminal device is disclosed, including a server, the server including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method for displaying a virtual and real circuit diagram of a smart substation in Embodiment 1 when executing the program. For the sake of brevity, it will not be described in detail here.

[0102] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0103] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0104] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software.

[0105] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for displaying a virtual-real circuit diagram of a smart substation, characterized in that: include: Selecting a central device and obtaining information about the central device; Based on the virtual terminal information in the SCD, find all peripheral devices associated with the central device, and each peripheral device is a child item of the sibling object; For each peripheral device, determine its receiving signal and transmitting signal, and use the signal information as a sub-item of each peripheral device; each sub-item of each peripheral device includes multiple signal objects, each signal object includes a sending port, a receiving port, a signal type, a fiber name, an APPID, virtual connection information and switch information; extract the report control block information according to the index address in the input signal to determine the signal type; extract the APPID according to the report control block information, and each signal is in units of APPID; each signal includes multiple virtual connection information, and the APPIDs of these virtual connection information are the same, which are obtained by the associated virtual terminals in the SCD; The receiving port number is obtained based on the associated virtual terminal, and the virtual connection description is determined according to the index address; the actual real connection information between the receiving device and the sending device is obtained from the receiving device, the receiving port number, and the sending device; Generate a json file with the central device information and the peripheral device information to construct a virtual-real loop diagram data model; Based on the data model, an HTML file is generated in a drawing manner to display the virtual and real circuit diagram of the smart substation.

2. A method for displaying a virtual-real circuit diagram of a smart substation according to claim 1, characterized in that: The central device is defined as a main object, which at least includes the following information: the IED name and description information of the central device, the hard pressure plate information of the system configuration, and the scheduling name information.

3. A method for displaying a virtual-real circuit diagram of a smart substation according to claim 1, characterized in that: Each peripheral device is a sub-item of the sibling object; each sub-item includes at least the following information: device IED name, dispatch name, description, hard pressure plate information, received signals and sent signals.

4. A method for displaying a virtual-real circuit diagram of a smart substation according to claim 1, characterized in that: Obtain the actual connection information between the receiving device and the sending device. The specific process includes: Find all subnets in the SCD file, and find all Connect AP information for each subnet; Traverse each Connect AP information. If the iedName in a certain information is the same as the ied name of the receiving device, traverse all PhysConn nodes in the Connect AP. When the Port in a certain node is the same as the receiving port number, take out the Cable information in PhysConn. According to the Cable information, the local IED, the local port, the opposite IED, and the opposite port are segmented. After segmentation, it is determined whether the opposite IED is the same as the incoming receiving device. If they are the same, the segmented local IED and opposite IED, as well as the local port and the opposite port are exchanged respectively, so that the receiving device is the same as the exchanged local IED; Then determine whether the sending device and the opposite IED after the exchange are the same. If they are the same, directly take out the port number of the sending device to form a real connection; if they are not the same, determine whether the opposite device is a switch. If it is a switch, continue to recursively search according to the opposite IED, the opposite port number, and the IED of the sending end until the port number of the sending device is found to form a real connection.

5. A method for displaying a virtual-real circuit diagram of a smart substation according to claim 1, characterized in that: Based on the data model, an HTML file is generated in a drawing manner to display the virtual and real circuit diagram of the smart substation, specifically including: Draw the central device information; determine the positional relationship between the peripheral devices and the central device according to the number of peripheral device sub-items contained in the sibling object in the data model; and draw each peripheral device based on the positional relationship; Draw the sub-items of the transmitting signal and receiving signal of each peripheral device respectively to form the connection between the central device and the peripheral devices; until the connection between all peripheral devices and the central device is completed, the static graphics of the virtual-real loop diagram are drawn.

6. A method for displaying a virtual-real circuit diagram of a smart substation according to claim 5, characterized in that: Draw the sub-items of the transmitted and received signals of each peripheral device separately, including: Based on the transmitted signal or received signal and the positional relationship between the peripheral device and the central device, draw a signal connection relationship between the peripheral device and the central device; When drawing each virtual connection of each signal, determine whether there is a pressure plate. If so, leave space for the pressure plate. Draw the pressure plate after the virtual connection is drawn. After drawing each group of signals, the real loop information is determined according to the receiving port, the sending port and the virtual connection information, and the port and the real loop are drawn; After the virtual connection and real circuit are drawn, if switch information exists, draw the switch information.

7. A virtual and real circuit diagram display system for a smart substation, characterized in that: include: A central device information acquisition module is used to select a central device and obtain information about the central device; The peripheral device information acquisition module is used to find all peripheral devices associated with the central device based on the virtual terminal information in the SCD, and each peripheral device is used as a sub-item of the sibling object; for each peripheral device, its receiving signal and transmitting signal are determined, and the signal information is used as a sub-item of each peripheral device; each sub-item of each peripheral device includes multiple signal objects, and each signal object includes a sending port, a receiving port, a signal type, a fiber name, an APPID, virtual connection information and switch information; the report control block information is taken out according to the index address in the input signal to determine the signal type; the APPID is taken out according to the report control block information, and each signal is in units of APPID; each signal includes multiple virtual connection information, and the APPID of these virtual connection information is the same, which is obtained by the associated virtual terminal in the SCD; The receiving port number is obtained based on the associated virtual terminal, and the virtual connection description is determined according to the index address; the actual real connection information between the receiving device and the sending device is obtained from the receiving device, the receiving port number, and the sending device; A virtual-real loop diagram data model construction module is used to generate a json file from the central device information and the peripheral device information to construct a virtual-real loop diagram data model; The data model display module is used to generate an HTML file in a drawing manner based on the data model to display the virtual and real circuit diagram of the smart substation.

8. A terminal device, comprising a processor and a memory, wherein the processor is used to implement each instruction; and the memory is used to store multiple instructions, characterized in that: The instructions are suitable for being loaded by a processor and executing the method for displaying a virtual-real loop diagram of a smart substation as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Visualized display method for relay protection secondary virtual or true circuit of intelligent transformer substation

    CN106294989A

  • Power grid information display simulation system based on multi-source simulation data aggregation and mining

    CN110471979A