Method and system for designing virtual loop based on graphics, terminal and storage medium

By converting the ICD model of the IED device into SCL objects and designing virtual loops in the graphical interface, the problems of consistency and automatic verification of virtual loops and real loops are solved, and the unified design and digital delivery of virtual loops are realized, and the engineering is improved Implementation efficiency.

CN119272445APending Publication Date: 2025-01-07NR ENG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310811236.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-04
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the prior art, virtual loop design is difficult to ensure consistency with real loops, it is difficult to achieve automated checksum digital delivery, and the graphic visualization function is single, so the virtual terminal connection cannot be freely moved or modified.

Method used

Through the ICD model mapping and analysis of the IED device, the virtual terminal is converted into the SCL object of the digital design platform, and it is associated in the graphical interface to realize the graphical design and connection of the virtual loop, and then the connection relationship is written into the SCD file.

Benefits of technology

It realizes a unified platform design between virtual loops and real loops, ensures design consistency, reduces duplicate connection work, improves design efficiency, and supports digital delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272445A_ABST
    Figure CN119272445A_ABST
Patent Text Reader

Abstract

Based on a method and system for graphically designing a virtual loop, a terminal and a storage medium, a virtual terminal and a hierarchical structure of the virtual terminal in an ICD model corresponding to an IED device are extracted, the virtual terminal is mapped into an SCL object of a digital design platform, and the SCL object is associated with a virtual terminal input primitive and a virtual terminal output primitive; the hierarchical structure of the virtual terminal input primitive and the virtual terminal output primitive is consistent with the hierarchical structure of the virtual terminal in the ICD model; according to a virtual terminal connection relationship required by design, virtual loop connection is carried out by adopting a connecting line, the virtual loop connection direction is from a virtual terminal output primitive to a virtual terminal input primitive, and a virtual loop is designed based on graphics; and after the virtual loop is connected, writing a connection relationship between the SCL object corresponding to the virtual terminal output primitive and the SCL object corresponding to the virtual terminal input primitive into the SCD file. According to the invention, unified design of the virtual loop and the real loop is realized, and a basis is provided for digitalization of automatic design of the secondary full loop, virtual-real full-path tracing and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of substation design, and in particular to a method, system, terminal and storage medium for graphically designing a virtual circuit. Background Art

[0002] With the promotion and application of smart substation technology, the secondary design of substations has also undergone earth-shaking changes. The traditional substation design method of only providing secondary drawings by the design institute can no longer meet the construction needs of smart substations. The emergence of GOOSE and SV technologies has enabled the secondary circuit to transform from visual real connections to invisible virtual connections.

[0003] In the prior art, for the design of virtual circuits, the method adopted is mostly to use a method based on a table or SCD (Substation Configuration Description) independent of the drawings. The disadvantages of the method are that it is difficult to ensure the consistency of virtual circuits and real circuits, difficult to verify, difficult to deliver digitally, and engineers need to repeatedly connect virtual terminals. Partly because the virtual circuit graphical parsing technology is also based on SCD rather than ICD (IED Capability Description, IED capability description file), and the formats of the two are not exactly the same, ICD contains all the virtual circuit information of a device, and the virtual circuit connection of SCD can only parse the virtual circuits with existing connections, and the rest cannot be parsed, so it is difficult to ensure the consistency of virtual circuit design and real circuit design, difficult to automatically verify virtual circuits in the design stage, difficult to achieve digital delivery, and engineers need to repeatedly connect virtual terminals. In addition, the graphic visualization based on SCD is only used to display connections, and can only display the design results, that is, SCD files. The primitive function is single, and all the primitives and connection relationships in SCD are fixed and unchanged, and cannot be freely moved, modified, or deleted according to design requirements, and cannot be freely combined between virtual terminals. Furthermore, the prior art only reads the virtual circuit connections in the existing SCD, and is unable to implement the operation of performing virtual circuit design by ICD and then generating an SCD model file. Summary of the invention

[0004] In order to solve the deficiencies in the prior art, the present invention provides a method, system, terminal and storage medium based on graphical design of virtual circuits. Through mapping and parsing of an IED (Intelligent Electronic Device) device and a corresponding ICD (IED Capability Description) model, the elements in the ICD model are converted into SCL (Substation Configuration desciption Language) objects corresponding to a digital design platform, and graphical association is performed for each SCL object. After the graphical connection is designed, the graphical relationship is converted into a virtual terminal connection and written into an SCD (Substation Configuration Description full station system configuration file).

[0005] The present invention adopts the following technical solution.

[0006] A method for designing a virtual circuit based on graphics includes: obtaining an ICD model corresponding to an IED device, extracting virtual terminals and the hierarchical structure of the virtual terminals in the ICD model, mapping the virtual terminals to SCL objects on a digital design platform, and associating the virtual terminal input primitives with the virtual terminal output primitives; wherein the hierarchical structure of the virtual terminal input primitives and the virtual terminal output primitives is consistent with the hierarchical structure of the virtual terminals in the ICD model; according to the virtual terminal connection relationship required by the design, connecting lines are used to connect the virtual circuits, wherein the connection direction of the virtual circuits is from the virtual terminal output primitive to the virtual terminal input primitive, so as to realize the virtual circuit design based on graphics; after the virtual circuits are connected, the connection relationship between the SCL object corresponding to the virtual terminal output primitive and the SCL object corresponding to the virtual terminal input primitive is written into an SCD file.

[0007] Get the version, file address, checksum, reference address and description of the ICD model corresponding to the IED device.

[0008] The virtual terminals in the ICD model include, from top to bottom, IED nodes, LDevice nodes, LN nodes, and DO / DA nodes.

[0009] The virtual terminals subordinate to the LDevice node include, from top to bottom, the LN0 node, the DataSet node, and the FCDA node; among them, the LN0 node is a special LN node;

[0010] In a hierarchy, lower level nodes are subordinate to higher level nodes.

[0011] Each virtual terminal in the ICD model is mapped to an SCL object of the digital platform, and the SCL object associates the virtual terminal input primitive and the virtual terminal output primitive.

[0012] The SCL object mapped by the IED node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the equipment component;

[0013] The SCL object mapped by the LDevice node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the LD object;

[0014] The SCL object mapped by the LN node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the LN object;

[0015] The SCL object mapped by the DO node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the DO object;

[0016] The SCL object mapped by the DA node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the DA object;

[0017] Among them, LD object, LN object, DO object and DA object are all elements in the design drawing.

[0018] According to the hierarchical structure of virtual terminals in the ICD model, the hierarchical structure of each virtual terminal input graphic element and the virtual terminal output graphic element is adjusted, and the DO object or DA object is attached to the LN object, the LN object is attached to the LD object, and the LD object is attached to the IED device.

[0019] For GOOSE type virtual terminals, DA object virtual terminal input entities and virtual terminal output entities are generated. For SV type virtual terminals, DO object virtual terminal input entities and virtual terminal output entities are generated.

[0020] The ICD model reference address and description are saved in the properties of the virtual terminal input entity and the virtual terminal output entity respectively.

[0021] The ICD model reference address includes: cabinet code, device code, and item address.

[0022] The connection points of the virtual terminal input element and the virtual terminal output element of the switch quantity access DA object, and the connection points of the virtual terminal input element and the virtual terminal output element of the analog quantity access DO object.

[0023] A system for graphically designing virtual circuits, comprising: a virtual terminal graphic element generation module, a virtual circuit connection module, and a virtual circuit connection writing module;

[0024] A virtual terminal graphic element generation module is used to obtain an ICD model corresponding to the IED device, extract virtual terminals and the hierarchical structure of virtual terminals in the ICD model, map the virtual terminals to SCL objects on the digital design platform, and associate the SCL objects with virtual terminal input graphic elements and virtual terminal output graphic elements; wherein the hierarchical structure of the virtual terminal input graphic elements and the virtual terminal output graphic elements is consistent with the hierarchical structure of the virtual terminals in the ICD model;

[0025] A virtual circuit connection module is used to connect the virtual circuit using connecting lines according to the virtual terminal connection relationship required by the design, wherein the connection direction of the virtual circuit is from the virtual terminal output primitive to the virtual terminal input primitive, so as to realize the virtual circuit design based on graphics;

[0026] The virtual circuit connection writing module is used to write the connection relationship between the SCL object corresponding to the virtual terminal output graphic element and the SCL object corresponding to the virtual terminal input graphic element into the SCD file after the virtual circuit is connected.

