CN113779034B - Automatic inspection SCD file virtual terminal interval-crossing error connection method and device - Google Patents

Automatic inspection SCD file virtual terminal interval-crossing error connection method and device Download PDF

Info

Publication number
CN113779034B
CN113779034B CN202111094682.3A CN202111094682A CN113779034B CN 113779034 B CN113779034 B CN 113779034B CN 202111094682 A CN202111094682 A CN 202111094682A CN 113779034 B CN113779034 B CN 113779034B
Authority
CN
China
Prior art keywords
goose
ied
interval
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111094682.3A
Other languages
Chinese (zh)
Other versions
CN113779034A (en
Inventor
叶远波
王志华
章昊
李端超
谢民
汪伟
汪胜和
邵庆祝
王薇
项忠华
陈晓东
唐强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kemov Electric Co ltd
State Grid Anhui Electric Power Co Ltd
Original Assignee
Wuhan Kemov Electric Co ltd
State Grid Anhui Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Kemov Electric Co ltd, State Grid Anhui Electric Power Co Ltd filed Critical Wuhan Kemov Electric Co ltd
Priority to CN202111094682.3A priority Critical patent/CN113779034B/en
Publication of CN113779034A publication Critical patent/CN113779034A/en
Application granted granted Critical
Publication of CN113779034B publication Critical patent/CN113779034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Evolutionary Biology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for automatically checking cross-interval error connection of SCD file virtual terminals, wherein the method comprises the following steps: analyzing the SCD file, traversing the IED list, obtaining the equipment names, and classifying the equipment according to the equipment names; extracting equipment information of the classified equipment; dividing the total station equipment at intervals according to the equipment information; traversing all IEDs, and acquiring input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED; comparing each GOOSE virtual terminal, and classifying and storing the GOOSE virtual terminals participating in comparison as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result; performing GOOSE virtual terminal cross-interval error connection inspection on the to-be-detected GOOSE virtual terminal; the invention has the advantages that: and realizing automatic inspection of the cross-interval misconnection of the GOOSE virtual terminals.

Description

Automatic inspection SCD file virtual terminal interval-crossing error connection method and device
Technical Field
The invention relates to the field of intelligent substations, in particular to a method and a device for automatically checking cross-interval error connection of SCD file virtual terminals.
Background
The intelligent substation adopts an optical cable to replace a cable, and a virtual loop to replace a real loop. The connection relation between the communication model and the data model of the digital message and the virtual loop is described by adopting an SCD file (transformer substation configuration description file), and the SCD file is connected with virtual terminals by a designer according to the requirements of national network, wherein the connection accuracy is influenced by personnel quality and experience. Especially, GOOSE virtual terminals are large in number and similar in description, and are widely related to Intelligent Electronic Devices (IEDs), so that misconnection and misconnection are more easy to occur.
At present, checking and ensuring the correctness of a GOOSE virtual terminal of an SCD file mainly adopts a text editor, XML checking software or specially developed software, and the SCD file is imported for checking, so that the method has very high technical literacy requirements on checking staff, can be performed under the condition that an IEC61850 model is very known, and is not intuitive and low in efficiency; and for GOOSE virtual terminals to be connected in a wrong way across intervals, the Intelligent Electronic Devices (IEDs) are involved, the checking is difficult, and the manual verification is difficult to realize.
The Chinese patent publication No. CN105335342A discloses an automatic checking method for the connection correctness of virtual terminals of SCD configuration files of an intelligent substation, which is suitable for digital substations and intelligent substations adopting the IEC61850 standard, and realizes automatic judgment of whether the connection of virtual terminals of a device to be tested is correct and complete by generating virtual terminal connection typical libraries and virtual terminal standard template files of intelligent station relay protection related equipment in various main wiring forms and comparing the SCD files to be tested with the virtual terminal standard template files, thereby avoiding a great amount of manual operation workload and error rate and greatly improving the working efficiency. But this patent application is not concerned with the examination of GOOSE dummy terminal misconnection across the gap.
Disclosure of Invention
The technical problem to be solved by the invention is that the prior art lacks a method for automatically checking the cross-interval error connection of the SCD file virtual terminal.
The invention solves the technical problems by the following technical means: a cross-interval error connection method for automatically inspecting SCD file virtual terminals comprises the following steps:
step 1, analyzing an SCD file, traversing an IED list, acquiring a device name, and classifying the device according to the device name;
step 2, extracting equipment information of the classified equipment;
step 3, dividing the total station equipment at intervals according to the equipment information;
step 4, traversing all IEDs, and acquiring input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
step 5, each GOOSE virtual terminal is respectively compared with the input terminal address and the output terminal address of other GOOSE virtual terminals except the GOOSE virtual terminals, and the GOOSE virtual terminals participating in comparison are classified and stored as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result;
step 6, grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the step 3 according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group.
According to the method, the device information of the IED is read by traversing the SCD file IED list, and the IED is divided at intervals according to the device information; and comparing the input terminal addresses and the output terminal addresses of all the GOOSE virtual terminals in each IED, thereby realizing automatic examination of the error connection of the GOOSE virtual terminals across intervals.
Further, in the step 1, the device name is obtained from an IED name node under each IED in the IED list, and the device is classified into a protection unit, a merging unit, an intelligent terminal and a measurement and control according to the obtained device type attribute in the IED name.
Still further, the naming rule of the IED name is a device type+interval type+voltage class+branch number+a/B set, wherein the device type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type includes: line L, busbar M, bus/segmentation E, main transformer T, voltage class includes: 750kV, 500kV, 220kV, 110kV, 35kV and 10kV.
Further, the device information in the step 2 is divided into three layers:
the first layer is IED information, comprising equipment type and equipment name, and matching according to IED name keywords of the equipment in the SCD file;
the second layer is link information, including SV link information and GOOSE link information, and is the SV link information and the GOOSE link information of all the publish/subscribe of the equipment;
the third layer is external IED information, and the information of other devices connected with the device by a GOOSE link comprises device type and device name, and is matched according to IED name keywords in the SCD file.
Further, for the GOOSE link, extracting FCDA and input node information under the G1 access point in the IED as GOOSE link information, wherein the FCDA node information is the GOOSE link information published by the IED, and the input node information is the GOOSE link information subscribed by the IED; extracting ExtRef element information under an input node under a G1 access point in the IED as external IED information; for an SV link, extracting FCDA and input node information under an M1 access point in the IED as SV link information, wherein the information of the FCDA node under the M1 access point is the SV link information published by the IED, and the input node information is the SV link information subscribed by the IED; information in an ExtRef element under an input node under an M1 access point in the IED is extracted as external IED information.
Furthermore, the principle of the middle division in the step 3 is as follows:
and searching other direct-association IEDs which have the SV/GOOSE subscription/release relation with the line protection by taking the line protection as a center, comparing the device names of the line protection with the device names of the direct-association IEDs, and if the device names of the direct-association IEDs are consistent with the line protection in terms of interval type, voltage grade, branch number, and the like, then the direct-association IEDs and the line protection are integrally at an interval.
Furthermore, the input terminal address and the output terminal address of the GOOSE virtual terminal in the step 4 are obtained by combining the IED name with the intaddr information in the input node of the G1 access point in the IED, and storing the combined information as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, daName of the ExtRef element information under the Inputs node is combined to an external address, and stored together with the iedName of the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal.
Further, the comparison principle of GOOSE virtual terminals in the step 5 is as follows:
each GOOSE virtual terminal is used as a source GOOSE virtual terminal and is respectively compared with other GOOSE virtual terminals except the source GOOSE virtual terminal to obtain an input terminal address and an output terminal address;
when the output terminal address and the input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in comparison, the source GOOSE virtual terminal is stored as a correct GOOSE virtual terminal;
when the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in comparison and the output terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as abnormal GOOSE virtual terminals;
and when the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in comparison and the input terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as GOOSE virtual terminals to be detected.
Further, in the step 6, the process of evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the interval to which the same group of IEDs belong is as follows:
the group of IEDs all belong to the same interval, and the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 different intervals, and the 2 different intervals belong to the same voltage class, wherein one interval is a bus interval, and then the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 intervals, and the 2 intervals belong to different voltage levels, so that the group of GOOSE virtual terminals belong to cross-interval misconnection;
the group of IEDs belong to 2 intervals, the 2 intervals belong to the same voltage class, but no bus interval exists in the 2 intervals, so that the group of GOOSE virtual terminals belong to cross-interval error connection;
and if the IED of the group belongs to more than 2 intervals, the virtual terminals of the GOOSE of the group belong to cross-interval misconnection.
The invention also provides a device for automatically checking the cross-interval error connection of the SCD file virtual terminal, which comprises the following components:
the classifying module is used for analyzing the SCD file, traversing the IED list, acquiring the equipment name and classifying the equipment according to the equipment name;
the information extraction module is used for extracting the equipment information of the classified equipment;
the interval division module is used for carrying out interval division on the total station equipment according to the equipment information;
the terminal address acquisition module is used for traversing all IEDs and acquiring the input terminal addresses and the output terminal addresses of all GOOSE virtual terminals in each IED;
the comparison module is used for comparing the input terminal address and the output terminal address with other GOOSE virtual terminals except for each GOOSE virtual terminal, and classifying and storing the GOOSE virtual terminals participating in comparison as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result;
the evaluation module is used for grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the interval dividing module according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group.
Further, the device names in the classification module are acquired from IED name nodes under each IED in the IED list, and the devices are classified into protection, merging units, intelligent terminals and measurement and control according to the acquired device type attribute in the IED name.
Still further, the naming rule of the IED name is a device type+interval type+voltage class+branch number+a/B set, wherein the device type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type includes: line L, busbar M, bus/segmentation E, main transformer T, voltage class includes: 750kV, 500kV, 220kV, 110kV, 35kV and 10kV.
Further, the device information in the information extraction module is divided into three layers:
the first layer is IED information, comprising equipment type and equipment name, and matching according to IED name keywords of the equipment in the SCD file;
the second layer is link information, including SV link information and GOOSE link information, and is the SV link information and the GOOSE link information of all the publish/subscribe of the equipment;
the third layer is external IED information, and the information of other devices connected with the device by a GOOSE link comprises device type and device name, and is matched according to IED name keywords in the SCD file.
Further, for the GOOSE link, extracting FCDA and input node information under the G1 access point in the IED as GOOSE link information, wherein the FCDA node information is the GOOSE link information published by the IED, and the input node information is the GOOSE link information subscribed by the IED; extracting ExtRef element information under an input node under a G1 access point in the IED as external IED information; for an SV link, extracting FCDA and input node information under an M1 access point in the IED as SV link information, wherein the information of the FCDA node under the M1 access point is the SV link information published by the IED, and the input node information is the SV link information subscribed by the IED; information in an ExtRef element under an input node under an M1 access point in the IED is extracted as external IED information.
Furthermore, the interval division principle in the interval division module is as follows:
and searching other direct-association IEDs which have the SV/GOOSE subscription/release relation with the line protection by taking the line protection as a center, comparing the device names of the line protection with the device names of the direct-association IEDs, and if the device names of the direct-association IEDs are consistent with the line protection in terms of interval type, voltage grade, branch number, and the like, then the direct-association IEDs and the line protection are integrally at an interval.
Furthermore, the input terminal address and the output terminal address of the GOOSE virtual terminal in the terminal address obtaining module are obtained by combining the IED name with the intaddr information in the input node under the G1 access point in the IED, and storing the combined information as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, daName of the ExtRef element information under the Inputs node is combined to an external address, and stored together with the iedName of the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal.
Further, the comparison principle of GOOSE virtual terminals in the comparison module is as follows:
each GOOSE virtual terminal is used as a source GOOSE virtual terminal and is respectively compared with other GOOSE virtual terminals except the source GOOSE virtual terminal to obtain an input terminal address and an output terminal address;
when the output terminal address and the input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in comparison, the source GOOSE virtual terminal is stored as a correct GOOSE virtual terminal;
when the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in comparison and the output terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as abnormal GOOSE virtual terminals;
and when the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in comparison and the input terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as GOOSE virtual terminals to be detected.
Further, the process of evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the belonging interval of the same group of IEDs in the evaluation module is as follows:
the group of IEDs all belong to the same interval, and the group of GOOSE terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 different intervals, and the 2 different intervals belong to the same voltage class, wherein one interval is a bus interval, and then the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 intervals, and the 2 intervals belong to different voltage levels, so that the group of GOOSE virtual terminals belong to cross-interval misconnection;
the group of IEDs belong to 2 intervals, the 2 intervals belong to the same voltage class, but no bus interval exists in the 2 intervals, so that the group of GOOSE virtual terminals belong to cross-interval error connection;
and if the IED of the group belongs to more than 2 intervals, the virtual terminals of the GOOSE of the group belong to cross-interval misconnection.
The invention has the advantages that:
(1) According to the method, the device information of the IED is read by traversing the SCD file IED list, and the IED is divided at intervals according to the device information; and comparing the input terminal addresses and the output terminal addresses of all the GOOSE virtual terminals in each IED, thereby realizing automatic examination of the error connection of the GOOSE virtual terminals across intervals.
(2) The invention provides the automatic checking method for the cross-interval error connection of the GOOSE virtual terminal, which reduces the manual checking time, saves the labor cost and improves the accuracy of SCD.
Drawings
FIG. 1 is a flow chart of a method for automatically inspecting a cross-interval misconnection of a virtual terminal of an SCD file according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a typical interval in a method for automatically inspecting a cross-interval misconnection of a virtual terminal of an SCD file according to an embodiment of the present invention;
fig. 3 is a schematic diagram of comparison of GOOSE virtual terminals in a method for automatically inspecting cross-interval error connection of SCD file virtual terminals according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described in the following in conjunction with the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
As shown in fig. 1, an automatic inspection method for automatically inspecting SCD file virtual terminal cross-interval misconnection, from the introduction of SCD file to the completion of GOOSE virtual terminal cross-interval misconnection, comprises the following steps:
step 1, analyzing an SCD file, traversing an IED list, acquiring a device name, and classifying the device according to the device name;
in this embodiment, the device name is obtained from an IED name node under each IED in the IED list, and the devices are classified into protection (P), merging unit (M), intelligent terminal (I), and measurement and control (C/S) according to the obtained device type attribute in the IED name.
The naming rule of the IED name is equipment type, interval type, voltage level, branch number, A/B set, wherein the equipment type comprises: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type includes: line L, busbar M, bus/segmentation E, main transformer T, voltage class includes: 750kV, 500kV, 220kV, 110kV, 35kV and 10kV.
Step 2, extracting equipment information of the classified equipment; the device information is divided into three layers:
the first layer is IED information, comprising equipment type and equipment name, and matching according to IED name keywords of the equipment in the SCD file;
the second layer is link information, including SV link information and GOOSE link information, and is the SV link information and the GOOSE link information of all the publish/subscribe of the equipment;
the third layer is external IED information, and the information of other devices connected with the device by a GOOSE link comprises device type and device name, and is matched according to IED name keywords in the SCD file.
For the GOOSE link, FCDA (functional constraint data attribute) and input (external signal reference) node information of a dataSet information node (hereinafter referred to as dataSet) under a logical node class LN0 lnClass (LLN 0) of each logical device in a logical device instance node LDeviceinst (PI or PIGO) under a G1 access point in the IED are extracted as GOOSE link information. FCDA in dataSet includes elements of ldlnst (logical device instance), prefix, lnClass (logical node class), lnlnst (logical node instance), doName (data object name), daName (data attribute); and combining all element information under the FCDA into GOOSE link information issued by the IED.
ExtRef (external attribute reference) in Inputs includes elements, iename, prefix, lnClass, lnInst, doName, daName, intAddr (internal address); all element information under ExtRef is combined into GOOSE link information subscribed to by the IED.
Similarly, for the SV link information, ldInst, prefix, lnClass, lnInst, doName, daName, fc element information under FCDA under M1 access point in IED model is combined into SV link information issued by the IED; the iedName, prefix, lnClass, lnInst, doName, daName, intAddr element information under ExtRef is combined into SV link information subscribed to by the IED.
Step 3, dividing the total station equipment at intervals according to the equipment information; as shown in fig. 2, which is a typical interval diagram, in this embodiment, taking a line interval as an example, the interval division principle is as follows:
searching other direct-related IEDs with SV/GOOSE subscription/release relation with the line protection, wherein as can be seen from FIG. 2, the SV subscription/release is arranged between the line merging unit and the line protection; GOOSE subscription/release is arranged between the intelligent line terminal and the line protection; GOOSE subscription/release is arranged between the line measurement and control and the line protection; GOOSE subscription/release is arranged between the busbar protection and the line protection; and comparing IED names of IEDs directly related to the line protection, wherein the line merging unit, the line intelligent terminal, the line measurement and control unit, the line protection interval type, the voltage level and the branch number are consistent, and the bus protection interval type is inconsistent with the line protection interval type, so that the line protection, the line merging unit, the line intelligent terminal and the line measurement and control unit are one line interval.
Step 4, traversing all IEDs, and acquiring input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
the input terminal address and the output terminal address of the GOOSE virtual terminal are obtained by combining the IED name with the intaddr information in the input node under the G1 access point in the IED, and storing the combined information as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, daName of the ExtRef element information under the Inputs node is combined to an external address, and stored together with the iedName of the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal.
Step 5, each GOOSE virtual terminal is respectively compared with the input terminal address and the output terminal address of other GOOSE virtual terminals except the GOOSE virtual terminals, and the GOOSE virtual terminals participating in comparison are classified and stored as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result; as shown IN fig. 3, which is a schematic diagram of a GOOSE virtual terminal comparison process, addr IN represents an input terminal address, addr out represents an output terminal address, and a rule of GOOSE virtual terminal comparison is as follows:
each GOOSE virtual terminal is used as a source GOOSE virtual terminal and is respectively compared with other GOOSE virtual terminals except the source GOOSE virtual terminal to obtain an input terminal address and an output terminal address;
when the output terminal address and the input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in comparison, the source GOOSE virtual terminal is stored as a correct GOOSE virtual terminal;
when the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in comparison and the output terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as abnormal GOOSE virtual terminals;
and when the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in comparison and the input terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as GOOSE virtual terminals to be detected.
Step 5, the correct GOOSE virtual terminal is a correct link, and cross-interval examination is not needed; the abnormal GOOSE virtual terminal is an error link, and directly reports link errors; and the GOOSE virtual terminal to be detected needs to be inspected at intervals. The GOOSE dummy terminals to be inspected are inspected at intervals as follows by the method of step 6.
Step 6, grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the step 3 according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group. The specific examination process comprises the following steps:
the group of IEDs all belong to the same interval, and the group of GOOSE terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 different intervals, and the 2 different intervals belong to the same voltage class, wherein one interval is a bus interval, and then the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 intervals, and the 2 intervals belong to different voltage levels, so that the group of GOOSE virtual terminals belong to cross-interval misconnection;
the group of IEDs belong to 2 intervals, the 2 intervals belong to the same voltage class, but no bus interval exists in the 2 intervals, so that the group of GOOSE virtual terminals belong to cross-interval error connection;
and if the IED of the group belongs to more than 2 intervals, the virtual terminals of the GOOSE of the group belong to cross-interval misconnection.
Through the technical scheme, the IED list is traversed, the equipment information of the IED is read, and the IED is divided at intervals according to the equipment information; and comparing the input terminal addresses and the output terminal addresses of all the GOOSE virtual terminals in each IED, thereby realizing automatic examination of the error connection of the GOOSE virtual terminals across intervals.
Example 2
Corresponding to embodiment 1 of the present invention, embodiment 2 of the present invention further provides an automatic inspection SCD file virtual terminal cross-interval misconnection device, including:
the classifying module is used for analyzing the SCD file, traversing the IED list, acquiring the equipment name and classifying the equipment according to the equipment name;
the information extraction module is used for extracting the equipment information of the classified equipment;
the interval division module is used for carrying out interval division on the total station equipment according to the equipment information;
the terminal address acquisition module is used for traversing all IEDs and acquiring the input terminal addresses and the output terminal addresses of all GOOSE virtual terminals in each IED;
the comparison module is used for comparing the input terminal address and the output terminal address with other GOOSE virtual terminals except for each GOOSE virtual terminal, and classifying and storing the GOOSE virtual terminals participating in comparison as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result;
the evaluation module is used for grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the interval dividing module according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group.
Specifically, the device names in the classification module are acquired from IED name nodes under each IED in the IED list, and the devices are classified into protection, merging units, intelligent terminals and measurement and control according to the acquired device type attribute in the IED name.
More specifically, the naming rule of the IED name is a device type+interval type+voltage class+branch number+a/B set, where the device type includes: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type includes: line L, busbar M, bus/segmentation E, main transformer T, voltage class includes: 750kV, 500kV, 220kV, 110kV, 35kV and 10kV.
Specifically, the device information in the information extraction module is divided into three layers:
the first layer is IED information, comprising equipment type and equipment name, and matching according to IED name keywords of the equipment in the SCD file;
the second layer is link information, including SV link information and GOOSE link information, and is the SV link information and the GOOSE link information of all the publish/subscribe of the equipment;
the third layer is external IED information, and the information of other devices connected with the device by a GOOSE link comprises device type and device name, and is matched according to IED name keywords in the SCD file.
More specifically, for the GOOSE link, extracting FCDA and input node information under a G1 access point in the IED as GOOSE link information, where the FCDA node information is GOOSE link information published by the IED, and the input node information is GOOSE link information subscribed by the IED; extracting ExtRef element information under an input node under a G1 access point in the IED as external IED information; for an SV link, extracting FCDA and input node information under an M1 access point in the IED as SV link information, wherein the information of the FCDA node under the M1 access point is the SV link information published by the IED, and the input node information is the SV link information subscribed by the IED; information in an ExtRef element under an input node under an M1 access point in the IED is extracted as external IED information.
More specifically, the interval division principle in the interval division module is as follows:
and searching other direct-association IEDs which have the SV/GOOSE subscription/release relation with the line protection by taking the line protection as a center, comparing the device names of the line protection with the device names of the direct-association IEDs, and if the device names of the direct-association IEDs are consistent with the line protection in terms of interval type, voltage grade, branch number, and the like, then the direct-association IEDs and the line protection are integrally at an interval.
More specifically, the input terminal address and the output terminal address of the GOOSE virtual terminal in the terminal address acquisition module are acquired by combining the IED name with the intaddr information in the input node under the G1 access point in the IED, and storing the combined information as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, daName of the ExtRef element information under the Inputs node is combined to an external address, and stored together with the iedName of the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal.
Specifically, the comparison principle of GOOSE virtual terminals in the comparison module is as follows:
each GOOSE virtual terminal is used as a source GOOSE virtual terminal and is respectively compared with other GOOSE virtual terminals except the source GOOSE virtual terminal to obtain an input terminal address and an output terminal address;
when the output terminal address and the input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in comparison, the source GOOSE virtual terminal is stored as a correct GOOSE virtual terminal;
when the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in comparison and the output terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as abnormal GOOSE virtual terminals;
and when the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in comparison and the input terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as GOOSE virtual terminals to be detected.
Specifically, the process of evaluating whether the GOOSE virtual terminal cross-interval error connection exists according to the interval of the same group of IEDs in the evaluation module is as follows:
the group of IEDs all belong to the same interval, and the group of GOOSE terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 different intervals, and the 2 different intervals belong to the same voltage class, wherein one interval is a bus interval, and then the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 intervals, and the 2 intervals belong to different voltage levels, so that the group of GOOSE virtual terminals belong to cross-interval misconnection;
the group of IEDs belong to 2 intervals, the 2 intervals belong to the same voltage class, but no bus interval exists in the 2 intervals, so that the group of GOOSE virtual terminals belong to cross-interval error connection;
and if the IED of the group belongs to more than 2 intervals, the virtual terminals of the GOOSE of the group belong to cross-interval misconnection.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The automatic inspection SCD file virtual terminal cross-interval error connection method is characterized by comprising the following steps of:
step 1, analyzing an SCD file, traversing an IED list, acquiring a device name, and classifying the device according to the device name;
step 2, extracting equipment information of the classified equipment;
step 3, dividing the total station equipment at intervals according to the equipment information;
step 4, traversing all IEDs, and acquiring input terminal addresses and output terminal addresses of all GOOSE virtual terminals in each IED;
step 5, each GOOSE virtual terminal is respectively compared with the input terminal address and the output terminal address of other GOOSE virtual terminals except the GOOSE virtual terminals, and the GOOSE virtual terminals participating in comparison are classified and stored as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result;
step 6, grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the step 3 according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group.
2. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 1, wherein in step 1, the device name is obtained from an IED name node under each IED in the IED list, and the device is classified into a protection unit, a merging unit, an intelligent terminal, and a measurement and control according to the obtained device type attribute in the IED name.
3. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 2, wherein the naming rule of the IED name is equipment type + interval type + voltage class + branch number + a/B set, and wherein the equipment type comprises: protection P, measurement and control C/S, merging unit M, intelligent terminal I, interval type includes: line L, busbar M, bus/segmentation E, main transformer T, voltage class includes: 750kV, 500kV, 220kV, 110kV, 35kV and 10kV.
4. The method for automatically checking the cross-interval misconnection of the virtual terminals of the SCD file according to claim 1, wherein the device information in the step 2 is divided into three layers:
the first layer is IED information, comprising equipment type and equipment name, and matching according to IED name keywords of the equipment in the SCD file;
the second layer is link information, including SV link information and GOOSE link information, and is the SV link information and the GOOSE link information of all the publish/subscribe of the equipment;
the third layer is external IED information, and the information of other devices connected with the device by a GOOSE link comprises device type and device name, and is matched according to IED name keywords in the SCD file.
5. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 4, wherein for GOOSE links, FCDA and input node information under G1 access point in IED is extracted as GOOSE link information, wherein FCDA node information is GOOSE link information published by IED, and input node information is GOOSE link information subscribed by IED; extracting ExtRef element information under an input node under a G1 access point in the IED as external IED information; for an SV link, extracting FCDA and input node information under an M1 access point in the IED as SV link information, wherein the information of the FCDA node under the M1 access point is the SV link information published by the IED, and the input node information is the SV link information subscribed by the IED; information in an ExtRef element under an input node under an M1 access point in the IED is extracted as external IED information.
6. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 3, wherein the interval partitioning principle in step 3 is as follows:
and searching other direct-association IEDs which have the SV/GOOSE subscription/release relation with the line protection by taking the line protection as a center, comparing the device names of the line protection with the device names of the direct-association IEDs, and if the device names of the direct-association IEDs are consistent with the line protection in terms of interval type, voltage grade, branch number, and the like, then the direct-association IEDs and the line protection are integrally at an interval.
7. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 5, wherein the input terminal address and the output terminal address of the GOOSE virtual terminal in step 4 are obtained by combining the IED name with the intaddr information in the input node under the G1 access point in the IED, and storing the combined name and the intaddr information as the output terminal address; the prefix, ldInst, lnClass, lnInst, doName, daName of the ExtRef element information under the Inputs node is combined to an external address, and stored together with the iedName of the ExtRef element information as an input terminal address, and the output terminal address and the input terminal address together form a complete GOOSE virtual terminal.
8. The method for automatically checking the cross-interval misconnection of the virtual terminals of the SCD file according to claim 1, wherein the rule of GOOSE virtual terminal comparison in the step 5 is as follows:
each GOOSE virtual terminal is used as a source GOOSE virtual terminal and is respectively compared with other GOOSE virtual terminals except the source GOOSE virtual terminal to obtain an input terminal address and an output terminal address;
when the output terminal address and the input terminal address of the source GOOSE virtual terminal are not consistent with all the GOOSE virtual terminals participating in comparison, the source GOOSE virtual terminal is stored as a correct GOOSE virtual terminal;
when the input terminal address of the source GOOSE virtual terminal is consistent with the input terminal address of the GOOSE virtual terminal participating in comparison and the output terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as abnormal GOOSE virtual terminals;
and when the output terminal address of the source GOOSE virtual terminal is consistent with the output terminal address of the GOOSE virtual terminal participating in comparison and the input terminal address is inconsistent, storing the source GOOSE virtual terminal and the GOOSE virtual terminal participating in comparison as GOOSE virtual terminals to be detected.
9. The method for automatically inspecting SCD file virtual terminal cross-interval misconnection according to claim 1, wherein the step 6 of evaluating whether GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group comprises the following steps:
the group of IEDs all belong to the same interval, and the group of GOOSE terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 different intervals, and the 2 different intervals belong to the same voltage class, wherein one interval is a bus interval, and then the group of GOOSE virtual terminals are correct GOOSE virtual terminals;
the group of IEDs belong to 2 intervals, and the 2 intervals belong to different voltage levels, so that the group of GOOSE virtual terminals belong to cross-interval misconnection;
the group of IEDs belong to 2 intervals, the 2 intervals belong to the same voltage class, but no bus interval exists in the 2 intervals, so that the group of GOOSE virtual terminals belong to cross-interval error connection;
and if the IED of the group belongs to more than 2 intervals, the virtual terminals of the GOOSE of the group belong to cross-interval misconnection.
10. An automatic audit SCD file virtual terminal cross-interval misconnection apparatus comprising:
the classifying module is used for analyzing the SCD file, traversing the IED list, acquiring the equipment name and classifying the equipment according to the equipment name;
the information extraction module is used for extracting the equipment information of the classified equipment;
the interval division module is used for carrying out interval division on the total station equipment according to the equipment information;
the terminal address acquisition module is used for traversing all IEDs and acquiring the input terminal addresses and the output terminal addresses of all GOOSE virtual terminals in each IED;
the comparison module is used for comparing the input terminal address and the output terminal address with other GOOSE virtual terminals except for each GOOSE virtual terminal, and classifying and storing the GOOSE virtual terminals participating in comparison as correct GOOSE virtual terminals, abnormal GOOSE virtual terminals or GOOSE virtual terminals to be detected according to the comparison result;
the evaluation module is used for grouping the to-be-detected GOOSE virtual terminals according to IED names in the output terminal addresses, taking out the IED names of the input terminal addresses of each GOOSE virtual terminal after grouping, and matching the divided intervals in the interval dividing module according to the IED names of the input terminal addresses; and evaluating whether the GOOSE virtual terminal cross-interval misconnection exists according to the intervals of the IEDs in the same group.
CN202111094682.3A 2021-09-17 2021-09-17 Automatic inspection SCD file virtual terminal interval-crossing error connection method and device Active CN113779034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111094682.3A CN113779034B (en) 2021-09-17 2021-09-17 Automatic inspection SCD file virtual terminal interval-crossing error connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111094682.3A CN113779034B (en) 2021-09-17 2021-09-17 Automatic inspection SCD file virtual terminal interval-crossing error connection method and device

Publications (2)

Publication Number Publication Date
CN113779034A CN113779034A (en) 2021-12-10
CN113779034B true CN113779034B (en) 2023-08-22

Family

ID=78851958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111094682.3A Active CN113779034B (en) 2021-09-17 2021-09-17 Automatic inspection SCD file virtual terminal interval-crossing error connection method and device

Country Status (1)

Country Link
CN (1) CN113779034B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361189A (en) * 2014-12-03 2015-02-18 国网四川省电力公司经济技术研究院 Method for quickly generating virtual terminal Excel table by SCD (Security Coding Device)
WO2015139473A1 (en) * 2014-03-18 2015-09-24 国家电网公司 Method for managing and controlling system configuration document in intelligent substation
CN105335342A (en) * 2015-12-01 2016-02-17 国家电网公司 Method for automatic examination of wiring correctness of intelligent substation SCD configuration file virtual terminator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015139473A1 (en) * 2014-03-18 2015-09-24 国家电网公司 Method for managing and controlling system configuration document in intelligent substation
CN104361189A (en) * 2014-12-03 2015-02-18 国网四川省电力公司经济技术研究院 Method for quickly generating virtual terminal Excel table by SCD (Security Coding Device)
CN105335342A (en) * 2015-12-01 2016-02-17 国家电网公司 Method for automatic examination of wiring correctness of intelligent substation SCD configuration file virtual terminator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能变电站各设备间多方虚连接可视化展示的实现;郑永康;童晓阳;刘明忠;庄先涛;田力智;刘涛;;电工技术(10);全文 *

Also Published As

Publication number Publication date
CN113779034A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN110795921B (en) Automatic generation and verification method for monitoring information of intelligent substation equipment
CN107292769B (en) Substation reconstruction and extension configuration consistency comparison and verification method based on RCD
CN108733928B (en) SCD file virtual circuit automatic checking method based on intermediate model file
CN104734364A (en) Method and system of SV and GOOSE input test of intelligent substation relay protector
CN108595390B (en) Method for verifying parameter consistency of SCD and IED of intelligent substation
CN109949178B (en) Method for judging and complementing power failure event of medium-voltage distribution network based on support vector machine
CN110571925B (en) Method for analyzing power quality by using data of power distribution network monitoring terminal
CN112467724A (en) Low-voltage distribution network fault studying and judging method
CN116561941B (en) SCD virtual loop template model and modeling and application method thereof
CN102141950A (en) Method for checking interlock logics of intelligent substation measuring and controlling device
CN118279086B (en) Method and system for automatically generating interval protection configuration model data by SCD (stream control device) file
CN113706333A (en) Method and system for automatically generating topology island of power distribution network
CN106981876A (en) Distribution network reliability evaluation method based on line segment model
CN106843041A (en) Automatic generation system and method for anti-error logic formula of electrical equipment
Popovic et al. Smart grid data analytics for digital protective relay event recordings
CN116316538A (en) Main-distribution cooperative distribution network power supply security capability analysis method, system, equipment and medium
CN113095059B (en) Method, device, equipment and storage medium for verifying substation configuration description file
CN116595713B (en) SCD process layer virtual loop configuration method and system based on standard virtual loop model
CN113779034B (en) Automatic inspection SCD file virtual terminal interval-crossing error connection method and device
CN110908962A (en) SCD model rapid data processing method for intelligent substation
CN114421617A (en) Medium-voltage fault research and judgment method based on distribution network operation monitoring data
Wang et al. Research and implementation of virtual circuit test tool for smart substations
CN110988520B (en) Waveform analysis method with no error in time scale
CN114239291A (en) Intelligent substation simulation test method, device, equipment and storage medium
CN110048877B (en) Metering exception simulation processing method based on simulation controller data storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant