Visual automatic association method for main wiring diagram and intelligent alarm test case of transformer substation
Technical Field
The invention belongs to the technical field of power system automation, relates to intelligent alarm of an intelligent substation, and particularly relates to a visual automatic association method of a main wiring diagram and an intelligent alarm test case of the substation.
Background
The new generation of intelligent station monitoring system basically meets the new requirements of realizing regulation and control integration and large-scale production management of the intelligent substation, and the advanced application, system configuration and module functions of the system reach unprecedented heights. With the development of the power automation technology, the intelligent substation is comprehensively constructed, the automation system is accessed with more and more secondary device information, operation and maintenance personnel are often confused about a large amount of alarm information generated by the substation automation system in the monitoring of the substation, and a large amount of time is spent on the analysis and the processing of the alarm information. At present, part of secondary equipment manufacturers develop related alarm application aiming at the problem, so that the related alarm information is extracted and integrated from the massive alarm information, the alarm reason and the accident reason are deduced through an intelligent alarm module, the manual analysis time is reduced, and the accident handling efficiency is improved. However, the intelligent alarm applications developed by the secondary equipment manufacturers do not have a unified standard, and especially, most alarm analysis logics are developed according to the past experience and regional requirements. However, a visual automatic association method for a power station main wiring diagram and an intelligent alarm test case of a new generation intelligent station monitoring system, which meets the requirements of 'four unifications and four specifications' of a national call station, has not yet appeared so far.
At present, the application research of the visual automatic association of the transformer substation main wiring diagram and the intelligent alarm test case in the intelligent alarm test is rare in related research at home and abroad. In general, a common integrated monitoring system associates a main wiring diagram with secondary equipment information, while other test systems with case scripts establish a test case library, manually screen cases to be tested in the case library according to intervals, and do not establish direct contact with the main wiring diagram.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a visual automatic association method of a main wiring diagram and an intelligent alarm test case of a transformer substation, which is reasonable in design, strong in operability, visual and convenient.
The technical problem to be solved by the invention is realized by adopting the following technical scheme:
a visual automatic association method of a transformer substation main wiring diagram and an intelligent alarm test case comprises the following steps:
step 1, instantiating a substation SCD file and a substation fault template file according to actual interval information of the substation to obtain an instantiated test case file;
step 2, automatically associating the instantiated test case file obtained in the step 1 with each interval of the main wiring diagram according to the voltage level of the interval of the main wiring diagram, the primary equipment description, the IEDName and the IEDDesc information to form interval case association;
and 3, selecting a certain interval on the main wiring diagram, retrieving all intelligent alarm test cases related to the interval, selecting a case to be tested, and performing normative test on the intelligent alarm function of the integrated monitoring system.
And moreover, the substation fault template file edits signals of different fault categories and signal sequences according to the intelligent substation fault comprehensive analysis criterion specification.
Further, the specific steps of step 1 include:
(1) searching data information in the SCD file and the fault template file by a method of searching tags in XML and mapping and associating tag attributes;
(2) mapping and associating IED information in the engineering data SCD file and the fault template file;
(3) mapping and associating the project data SCD file and the DataSet information in the fault template file;
(4) mapping and associating InClass, desc and doName information in the engineering data SCD file with mstchrule, desc and name information in the fault template file;
(5) and obtaining the instantiated test case file according to the mapping information.
Further, the specific steps of step 2 include:
(1) automatically classifying the instantiated test cases obtained in the step 1 at intervals according to the IEDName and the IEDDesc;
(2) automatically classifying the main wiring diagram at intervals according to the voltage grade and the primary equipment description;
(3) and mapping and associating all classified instantiation test cases and main wiring diagram information to form interval case association.
The invention has the advantages and positive effects that:
1. the invention mainly researches the testing and operation evaluation technology of the integrated monitoring intelligent application function of the transformer substation, develops a visual automatic association method of a main wiring diagram and an intelligent alarm test case of the transformer substation, can carry out targeted test on the problem that the current intelligent alarm system is not uniform and standard in logic, can carry out standard test on the intelligent alarm application logic of the integrated monitoring system before the transformer substation is put into operation by selecting different types of intelligent alarm test cases at corresponding intervals on the main wiring diagram, and ensures that the intelligent alarm function of the integrated monitoring system is stable and standard in the whole life cycle.
2. The invention provides a mode for associating the main wiring diagram with the test script, and overcomes the defect of poor operability and intuition caused by the fact that the current main wiring diagram is only associated with the secondary equipment data of the transformer substation, so that how to visually and automatically associate the main wiring diagram of the transformer substation with the intelligent alarm test case by a human-computer interface improves the operability and intuition of the intelligent alarm test case, and the mode is also one of innovation points of the invention.
3. The invention discloses a visual automatic association method of a transformer substation main wiring diagram and an intelligent alarm test case, which mainly comprises two parts: (1) automatic batch association of the transformer substation main wiring diagram and the intelligent alarm test cases; (2) a method for visually calling an intelligent alarm test case by a transformer substation main wiring diagram; the invention can directly select the test case on the main wiring diagram of the transformer substation to carry out the intelligent alarm test, and can effectively improve the test efficiency of the intelligent alarm.
Drawings
FIG. 1 is a process flow diagram of the present invention;
FIG. 2 is a schematic diagram of test case template mapping and instantiation of the present invention;
FIG. 3 is a flow chart of the automatic association process of the main wiring diagram with test cases of the present invention;
FIG. 4 is a 220kV line spacing diagram of the present invention;
FIG. 5 is a schematic diagram of a 220kV line interval test case set according to the present invention.
Detailed Description
The embodiments of the invention will be described in further detail below with reference to the accompanying drawings:
a visual automatic association method of a transformer substation main wiring diagram and an intelligent alarm test case is disclosed, as shown in FIG. 1, and comprises the following steps:
step 1, instantiating the substation SCD file and the substation fault template file according to the actual interval information of the substation to obtain an instantiated test case file, as shown in FIG. 2:
the specific steps of the step 1 comprise:
(1) searching data information in the SCD file and the fault template file by a method of searching tags in XML and mapping and associating tag attributes;
(2) mapping and associating IED information in the engineering data SCD file and the fault template file;
(3) mapping and associating the project data SCD file and the DataSet information in the fault template file;
(4) mapping and associating InClass, desc and doName information in the engineering data SCD file with mstchrule, desc and name information in the fault template file;
(5) and obtaining the instantiated test case file according to the mapping information.
In this embodiment, the substation fault template file edits signals of different fault categories and signal sequences according to the "intelligent substation fault comprehensive analysis criterion specification".
Step 2, automatically associating the instantiated test case file obtained in step 1 with each interval of the main wiring diagram according to the voltage level of the interval of the main wiring diagram, the primary equipment description, the IEDName and the IEDDesc information, so as to form an interval case association, as shown in fig. 3:
the specific steps of the step 2 comprise:
(1) automatically classifying the instantiated test cases obtained in the step 1 at intervals according to the IEDName and the IEDDesc;
for example: PL2201xx line protection, PM2201x bus protection, PT2201x main transformer protection, and the like;
(2) automatically classifying the main wiring diagram at intervals according to the voltage grade and the primary equipment description;
for example: the device comprises a 220kVxx line interval, a 220kV bus interval, a No. 1 main transformer interval and the like;
(3) and mapping and associating all classified instantiation test cases and main wiring diagram information to form interval case association.
For example: iedName ═ PL2201A, "iedddesc ═ suburb first protection,
"PL" represents line protection and "22" represents a 220kV voltage class, whereby the software correlates the present test case to a 220kV suburb line spacing of the main wiring diagram, as shown in FIG. 4.
Step 3, selecting a certain interval on the main wiring diagram, selecting a to-be-tested case after retrieving all intelligent alarm test cases related to the interval, and performing a normative test on the intelligent alarm function of the integrated monitoring system, wherein the step is shown in fig. 5:
in this embodiment, in a preparation stage before a test starts, a main wiring diagram interface is visualized, a specific case under a specified interval is selected, for example, as shown in fig. 5, a test case group under a 220kV suburb one-line interval includes more than 10 specific test modes, a required test case is selected at the suburb one-line interval on the main wiring diagram, and finally, a detailed test of an intelligent alarm is developed.
By adopting the visual automatic association method of the main wiring diagram of the transformer substation and the intelligent alarm test case, in the test preparation stage, software instantiates the test case according to the SCD of the actual transformer substation and automatically associates the test case to the main wiring diagram of the transformer substation according to intervals, so that the behavior of manually distinguishing the intervals of the transformer substation is reduced, meanwhile, the test case to be tested is directly selected on the main wiring diagram according to the intervals in an interface visual mode, and the intuitiveness of case selection and the accuracy of case selection are improved. Through the two modes, the test efficiency of the intelligent alarm function of the integrated monitoring system can be effectively improved.
It should be emphasized that the embodiments described herein are illustrative rather than restrictive, and thus the present invention is not limited to the embodiments described in the detailed description, but also includes other embodiments that can be derived from the technical solutions of the present invention by those skilled in the art.