[0027] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions;

[0028] The processor is configured to operate according to the instructions to execute the steps of the method.

[0029] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0030] The beneficial effect of the present invention lies in that, compared with the prior art, the present invention converts the ICD model of the parsing device into an SCL object in the digital design platform, associates it with the graphic element, draws the virtual terminal connection in the graphical interface, and automatically extracts the virtual terminal connection information after the drawing is completed and directly writes it into the SCD file, thereby avoiding the repetitive work of on-site integration, realizing the unified platform design of virtual circuits and real circuits, ensuring the consistency of virtual circuit design and real circuit design, automatically checking the virtual circuit in the design stage, realizing digital delivery, and engineers do not need to repeatedly perform virtual terminal connections.

[0031] Based on the method proposed in the present invention, the unified design of virtual circuits and real circuits is realized, and a basis is provided for digital requirements such as secondary full-circuit automated design, virtual-real full-path tracing, etc.

[0032] The method proposed in the present invention realizes the upgrade of the delivery results from "CAD drawings + virtual terminal tables" to "CAD drawings + SCD model files", and realizes the overall digital delivery of virtual and real circuits. The delivery results contain SCD files, and there is no need for back-end project implementation personnel to repeatedly connect virtual terminals, which greatly reduces the workload of back-end personnel, avoids the problem of errors that are easy to occur when back-end personnel connect virtual circuits, and improves the overall implementation efficiency of the project.

[0033] This application supports free connection of various elements according to design intentions to achieve the design purpose. Therefore, the information contained in the elements and the supported operations are richer. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of a method for graphically designing virtual circuits proposed by the present invention;

[0035] Figure 2 It is a mapping diagram between an ICD model and a drawing object in an embodiment of the present invention;

[0036] Figure 3 is a diagram of the correspondence between the model and the drawing object in an embodiment of the present invention;

[0037] Figure 4 is a schematic diagram of input and output graphics in an embodiment of the present invention;

[0038] Figure 5 It is a mapping diagram between graphic relationship and SCD relationship in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.

[0040] The present invention proposes a method for designing a virtual circuit based on graphics, which includes obtaining an ICD model corresponding to an IED device, extracting virtual terminals and the hierarchical structure of the virtual terminals in the ICD model, mapping the virtual terminals to SCL objects on a digital design platform, and associating the virtual terminal input primitives with the virtual terminal output primitives; wherein the hierarchical structure of the virtual terminal input primitives and the virtual terminal output primitives is consistent with the hierarchical structure of the virtual terminals in the ICD model; according to the virtual terminal connection relationship required by the design, connecting lines are used to connect the virtual circuits, wherein the connection direction of the virtual circuits is from the virtual terminal output primitives to the virtual terminal input primitives, thereby realizing the virtual circuit design based on graphics; after the virtual circuits are connected, the connection relationship between the SCL objects corresponding to the virtual terminal output primitives and the SCL objects corresponding to the virtual terminal input primitives is written into an SCD file.

[0041] like Figure 1 As shown, the method comprises the following steps:

[0042] Step 1: Obtain the version, file address, checksum, reference address and description of the ICD model corresponding to the IED device.

[0043] The IED equipment manufacturer provides an ICD model for each IED device to ensure a one-to-one correspondence between the IED device and the ICD model, to associate the IED device with the ICD model, and to record the version, file address, checksum, and other information of the ICD model corresponding to the current version of the IED device.

[0044] In the prior art, the virtual terminal connections already in the SCD are extracted for graphic display. The graphics only store virtual terminals, and the stored information lacks information about substations, cabinets, and devices. In the method proposed by the present invention, all virtual terminal connections of the ICD model file are extracted and mapped to the digital design platform primitives, and the primitives are used as sub-objects of the equipment according to the hierarchy of "substation-cabinet-equipment-LD-LN-DO / DA". The information contained in the primitives is more comprehensive, fully matching the physical hierarchy of the substation, and including the information of the substation, the cabinet, and the device; and the primitives based on the digital design platform also contain interfaces for interaction with other primitives, which can be modified, added, and deleted, and support more operations. In the method proposed by the present invention, the parsing object is the ICD model, which is more comprehensive than the parsing of the SCD virtual terminal connection, and can be used for engineering design. In the scheme proposed by the present invention, the virtual terminal design is to guide how to generate the SCD; the graphics based on the SCD parsing can only be applied, not designed, and the SCD file it is based on is the result of the design.

[0045] Step 2: extract the virtual terminals and the hierarchical structure of the virtual terminals in the ICD model, map the virtual terminals into SCL objects on the digital design platform, and associate the virtual terminal input primitives and the virtual terminal output primitives with the SCL objects; wherein the hierarchical structure of the virtual terminal input primitives and the virtual terminal output primitives is consistent with the hierarchical structure of the virtual terminals in the ICD model.

[0046] Specifically, the virtual terminals in the ICD model are extracted, and according to the hierarchical structure of the virtual terminals in the ICD model, the virtual terminals are converted into SCL objects corresponding to the digital design platform. The SCL objects are relatively abstract and cannot be directly applied to graphical design. After associating the SCL objects with the graphics, the graphics are used for design. The SCL objects are associated with the graphics, so they can be mapped to the ICD model.

[0047] Specifically, the SCL object level is consistent with the ICD model level. Since the ICD model is a model file described using SCL, the SCL objects that the virtual terminals in the ICD model can be converted into are the primitives. The correspondence table between SCL objects and drawing elements is shown in Table 1:

[0048] Table 1 Correspondence between SCL objects and drawing elements

[0049] SCL Objects Drawing elements Drawing element properties IED Equipment components iedName, desc, complete ICD model LDevice LD Object inst、desc LN LN Objects lnClass, inst, desc DO DO Object name、desc DA DA Object name, desc, sAddr

[0050] The equipment element in the drawing element represents the IED device and stores the device-related information, including iedName, desc device description, and the ICD model corresponding to the IED device; LD objects, LN objects, DO objects, and DA objects are located at different levels, and they together store the elements required for the complete information of a virtual terminal in the device. The combination of the five types of drawing elements can uniquely determine the virtual terminal information under a certain device. By establishing an SCL object at the same level as the ICD model, the virtual terminal information of the IED device can be simply and clearly represented on the digital design platform, which is convenient for designers to design.

[0051] like Figure 2 As shown, the virtual terminals in the ICD model include, from top to bottom, the following hierarchical structures: IED node, LDevice node, LN node, DO / DA node; the virtual terminals subordinate to the LDevice node include, from top to bottom, the following hierarchical structures: LN0 node, DataSet node, FCDA node; among them, the LN0 node is a special LN node; in the hierarchy, the lower-level nodes are subordinate to the upper-level nodes.

[0052] Among them, PHD represents the physical IED device; IED represents the "IED subnode" in the ICD model, and the GOOSE and SV virtual terminal information are all under this node; LDevice is the child node of the IED node; LN is the child node of LDevice, and DO / DA is the node-child node relationship in turn; the logical node LN0 is also a special child node of LDevice, DataSet is the child node of LN0, FCDA is the child node of DataSet, and FCDA is a reference to DO-DA, which contains the LD, LN, and DO-DA information of the virtual terminal. In the ICD model, the dotted line represents that there are other nodes and corresponding information between IED and LDevice.

[0053] Specifically, the IED node includes the specific content of each intelligent device, and the input and output of SV and GOOSE are all under the IED node.

[0054] The SCL objects mapped by IED nodes correspond to the virtual terminal input entities and virtual terminal output entities of equipment components; the SCL objects mapped by LDevice nodes correspond to the virtual terminal input entities and virtual terminal output entities of LD objects; the SCL objects mapped by LN nodes correspond to the virtual terminal input entities and virtual terminal output entities of LN objects; the SCL objects mapped by DO nodes correspond to the virtual terminal input entities and virtual terminal output entities of DO objects; the SCL objects mapped by DA nodes correspond to the virtual terminal input entities and virtual terminal output entities of DA objects; among them, LD objects, LN objects, DO objects and DA objects are all elements in the design drawings.

[0055] In the method proposed in the present invention, the ICD model virtual terminals are traversed, and different SCL objects are generated according to different levels of the virtual terminals, and the SCL object level is consistent with the ICD model level; the graphical design includes the graphical design of the virtual terminal input and the graphical design of the virtual terminal output.

