Equipment association template library establishment method for realizing modular matching of virtual terminals

By establishing a device association template library for modular matching of virtual terminals, and automating virtual terminal connections and verification, the problems of low efficiency and difficult to guarantee the generation of SCD files in the existing technology are solved, and efficient and accurate design of substation automation system is achieved. .

CN119443072APending Publication Date: 2025-02-14TAIYUAN POWER SUPPLY DESIGN INST
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411528346.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When generating SCD files, the prior art relies on manual connection methods, which leads to large workloads and long time in the connection, configuration and verification process, low configuration efficiency and difficult to guarantee, and changes in the virtual terminal model of the equipment need to be reconfigured.

Method used

Provide a method for establishing a device association template library that realizes modular matching of virtual terminals. By presetting the virtual terminal connection rule library, automatically creating a virtual terminal connection template library, and establishing a secondary device association template library based on the logical information flow diagram to achieve automation. connection and verification of virtual terminals.

Benefits of technology

It significantly improves the efficiency and accuracy of SCD file production in substation automation system, reduces the need for manual intervention, improves the intuitiveness and management of the design, and improves the accuracy and startup speed of the design through the optimization and iteration of the template library. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119443072A_ABST
    Figure CN119443072A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment association template library establishment method for realizing virtual terminal modular matching, and relates to the technical field of power transmission and transformation project design, and the method comprises the following steps: presetting an establishment mode of a virtual terminal connection rule library, configuring a storage type of a description file based on a total station system, and establishing a rule library template structure; classifying the multi-template file according to equipment types, and setting a rule base template format through keyword matching; automatically creating a virtual terminal connection template library on the basis of the imported whole-station system configuration description file, and obtaining intelligent electronic equipment information by analyzing an intelligent electronic equipment list; according to the hierarchical structure and the connection relation of the intelligent substation equipment, the number of the intelligent electronic equipment in the secondary interval is detected, and a logic information flow graph is created. By implementing the equipment association template library establishment method for realizing virtual terminal modular matching, the efficiency and accuracy of SCD file making in a substation automation system can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power transmission and transformation engineering design, and in particular to a method for establishing a device association template library for realizing modular matching of virtual terminals. 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. GOOSE (GOOSE refers to general object-oriented substation events. It is a fast message transmission mechanism in IEC61850, which is used to transmit important real-time signals between IEDs (receiving intelligent devices) in substations. GOOSE uses network signals instead of the hard-wired communication method between conventional substation devices, which greatly simplifies the secondary cable wiring of substations) and SV (SV stands for sampled values-Sampled Values, which is the value obtained by sampling and digitally processing the electrical quantity through sensors in the power system) technologies have made the secondary circuit change from visual real wiring to invisible virtual wiring. A large part of the secondary design drawings of smart substations will be replaced by virtual terminal connections mapped by configuration files, and graphic files will be replaced by configuration files. At this stage, design institutes or integrators generally generate SCD files based on virtual terminal connections (SCD is the substation configuration file in the IEC61850 standard for substations) description, i.e. the whole station system configuration file), and then each equipment manufacturer exports the CID file from the SCD file and downloads it to the device to complete the configuration. That is, the SCD file of the whole station replaces the design drawings and becomes the direct basis for commissioning, operation and maintenance, and renovation and expansion.

[0003] By establishing a virtual terminal connection template format and continuously upgrading and maintaining it, the timeliness and accuracy of virtual terminal automatic matching can be improved. The current SCD file production still requires manual generation of connection methods one by one, resulting in a large workload and long time for the entire connection, configuration and verification process. The configuration efficiency is very low, and the correctness of the configuration is difficult to ensure. Once the virtual terminal model of a device changes, the relevant configuration work needs to be completed again. Summary of the invention

[0004] Based on this, it is necessary to provide a method for establishing a device association template library that realizes modular matching of virtual terminals in response to the above technical problems.

[0005] The present invention provides a method for establishing a device association template library for realizing modular matching of virtual terminals, the method comprising:

[0006] S1. Preset the establishment method of the virtual terminal connection rule base, establish the rule base template structure based on the storage type of the whole station system configuration description file, and classify the multiple template files according to the device type, and set the rule base template format through keyword matching;

[0007] S2. Based on the imported full-station system configuration description file, a virtual terminal connection template library is automatically created, and the intelligent electronic device information is obtained by parsing the intelligent electronic device list, and the corresponding intelligent electronic device template is matched in the virtual terminal connection template library, and the virtual circuit is automatically connected according to the matching result;

[0008] S3. According to the hierarchical structure and connection relationship of the smart substation equipment, the number of intelligent electronic devices in the secondary interval is detected, a logical information flow diagram is created, and based on the logical information flow diagram, a secondary equipment association template library is established to store the standardized association patterns between secondary devices in the form of templates.

[0009] Further, the establishment method of the virtual terminal connection rule base is pre-set, and the rule base template structure is established based on the storage type of the whole station system configuration description file, and multiple template files are classified according to the device type. By keyword matching, setting the rule base template format includes the following steps:

[0010] S11. Based on the standardized configuration principle of virtual terminals of secondary equipment and the modular configuration rule base of virtual terminals, the intelligent electronic device capability description file and the whole station system configuration description file are set to the extensible markup language format (XML format), and the virtual terminal connection rule base is converted into the extensible markup language format (XML format), and a virtual terminal connection template based on equipment is created;

[0011] S12, obtaining an input container in the whole station system configuration description file, using the input container to define the general object substation event and sampled value message received by the intelligent electronic device; obtaining the input-output relationship between the intelligent electronic devices, combining the key fields in the sampled value message, establishing a rule base template structure, and generating template files of each intelligent electronic device template according to the rule base module structure;

[0012] S13. Classify multiple template files according to device types. The template file of each device type contains virtual terminals of different voltage levels. Then, by extracting description keywords of intelligent electronic devices and virtual terminals, match the template files with the whole station system configuration description files.

[0013] Furthermore, the input container is used to describe the input information received by the intelligent electronic device, and the input container includes an input container element, a logical node and an input signal source;

[0014] Key fields include input signal control block name, logical device instance name, logical node prefix, logical node category, logical node instance number, input message type, intelligent electronic device name and input signal description.

[0015] Furthermore, by extracting description keywords of intelligent electronic devices and virtual terminals, matching the template file with the whole station system configuration description file includes the following steps:

[0016] S131, creating an initial keyword dictionary, parsing the whole station system configuration description file to extract the description of the intelligent electronic device or the description of the virtual terminal, and storing the cost file;

[0017] S132, inputting the user dictionary and the parsed description information into the analysis system for word segmentation, obtaining the word segmentation results and keywords, and then appending the newly generated keywords into the user dictionary;

[0018] S133, dividing the matching of the template file and the whole station system configuration description file into device matching and virtual terminal connection matching, performing device matching and virtual terminal connection matching in sequence, and forming a rule base template format according to the connection format of each element to create a virtual terminal connection template library, automatically complete the virtual terminal connection and verification, and realize a one-to-one mapping between the template file and the instance file.

[0019] Furthermore, device matching means matching through description keywords of the intelligent electronic device and the name keywords of the intelligent electronic device; virtual terminal connection matching means matching through description and reference name keywords.

[0020] Furthermore, based on the imported full-station system configuration description file, a virtual terminal connection template library is automatically created, and by parsing the intelligent electronic device list, the intelligent electronic device information is obtained, and the corresponding intelligent electronic device template is matched in the virtual terminal connection template library. The virtual circuit is automatically connected according to the matching result, including the following steps:

[0021] S21, based on the imported whole station system configuration description file, automatically create and learn the virtual terminal connection template library, and form a virtual circuit template by merging the intelligent electronic device and the virtual terminal;

[0022] S22, obtaining intelligent electronic device information by parsing the intelligent electronic device list, matching the corresponding intelligent electronic device template in the virtual terminal connection template library, and extracting description keywords based on the virtual terminal information in the intelligent electronic device template, matching the corresponding content in the whole station system configuration description file, and then storing the matching result in the whole station system configuration description file;

[0023] S23. According to the matching result between the intelligent electronic device and the virtual terminal connection template library, various virtual connection attributes of the virtual terminal and the virtual connection in the virtual circuit are set, and the virtual connection of the virtual circuit is automatically executed.

[0024] Further, based on the imported full-station system configuration description file, automatically creating and learning the virtual terminal connection template library, and forming a virtual circuit template by merging the intelligent electronic device with the virtual terminal, includes the following steps:

[0025] S211, importing a first sample of the whole station system configuration description file, parsing the intelligent electronic device description information and the virtual circuit description information in the whole station system configuration description file;

[0026] S212, according to the user dictionary, segment the parsed description information of the intelligent electronic device and the virtual circuit into Chinese and English, and extract keywords;

[0027] S213, converting the description information of the intelligent electronic device and the virtual circuit and the extracted keywords into an extensible markup language format, and filling them into the attributes of the corresponding elements respectively, generating a template file in an extensible markup language format for each type of intelligent electronic device, and forming a virtual terminal connection template library;

[0028] S214, importing a second sample of the whole-station system configuration description file, and then parsing the intelligent electronic device description information and the virtual circuit description information in the whole-station system configuration description file;

[0029] S215, traversing the virtual terminal connection template library according to the intelligent electronic device name and the intelligent electronic device description, and then searching for the corresponding intelligent electronic device template by keyword matching;

[0030] S216, extracting keywords from the newly parsed description information of the intelligent electronic device and the virtual circuit according to the user dictionary, and adding the newly added keywords to the user dictionary;

[0031] S217, comparing the intelligent electronic device description information and virtual terminal description information of the second whole-station system configuration description file with the intelligent electronic device description information and virtual terminal description information existing in the virtual terminal connection template library for similarity, to determine whether they meet the merging standard;

[0032] S218. Import the remaining full-station system configuration description files in sequence, and repeat the learning process continuously.

[0033] Furthermore, determining whether the merger criteria are met includes the following steps:

[0034] If the similarity calculation result is greater than the preset threshold value, the extracted keywords will be automatically merged into the attributes of the corresponding elements of the template file. If the similarity calculation result is less than the preset threshold value, the user can decide whether to merge the keywords extracted by word segmentation into the template file.

[0035] Further, according to the matching result between the intelligent electronic device and the virtual terminal connection template library, setting various virtual connection attributes of the virtual terminal and the virtual connection in the virtual circuit, and automatically executing the virtual connection of the virtual circuit includes the following steps:

[0036] S231, classifying the intelligent electronic devices according to their device types, and acquiring a template file corresponding to the intelligent electronic device template according to the intelligent electronic device description information, the intelligent electronic device name and the interval information parsed from the whole station system configuration description file;

[0037] S232, setting the intelligent electronic device corresponding to the template file according to the intelligent electronic device description information, the intelligent electronic device name and the interval information obtained by parsing the whole station system configuration description file;

[0038] S233, setting the sending intelligent electronic device of the template file according to the sending intelligent electronic device description information and the name of the intelligent electronic device of the virtual terminal in the whole station system configuration description file;

[0039] S234, setting the sending virtual terminal of the template file according to the virtual terminal description information and the reference name keyword of the sending intelligent electronic device in the whole station system configuration description file;

[0040] S235. According to the description information of the virtual terminal of the sending intelligent electronic device and the reference name keyword in the whole station system configuration description file, the receiving virtual terminal of the template file is set, and according to the virtual connection attributes configured in the virtual circuit, the sending virtual terminal and the receiving virtual terminal are connected.

[0041] Furthermore, the hierarchical structure of the smart substation includes three levels, namely the station control layer, the interval layer and the process layer. Among them, the primary system of the interval layer uses circuit breakers or electrical components as division nodes based on the voltage level, main wiring method and primary equipment type, and the secondary system of the interval layer includes line intervals, main transformer intervals, busbar intervals and bus-tie intervals.

[0042] The beneficial effects of the present invention are as follows: by implementing the method for establishing a device-associated template library for realizing modular matching of virtual terminals, the efficiency and accuracy of SCD file production in the substation automation system can be significantly improved, which not only provides engineers with a structured rule library to help standardize the connection logic of virtual terminals, but also greatly reduces the need for manual intervention through batch design and template instantiation. In actual operation, engineers can quickly select virtual terminal templates that meet specific requirements and instantiate them according to project requirements, thereby efficiently generating SCD files that comply with the IEC 61850 standard, effectively integrating logical connections and device-associated information, and making the design of complex systems more intuitive and easy to manage.

[0043] In addition, with the continuous optimization and iteration of virtual terminal templates, the richness and adaptability of the template library are continuously enhanced, so that future design work can be more efficiently copied and applied based on past experience, which not only improves the startup speed of new projects, but also improves the accuracy of the design through continuous feedback and optimization, and reduces the risks caused by human errors. Through standardization and modularization, designers can focus more on the overall architecture and performance optimization of the system rather than tedious configuration details, thereby improving job satisfaction and overall work efficiency. In summary, the present invention not only provides strong support at the technical level, but also promotes the modernization of substation automation systems in management and design processes, laying a solid foundation for the construction of smart grids. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0045] Figure 1 is a flow chart of a method for establishing a device association template library to achieve modular matching of virtual terminals according to an embodiment of the present invention;

[0046] Figure 2 is a schematic diagram of the structure of a template file of an intelligent electronic device according to an embodiment of the present invention;

[0047] Figure 3 is a flowchart of automatic keyword extraction according to an embodiment of the present invention;

[0048] Figure 4 is a schematic diagram of virtual terminal matching and connection according to an embodiment of the present invention;

[0049] Figure 5 It is a process for automatically creating and learning a template library according to an embodiment of the present invention;

[0050] Figure 6is a schematic diagram of calculating the distance between output virtual terminal data reference attributes of two virtual connections according to an embodiment of the present invention;

[0051] Figure 7 is a logic information flow diagram of a typical 220kV line secondary bay related IED according to an embodiment of the present invention;

[0052] Figure 8 is a logic information flow diagram of a typical 220kV main transformer secondary bay related IED according to an embodiment of the present invention;

[0053] Fig. 9 is a logic information flow diagram of a typical 220kV busbar secondary bay related IED according to an embodiment of the present invention;

[0054] Fig.10 It is a logic information flow diagram of a typical 220kV busbar secondary bay related IED according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0056] See also Figure 1 , provides a method for establishing a device association template library to achieve modular matching of virtual terminals, the method comprising the following steps:

[0057] S1. Predetermine the establishment method of the virtual terminal connection rule base, establish the rule base template structure based on the storage type of the whole station system configuration description file, and classify the multiple template files according to the device type, and set the rule base template format through keyword matching.

[0058] In the description of the present invention, the establishment method of the virtual terminal connection rule base is pre-set, the rule base template structure is established based on the storage type of the whole station system configuration description file, and multiple template files are classified according to the device type. By keyword matching, setting the rule base template format includes the following steps:

[0059] S11. Based on the standardized configuration principles of secondary equipment virtual terminals and the virtual terminal modular configuration rule library, set the intelligent electronic device capability description file and the whole station system configuration description file to the extensible markup language format (XML format), and convert the virtual terminal connection rule library into the extensible markup language format (XML format), and create a virtual terminal connection template based on the device.

[0060] Specifically, the standardized configuration principle of the virtual terminal table indicates which virtual terminals should be configured and matched together, which is equivalent to the standard configuration principle of the secondary design of the substation. The modular configuration rule base of the virtual terminal indicates that after the standardized configuration principle of the virtual terminal table is determined, a modular configuration rule base can be formed. Since the ICD file (intelligent electronic device capability description file) and the SCD file (station-wide system configuration description file) to be configured are both in XML format, in order to facilitate rapid identification and search during the automatic connection of virtual circuits, the virtual terminal connection rule base must also be converted into an XML expression format to form a virtual terminal connection template.

[0061] Virtual terminal connection templates are created using devices as units and stored in common XML files. The XML file format is convenient for later maintenance, hierarchical expression of logical relationships in logical loops, and reading and parsing by future third-party software.

[0062] S12, obtaining the input container in the whole station system configuration description file, and using the input container to define the general object substation event and sampled value message received by the intelligent electronic device. Obtain the input and output relationship between the intelligent electronic devices, combine the key fields in the sampled value message, establish the rule base template structure, and generate the template file of each intelligent electronic device template according to the rule base module structure.

[0063] In the description of the present invention, the input container is used to describe the input information received by the intelligent electronic device, and the input container includes an input container element, a logical node and an input signal source.

[0064] Key fields include input signal control block name, logical device instance name, logical node prefix, logical node category, logical node instance number, input message type, intelligent electronic device name and input signal description.

[0065] Specifically, the template establishment method refers to the storage method of the Inputs container (input container) of the SCD (full station system configuration description file), takes the receiving device as a reference, and only expresses the connection relationship on the receiving side. Figure 2 As shown, a certain IED template (intelligent electronic device template) is used as an example for explanation: each IED (intelligent electronic device) is first classified by GOOSE and SV, and then further classified by the sending IED. Therefore, the template hierarchy is divided into four layers, the first layer is the template IED, the second layer is GOOSE reception and SV reception, the third layer is the external IED, and the fourth layer is the virtual circuit relationship. A single IED template is a typical device type, which is generally divided into line protection, busbar protection, transformer protection, merging unit, intelligent terminal, measurement and control, etc., such as "220kV line protection A", "110kV line intelligent terminal A", etc. All typical device templates together constitute the virtual terminal connection template library.

[0066] In addition, the following is a supplementary explanation of the storage method of the SCD inputs container.

[0067] The SCD (Substation Configuration Description) file is a smart substation communication configuration file defined in the IEC61850 standard. The Inputs container in the SCD file is responsible for defining the input interface of the IED (intelligent electronic device) to receive external data or signals, and is mainly used to process the received GOOSE or SV (Sampled Values) messages.

[0068] The following is a detailed description of the storage method and specific contents of the Inputs container in the SCD file:

[0069] 1. The main structure and purpose of the Inputs container

[0070] The Inputs container is mainly used to describe the input information received by the IED and contains the following elements:

[0071] (1) Input element: Each Input element represents an input terminal of an IED, usually data or control commands received through GOOSE or SV messages.

[0072] (2) Logical Node (LN): Input elements are usually associated with logical nodes inside the IED, which are responsible for processing the received data and making corresponding responses.

[0073] (3) Input signal source: The input signal source can come from other IEDs or from the logical nodes within the same IED.

[0074] 2. Specific content of storage method

[0075] The Inputs container is stored in a hierarchical XML format and includes the following key parts:

[0076] (1)GooseControlBlock(GCB) or SVControlBlock(SVCB)

[0077] Each input message is transmitted through the control block (ControlBlock). GooseControlBlock is responsible for GOOSE messages, and SVControlBlock is responsible for SV messages. The control block defines the basic information of the sent message, such as the name of the IED, the logical node sent, the ID of the sent message, etc.

[0078] (2) XML definition of the Inputs container

[0079] In the SCD file, the definition of the Inputs container includes the source of the input signal (i.e., the sending IED), the specific message type of the sent signal (such as GOOSE or SV), the signal reference path, etc.

[0080] Input element: used to define the specific information of the input signal, including reference source, signal type, etc.

[0081]

[0082] (3) Key Field Description

[0083] srcCBName: represents the control block name of the input signal (such as the name of GCB or SVCB), which identifies the source of this signal.

[0084] srcLDInst: The instance name of the logical device (LD) of the source IED, indicating the device module inside the IED.

[0085] srcPrefix: The prefix of the logical node, usually empty, indicating the prefix of the logical node name (such as when applicable to some extended functions).

[0086] srcLNClass: Logical node class (LN Class), used to identify the type of logical node that sends the signal, such as LLN0, CSWI, etc.

[0087] srcLNInst: logical node instance number, used to distinguish multiple logical nodes of the same type.

[0088] srcCBType: Input message type, usually GOOSE or SV, indicating the message type through which the input is transmitted.

[0089] iedName: The name of the source IED, indicating which IED device the input signal comes from.

[0090] desc: A brief description of the input signal, used to identify the function or purpose of this input.

[0091] 3. Storage and reference of GOOSE and SV messages

[0092] In the Inputs container, the received GOOSE and SV messages are associated with specific messages through the input terminals inside the logical node. The description of the message depends on the srcCBName field, which is associated with the send control block (GooseControlBlock or SVControlBlock) of the corresponding IED to ensure that the receiving device can recognize and process the messages sent from other IEDs.

[0093] 4. Specific Examples

[0094] The following is an example of an input container, which illustrates how to define an input that receives a GOOSE message.

[0095]

[0096] In this example, the LD1 logical device of ReceiverIEDName receives the GOOSE message from SenderIEDName through the Inputs container. This message is sent by the GooseControlBlock1 control block, the sending logical node is LLN0, and the message type is GOOSE.

[0097] 5. Relationship between Inputs container and virtual terminal connection

[0098] In the design of the virtual terminal template, the Inputs container defines the input port and message source of the receiving device. The connection method of these input signals is mainly implemented through the virtual terminal connection template of the SCD file to ensure the effectiveness and consistency of communication between various devices.

[0099] Receiver input definition: The virtual terminal connection received by each IED is actually realized through the message connection defined by the Inputs container.

[0100] Automatic connection matching: During the automatic configuration of virtual terminals, the system automatically matches the virtual terminal connection relationship between devices based on the information in the Inputs container to ensure the correctness and consistency of the communication configuration.

[0101] 6. Summary: The Inputs container in the SCD file determines the input and output relationship between IEDs by defining the GOOSE and SV messages received by IEDs. The storage method is based on the XML structure, which contains key information such as input signal source and message control block, and can provide a standardized interface for communication between devices.

[0102] S13. Classify multiple template files according to device types. The template file of each device type contains virtual terminals of different voltage levels. Then, by extracting description keywords of intelligent electronic devices and virtual terminals, match the template files with the whole station system configuration description files.

[0103] Specifically, from the perspective of program parsing, if all templates exist in one file, the memory consumption of parsing is too large, and it is more appropriate to use multiple template files. According to the characteristics of virtual terminals, multiple template files should be classified according to equipment type, including line protection, busbar protection, transformer protection, merging unit, intelligent terminal, measurement and control, etc. Each equipment type template file contains virtual terminals of different voltage levels, and there is no information overlap between the files to avoid redundant data and maintenance difficulties.

[0104] In the description of the present invention, by extracting description keywords of intelligent electronic devices and virtual terminals, matching the template file with the whole station system configuration description file includes the following steps:

[0105] S131. Create an initial keyword dictionary, parse the whole station system configuration description file to extract the description of the intelligent electronic device or the description of the virtual terminal, and store the cost file.

[0106] S132, input the user dictionary and the parsed description information into the analysis system for word segmentation, obtain the word segmentation results and keywords, and then append the newly generated keywords into the user dictionary.

[0107] Specifically, keywords mainly refer to the description keywords of IED and virtual terminals, and keywords are generally high-frequency words. Chinese word segmentation technology can automatically decompose words and extract keywords from a large amount of description text. In addition, it can provide word segmentation results that are closer to user business objects by importing user dictionaries.

[0108] The main Chinese lexical analysis system used is ICTCLAS, which supports user dictionary import and keyword extraction. The key interfaces used are:

[0109] (1) Import user dictionary: NLPIR_ImportUserDict; (2) Add user word: NLPIR_AddUserWord; (3) Get keywords: NLPIR_GetKeyWords; (4) Get word segmentation results: NLPIR_ParagraphProcess.

[0110] The specific method is shown in 3, including the following steps:

[0111] (1) Create an initial keyword dictionary, such as "position, phase A", and store it in a text file; (2) Parse the SCD file to extract the description of the IED or the description of the virtual terminal, and store it in a text file, such as "circuit breaker position phase A"; (3) Import the above user dictionary and description information into the ICTCLAS system for word segmentation, and obtain the word segmentation results and keywords. (4) Append the newly generated keywords to the user dictionary.

[0112] S133, dividing the matching of the template file and the whole station system configuration description file into device matching and virtual terminal connection matching, performing device matching and virtual terminal connection matching in sequence, and forming a rule base template format according to the connection format of each element to create a virtual terminal connection template library, automatically complete the virtual terminal connection and verification, and realize a one-to-one mapping between the template file and the instance file.

[0113] In the description of the present invention, device matching means matching the description keyword of the intelligent electronic device with the name keyword of the intelligent electronic device. Virtual terminal connection matching means matching the description and reference name keywords.

[0114] Specifically, the matching between the template file and the SCD includes two types of matching: one is the matching of the device, and the other is the matching of the virtual terminal connection.

[0115] The matching of devices is mainly done through the description keywords and IEDname keywords of IED (intelligent electronic device, full name: Intelligent Electronic Device, referred to as IED). The description keywords reflect the matching mode of the description through regular expressions, such as "220kV A and B line combined intelligent integration A set", the keywords can be "{merging unit or combined intelligent integration} and 220and line and A", the keywords are connected by logical symbols, and means AND, or means OR, and {} means priority processing. For the matching of lines, because the description of SCD is generally written as "XX line", it may match the busbar, so it is necessary to add the matching of IEDname to further determine it. When IEDname contains "ML", "PL", "IL", "HL", etc., it can be further determined that it is a line.

[0116] The matching of virtual terminal connections is mainly done by matching descriptions and reference names. This is because at this stage, only the relevant specifications have unified the descriptions and reference names of virtual terminals for protection, and other equipment has not yet been carried out or developed. Therefore, the description and reference name keyword matching method is used here. For example, the description of the virtual terminal is "circuit breaker split phase trip position TWJa", and the description keyword is "{circuit breaker or switch} and position and A phase". It should be noted that for the time stamp t, the general description is the same as stVal, and the reference name keyword needs to be matched. Therefore, the reference name keyword part is also added to the template, which plays an auxiliary role in distinguishing the same description but different reference paths.

[0117] The connection template of the virtual terminal through the above analysis is shown as follows, taking the 220kV line A set of the line protection template file as an example:

[0118] <IED configVersion="v1.0o" extRule="name" desc="220kV Line Protection Set A" Connectionmode="Double Bus" descKey="22okV and Line and Protection and A" type="General" name="PL22 and A"

[0119] manufacturer="General">

[0120] <gorx>

[0121] <TxIED extRule="descKey and name" desc="" descKey="Intelligent terminal and 220 and line and A" type="" name="IL22 and A" manufacturer="">

[0122] <VLink desc="Trip position TWJa of breaker phase" mark="">

[0123] <Rx extRule="" stddesc="Trip position TWJa of breaker phase" descKey="Trip position TWJa of breaker phase" refKey="PIGO* / *GOINGGIO*.DPCSo.stVal" stdref="" / >

[0124] <Tx extRule="" stddesc="" descKey="{Circuit breaker or switch} and position and phase A" refKey="RPIT / *XCBR*.Pos.stVal" stdref="" / >

[0125]

[0126]

[0127] …

[0128]

[0129] …

[0130] ​< / gorx>

[0131] <svrx>

[0132] <TxIED extRule="" desc="" descKey="{Merging Unit or Integrated Intelligence} and 220 and Line and A" type="" name="ML22 and A" manufacturer="General">

[0133] <VLink desc="Rated Delay" mark="">

[0134] <Rx extRule="" stddesc="MU Rated Delay" descKey="Rated Delay" refKey="PISV* / SVINGGIO*.Delay*" stdref="">

[0135] <Tx extRule="" stddesc="" descKey="Rated Delay or Delay" refKey="MUSV* / LLNO.Delay*" stdref="">

[0136] ...

[0138]

[0139] < / svrx>

[0140]

[0141] Descriptions of each element are as follows:

[0142] Explanation of the above file format is as follows:

[0143] (1) The IED element represents a device type. A VLTPL element contains multiple IED elements. The attributes of the IED are configVersion, extRule, desc, descKey, Connectionmode, type, manufacturer, and name. configVersion represents the version number, with the default being "1.00"; extRule represents the extended matching rule, with the default being empty, indicating keyword matching. "name" can be added to indicate combined matching through IEDname and keywords, which is mostly used for lines; desc represents the description, such as "220kV Line Protection Set A"; descKey represents the description keywords, such as "220" and "Line" and "Protection" and "A". The keywords are connected by logical symbols. "and" represents AND, "or" represents OR, and {} represents the part to be processed first. All the following keywords are filled in according to this logical symbol; Connectionmode represents the connection wiring method, such as: "Single Bus", "Double Bus", "Double Bus with Single Sectionalization", "Double Bus with Single Sectionalization", "3 / 2 Wiring", etc. Since there are differences in the virtual terminal templates under different wiring methods, different wiring methods are selected to automatically identify the required template; type represents the device type, with the default being "General". The current template uses the general template and is not set according to the device type; manufacture represents the manufacturer, with the default being "General". The current template uses the general template and is not set according to the manufacturer type; name represents the keyword of the IEDname, such as "ML22 and A", which can be used as an item for filling in the extended matching rule.

[0144] (2) GoRx element, indicating GOOSE reception. An IED element contains one GoRx element.

[0145] (3) SvRx element, indicating SV reception. An IED element contains one SvRx element.

[0146] (4) TxIED element, which indicates the sending side device. A GoRx or SvRx element contains one or more TxIED elements, which are filled in according to the actual connection status of the device. TxIED attributes include extRule, desc, descKey, type, name, and manufacturer. For the specific meaning of each attribute, see the IED element.

[0147] (5) VLink element, which indicates a virtual terminal. A TxIED contains one or more VLink elements, which are filled in according to the actual connection status of the device. The VLink attributes include desc and mark: desc indicates the descriptive name of the virtual terminal, which is generally the virtual terminal on the receiving side; mark indicates the remark information. Because the virtual terminal connection template is the maximum virtual terminal connection, when the virtual terminal is automatically connected, not every virtual terminal connection template needs to be used as the basis for verification. Therefore, it is necessary to mark each virtual terminal template with its trial use occasion. By default, if it is not filled in, it means that automatic connection is always required. When the relevant text is filled in, it needs to be processed according to the meaning of the text. The description text currently used is "remote transmission 1_remote transmission 2_other protection actions_only applicable to optical fiber current differential protection device", which means that the virtual terminal connection of "remote transmission 1_remote transmission 2_other protection actions" is only valid for optical fiber differential protection device. This element can be continuously expanded according to the specific use of projects and equipment in the future.

[0148] (6) Rx element, which indicates the receiving side of the virtual terminal connection. A VLink contains an Rx element. The Rx attributes include extRule, stddesc, descKey, refKey, and stdref: extRule indicates the extended matching rule, which is empty by default, indicating matching by keyword; stddesc indicates the standard description of the "six unifications", such as "circuit breaker phase trip position TWJa". Currently, only protection devices have standard description items, and virtual terminals of other device types have not yet been standardized; descKey indicates the description keyword, such as "{circuit breaker or switch}and position and A phase". The keywords are connected by logical symbols, and means AND, or means OR, and {} indicates the priority part; stdref indicates the standard reference name, which is empty by default and is not used yet; refKey indicates the reference name keyword, such as "RPIT / *XCBR*.Pos.stVal". The * here is a wildcard, replacing 0 or more characters, and can be used for fuzzy matching.

[0149] (7) Tx element, which indicates the sending side of the virtual terminal connection. A VLink contains a Tx element. The Tx attributes include extRule, stddesc, descKey, refKey, and stdref: extRule indicates the extended matching rule. It is empty by default, indicating matching by keyword. Filling in "refKey" indicates matching by reference name keyword, which is mainly used for matching the unknown description of external signals of the measurement and control device; stddesc indicates the standard description of "six unifications", "branch 6_protection trip", which is currently only available for protection devices, and virtual terminals of other types of equipment have not yet been standardized; descKey indicates description keywords, such as "{circuit breaker or switch}and position and A phase", keywords are connected by logical symbols, and means AND, or means OR, and {} indicates the priority part; stdref indicates the standard reference name, which is empty by default and is not used for the time being; refKey indicates the reference name keyword, RPIT / *GGIO*.*Ind*.stVal is used to match each external reference name.

[0150] The purpose of creating a virtual terminal connection template library is to facilitate designers to automatically complete virtual terminal connections and their correctness verification. Therefore, it is necessary to consider the matching of template files and SCD files. Only when the matching is successful can the one-to-one mapping of template files and instance files be achieved. Considering the uncertainty of IED device description and virtual terminal description, the template library cannot use a fixed full description and can only use keyword matching.

[0151] SCD matching includes two types of matching: one is the matching of IED devices, and the other is the matching of virtual terminals.

[0152] IED equipment is matched mainly through the description keyword of IED, such as "220kV Longquan line merging unit A set" or "220kV Longquan line merging unit 1", the keyword can be "{220and merging unit and line and A}or{220and merging unit and line and 1}", the keywords are connected by logical symbols, and means AND, or means OR, and {} means priority processing. Name keywords can also be used as auxiliary matching items, such as PL2 and A.

[0153] Virtual terminal matching is also mainly achieved through description keyword matching. For example, if the virtual terminal is described as "circuit breaker position A phase" or "switch position A phase", the description keyword is "{circuit breaker and position and A phase} or {switch and position and A phase}", and the meaning of the expression is the same as above.

[0154] S2. Based on the imported full-station system configuration description file, a virtual terminal connection template library is automatically created, and by parsing the intelligent electronic device list, the intelligent electronic device information is obtained, and the corresponding intelligent electronic device template is matched in the virtual terminal connection template library, and the virtual circuit is automatically connected according to the matching result.

[0155] Specifically, the virtual terminal connection matching process is as follows: Figure 4 shown.

[0156] (1) In the virtual circuit template creation part, it is necessary to connect the circuit editing template to the virtual terminal and automatically learn and create it through massive SCD file samples.

[0157] (2) Template matching part: import SCD, parse IED list, and obtain IED information. Through automatic matching, the corresponding IED template can be matched in the template file library.

[0158] (3) Automatic design part: According to the IED virtual terminal information of the template, the corresponding search is performed in the SCD through the description keywords, and the matching results are generated and stored in the SCD file.

[0159] In the description of the present invention, based on the imported full-station system configuration description file, a virtual terminal connection template library is automatically created, and by parsing the intelligent electronic device list, the intelligent electronic device information is obtained, and the corresponding intelligent electronic device template is matched in the virtual terminal connection template library. Automatically connecting the virtual circuit according to the matching result includes the following steps:

[0160] S21. Based on the imported full-station system configuration description file, automatically create and learn the virtual terminal connection template library, and form a virtual circuit template by merging the intelligent electronic device and the virtual terminal.

[0161] In the description of the present invention, Figure 5 As shown, based on the imported full-station system configuration description file, the virtual terminal connection template library is automatically created and learned, and the virtual circuit template is formed by merging the intelligent electronic device and the virtual terminal, including the following steps:

[0162] S211. Import the first sample of the whole-station system configuration description file, and parse the intelligent electronic device description information and the virtual circuit description information in the whole-station system configuration description file.

[0163] S212. According to the user dictionary, the parsed description information of the intelligent electronic device and the virtual circuit is segmented into Chinese and English words, and keywords are extracted.

[0164] S213, converting the description information of the intelligent electronic device and the virtual circuit and the extracted keywords into the extensible markup language format, and filling them into the attributes of the corresponding elements respectively, generating template files in the extensible markup language format for each type of intelligent electronic device, and forming a virtual terminal connection template library.

[0165] S214, importing a second sample of the whole-station system configuration description file, and then parsing the intelligent electronic device description information and the virtual circuit description information in the whole-station system configuration description file.

[0166] S215. Traverse the virtual terminal connection template library according to the intelligent electronic device name and the intelligent electronic device description, and then find the corresponding intelligent electronic device template by keyword matching.

[0167] S216. According to the user dictionary, keywords are extracted from the description information of the newly parsed intelligent electronic device and the virtual circuit, and the newly added keywords are added to the user dictionary.

[0168] S217, comparing the intelligent electronic device description information and virtual terminal description information of the second whole-station system configuration description file with the intelligent electronic device description information and virtual terminal description information already existing in the virtual terminal connection template library to determine whether they meet the merging criteria.

[0169] In the description of the present invention, determining whether the merging criteria are met includes the following steps:

[0170] If the similarity calculation result is greater than the preset threshold value, the extracted keywords will be automatically merged into the attributes of the corresponding elements of the template file. If the similarity calculation result is less than the preset threshold value, the user can decide whether to merge the keywords extracted by word segmentation into the template file.

[0171] S218. Import the remaining full-station system configuration description files in sequence, and repeat the learning process continuously.

[0172] S22. Obtain the intelligent electronic device information by parsing the intelligent electronic device list, match the corresponding intelligent electronic device template in the virtual terminal connection template library, and extract the description keywords based on the virtual terminal information in the intelligent electronic device template, match the corresponding content in the whole station system configuration description file, and then store the matching results in the whole station system configuration description file.

[0173] S23. According to the matching result between the intelligent electronic device and the virtual terminal connection template library, various virtual connection attributes of the virtual terminal and the virtual connection in the virtual circuit are set, and the virtual connection of the virtual circuit is automatically executed.

[0174] In the description of the present invention, according to the matching result between the intelligent electronic device and the virtual terminal connection template library, the virtual connection attributes of the virtual terminal and the virtual connection in the virtual circuit are set, and the virtual connection of the virtual circuit is automatically executed, which includes the following steps:

[0175] S231. Classify the intelligent electronic devices according to their device types, and obtain a template file corresponding to the intelligent electronic device template according to the intelligent electronic device description information, intelligent electronic device name and interval information parsed from the whole station system configuration description file.

[0176] S232. According to the intelligent electronic device description information, the intelligent electronic device name and the interval information parsed from the whole station system configuration description file, the intelligent electronic device corresponding to the template file is set.

[0177] S233. According to the sending intelligent electronic device description information and the name of the intelligent electronic device of the virtual terminal in the whole station system configuration description file, the sending intelligent electronic device of the template file is set.

[0178] S234. According to the description information of the virtual terminal for sending the intelligent electronic device and the reference name keyword in the whole station system configuration description file, the sending virtual terminal of the template file is set.

[0179] S235. According to the description information of the virtual terminal of the sending intelligent electronic device and the reference name keyword in the whole station system configuration description file, the receiving virtual terminal of the template file is set, and according to the virtual connection attributes configured in the virtual circuit, the sending virtual terminal and the receiving virtual terminal are connected.

[0180] In addition, regarding the process of automatic matching and connection of virtual circuits, the implementation method of this part is supplemented in detail below, which involves a total of six steps.

[0181] Step 1: Virtual connection feature attribute analysis

[0182] First, it is necessary to clarify the virtual connection attributes involved in distance measurement calculation through the domain knowledge of smart substations.

[0183] The virtual connection between the input IED and the output IED is composed of input virtual terminals and output virtual terminals. The virtual terminal includes three parts: Chinese description, data index and IED name. The data reference of the virtual terminal is divided into four parts: logical device, logical node, data object and data attribute. These four parts belong to different information of the IEC61850 layered model, so their influence on the description of the virtual terminal is also different. In addition to the Chinese description and IED name, there are 6 virtual terminal attributes with different influences in a virtual terminal. A virtual connection contains two virtual terminals, input and output, so there are a total of 12 attributes to distinguish virtual connections. When using the difference of these 12 attributes to distinguish two different virtual connections, it is particularly important to note that the difference of different attributes has different influences on distinguishing the two virtual connections, so this should be considered when introducing the virtual connection distance metric.

[0184] Step 2: Basic principles of distance metric learning methods

[0185] The commonly used distance has a "fixed" and "unadjustable" attribute distance parameter. Therefore, it cannot be improved by learning from data samples. For example, "Euclidean distance".

[0186] For two d-dimensional samples x i and x j , the squared Euclidean distance between them can be written as:

[0187]

[0188] Among them, dist i,j,k Represents x i With x j The distance in the kth dimension. If we assume that different attributes have different importances, we can introduce the attribute weight w and get:

[0189]

[0190] Among them, w i ≥0, W = diag(w) is a diagonal matrix, which can be called a metric matrix. W can be determined by learning. By setting a goal for M learning, for example, in supervised learning, maximizing the number of correct results obtained by learning is used as the optimization goal, and the distance metric matrix M is obtained by solving.

[0191] Step 3: Definition of virtual connection distance

[0192] Based on the previous analysis, the sample attributes for virtual connection distance measurement are obtained. Combined with the hierarchical information model of IEC61850, the data reference of the virtual terminal can be divided into four parts: logical device, logical node, data object and data attribute. kFurther representation:

[0193]

[0194] P ref_in ={a LD_in ,a LN_in ,a DO_in ,a DA_in}

[0195] P ref_out ={a LD_out ,a LN_out ,a DO_out ,a DA_out}

[0196] in: is the input virtual terminal of the kth virtual connection; is the output virtual terminal of the kth virtual connection;

[0197] P desc_in ,P ref_in ,P ied_name_in Enter the Chinese description, data reference and IED name of the virtual terminal respectively.

[0198] Similarly, P desc_out ,P ref_out ,P ied_name_out Outputs the Chinese description, data reference and IED name of the virtual terminal. In particular, when considering the SV virtual terminal, its DA attribute can be regarded as an empty string.

[0199] In order to simplify the notation, we define the virtual link attribute vector L = [l1,l2,l3,…,l 11 ,l 12 ], where x1-x6 are the attributes of the input virtual terminals, which are: IED name, Chinese description, logical device, logical node, data object, data attribute. 12 To output the properties of the virtual terminal.

[0200] The metric learning method is borrowed and modified in combination with the domain knowledge of virtual connections. Because the differences in virtual connection attributes are all regarded as positive values, it is no longer necessary to use square distance when calculating the distance.

[0201] For two virtual links L1 and L2, the virtual link distance d between them is vc It can be written as:

[0202] d vc (L i ,L j )=w1d ij,1 +w2d ij,2 +...+w 12d ij,12

[0203] Among them, w i ≥0, and W = [w1, w2, ..., w 11 , w 12 ] is a vector. Here we call it the distance weight vector.

[0204] Step 4: Calculation of virtual connection sample attribute distance

[0205] From the perspective of semantic composition, the Chinese description of virtual terminals and the semantics of IED names are mainly composed of professional terms in the power system. For example, the Chinese description of a virtual terminal in a 220kV main transformer protection device is "high-voltage side A phase voltage Uha1", and the IED name is "#1 main transformer protection device B". The Chinese description contains common professional terms in the power system such as "high voltage", "A phase", and "voltage", and the IED name includes common professional terms in the power system such as "main transformer" and "protection". These professional terms have specific and unique semantics, so they can be used as features to distinguish virtual terminals. The data reference of virtual terminals can be roughly divided into four parts according to the IEC61850 hierarchical information model, including: logical device, logical node, data object and data description. The semantics of these four parts are mainly reflected in English letters. For example, the data reference of an input virtual terminal is "PISV / SVINGGIO1.SvIn". For the logical device part "PISV", it means "Protection currentIntensity Sample Value", and the logical node part is "SVINGGIO1", which means "Sample ValueInput General Input Output". Therefore, we can distinguish important semantic units according to the differences in semantic components and calculate the attribute distances respectively.

[0206] Step 5: Calculate the distance between semantic attributes of words

[0207] Since the semantics of the Chinese description of the virtual terminal and the IED name are mainly composed of professional terms of the power system, different professional word libraries can be generated for different IEDs based on the knowledge of the power system domain. The professional terms of the Chinese description and IED name are extracted through the word library (synonyms need to be considered), and then the differences in the professional terms of the Chinese description and IED name of the two virtual connections are compared, and then the attribute distance between them is calculated.

[0208] The attribute distance calculation process of the virtual terminal IED name is as follows:

[0209] First, the words in the IED name dictionary are numbered. In this example, the word numbers in the dictionary are 0-11. The IED names of the input virtual terminals of L1 and L2 are searched in sequence using the dictionary. For each word in the dictionary, if it exists in the IED name, it is marked as 1, otherwise it is marked as 0, and the word matching vectors v1 and v2 are obtained, where:

[0210] v1=[0,0,1,0,0,1,0,0,0,1,0,1]

[0211] v2=[0,0,0,0,0,1,1,0,0,1,1,0]

