Line protection debugging outline template instantiation method and device

By obtaining the SCD file and debugging outline of the smart substation, combined with the general debugging object model, the debugging outline of the secondary equipment of the substation is automatically instantiated, which solves the problem of manual editing in the existing technology that is time-consuming and labor-intensive, and improves debugging efficiency.

CN119337852AInactive Publication Date: 2025-01-21ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411431897.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-01-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the editing of the secondary equipment debugging outline of the substation mainly relies on manual completion, which leads to time-consuming and labor-consuming and reduces debugging efficiency.

Method used

By obtaining the SCD file, debugging outline and multiple general debugging object models of the smart substation, the target debugging object that conforms to the general debugging object model is determined, and the debugging outline instance of each target debugging object is generated through instantiation, and the debugging outline is automatically instantiated, reducing Human editing work.

Benefits of technology

It realizes the rapid automatic instantiation of the substation secondary equipment debugging outline, significantly improves the debugging efficiency and reduces the workload of manual editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119337852A_ABST
    Figure CN119337852A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for instantiating a line protection debugging outline template, which are used for solving the problem that the debugging efficiency of secondary equipment of a transformer substation is greatly reduced due to the fact that most debugging outline editing work is manually completed by testers in the prior art and the process is time-consuming and labor-consuming. The method comprises the steps that an SCD file, a debugging outline and a plurality of general debugging object models of the intelligent substation are obtained, the debugging outline corresponds to at least one test item, and each test item corresponds to one test logic; according to the SCD file and the debugging outline, at least one target debugging object conforming to the general debugging object model is determined, and a debugging outline instance of each target debugging object is generated through instantiation; according to the embodiment of the invention, all the to-be-instantiated debugging objects associated in the test logic of the debugging outline instance are instantiated, and all the to-be-instantiated information points referenced in the test logic are instantiated, so that the instantiation of the debugging outline can be automatically and quickly realized, and the debugging efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of debugging secondary equipment of intelligent substations, and in particular to a method for instantiating a line protection debugging outline template, a device for instantiating a line protection debugging outline template, an electronic device and a storage medium. Background Art

[0002] The application of substation secondary equipment commissioning projects is extensive. The factory commissioning, inspection, base joint commissioning and other projects of smart substation secondary equipment must be carried out in accordance with the secondary equipment commissioning outline. However, the secondary equipment commissioning outline templates in different regions vary. And there are many differences in the protection equipment produced by different manufacturers. At present, before commissioning the equipment, the commissioning personnel will edit and modify the general commissioning outline for each different device to generate a specific commissioning outline. During the actual commissioning, the commissioning personnel will debug according to the commissioning outline of the specific device and fill in the commissioning results.

[0003] However, with this debugging method, since most of the debugging outline editing work needs to be done manually by the debugging personnel, the process is time-consuming and labor-intensive, which greatly reduces the debugging efficiency of the substation secondary equipment. Summary of the invention

[0004] The present invention provides a line protection debugging outline template instantiation method, a line protection debugging outline template instantiation device, an electronic device and a storage medium, which are used to solve or partially solve the technical problem that most of the debugging outline editing work in the existing related technology is completed manually by testers, and the process is time-consuming and labor-intensive, which greatly reduces the debugging efficiency of substation secondary equipment.

[0005] The present invention provides a method for instantiating a line protection debugging outline template, the method comprising:

[0006] Obtaining an SCD file, a debugging outline, and a plurality of general debugging object models of a smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic;

[0007] Determine at least one target debugging object that conforms to the general debugging object model according to the SCD file and the debugging outline, and generate debugging outline instances of each of the target debugging objects respectively by instantiation;

[0008] All debugging objects to be instantiated associated in the test logic of the debugging outline instance are instantiated, and all information points to be instantiated referenced in the test logic are instantiated.

[0009] Optionally, the method further comprises:

[0010] Establishing universal debugging object models corresponding to different types of debugging objects, and respectively establishing universal information points of each of the universal debugging object models;

[0011] Each of the general information points is mapped and associated with the device model signal point actually corresponding to the smart substation to form a dictionary library; the dictionary library is used to describe the mapping association relationship between the general information point and the device model signal point actually corresponding to the smart substation.

[0012] Optionally, the debugging object is the line interval secondary equipment in the smart substation, and the line interval secondary equipment includes line protection devices of various voltage levels, measurement and control devices, universal voltage level line intelligent terminals, merging units, and integrated intelligence; the universal information points include station control layer MMS signal points, process layer GOOSE signal points, and SV signal points.

[0013] Optionally, the method further comprises:

[0014] For each of the test items in the debugging outline, determining whether the test item is a common test item;

[0015] If yes, then reference the general information point to write the general test logic of the test item; the general test logic is a general line protection test process;

[0016] If not, the test item is defined as a special test item, the special model IEDs corresponding to the special test item are determined, and special test logic for the special test item under different special model IEDs is written; the special test logic is a line protection test process written for the special model IED.

[0017] Optionally, the test items include protection input and output test, distance protection setting value inspection, zero-sequence protection setting value verification, and longitudinal differential protection verification; the test logic includes pressure plate, control word throw-in and throw-out operation, voltage and current output state sequence, action quantity output state sequence, and result judgment logic.

[0018] Optionally, the method further comprises:

[0019] Obtain the debugging outline template document for smart substation line protection;

[0020] Parsing the debugging outline template document, and forming a digital debugging outline by extracting information;

[0021] According to the keywords in the debugging outline template document, the basic attributes of the debugging outline are analyzed; the basic attributes include the device type, interval type, voltage level and device set of the line protection device measured by the debugging outline, and the basic attributes are used to compare and match the debugging outline with the line protection device.

[0022] Optionally, determining at least one target debugging object conforming to the general debugging object model according to the SCD file and the debugging outline includes:

[0023] Parsing the SCD file, analyzing the basic properties of all line bay secondary devices in the smart substation, and screening out all line protection devices from all line bay secondary devices;

[0024] By comparing and matching, at least one target debugging object that is consistent with the basic attributes of the debugging outline and corresponds to the universal debugging object model is screened out from each of the line protection devices.

[0025] Optionally, the instantiation of all debugging objects to be instantiated associated with the test logic of the debugging outline instance includes:

[0026] Record all debug objects to be instantiated associated in the test logic of the debug outline instance as a set S1;

[0027] Based on the SCD file, analyze the virtual connection of the target debugging object, determine all associated secondary devices having a virtual connection relationship with the target debugging object, and record them as a set S2;

[0028] The device type of each device in the set S1 and the set S2 is compared one by one, and when there is a successful match between the device type of the target to-be-instantiated debugging object and the target associated secondary device, the target to-be-instantiated debugging object is replaced with the target associated secondary device.

[0029] Optionally, the instantiation of all information points to be instantiated referenced in the test logic includes:

[0030] Determine all information points to be instantiated that are referenced in the test logic;

[0031] According to the mapping association relationship between the universal information points described in the dictionary library and the corresponding device model signal points in the smart substation, for each of the information points to be instantiated, traverse all the actual device model signal points associated with the information point to be instantiated, and compare the information point to be instantiated with each of the actual device model signal points one by one;

[0032] When there is a target information point to be instantiated that successfully matches a target actual device model signal point, the target information point to be instantiated is replaced with the target actual device model signal point.

[0033] Optionally, the method further comprises:

[0034] When the current test logic cannot be instantiated based on the general debugging object model, a dedicated debugging outline instance of the current debugging object is generated by instantiation;

[0035] Determine the target dedicated model IED and the target dedicated test item to which the dedicated debugging outline instance belongs, and select the target dedicated test logic matching the target dedicated model IED from the multiple dedicated test logics corresponding to the target dedicated test item;

[0036] All to-be-instantiated information points referenced in the target-specific test logic are instantiated.

[0037] The present invention also provides a line protection debugging outline template instantiation device, comprising:

[0038] A data acquisition module, used to acquire an SCD file, a debugging outline, and a plurality of general debugging object models of a smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic;

[0039] A debugging outline instance generating module, configured to determine at least one target debugging object conforming to the general debugging object model according to the SCD file and the debugging outline, and to generate debugging outline instances of each of the target debugging objects respectively through instantiation;

[0040] The instantiation module is used to instantiate all debugging objects to be instantiated associated in the test logic of the debugging outline instance, and to instantiate all information points to be instantiated referenced in the test logic.

[0041] The present invention also provides an electronic device, the device comprising a processor and a memory:

[0042] The memory is used to store program code and transmit the program code to the processor;

[0043] The processor is used to execute the line protection debugging outline template instantiation method as described in any one of the above items according to the instructions in the program code.

[0044] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the line protection debugging outline template instantiation method as described in any one of the above items.

[0045] It can be seen from the above technical solutions that the present invention has the following advantages:

[0046] A method for instantiating a line protection debugging outline template is provided. First, the SCD file, debugging outline, and multiple general debugging object models of the smart substation are obtained. The debugging outline corresponds to at least one test item, and each test item corresponds to a test logic; then, according to the SCD file and the debugging outline, at least one target debugging object that conforms to the general debugging object model is determined, and debugging outline instances of each target debugging object are generated by instantiation; then, all debugging objects to be instantiated associated with the test logic of the debugging outline instance are instantiated, and all information points to be instantiated referenced in the test logic are instantiated. In this way, the debugging outline instantiation can be automatically and quickly realized during the secondary equipment debugging process, thereby improving the debugging efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A flowchart of the steps of a method for instantiating a line protection debugging outline template;

[0049] Figure 2 It is a schematic diagram of the overall process of a line protection debugging outline template instantiation method;

[0050] Figure 3 This is a schematic diagram of some test items in the 220kV line protection commissioning outline template for a certain region;

[0051] Figure 4 The present invention is a structural block diagram of a line protection debugging outline template instantiation device. DETAILED DESCRIPTION

[0052] The embodiments of the present invention provide a line protection debugging outline template instantiation method, a line protection debugging outline template instantiation device, an electronic device and a storage medium, which are used to solve or partially solve the technical problem that most of the debugging outline editing work in the existing related technology is completed manually by testers, and the process is time-consuming and labor-intensive, which greatly reduces the debugging efficiency of substation secondary equipment.

[0053] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, some technical features involved in the solution are briefly described first:

[0055] SCD file: A standardized file format used to describe the configuration and communication settings of all IEDs (Intelligent Electronic Devices) in a smart substation. In an SCD file, common information includes basic information such as the name, number, and physical topology of the substation, as well as detailed properties and configurations of each device (such as circuit breakers, transformers, switches, etc.), and network-related information such as communication configuration, communication protocols, and communication interfaces. SCD files can be used in various stages of smart substation design, construction, commissioning, and operation and maintenance.

[0056] MMS (Manufacturing Message Specification): In smart substations, MMS messages are a standard protocol for communication. MMS messages can carry various types of data, including control commands, status reports, event records, etc. The station control layer and the bay layer use MMS messages to perform object-oriented modeling of actual devices, thereby enabling interoperability between different manufacturing devices in a network environment.

[0057] GOOSE (Generic Object Oriented Substation Event): A message passing mechanism. It can be used to transmit real-time protection information between multiple IEDs in a smart substation. It can also be used to transmit circuit breaker status and other key control signals.

[0058] SV (Sampled Values): The value obtained by sampling electrical quantities through sensors in the power system and digitizing them. The SV protocol is a communication protocol for transmitting analog sampled values. The SV protocol is mainly used for high-speed transmission of analog data between IEDs in smart substations, such as current, voltage and other measurement values.

[0059] As an example, currently, before debugging equipment, the debugging personnel will edit and modify the general debugging outline for each different device to generate a specific debugging outline. During the actual debugging, the debugging personnel will debug according to the debugging outline of the specific device and fill in the debugging results. However, with this debugging method, since most of the debugging outline editing work needs to be done manually by the debugging personnel, the process is time-consuming and labor-intensive, which greatly reduces the debugging efficiency of substation secondary equipment.

[0060] Therefore, one of the core inventive points of the embodiment of the present invention is: in view of the deficiencies in the prior art, a method for digitizing and instantiating a line protection debugging outline template for an intelligent substation is proposed. On the one hand, by establishing a universal debugging object model, the secondary equipment models of various manufacturers can be integrated to solve the differentiation problem of the same type of secondary equipment models from different manufacturers (such as equipment line protection, intelligent terminals, merging units, integrated intelligence and other device models). On the other hand, through manual modeling, the line protection debugging outline document is converted into a universal digital debugging outline template, and templated debugging objects, test items, test logic and associated signal points are defined, and combined with the substation SCD file, the line protection debugging outline instance is automatically instantiated and generated, so that the debugging outline template can be edited once and used by multiple devices, thereby greatly reducing the workload of debugging outline editing and improving the debugging efficiency of substation line protection devices.

[0061] Reference Figure 1 , shows a flowchart of a method for instantiating a line protection debugging outline template provided by an embodiment of the present invention, which may specifically include the following steps:

[0062] Step 101, obtaining an SCD file, a debugging outline, and a plurality of general debugging object models of a smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic;

[0063] In practical applications, first of all, it is necessary to build a universal debugging object model for each different type of debugging object. For example, for debugging objects of the measurement and control device class, build a universal debugging object model, and for debugging objects of the protection device class, build another universal debugging object model. Then, according to the standards of each debugging object, establish a unified universal information point, integrate the differentiated information points of each manufacturer, and form a dictionary library.

[0064] The debugging object standard refers to the substation secondary equipment information model standard, which may include device standards such as substation equipment information model technical specifications, relay protection information specifications, relay protection and related secondary equipment information description specifications, etc.

[0065] Specifically, universal debugging object models corresponding to different types of debugging objects are established, and universal information points of each universal debugging object model are established respectively; each universal information point is mapped and associated with the device model signal point actually corresponding to the smart substation to form a dictionary library; the dictionary library is used to describe the mapping association relationship between the universal information point and the device model signal point actually corresponding to the smart substation.

[0066] Among them, the debugging objects are mainly the line interval secondary equipment in the smart substation, and the line interval secondary equipment can include line protection devices of various voltage levels, measurement and control devices, universal voltage level line intelligent terminals, merging units, and integrated intelligence. General information points include station control layer MMS signal points, process layer GOOSE signal points, and SV signal points. Each signal point is identified by a unique name, and a mapping relationship is established with the model signal points of each manufacturer and model device.

[0067] Furthermore, the debugging outline template document of the line protection of the smart substation can be obtained, and by parsing the debugging outline template document of the line protection, text, table and other information can be extracted to form a digital debugging outline table and text content (i.e., debugging outline). The basic attributes of the debugging outline can also be automatically analyzed based on the keywords in the document. Among them, the basic attributes can mainly include information such as the device type, interval type, voltage level, and device set of the line protection device measured by the debugging outline. The basic attributes are used to compare and match the debugging outline with the line protection device.

[0068] The line protection commissioning outline template is a document template used to guide the commissioning of line protection devices. This type of document usually includes the purpose, scope, preparation, commissioning steps, test items, acceptance criteria, etc. of the commissioning, so that the line protection device can work correctly and reliably.

[0069] For each test item in the digital commissioning outline, a general line protection test process, i.e., general test logic, can be written using general information points. For test items that cannot be written using general test logic, a specific line protection test process, i.e., dedicated test logic, can be written for a specific model of IED.

[0070] Among them, the test items of line protection can mainly include protection input and output test, distance protection setting value inspection, zero sequence protection setting value verification, longitudinal differential protection verification, etc. The test logic (i.e. the test process) can mainly include pressure plate, control word throw-in and throw-out operation, voltage and current output state sequence, action output state sequence, result judgment logic, etc.

[0071] It is understandable that, although in most cases, the writing of the test logic follows the order of the pressure plate, the control word throw-in and throw-out operation, the voltage and current output state sequence, the action output state sequence, and the result judgment logic. However, in actual applications, the test logic does not need to be written strictly in this order. Those skilled in the art can make adjustments according to actual test requirements. It is understandable that the present invention is not limited to this.

[0072] Due to the differences in protection equipment of different manufacturers, for some special test items, the line protection test methods and processes of each manufacturer are different, so it is impossible to use the general test logic to write the test process. In this case, a specific test process can be written for each specific manufacturer and model of IED.

[0073] For example, a relay line protection device of a certain manufacturer has a steady-state differential I-stage protection function, while other manufacturers' protection devices do not have this function. Therefore, it is necessary to write a specific test process for the steady-state differential I-stage protection of the relay line protection device of this manufacturer.

[0074] For example, the distance protection function algorithms of line protection devices from different manufacturers are different. Therefore, for the distance protection test item, different test procedures need to be written for the devices of different manufacturers.

[0075] In the specific implementation, for each test item in the debugging outline, we can first determine whether the test item is a general test item; if so, we will reference the general information point and write the general line protection test process (general test logic) of the test item; if not, we will define the test item as a special test item, determine the special model IEDs corresponding to the special test item, and write the special test logic of the special test item under different special model IEDs. Therefore, for a specific test item, we can write specific test processes (special test logic) for different models of line protection devices.

[0076] Step 102, determining at least one target debugging object that conforms to the general debugging object model according to the SCD file and the debugging outline, and generating debugging outline instances of each of the target debugging objects respectively through instantiation;

[0077] In this step, the debugging object of the line protection debugging outline is instantiated based on the SCD file, and a debugging outline instance for a specific line protection device (that is, the target debugging object obtained through screening) is generated.

[0078] Specifically, according to the SCD file and the debugging outline, at least one target debugging object that conforms to the general debugging object model is determined, which can be: parsing the SCD file, analyzing the basic properties of all line interval secondary equipment in the smart substation, and screening out all line protection devices from all line interval secondary equipment; through comparison and matching, screening out at least one target debugging object that is consistent with the basic properties of the debugging outline and corresponds to the general debugging object model from each line protection device.

[0079] More specifically, the SCD file is imported and parsed. According to the IED name of the line bay secondary device in the SCD, the voltage level, device type, bay type and other attributes of each line bay secondary device are analyzed. Based on the analysis results, all line protection devices are filtered out. By comparing and matching the attributes of the screened line protection devices with the basic attributes of the debugging outline such as voltage level and device set (which can be regarded as constraint attributes here), all line protection devices that meet the conditions (i.e., the device type, bay type, voltage level, and device set are all consistent) are further screened out as target debugging objects. Then, debugging outline instances are generated for these target debugging objects (actual line protection devices).

[0080] Step 103: instantiate all debugging objects to be instantiated that are associated with the test logic of the debugging outline instance, and instantiate all information points to be instantiated that are referenced in the test logic.

[0081] In this step, the main task is to instantiate all debugging objects to be instantiated (i.e., IEDs to be instantiated) associated in the test logic of the debugging outline instance according to the virtual connection of the line protection device, as well as instantiate all information points to be instantiated referenced in the test logic, and instantiate the information points to specific signal point references in the SCD.

[0082] In a specific implementation, all debugging objects to be instantiated associated in the test logic of the instantiated debugging outline instance can be: first, all debugging objects to be instantiated associated in the test logic of the debugging outline instance are recorded as set S1; based on the SCD file, the virtual connection of the target debugging object is analyzed, and all associated secondary devices having a virtual connection relationship with the target debugging object are determined, which are recorded as set S2; then the device type of each device in set S1 and set S2 is compared one by one, and when there is a successful match between the device type of the target debugging object to be instantiated and the target associated secondary device, the target debugging object to be instantiated is replaced with the target associated secondary device.

[0083] More specifically, for the line protection debugging outline instance obtained in the above steps, all the IEDs to be instantiated (general debugging objects to be instantiated) associated in the test logic of the debugging outline instance are recorded as set S1. Based on the SCD file, the virtual connection of the actual line protection device (target debugging object) is analyzed, and all IED devices (associated secondary devices) that have a virtual connection relationship with the line protection are found, recorded as set S2, and the device type of each IED device is recorded. There is at most one device of the same type in the line interval. For example, there is at most one intelligent terminal, merging unit, or integrated intelligent device. Therefore, the device type of each device in sets S1 and S2 can be compared one by one. When the device types are the same, it is considered that the match is successful, that is, the instantiation is successful. Replace the IED to be instantiated (target debugging object to be instantiated) with the instantiated IED (target associated secondary device with the same device type as the target debugging object to be instantiated).