[0056] Since the ICD model is a standard SCL language description file, the SCL specification is strictly followed to parse and store the ICD model. The method is relatively flexible. The present invention displays it according to the hierarchical correspondence between the SCL object and the ICD model, providing virtual terminals with clear hierarchy and corresponding relationships for engineering design. The processed graphics can not only store virtual terminals, but also store information such as substations, cabinets, and devices.

[0057] Step 3: Generate a virtual terminal input primitive and a virtual terminal output primitive of a DA object for a GOOSE type virtual terminal, and generate a virtual terminal input primitive and a virtual terminal output primitive of a DO object for a SV type virtual terminal.

[0058] In the virtual circuit connection regulations, the GOOSE class is connected to the DA level, and the SV class is connected to the DO level. Since the two types of connections require different levels, it is easy to cause misconnection of virtual terminals. It is necessary to select different levels for GOOSE and SV for connection. Therefore, when parsing the ICD model, the present invention generates DA level graphics for the GOOSE class and DO level graphics for the SV class, avoiding the problem of wrong virtual terminal connection due to different levels.

[0059] Specifically, in the parsing process, for the GOOSE / SV output part, the DataSet data set is obtained through the LN0 under each LDevice, and the corresponding SCL objects of the LDevice components, LN components, DO and DA components in the digital design platform are established respectively according to the references of the data items in the data set, namely, LD objects, LN objects, and DO / DA objects; for the input part of GOOSE / SV, all LNs under the LDevice are traversed, and they are screened according to the CDC (enumeration value, representing DO attributes) template types of DO and DA, and the corresponding SCL objects of the LD components, LN components, DO and DA components in the digital design platform are established respectively, namely, LD objects, LN objects, and DO / DA objects.

[0060] Specifically, the SCL object hierarchy is adjusted according to the ICD model structure shown in Table 1, that is, for virtual terminal input or virtual terminal output, the DO / DA object is attached to the LN object, the LN object is attached to the LD object, and the LD object is attached to the device, thereby forming a hierarchical structure equivalent to the virtual terminal in the ICD model.

[0061] The method proposed in the present invention can retain the complete virtual terminal information to the greatest extent by parsing the ICD model, and can further parse the source of the virtual terminal and the ICD model, thereby ensuring the integrity of the virtual terminal information storage and effectively supporting engineering design. The method proposed in the present invention completely maps and matches the device ICD model file and the primitive, and the primitive contains an interface for interacting with other primitives. Different primitives can be freely connected by the designer using drawing methods to form different virtual terminal connections to achieve the purpose of design; by replacing the cabinet or device code, virtual terminal connections of the same type of interval can be generated in batches.

[0062] Step 4, such as Figure 3 As shown, the ICD model reference address and description are saved in the attributes of the virtual terminal input primitive and the virtual terminal output primitive respectively. The ICD model reference address includes: panel cabinet code, device code, and item address.

[0063] The prior art does not generate new virtual terminal connections, but only reads the existing connections in the SCD model file for display. However, the present application can generate virtual terminal connections and write them into the SCD file based on the connection relationship between the graphic elements and the graphic elements made by the designer in the previous step. In essence, the present application is a virtual terminal design method that can freely design the connection between virtual terminals and generate an SCD file.

[0064] The method proposed in the present invention is to design a virtual circuit by graphical means in the design stage, and directly write the virtual circuit information into the SCD file, so as to avoid the subsequent engineering personnel from repeatedly connecting virtual terminals. At the same time, the virtual circuit and the real circuit are uniformly designed on the digital platform, so as to ensure the consistency of the virtual and real circuits. In addition, the digital design platform can be used for automatic verification in the design stage, and the final delivery result is also a drawing + SCD model file, and the degree of digitalization of the delivery is high.

[0065] Specifically, to complete the above-mentioned graphical association, the SCL objects converted from the ICD model need to be associated with the graphic elements of the digital design platform. Different converted SCL objects correspond to different digital design platform graphics. After converting the elements in the ICD model into the corresponding SCL objects in the digital design platform, each SCL object needs to be graphically associated. For IED device elements, nested rectangular symbols are used for definition, which contain multiple DO or DA elements.

[0066] Step 5: According to the virtual terminal connection relationship required by the design, use the Connection line to connect the virtual circuit and carry out the virtual circuit graphical design. The connection direction of the virtual circuit signal is always from the virtual terminal output primitive connection point to the virtual terminal input primitive connection point.

[0067] like Figure 4As shown, there are two types of graphical elements. For GOOSE / SV output, digital output primitives are used, and for GOOSE / SV input, digital input primitives are used. The connection points of primitives are represented as DA elements or DO elements. When the switch quantity and analog quantity are connected at the virtual terminal, the hierarchy of the connection points in the primitive is different. The switch quantity is connected to the connection point of the virtual terminal input primitive and the virtual terminal output primitive of the DA object, and the analog quantity is connected to the connection point of the virtual terminal input primitive and the virtual terminal output primitive of the DO object. The ICD model reference address and description contained in the SCL object of the virtual terminal output or input are saved in the properties of the primitive. The SCL object can be uniquely determined by the ICD model reference address.

[0068] Specifically, the reference address format of the ICD model is "panel code-device code-entry address". For example, for the reference address "KFL01+CP-1-4n-RPIT-GOAlmGGIO6-Alm1-stVal", the unique panel cabinet can be determined according to the high-level code KFL01+CP, the unique device in the cabinet can be determined according to the device code 1-4n, and the data attribute stVal under the data object Alm1 under the GOAlmGGIO6 logical node under the PRIT logical device under the device can be determined according to the entry address RPIT-GOAlmGGIO6-Alm1-stVal. This data attribute is unique in the ICD model and corresponds to the description "GOOSE block 20_A network alarm".

[0069] The present invention integrates the ICD model information analysis into the graphic elements of the digital design platform through the association of graphic elements, and unifies them with the graphic elements of the real circuit, so that the virtual circuit drawings can be drawn by the same method as that of drawing the real circuit.

[0070] For the connection of virtual terminals, you can drag the output connection point and the input connection point on the schematic diagram. After matching them in pairs, the connection of a virtual terminal is completed. Figure 5 As shown in the figure, for the interconnection of multiple inputs and outputs, batch drawing can be completed.

[0071] For different intervals of the same type, or the same virtual terminal connections, you can modify the names of the sending and receiving end cabinets and equipment in the drawings to achieve batch copying of the same circuits and improve design efficiency.

[0072] In the prior art, virtual terminal connection is performed through Excel or SCD special tools. After the graphical elements are mapped to the ICD model, the virtual terminal connection can be performed through graphical means. The interface is clear and simple, and under the graphical means, the virtual circuit design and real circuit design methods are the same, and designers do not need to learn additional tools. Based on the graphical virtual circuit design, the unified design of virtual circuits and real circuits is realized, laying the foundation for the back-end whole station automation technology.

[0073] Specifically, to complete the above virtual terminal connection, it is necessary to connect the virtual loop through the Connection line based on the ICD graphic element according to the actual connection relationship of the virtual terminal. The connection direction of the virtual loop signal is always from the output graphic connection point to the input graphic connection point.

[0074] On the basis of establishing the graphic connection points, the virtual circuit drawings are drawn in the same way as the real circuit. The virtual circuit is connected using the Connection line, and the connection direction of the virtual circuit signal is always from the output graphic connection point to the input graphic connection point.

[0075] For the connection of virtual terminals, you can drag the output connection point and the input connection point on the schematic diagram. After matching them in pairs, the connection of a virtual terminal is completed. For the interconnection of multiple inputs and outputs, batch drawing can be completed.

[0076] For different intervals of the same type, or the same virtual terminal connections, you can modify the names of the sending and receiving end cabinets and equipment in the drawings to achieve batch copying of the same circuits and improve design efficiency.

[0077] Step 6: After the virtual circuit is connected, the connection relationship between the SCL object corresponding to the virtual terminal output primitive and the SCL object corresponding to the virtual terminal input primitive is written into the SCD file.

[0078] Specifically, to complete the above writing of virtual terminal information into SCD, it is necessary to generate corresponding Inputs elements through "connection relationship between graphical elements and graphical elements" and "mapping relationship between graphical elements and virtual terminals of ICD model", and write the Inputs elements into LN0 of the corresponding IED in the SCD model.

[0079] The connection relationship of the graphic corresponds to the virtual terminal connection relationship between different IED devices; specifically, the information stored in the SCL object associated with the graphic corresponds to the output and input information of the virtual terminal, wherein the output information includes a device identifier corresponding to the output device.

[0080] First, convert the graphic connection relationship of the connection point into the connection relationship of the virtual terminal in SCD. After completing the drawing of the virtual terminal graphic, the connection relationship between each output graphic element and the input graphic element is already on the drawing. Each output or input graphic element corresponds to an SCL object, and each SCL object stores the element information related to the virtual terminal of the ICD model of the IED device, that is: the connection relationship of the graphic can reflect the publish-subscribe relationship of the virtual circuit between IED devices. For a certain IED intelligent device, traverse the GOOSE input and SV input it receives, extract the iedName, ldInst, InClass and other information corresponding to the external output graphic element, and combine it with the iedName and inAddr information of its own input graphic element to form the virtual terminal connection information in SCL language format.

[0081] Then, according to the virtual terminal connection information in SCL language format, create a new ExtRef element and add it to the "Inputs" node under LN0 of the corresponding LD of the IED of this device to form a virtual terminal connection in the SCD. The example is as follows. The corresponding relationship between the graphical element and the SCD element is as follows Figure 5 shown.

[0082] <inputs>

[0083] <ExtRef iedName="I_L1101X"ldInst="RPIT"prefix="CB"lnClass="XCBR"lnInst="1"doName="Pos"daName="stVal"intAddr="1-D / 1-E:PIGO / GOINGGIO1.DPCSO7.stVal" / >

[0084] <ExtRefiedName="I_L1101X"ldInst="RPIT"prefix="CtlIn"lnClass="GGIO"l nInst="1"doName="Ind1"daName="stVal"intAddr="1-D / 1-E:PIGO / GOINGGIO2.S PCSO1.stVal" / >

[0085] <ExtRefiedName="I_L1101X"ldInst="RPIT"prefix="CtlIn"lnClass="GGIO"l nInst="1"doName="Ind2"daName="stVal"intAddr="1-D / 1-E:PIGO / GOINGGIO2.S PCSO7.stVal" / >

[0086] <ExtRefiedName="I_L1101X"ldInst="RPIT"prefix="CtlIn"lnClass="GGIO"l nInst="1"doName="Ind5"daName="stVal"intAddr="1-D / 1-E:PIGO / GOINGGIO3.S PCSO4.stVal" / >

[0087] <ExtRefiedName="I_L1101X"ldInst="RPIT"prefix="CtlIn"lnClass="GGIO"l nInst="1"doName="Ind8"daName="stVal"intAddr="1-D / 1-E:PIGO / GOINGGIO2.S PCSO8.stVal" / >

[0088] < / inputs>

[0089] The present invention also proposes a system based on graphical design of virtual circuits, comprising: a virtual terminal graphic element generation module, a virtual circuit connection module, and a virtual circuit connection writing module;

[0090] A virtual terminal graphic element generation module is used to obtain an ICD model corresponding to the IED device, extract virtual terminals and the hierarchical structure of virtual terminals in the ICD model, map the virtual terminals to SCL objects on the digital design platform, and associate the SCL objects with virtual terminal input graphic elements and virtual terminal output graphic elements; wherein the hierarchical structure of the virtual terminal input graphic elements and the virtual terminal output graphic elements is consistent with the hierarchical structure of the virtual terminals in the ICD model;

[0091] A virtual circuit connection module is used to connect the virtual circuit using connecting lines according to the virtual terminal connection relationship required by the design, wherein the connection direction of the virtual circuit is from the virtual terminal output primitive to the virtual terminal input primitive, so as to realize the virtual circuit design based on graphics;

[0092] The virtual circuit connection writing module is used to write the connection relationship between the SCL object corresponding to the virtual terminal output graphic element and the SCL object corresponding to the virtual terminal input graphic element into the SCD file after the virtual circuit is connected.

[0093] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0094] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0095] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0096] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for designing a virtual circuit based on graphics, characterized in that: include: The ICD model corresponding to the IED device is obtained, the virtual terminals and the hierarchical structure of the virtual terminals in the ICD model are extracted, and the virtual terminals are mapped to SCL objects on the digital design platform. The SCL objects are associated with the virtual terminal input primitives and the virtual terminal output primitives; wherein the hierarchical structure of the virtual terminal input primitives and the virtual terminal output primitives is consistent with the hierarchical structure of the virtual terminals in the ICD model; According to the virtual terminal connection relationship required by the design, the virtual circuit is connected by connecting lines, wherein the connection direction of the virtual circuit is from the virtual terminal output primitive to the virtual terminal input primitive, so as to realize the virtual circuit based on graphical design; After the virtual circuit is connected, the connection relationship between the SCL object corresponding to the virtual terminal output entity and the SCL object corresponding to the virtual terminal input entity is written into the SCD file.

2. The method for designing a virtual circuit based on graphics according to claim 1, characterized in that: include: Get the version, file address, checksum, reference address and description of the ICD model corresponding to the IED device.

3. The method for designing a virtual circuit based on graphics according to claim 1, characterized in that: include: The virtual terminals in the ICD model include, from top to bottom, IED nodes, LDevice nodes, LN nodes, and DO / DA nodes. The virtual terminals subordinate to the LDevice node include, from top to bottom, the LN0 node, the DataSet node, and the FCDA node; among them, the LN0 node is a special LN node; In a hierarchy, lower level nodes are subordinate to higher level nodes.

4. The method for designing a virtual circuit based on graphics according to claim 3, characterized in that: include: Each virtual terminal in the ICD model is mapped to an SCL object of the digital platform, and the SCL object associates the virtual terminal input primitive and the virtual terminal output primitive.

5. The method for designing virtual circuits based on graphics according to claim 4, characterized in that: include: The SCL object mapped by the IED node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the equipment component; The SCL object mapped by the LDevice node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the LD object; The SCL object mapped by the LN node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the LN object; The SCL object mapped by the DO node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the DO object; The SCL object mapped by the DA node corresponds to the virtual terminal input primitive and virtual terminal output primitive of the DA object; Among them, LD object, LN object, DO object and DA object are all elements in the design drawing.

6. The method for designing virtual circuits based on graphics according to claim 5, characterized in that: include: According to the hierarchical structure of virtual terminals in the ICD model, the hierarchical structure of each virtual terminal input graphic element and the virtual terminal output graphic element is adjusted, and the DO object or DA object is attached to the LN object, the LN object is attached to the LD object, and the LD object is attached to the IED device.

7. The method for designing virtual circuits based on graphics according to claim 5, characterized in that: include: For GOOSE type virtual terminals, DA object virtual terminal input entities and virtual terminal output entities are generated. For SV type virtual terminals, DO object virtual terminal input entities and virtual terminal output entities are generated.

8. The method for designing virtual circuits based on graphics according to claim 4, characterized in that: include: The ICD model reference address and description are saved in the properties of the virtual terminal input entity and the virtual terminal output entity respectively.

9. The method for designing virtual circuits based on graphics according to claim 1, characterized in that: include: The ICD model reference address includes: cabinet code, device code, and item address.

10. The method for designing virtual circuits based on graphics according to claim 7, characterized in that: include: The connection points of the virtual terminal input element and the virtual terminal output element of the switch quantity access DA object, and the connection points of the virtual terminal input element and the virtual terminal output element of the analog quantity access DO object.

11. A system based on graphical design of virtual circuits, used to implement the method according to any one of claims 1 to 10, characterized in that: The system comprises: a virtual terminal graphic element generation module, a virtual circuit connection module, and a virtual circuit connection writing module; A virtual terminal graphic element generation module is used to obtain an ICD model corresponding to the IED device, extract virtual terminals and the hierarchical structure of virtual terminals in the ICD model, map the virtual terminals to SCL objects on the digital design platform, and associate the SCL objects with virtual terminal input graphic elements and virtual terminal output graphic elements; wherein the hierarchical structure of the virtual terminal input graphic elements and the virtual terminal output graphic elements is consistent with the hierarchical structure of the virtual terminals in the ICD model; A virtual circuit connection module is used to connect the virtual circuit using connecting lines according to the virtual terminal connection relationship required by the design, wherein the connection direction of the virtual circuit is from the virtual terminal output primitive to the virtual terminal input primitive, so as to realize the virtual circuit design based on graphics; The virtual circuit connection writing module is used to write the connection relationship between the SCL object corresponding to the virtual terminal output graphic element and the SCL object corresponding to the virtual terminal input graphic element into the SCD file after the virtual circuit is connected.

12. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.