[0212] Take XOR and sum each bit of v1 and v2, the result is 4, then the attribute distance of the IED name of the input virtual terminal of L1 and L2 is 4. Similarly, the same method can be used to calculate the attribute distance of the Chinese description and IED name of the rest of the two virtual connections. It should be noted that when calculating the attribute distance of the Chinese description, if the Chinese description ends with a number, then the number should also be used as a keyword for comparison. The advantage of using a professional vocabulary library is that it makes full use of the knowledge in the power system field. In view of the fact that the vocabulary in the Chinese description of the virtual terminal is small and relatively fixed, a specific vocabulary library is used to extract the key information of the Chinese description of the virtual terminal. In addition, this method is not affected by the word order and can adapt to the current situation of inconsistent Chinese descriptions of virtual terminals.

[0213] Step 6: Calculate the distance between letter semantic attributes

[0214] In view of the fact that a single letter in the data reference attribute of a virtual terminal has semantic information, the instance number of the virtual connection data reference can be removed first, and then the edit distance can be used to calculate the distance between the attributes of each part of the data reference.

[0215] Edit distance refers to the minimum number of editing operations required to transform one string into another

[38] . Editing operations include: a) replacing characters; b) inserting characters; c) deleting characters.

[0216] By calculating the edit distance, we can get the difference between the data attributes of two virtual links. Figure 6 The data reference of the two virtual output terminals of the virtual connection shown in the figure is used to illustrate the calculation process. Figure 6 .

[0217] The main reason for using edit distance instead of dictionary to calculate attribute distance is that the data reference of virtual terminals is composed of English letters and numbers, and the components have a fixed order, and the edit distance needs to consider the character order when calculating string differences. At the same time, using edit distance can avoid the construction of dictionaries and reduce the versatility of the virtual terminal automatic connection method due to incomplete dictionary word construction.

[0218] S3. According to the hierarchical structure and connection relationship of the smart substation equipment, the number of intelligent electronic devices in the secondary interval is detected, a logical information flow diagram is created, and based on the logical information flow diagram, a secondary equipment association template library is established to store the standardized association patterns between secondary devices in the form of templates.

[0219] In the description of the present invention, the hierarchical structure of the smart substation includes three levels, namely the station control layer, the interval layer and the process layer. Among them, the primary system of the interval layer uses circuit breakers or electrical components as division nodes based on the voltage level, main wiring method and primary equipment type, and the secondary system of the interval layer includes line intervals, main transformer intervals, busbar intervals and bus-tie intervals.

[0220] Specifically, according to IEC61850, the structure of the smart substation can be divided into three levels, namely the station control layer, the bay layer, and the process layer. The primary system of the bay layer is divided into line bays, bus bays, main transformer bays, bus tie (section) bays, etc., based on the voltage level, main wiring mode, and primary equipment type, with circuit breakers or electrical components (such as main transformers, busbars, etc.) as division nodes. Because the secondary system of the smart substation serves the primary system and ensures the normal and reliable operation of the primary system. Therefore, the connection and configuration of the IED of the secondary system of the smart substation are closely related to the electrical bay. Referring to the method of dividing the primary system bay of the smart substation, the main IEDs of the secondary system of the smart substation introduced in Section 4.1 are divided according to the functions of the IEDs and the voltage level and main wiring mode of the associated primary equipment. The divided secondary system bays mainly include line bays, main transformer bays, bus bays, and bus tie bays. And according to the principles of primary system bay configuration and secondary system function requirements, the number of IEDs in the secondary system bay is determined.

[0221] According to the division of typical bays and the configuration principle in the table, a logic information flow diagram of IED in a typical 220kV secondary bay of a common double-busbar connected smart substation is given, which shows the sending and receiving relationship of GOOSE and SV signals of the IED in the bay and the IED connected to the bay. Then, according to the logic information flow diagram, a secondary device association template library showing the association relationship between IEDs is obtained. The secondary devices of smart substations with other voltage levels and main connection modes can be analyzed with reference to the present invention.

[0222] 1. 220kV line spacing

[0223] In addition to communicating with other IEDs in the 220kV line protection bay, the IEDs in the bay also communicate with the bus bay to which they belong. According to standardization requirements, 220kV line protection should be configured in a dual manner and independently grouped according to the principle of mutual independence.

[0224] According to the IED device types and functions included in the table, the logical information flow diagram of the typical 220kV line protection A set related IED can be obtained as follows: Figure 7 shown.

[0225] Since the 220kV line protection adopts dual configuration, the logical information flow diagram of the 220kV line protection B set related IED is the same as Figure 7 The interval logic information flow diagram of the dual configuration of the present invention only lists the A set.

[0226] 2. 220kV main transformer bay

[0227] According to the voltage level of the main transformer winding, the main transformer bay can be divided into high voltage side, medium voltage side, low voltage side and main body. According to the configuration principles in the table, the 220kV main transformer protection needs to adopt a dual configuration.

[0228] According to the IED device types and functions included in the table, the logical information flow diagram of the IED related to the secondary bay of a typical 220kV main transformer can be obtained as follows: Figure 8 shown.

[0229] 3. 220kV busbar spacing

[0230] The busbar bay is the connection center of the smart substation bay and needs to interact with the main transformer bay, busbar bay, and each line bay. According to the configuration principles in the table, the 220kV busbar protection needs to be configured in a dual configuration.

[0231] The logic information flow diagram of a typical 220kV busbar secondary bay related IED is as follows: Fig. 9 shown.

[0232] In particular, when studying the virtual terminal connection problem of secondary equipment and busbar common equipment in other bays, it is necessary to consider the corresponding relationship between busbar branches and typical bays under the typical wiring form of smart substations. When connecting the virtual terminals of busbar protection and corresponding branches, the corresponding relationship needs to be used as auxiliary information.

[0233] 4. 220kV busbar interval

[0234] The busbar interval is mainly used to control the connection relationship between busbars. According to the configuration principles in the table, the 220kV busbar protection needs to adopt a dual configuration.

[0235] The logic information flow diagram of a typical 220kV busbar secondary bay related IED is as follows: Fig.10 shown.

[0236] In summary, with the help of the above technical solution of the present invention, by implementing the device association template library establishment method for realizing modular matching of virtual terminals, the efficiency and accuracy of SCD file production in the substation automation system can be significantly improved, which not only provides engineers with a structured rule library to help standardize the connection logic of virtual terminals, but also greatly reduces the need for manual intervention through batch design and template instantiation. In actual operation, engineers can quickly select virtual terminal templates that meet specific needs and instantiate them according to project requirements, thereby efficiently generating SCD files that comply with the IEC 61850 standard, effectively integrating logical connections and device association information, and making the design of complex systems more intuitive and easy to manage. In addition, with the continuous optimization and iteration of virtual terminal templates, the richness and adaptability of the template library are continuously enhanced, so that future design work can be more efficiently copied and applied based on past experience, which not only improves the startup speed of new projects, but also improves the accuracy of design in continuous feedback and optimization, and reduces the risk caused by human errors. Through standardization and modularization, designers can focus more on the overall architecture and performance optimization of the system, rather than cumbersome configuration details, thereby improving work satisfaction and overall work efficiency. In summary, the present invention not only provides strong support at the technical level, but also promotes the modernization of substation automation systems in terms of management and design processes, laying a solid foundation for the construction of smart grids.

[0237] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

Claims

1. A method for establishing a device association template library for realizing modular matching of virtual terminals, characterized in that: The method comprises the following steps: S1. Preset the establishment method of the virtual terminal connection rule base, establish the rule base template structure based on the storage type of the whole station system configuration description file, and classify the multiple template files according to the device type, and set the rule base template format through keyword matching; S2. Based on the imported full-station system configuration description file, a virtual terminal connection template library is automatically created, and the intelligent electronic device information is obtained by parsing the intelligent electronic device list, and the corresponding intelligent electronic device template is matched in the virtual terminal connection template library, and the virtual circuit is automatically connected according to the matching result; S3. According to the hierarchical structure and connection relationship of the smart substation equipment, the number of intelligent electronic devices in the secondary interval is detected, a logical information flow diagram is created, and based on the logical information flow diagram, a secondary equipment association template library is established to store the standardized association patterns between secondary devices in the form of templates.

2. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 1, characterized in that: The method of establishing the virtual terminal connection rule base in advance is to establish a rule base template structure based on the storage type of the whole station system configuration description file, and classify multiple template files according to device types, and set the rule base template format through keyword matching, including the following steps: S11. Based on the standardized configuration principle of virtual terminals of secondary equipment and the modular configuration rule base of virtual terminals, the intelligent electronic device capability description file and the whole station system configuration description file are set to the extensible markup language format, and the virtual terminal connection rule base is converted into the extensible markup language format to create a virtual terminal connection template based on the device; S12, obtaining an input container in the whole station system configuration description file, using the input container to define the general object substation event and sampled value message received by the intelligent electronic device; obtaining the input-output relationship between the intelligent electronic devices, combining the key fields in the sampled value message, establishing a rule base template structure, and generating template files of each intelligent electronic device template according to the rule base module structure; S13. Classify multiple template files according to device types. The template file of each device type contains virtual terminals of different voltage levels. Then, by extracting description keywords of intelligent electronic devices and virtual terminals, match the template files with the whole station system configuration description files.

3. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 2, characterized in that: The input container is used to describe the input information received by the intelligent electronic device, and the input container includes an input container element, a logical node and an input signal source; The key fields include the input signal control block name, the logical device instance name, the logical node prefix, the logical node category, the logical node instance number, the input message type, the intelligent electronic device name and the input signal description.

4. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 2, characterized in that: The matching of the template file with the whole station system configuration description file by extracting the description keywords of the intelligent electronic device and the virtual terminal comprises the following steps: S131, creating an initial keyword dictionary, parsing the whole station system configuration description file to extract the description of the intelligent electronic device or the description of the virtual terminal, and storing the cost file; S132, inputting the user dictionary and the parsed description information into the analysis system for word segmentation, obtaining the word segmentation results and keywords, and then appending the newly generated keywords into the user dictionary; S133, dividing the matching of the template file and the whole station system configuration description file into device matching and virtual terminal connection matching, performing device matching and virtual terminal connection matching in sequence, and forming a rule base template format according to the connection format of each element to create a virtual terminal connection template library, automatically complete the virtual terminal connection and verification, and realize a one-to-one mapping between the template file and the instance file.

5. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 4, characterized in that: The device matching means matching the description keyword of the intelligent electronic device with the name keyword of the intelligent electronic device; the virtual terminal connection matching means matching the description and reference name keywords.

6. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 1, characterized in that: The method of automatically creating a virtual terminal connection template library based on the imported full-station system configuration description file, obtaining intelligent electronic device information by parsing the intelligent electronic device list, matching the corresponding intelligent electronic device template in the virtual terminal connection template library, and automatically connecting the virtual circuit according to the matching result includes the following steps: S21, based on the imported whole station system configuration description file, automatically create and learn the virtual terminal connection template library, and form a virtual circuit template by merging the intelligent electronic device and the virtual terminal; S22, obtaining intelligent electronic device information by parsing the intelligent electronic device list, matching the corresponding intelligent electronic device template in the virtual terminal connection template library, and extracting description keywords based on the virtual terminal information in the intelligent electronic device template, matching the corresponding content in the whole station system configuration description file, and then storing the matching result in the whole station system configuration description file; S23. According to the matching result between the intelligent electronic device and the virtual terminal connection template library, various virtual connection attributes of the virtual terminal and the virtual connection in the virtual circuit are set, and the virtual connection of the virtual circuit is automatically executed.

7. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 6, characterized in that: The method of automatically creating and learning a virtual terminal connection template library based on the imported full-station system configuration description file, and forming a virtual circuit template by merging intelligent electronic devices with virtual terminals includes the following steps: S211, importing a first sample of the whole station system configuration description file, parsing the intelligent electronic device description information and the virtual circuit description information in the whole station system configuration description file; S212, according to the user dictionary, segment the parsed description information of the intelligent electronic device and the virtual circuit into Chinese and English, and extract keywords; S213, converting the description information of the intelligent electronic device and the virtual circuit and the extracted keywords into an extensible markup language format, and filling them into the attributes of the corresponding elements respectively, generating a template file in an extensible markup language format for each type of intelligent electronic device, and forming a virtual terminal connection template library; S214, importing a second sample of the whole-station system configuration description file, and then parsing the intelligent electronic device description information and the virtual circuit description information in the whole-station system configuration description file; S215, traversing the virtual terminal connection template library according to the intelligent electronic device name and the intelligent electronic device description, and then searching for the corresponding intelligent electronic device template by keyword matching; S216, extracting keywords from the newly parsed description information of the intelligent electronic device and the virtual circuit according to the user dictionary, and adding the newly added keywords to the user dictionary; S217, comparing the intelligent electronic device description information and virtual terminal description information of the second whole-station system configuration description file with the intelligent electronic device description information and virtual terminal description information existing in the virtual terminal connection template library for similarity, to determine whether they meet the merging standard; S218. Import the remaining full-station system configuration description files in sequence, and repeat the learning process continuously.

8. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 7, characterized in that: The determination of whether the merger criteria are met includes the following steps: If the similarity calculation result is greater than the preset threshold value, the extracted keywords will be automatically merged into the attributes of the corresponding elements of the template file. If the similarity calculation result is less than the preset threshold value, the user can decide whether to merge the keywords extracted by word segmentation into the template file.

9. A method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 1, characterized in that: The method of setting various virtual connection attributes of virtual terminals and virtual connections in virtual circuits according to the matching results between the intelligent electronic device and the virtual terminal connection template library, and automatically executing the virtual connection of the virtual circuit comprises the following steps: S231, classifying the intelligent electronic devices according to their device types, and acquiring a template file corresponding to the intelligent electronic device template according to the intelligent electronic device description information, the intelligent electronic device name and the interval information parsed from the whole station system configuration description file; S232, setting the intelligent electronic device corresponding to the template file according to the intelligent electronic device description information, the intelligent electronic device name and the interval information obtained by parsing the whole station system configuration description file; S233, setting the sending intelligent electronic device of the template file according to the sending intelligent electronic device description information and the name of the intelligent electronic device of the virtual terminal in the whole station system configuration description file; S234, setting the sending virtual terminal of the template file according to the virtual terminal description information and the reference name keyword of the sending intelligent electronic device in the whole station system configuration description file; S235. According to the description information of the virtual terminal of the sending intelligent electronic device and the reference name keyword in the whole station system configuration description file, the receiving virtual terminal of the template file is set, and according to the virtual connection attributes configured in the virtual circuit, the sending virtual terminal and the receiving virtual terminal are connected.

10. The method for establishing a device association template library for realizing modular matching of virtual terminals according to claim 1 is characterized in that: The hierarchical structure of the smart substation includes three levels, namely the station control layer, the interval layer and the process layer. The primary system of the interval layer uses circuit breakers or electrical components as division nodes based on the voltage level, main wiring method and primary equipment type. The secondary system of the interval layer includes line intervals, main transformer intervals, busbar intervals and bus-tie intervals.

Citation Information

Cited By

  • Virtual loop automatic generation method and device, electronic equipment and storage medium

    CN122595522A