[0084] Then instantiate all the information points to be instantiated that are referenced in the test logic. The process can be specifically as follows: first determine all the information points to be instantiated that are referenced in the test logic; then, based on the mapping relationship between the general information points described in the dictionary library and the corresponding device model signal points in the smart substation, for each information point to be instantiated, traverse all the actual device model signal points associated with the information point to be instantiated, and compare the information point to be instantiated with each actual device model signal point one by one; when there is a successful match between the target information point to be instantiated and the target actual device model signal point, replace the target information point to be instantiated with the target actual device model signal point.

[0085] Among them, for each information point to be instantiated, the dictionary library describes the mapping relationship between the information point and the actual corresponding device model signal point in the smart substation. Therefore, all actual device model information points associated with the information point to be instantiated are traversed, and the device manufacturer, device model, device version, and signal reference information in the information point to be instantiated are compared with each actual device model signal point. When the information is the same, it is considered that the match is successful. At this time, the general information point to be instantiated is replaced with the instantiated information point.

[0086] For a specific test item, it may be impossible to instantiate the current test logic based on the general debugging object model. According to the above content, specific test procedures are written for different types of line protection devices in step 101. Therefore, in this case, according to the manufacturer and model of the actual line protection device corresponding to the debugging outline instance to which the current debugging object belongs, a matching dedicated test logic can be selected as the test procedure of the specific test item. Then, referring to the relevant process of instantiating all the information points to be instantiated referenced in the test logic introduced in the above steps, all the information points to be instantiated referenced in the dedicated test logic are instantiated.

[0087] In a specific implementation, when the current test logic cannot be instantiated based on the general debugging object model, a dedicated debugging outline instance of the current debugging object is generated by instantiation; the target dedicated model IED and the target dedicated test item to which the dedicated debugging outline instance belongs are determined, and the target dedicated test logic matching the target dedicated model IED is screened out from multiple dedicated test logics corresponding to the target dedicated test item; all information points to be instantiated referenced in the target dedicated test logic are instantiated.

[0088] In an embodiment of the present invention, a method for digitizing and instantiating a line protection debugging outline template for a smart substation is proposed. On the one hand, by establishing a universal debugging object model, the secondary equipment models of various manufacturers can be integrated to solve the differentiation problem of the same type of secondary equipment models from different manufacturers (such as equipment line protection, intelligent terminals, merging units, integrated intelligence and other device models). On the other hand, the line protection debugging outline document is converted into a universal digital debugging outline template through manual modeling, and templated debugging objects, test items, test logic and associated signal points are defined. In combination with the substation SCD file, the line protection debugging outline instance is automatically instantiated and generated, so that the debugging outline template can be edited once and used by multiple devices, thereby greatly reducing the workload of debugging outline editing and improving the debugging efficiency of substation line protection devices.

[0089] For better explanation, refer to Figure 2 , showing a schematic diagram of the overall process of a line protection debugging outline template instantiation method provided by an embodiment of the present invention. It should be pointed out that this embodiment only briefly describes the general process of line protection debugging outline template instantiation, and the specific implementation process of each step can be understood by referring to the relevant content in the aforementioned embodiment, which will not be described here. It can be understood that the present invention is not limited to this.

[0090] Step 201: Establish a general debugging object model and general information points to form a dictionary library;

[0091] Step 202: parsing the line protection debugging outline template document to form a digital debugging outline;

[0092] Step 203: Write the test logic of each test item in the debugging outline;

[0093] Step 204: Determine whether instantiation can be performed based on a general method; if not, jump to step 205; if yes, jump to steps 206 to 208;

[0094] Step 205: Enable instantiation in a dedicated manner; jump to step 208;

[0095] Step 206: Screening the target debugging object and generating a debugging outline instance;

[0096] Step 207: instantiate the debugging object to be instantiated associated in the debugging outline instance test logic;

[0097] Step 208: Instantiate the information points to be instantiated that are referenced in the test logic.

[0098] For ease of understanding, in combination with the foregoing embodiments, an embodiment of the present invention is described below by using a specific example.

[0099] Step 1: Establish a general debugging object model for line bay secondary equipment of smart substation.

[0100] Firstly, for different types of debugging objects, a universal debugging object model for line interval secondary equipment is constructed, which can mainly include 220kV line protection device (named P_L220_N), universal intelligent terminal device (named I_O00_N), and universal merging unit device (named M_O00_N).

[0101] Then, according to the standards of the new generation of autonomous and controllable devices, general information points are established, mainly including MMS signal points (parameters, set values, pressure plates, telesignaling, telemetering, remote control, etc.) of line protection, GOOSE sending and receiving signal points, GOOSE sending and receiving signal points of intelligent terminals, and SV sending signal points of merging units.

[0102] These common information points are then associated and mapped with the signal points of the corresponding device model in the actual SCD file of the smart substation to form a dictionary library.

[0103] Step 2: Parse the line protection debugging outline template document.

[0104] By parsing the line protection debugging outline template document, extracting text, tables and other information in the document, a digital debugging outline (including tables, text content and other information) is formed. According to the keywords in the document, the basic attributes of the debugging outline template can be automatically analyzed. Specifically, it includes the voltage level and device type of the line protection device measured in the debugging outline.

[0105] Specifically, the program can automatically read the table text information in the document to form a digital debugging outline. And automatically analyze the basic attributes of the debugging outline template such as voltage level and device type according to the keywords in the document. For example, when identifying the voltage level, fuzzy matching can be performed based on the keywords 750kV, 500kV, 330kV, 220kV, 110kV, 66kV, 35kV, 110kV, and 380V. The analysis of other basic attributes is similar and will not be repeated here.

[0106] Step 3: For each test item in the digital debugging outline, use common information points to write common line protection test logic.

[0107] Specifically, several test processes can be set to flexibly edit and combine test logic. When writing test logic, signal points (ie, general information points) of standard signals of the general debugging object model can be referenced.

[0108] For example:

[0109] (1) Manual confirmation: output test results through manual selection;

[0110] (2) Platen / control word launch and retreat: Automatic launch and retreat of the platen / control word device is realized through MMS communication;

[0111] (3) GOOSE sending: sending GOOSE position change message;

[0112] (4) State sequence: realize the sending of voltage and current digital / analog state in sequence;

[0113] (5) Logical judgment: You can edit the logical formula arbitrarily to judge the test results;

[0114] by Figure 3 Take the distance protection setting test item of 220kV line protection as an example.

[0115] For example, the action behavior under the setting value of 105% of section I - the test process of phase A fault writing is as follows:

[0116] first step:

[0117] Pressure plate / control word throw and withdraw: P_L22_0N$ENA$distance protection soft pressure plate$Val=ON; P_L22_0N$CW$distance protection stage I$Val=ON;

[0118] Step 2:

[0119] Output normal voltage and current Ua1=57.735∠0°, Ub1=57.735∠-120°, Uc1=57.735∠120°, Ia1=Ib2=Ic3=0, duration 5s;

[0120] Step 3:

[0121] Output fault state voltage and current Ua1=10∠0°, Ub1=57.735∠-120°, Uc1=57.735∠120°, Ia1=6 / 1.05 / P_L22_0N$SET$ground distance I stage constant value $Val, Ib2=Ic3=0, duration 80ms;

[0122] Step 4:

[0123] Logical judgment: [P_L22_0N$TRII$Ground distance stage I action$Act]=0&& [P_L22_0N$TRII$Phase distance stage I action$Act]=0&& I_O00_0N$GTX$A phase circuit breaker position$Val=0.

[0124] Step 4: Generate a debug outline instance.

[0125] Import the SCD file and analyze the voltage level, device type, bay type, and device set of the IED according to the IED name. Then use the 220kV line protection device as the general debugging object model screening condition, and filter out all the line protection devices that meet this condition from all the IEDs parsed from the SCD file. In this example, the four line protection devices P_L2201A, P_L2201B, P_L2202A, and P_L2202 can be filtered out. Then, for these four 220kV line protection devices, the corresponding debugging outline instances can be generated respectively.

[0126] Step 5: Instantiate all IEDs associated in the test logic of the debug outline instance.

[0127] Specifically, take the P_L2201A line protection debugging outline example obtained in step 4 as an example. According to the SCD file, it is analyzed that the IEDs having a virtual connection relationship with the P_L2201A line protection device include the intelligent terminal I_L2201A and the merging unit M_L2201A.

[0128] The IEDs to be instantiated associated with the distance protection setting verification test process in step 3 are the line protection P_L220_N and the intelligent terminal I_O00_N. Therefore, the line protection P_L220_N should be instantiated as the line protection P_L2201A, and the intelligent terminal I_O00_N should be instantiated as the intelligent terminal I_L2201A.

[0129] Step 6: Instantiate all the information points to be instantiated that are referenced in the test logic, and instantiate the information points to reference specific signal points in the SCD.

[0130] Specifically, for the information point "P_L22_0N$SET$ground distance segment I constant value $Val" in step 3, the dictionary library describes the mapping relationship between the general information point and the signal point ground distance segment I constant value of the actual IED device model (ie, line protection P_L2201A).

[0131] By traversing all mappings of the ground distance I section constant value of the general information point, you can find the mapping that is consistent with the manufacturer, device model, and device version information of the line protection P_L2201A device. Finally, the information point to be instantiated "P_L22_0N$SET$ground distance I section constant value $Val" is instantiated into the actual device model signal point "P_L2201A$SET$ground distance I section constant value $Val" by replacement. Record the specific signal reference associated with it: P_L2201APROT / PDIS1.GndStr.

[0132] According to the above method, the common information points of all test items can be instantiated one by one.

[0133] Reference Figure 4 , shows a structural block diagram of a line protection debugging outline template instantiation device provided by an embodiment of the present invention, which may specifically include:

[0134] The data acquisition module 401 is used to acquire the SCD file, the debugging outline and a plurality of general debugging object models of the smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic;

[0135] A debugging outline instance generating module 402 is used to determine at least one target debugging object that conforms to the general debugging object model according to the SCD file and the debugging outline, and to generate debugging outline instances of each of the target debugging objects respectively through instantiation;

[0136] The instantiation module 403 is used to instantiate all debugging objects to be instantiated associated in the test logic of the debugging outline instance, and to instantiate all information points to be instantiated referenced in the test logic.

[0137] In an optional embodiment, the device further includes:

[0138] A universal debugging object model building module is used to build universal debugging object models corresponding to different types of debugging objects, and to build universal information points of each universal debugging object model;

[0139] The mapping association module is used to map and associate each of the general information points with the device model signal points actually corresponding to the smart substation to form a dictionary library; the dictionary library is used to describe the mapping association relationship between the general information points and the device model signal points actually corresponding to the smart substation.

[0140] In an optional embodiment, the debugging object is the line interval secondary equipment in the intelligent substation, and the line interval secondary equipment includes line protection devices of various voltage levels, measurement and control devices, universal voltage level line intelligent terminals, merging units, and integrated intelligence; the universal information points include station control layer MMS signal points, process layer GOOSE signal points, and SV signal points.

[0141] In an optional embodiment, the device further includes:

[0142] A test item determination module, used for determining, for each test item in the debugging outline, whether the test item is a common test item;

[0143] A universal test logic writing module, used to reference the universal information point and write the universal test logic of the test item; the universal test logic is a universal line protection test process;

[0144] A dedicated test logic writing module is used to define the test item as a dedicated test item, determine the dedicated model IEDs corresponding to the dedicated test item, and write the dedicated test logic of the dedicated test item under different dedicated model IEDs; the dedicated test logic is a line protection test process written for the dedicated model IED.

[0145] In an optional embodiment, the test items include protection input and output tests, distance protection setting value inspection, zero-sequence protection setting value verification, and longitudinal differential protection verification; the test logic includes pressure plates, control word throw-in and throw-out operations, voltage and current output state sequences, action quantity output state sequences, and result judgment logic.

[0146] In an optional embodiment, the device further includes:

[0147] A debugging outline template document acquisition module is used to obtain a debugging outline template document for line protection of a smart substation;

[0148] A debugging outline template document parsing module, used to parse the debugging outline template document and form a digital debugging outline by extracting information;

[0149] A basic attribute analysis module is used to analyze the basic attributes of the debugging outline according to the keywords in the debugging outline template document; the basic attributes include the device type, interval type, voltage level and device set of the line protection device measured by the debugging outline, and the basic attributes are used to compare and match the debugging outline with the line protection device.

[0150] In an optional embodiment, the debugging outline instance generating module 402 includes:

[0151] A line protection device screening module, used to parse the SCD file, analyze the basic properties of all line bay secondary devices in the smart substation, and screen out all line protection devices from all line bay secondary devices;

[0152] The target debugging object screening module is used to screen out at least one target debugging object that is consistent with the basic attributes of the debugging outline and corresponds to the universal debugging object model from each of the line protection devices through comparison and matching.

[0153] In an optional embodiment, the instantiation module 403 includes:

[0154] A module for collecting debug objects to be instantiated, used for recording all debug objects to be instantiated associated in the test logic of the debug outline instance as a set S1;

[0155] An associated secondary device set module, used to analyze the virtual connection of the target debugging object based on the SCD file, and determine all associated secondary devices having a virtual connection relationship with the target debugging object, which are recorded as a set S2;

[0156] The first instantiation submodule is used to compare the device type of each device in the set S1 and the set S2 one by one, and when the device type of the target to-be-instantiated debugging object successfully matches the device type of the target associated secondary device, replace the target to-be-instantiated debugging object with the target associated secondary device.

[0157] In an optional embodiment, the instantiation module 403 includes:

[0158] A module for determining information points to be instantiated, used for determining all information points to be instantiated that are referenced in the test logic;

[0159] An information point information comparison module is used to traverse all actual device model signal points associated with each information point to be instantiated according to the mapping association relationship between the general information point described in the dictionary library and the actual corresponding device model signal points in the smart substation, and compare the information point to be instantiated with each actual device model signal point one by one;

[0160] The second instantiation submodule is used to replace the target information point to be instantiated with the target actual device model signal point when there is a successful match between the target information point to be instantiated and the target actual device model signal point.

[0161] In an optional embodiment, the device further includes:

[0162] A dedicated debugging outline instance generation module, used for generating a dedicated debugging outline instance of the current debugging object by instantiation when the current test logic cannot be instantiated based on the general debugging object model;

[0163] A target-specific test logic screening module is used to determine the target-specific model IED and the target-specific test item to which the dedicated debugging outline instance belongs, and screen out the target-specific test logic matching the target-specific model IED from a plurality of dedicated test logics corresponding to the target-specific test item;

[0164] The third instantiation submodule is used to instantiate all the information points to be instantiated that are referenced in the target-specific test logic.

[0165] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the aforementioned method embodiment.

[0166] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:

[0167] The memory is used to store the program code and transmit the program code to the processor;

[0168] The processor is used to execute the line protection debugging outline template instantiation method of any embodiment of the present invention according to the instructions in the program code.

[0169] An embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the line protection debugging outline template instantiation method of any embodiment of the present invention.

[0170] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0171] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0172] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0173] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0174] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0175] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for instantiating a line protection debugging outline template, characterized in that: include: Obtaining an SCD file, a debugging outline, and a plurality of general debugging object models of a smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic; Determine at least one target debugging object that conforms to the general debugging object model according to the SCD file and the debugging outline, and generate debugging outline instances of each of the target debugging objects respectively by instantiation; All debugging objects to be instantiated associated in the test logic of the debugging outline instance are instantiated, and all information points to be instantiated referenced in the test logic are instantiated.

2. The method for instantiating a line protection debugging outline template according to claim 1, characterized in that: Also includes: Establishing universal debugging object models corresponding to different types of debugging objects, and respectively establishing universal information points of each of the universal debugging object models; Each of the general information points is mapped and associated with the device model signal point actually corresponding to the smart substation to form a dictionary library; the dictionary library is used to describe the mapping association relationship between the general information point and the device model signal point actually corresponding to the smart substation.

3. The method for instantiating a line protection debugging outline template according to claim 2, characterized in that: The debugging object is the line interval secondary equipment in the smart substation, and the line interval secondary equipment includes line protection devices of various voltage levels, measurement and control devices, universal voltage level line intelligent terminals, merging units, and integrated intelligence; the universal information points include station control layer MMS signal points, process layer GOOSE signal points, and SV signal points.

4. The method for instantiating a line protection debugging outline template according to claim 2, characterized in that: Also includes: For each of the test items in the debugging outline, determining whether the test item is a common test item; If yes, then reference the general information point to write the general test logic of the test item; the general test logic is a general line protection test process; If not, the test item is defined as a special test item, the special model IEDs corresponding to the special test item are determined, and special test logic for the special test item under different special model IEDs is written; the special test logic is a line protection test process written for the special model IED.

5. The method for instantiating a line protection debugging outline template according to claim 4, characterized in that: The test items include protection input and output test, distance protection setting value inspection, zero-sequence protection setting value verification, and longitudinal differential protection verification; the test logic includes pressure plate, control word throw-in and throw-out operation, voltage and current output state sequence, action quantity output state sequence, and result judgment logic.

6. The method for instantiating a line protection debugging outline template according to claim 4, characterized in that: Also includes: Obtain the debugging outline template document for smart substation line protection; Parsing the debugging outline template document, and forming a digital debugging outline by extracting information; According to the keywords in the debugging outline template document, the basic attributes of the debugging outline are analyzed; the basic attributes include the device type, interval type, voltage level and device set of the line protection device measured by the debugging outline, and the basic attributes are used to compare and match the debugging outline with the line protection device.

7. The method for instantiating a line protection debugging outline template according to claim 6, characterized in that: The step of determining at least one target debugging object that conforms to the general debugging object model according to the SCD file and the debugging outline includes: Parsing the SCD file, analyzing the basic properties of all line bay secondary devices in the smart substation, and screening out all line protection devices from all line bay secondary devices; By comparing and matching, at least one target debugging object that is consistent with the basic attributes of the debugging outline and corresponds to the universal debugging object model is screened out from each of the line protection devices.

8. The method for instantiating a line protection debugging outline template according to claim 7, characterized in that: All debugging objects to be instantiated associated with the test logic of the instantiated debugging outline instance include: Record all debug objects to be instantiated associated in the test logic of the debug outline instance as a set S1; Based on the SCD file, analyze the virtual connection of the target debugging object, determine all associated secondary devices having a virtual connection relationship with the target debugging object, and record them as a set S2; The device type of each device in the set S1 and the set S2 is compared one by one, and when there is a successful match between the device type of the target to-be-instantiated debugging object and the target associated secondary device, the target to-be-instantiated debugging object is replaced with the target associated secondary device.

9. The method for instantiating a line protection debugging outline template according to claim 4, characterized in that: The instantiation includes all the information points to be instantiated that are referenced in the test logic, including: Determine all information points to be instantiated that are referenced in the test logic; According to the mapping association relationship between the universal information points described in the dictionary library and the corresponding device model signal points in the smart substation, for each of the information points to be instantiated, traverse all the actual device model signal points associated with the information point to be instantiated, and compare the information point to be instantiated with each of the actual device model signal points one by one; When there is a target information point to be instantiated that successfully matches a target actual device model signal point, the target information point to be instantiated is replaced with the target actual device model signal point.

10. The method for instantiating a line protection debugging outline template according to claim 9, characterized in that: Also includes: When the current test logic cannot be instantiated based on the general debugging object model, a dedicated debugging outline instance of the current debugging object is generated by instantiation; Determine the target dedicated model IED and the target dedicated test item to which the dedicated debugging outline instance belongs, and select the target dedicated test logic matching the target dedicated model IED from a plurality of dedicated test logics corresponding to the target dedicated test item; All to-be-instantiated information points referenced in the target-specific test logic are instantiated.

11. A line protection debugging outline template instantiation device, characterized in that: include: A data acquisition module, used to acquire an SCD file, a debugging outline, and a plurality of general debugging object models of a smart substation, wherein the debugging outline corresponds to at least one test item, and each of the test items corresponds to a test logic; A debugging outline instance generating module, used to determine at least one target debugging object conforming to the general debugging object model according to the SCD file and the debugging outline, and to generate debugging outline instances of each of the target debugging objects respectively through instantiation; The instantiation module is used to instantiate all debugging objects to be instantiated associated in the test logic of the debugging outline instance, and to instantiate all information points to be instantiated referenced in the test logic.

12. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the line protection debugging outline template instantiation method described in any one of claims 1-10 according to the instructions in the program code.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the line protection debugging outline template instantiation method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Secondary design system of intelligent substation

    CN104133953A

  • Testing system and method for whole station information intelligent point alignment of digital substation

    CN107515344A

  • Method and device for instantiating test case of telecontrol machine

    CN115168184A

  • Method, device and equipment for testing secondary equipment of intelligent substation and medium

    CN117273632A