Intelligent substation model consistency verification system and method

Through the intelligent substation model consistency verification system, the dual-pointer algorithm and the improved diff algorithm compare the differences in the substation system, solving the problem of equipment compatibility differences in the multi-supplier environment, and achieving efficient and comprehensive model consistency calibration It improves the operating stability and reliability of the substation.

CN119003271APending Publication Date: 2024-11-22GUODIAN NANJING AUTOMATION SOFTWARE ENG
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410975201.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In smart substation systems, due to differences in equipment compatibility and configuration specifications caused by diversified supplier environments, the system configuration consistency is difficult to maintain, which may cause alarm information distortion, control instruction execution errors and data management chaos, affecting the security and stability of the system run. The existing verification methods lack the support of unified standard data structures, and are highly complex and inefficient, making them difficult to be universal across platforms and manufacturers.

Method used

An intelligent substation model consistency verification system was designed, including monitoring database point table analysis module, DLT/860 client simulator, CID analysis module, SCD analysis module, database point table and CID comparison module, and SCD and CID comparison module , a double-pointer algorithm and an improved diff algorithm are used to compare the differences between the measurement point reference and description file and the IED model, and a formatted model consistency verification report is generated.

Benefits of technology

This system improves the universality and comprehensiveness of model consistency verification, reduces time complexity, improves verification efficiency and accuracy, ensures the stability and reliability of substation operation, and reduces faults caused by model inconsistency and risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003271A_ABST
    Figure CN119003271A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric power automation, in particular to an intelligent substation model consistency verification system and method, and the verification system comprises a monitoring database point table analysis module which is used for extracting the reference and description of a measurement point; the DLT / 860 client simulator and the CID analysis module are used for integrating the IED models of all the spacer layer devices into one file; the SCD analysis module is used for extracting an IED model of the whole station; the database point table and CID comparison module is used for comparing differences between references and descriptions of measuring points in a transformer substation monitoring system database information export file and a CID file of in-station spacer layer equipment; the SCD and CID comparison module is used for comparing the difference between the IED models in the substation SCD file and the spacing layer equipment CID file; and the test result and report generation module is used for counting the comparison result and generating a formatted model consistency verification report. The consistency verification efficiency of the transformer substation model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power automation technology, and in particular to a smart substation model consistency verification system and method. Background Art

[0002] In the modernization and new integration process of smart substation systems, a significant challenge comes from the integration and debugging of equipment in a multi-supplier environment. Due to the differences in compatibility, configuration specifications and debugging processes of devices provided by different manufacturers, and the frequent iteration of the system configuration description file (SCD) of the entire station in the background monitoring system during the project implementation to form multiple versions, this complexity has greatly increased the difficulty of maintaining the consistency of system configuration. Specifically, if the IED instance configuration file (CID) of the device, the entire station SCD and the monitoring database cannot maintain a high degree of consistency, it will directly lead to a series of problems such as distortion of alarm information (omission or false alarm), control instruction execution errors and chaotic data management, which seriously threaten the safe and stable operation and efficient management of the substation.

[0003] At present, although some substation model consistency verification technologies have been applied or studied, aiming to identify configuration differences by comparing SCD with device IED, or between monitoring database and SCD, these methods generally face two major limitations: first, the lack of unified standard data structure support makes the verification process difficult to be cross-platform and cross-manufacturer; second, the verification object is single, failing to fully cover all key elements of system configuration, affecting the comprehensiveness and accuracy of the verification results. In addition, when processing XML model files, the existing verification methods mostly adopt basic traversal strategies, lack flexible and efficient verification mechanisms, and have a time complexity of up to O(n3), which is not only inefficient, but also further increases the verification cost as the types and number of connected devices in the substation continue to increase, and may introduce errors and omissions, reducing the accuracy and reliability of the verification, posing a potential threat to the overall stability and operation and maintenance efficiency of the substation system. Summary of the invention

[0004] The purpose of the present invention is to provide a smart substation model consistency verification system and method in order to solve at least one of the above technical problems.

[0005] The present invention provides a smart substation model consistency verification system, comprising:

[0006] Monitoring database point table parsing module, used to take out the database information export file from the substation monitoring system, and extract the reference and description files of the measuring points from it;

[0007] DLT / 860 client simulator, used for communicating with the bay layer device and uploading the CID file of the bay layer device;

[0008] A CID parsing module, used to obtain the CID files of all bay-layer devices in the substation through the DLT / 860 client simulator and parse out the IED models, and integrate the IED models of all bay-layer devices into one file;

[0009] SCD parsing module, used to obtain the substation SCD file and extract the IED model of the entire station;

[0010] The database point table and CID comparison module is used to compare the differences in references and descriptions of measurement points in the substation monitoring system database information export file and the CID file of the station bay layer equipment;

[0011] SCD and CID comparison module, used to compare the differences between the IED models in the substation SCD file and the bay layer device CID file;

[0012] The test result and report generation module is used to collect statistics on the comparison results of the database point table and CID comparison module and the SCD and CID comparison module, and generate a formatted model consistency verification report.

[0013] Furthermore, the database point table and CID comparison module uses a double pointer algorithm to compare the differences between the references and descriptions of the measuring points; and the SCD and CID comparison module uses an improved diff algorithm to compare the differences between the IED models.

[0014] The present invention also provides a smart substation model consistency verification method, which is applied to any smart substation model consistency verification system of the present invention, and the method comprises:

[0015] Take out the database information export file from the substation monitoring system, and extract the reference and description files of the measuring points from it;

[0016] Upload the CID files of all bay-level devices in the substation and parse out the IED models, and integrate the IED models of all bay-level devices into one file;

[0017] Read the substation SCD file and extract the IED model of the entire station;

[0018] Compare the differences in references and descriptions of measurement points in the substation monitoring system database information export file and the CID file of the bay layer equipment in the station;

[0019] Compare the differences in IED models between the substation SCD file and the bay-level device CID file;

[0020] Generate a formatted model consistency verification report based on each comparison result.

[0021] Furthermore, the database information export file is a file for describing database information that is supported for export by all mainstream domestic substation monitoring manufacturers and includes all IED measurement point information imported from the SCD.

[0022] Furthermore, the reference and description files of the measuring points are extracted, specifically: the reference and description information of the measuring points are extracted and spliced ​​to generate the reference and description files of the measuring points.

[0023] Furthermore, the structure of the reference and description information of the measurement point is:

[0024] IED name / logical device name / logical node name$functional constraint$data name$data attribute name_description.

[0025] Furthermore, a double pointer algorithm is used to compare the differences between the reference and description of the measurement points.

[0026] Furthermore, before comparison, the two measuring point information files are sorted by line respectively;

[0027] When comparing, if two elements are not the same, record the difference line, move the pointer of the smaller sorted element of the two elements back one position, and continue to compare the element in the next position.

[0028] Furthermore, an improved diff algorithm is used to compare the differences of IED models.

[0029] Furthermore, the IED model file is mapped into a DOM tree structure for traversal and modification;

[0030] Perform breadth-first traversal of the two DOM trees, processing layer by layer;

[0031] Generate hash tables for the current comparison layers of the two DOM trees respectively; the keys of the hash tables are the combination of node names, attributes and values, and the values ​​are node objects;

[0032] When comparing the nodes of the current layer, the child nodes follow the changes of the parent nodes in sequence, record and delete the difference nodes and their child nodes, and continuously update the CID_DOM tree and SCD_DOM tree.

[0033] To achieve the above objectives, the present invention also provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the smart substation model consistency verification method as described above.

[0034] To achieve the above-mentioned object, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the smart substation model consistency verification method as described above is implemented.

[0035] The beneficial effects of the present invention are:

[0036] Enhanced versatility: The system and method for checking the consistency of the intelligent substation monitoring host and the bay layer equipment model provided by the present invention are applicable to substation monitoring systems of different manufacturers. Through standardized module design and universal DLT / 860 client simulator, it is compatible with a variety of substation equipment and systems, solving the compatibility problem caused by differences in devices and monitoring systems in the prior art.

[0037] Improve comprehensiveness: The present invention covers all IED models and measurement point information in the substation by comprehensively comparing the substation monitoring system database information export file, the entire station CID file and the SCD file. Compared with the method in the prior art that only verifies some equipment or measurement points, the present invention can provide a more comprehensive model consistency verification to ensure the consistency of the equipment and monitoring models in the substation.

[0038] Improve efficiency: The present invention adopts an automated comparison and report generation module, which greatly improves the verification efficiency. The use of a dual-pointer comparison algorithm and an improved diff algorithm greatly reduces the time complexity of the comparison, and can quickly generate a formatted model consistency verification report, improving the efficiency and accuracy of the verification work.

[0039] Enhanced stability and reliability: Through comprehensive and efficient model consistency verification, the present invention can timely discover and correct differences between equipment and systems in the substation, ensuring the consistency and coordination of substation operation. Compared with the possible omissions and inaccuracies in the prior art, the present invention can significantly improve the stability and reliability of substation operation and reduce failures and risks caused by model inconsistency.

[0040] In summary, the present invention provides a system and method for model consistency verification between a smart substation monitoring host and interval layer equipment, and introduces an improved and efficient comparison algorithm, which significantly enhances the versatility, comprehensiveness and efficiency of model consistency verification, while improving the stability and reliability of substation operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the structure of a smart substation model consistency verification system according to an embodiment of the present invention;

[0042] Figure 2 A flow chart of a method for verifying the consistency of a smart substation model according to an embodiment of the present invention;

[0043] Figure 3 A practical application architecture diagram of a smart substation model consistency verification system according to an embodiment of the present invention;

[0044] Figure 4A flow chart of a method for verifying the consistency of a smart substation model according to another embodiment of the present invention;

[0045] Figure 5 A comparison flow chart of a database point table and a CID comparison module according to an embodiment of the present invention;

[0046] Figure 6 The figure is a comparison flow chart of the SCD and CID comparison modules according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The content of the present invention will now be discussed with reference to exemplary embodiments. It should be understood that the embodiments discussed are only to enable those skilled in the art to better understand and thus implement the content of the present invention, rather than implying any limitation on the scope of the present invention.

[0048] As used herein, the term “including” and variations thereof are to be interpreted as open-ended terms meaning “including, but not limited to.” The term “based on” is to be interpreted as “based, at least in part, on.” The terms “one embodiment” and “an embodiment” are to be interpreted as “at least one embodiment.”

[0049] Embodiment 1

[0050] Figure 1 FIG. 1 is a schematic diagram of the structure of a smart substation model consistency verification system according to an embodiment of the present invention. Figure 1 As shown, according to one embodiment of the present invention, a smart substation model consistency verification system includes:

[0051] Monitoring database point table parsing module, used to take out the database information export file from the substation monitoring system, and extract the reference and description files of the measuring points from it;

[0052] DLT / 860 client simulator, used to communicate with the bay layer device and upload the CID file of the bay layer device;

[0053] CID parsing module, used to obtain CID files of all bay-layer devices in the substation through the DLT / 860 client simulator and parse out the IED models, and integrate the IED models of all bay-layer devices into one file;

[0054] SCD parsing module, used to obtain the substation SCD file and extract the IED model of the entire station;

[0055] The database point table and CID comparison module is used to compare the differences in references and descriptions of measurement points in the substation monitoring system database information export file and the CID file of the station bay layer equipment;

[0056] SCD and CID comparison module, used to compare the differences between the IED models in the substation SCD file and the bay layer device CID file;

[0057] The test result and report generation module is used to collect statistics on the comparison results between the database point table and the CID comparison module and the SCD and CID comparison module, and generate a formatted model consistency verification report.

[0058] In this embodiment, the smart substation monitoring host and the interval layer equipment model consistency verification system includes: a monitoring database point table parsing module, a DLT / 860 client simulator, a CID parsing module, an SCD parsing module, a database point table and CID comparison module, an SCD and CID comparison module, and a test result and report generation module. The input end of the monitoring database point table parsing module is connected to the monitoring system, and the output end is connected to the database point table and CID comparison module. The interval layer equipment, the DLT / 860 client simulator, and the CID parsing module are connected in sequence. The output end of the CID parsing module is respectively connected to the data point table and CID comparison module and the SCD and CID comparison module. The input end of the SCD parsing module is connected to the SCD file, and the output end is connected to the SCD and CID comparison module. The database point table and CID comparison module and the SCD and CID comparison module both send the comparison results to the test result and report generation module, and the test result and report generation module generates a formatted model consistency verification report according to the comparison results.

[0059] The intelligent substation model consistency verification system of the present invention realizes the verification of the consistency of the substation monitoring host and the bay layer equipment model, as well as the verification of the consistency of the IED model in the SCD file and the CID file of the whole station bay layer equipment by integrating functional modules such as monitoring database point table parsing, DLT / 860 communication, CID and SCD file parsing and comparison, thereby ensuring the accuracy and completeness of the substation configuration information, improving the efficiency and safety of the substation operation and maintenance management, and finally generating a formatted model consistency verification report for analysis and optimization.

[0060] According to an embodiment of the present invention, the database point table and CID comparison module uses a double pointer algorithm to compare the differences between the references and descriptions of the measuring points; the SCD and CID comparison module uses an improved diff algorithm to compare the differences between the IED models.

[0061] In this implementation, a dual-pointer algorithm is used to compare the differences between the references and descriptions of the measuring points, and an improved diff algorithm is used to compare the differences in the IED models. The use of the dual-pointer comparison algorithm and the improved diff algorithm greatly reduces the time complexity of the comparison, and can quickly generate a formatted model consistency verification report, thereby improving the efficiency and accuracy of the verification work.

[0062] Embodiment 2

[0063] like Figure 1 As shown, according to one embodiment of the present invention, a smart substation model consistency verification system is used to verify the consistency between the smart substation monitoring host and the interval layer equipment model. The verification system includes: a monitoring database information export file parsing module, a DLT / 860 client simulator, a CID parsing module, an SCD parsing module, a database information export file and the whole station CID comparison module, an SCD and the whole station CID comparison module and a test result and report generation module.

[0064] Monitoring database information export file parsing module: used to take out the database information export file from the substation monitoring background, and extract the reference and description of the measuring point from it.

[0065] DLT / 860 Client Simulator: used to communicate with the bay layer device and upload the CID file of the bay layer device.

[0066] CID parsing module: used to obtain the CID files of all bay-level devices in the substation through the DLT / 860 client simulator and parse the IED models, and integrate the IED models of all bay-level devices into one file.

[0067] SCD parsing module: used to read the substation SCD file and extract the IED model of the entire station;

[0068] Database information export file and whole station CID comparison module: used to compare the differences in references and descriptions of measuring points in the substation monitoring system database information export file and the CID file of the station bay layer equipment.

[0069] SCD and whole station CID comparison module: used to compare the IED model differences between the substation SCD file and the CID file of the bay layer equipment.

[0070] Test result and report generation module: used to generate a formatted model consistency verification report by comparing the statistical database information export file with the comparison module of the whole site CID and the comparison module of SCD with the whole site CID.

[0071] The present invention is applicable to substation monitoring systems of different manufacturers. Through standardized module design and universal DLT / 860 client simulator, it is compatible with a variety of substation equipment and systems, solving the compatibility problem caused by differences in devices and monitoring systems in the prior art. The present invention covers all IED models and measuring point information in the substation by comprehensively comparing the substation monitoring system database information export file, the whole station CID file and the SCD file. Compared with the method in the prior art that only verifies some equipment or measuring points, the present invention can provide a more comprehensive model consistency verification to ensure the consistency of the device and monitoring model in the substation.

[0072] Embodiment 3

[0073] Figure 2 FIG. 1 is a flow chart of a method for verifying the consistency of a smart substation model according to an embodiment of the present invention. Figure 2 As shown, according to an embodiment of the present invention, a smart substation model consistency verification method is applied to any smart substation model consistency verification system of the present invention, and the method includes:

[0074] Step S102: taking out the database information export file from the substation monitoring system, and extracting the reference and description files of the measuring points therefrom;

[0075] The database information export file is a file used to describe database information and is supported by all mainstream substation monitoring manufacturers in China. It contains all IED measurement point information imported from SCD.

[0076] Step S104: Upload the CID files of all bay-layer devices in the substation and parse out the IED models, and integrate the IED models of all bay-layer devices into one file;

[0077] Step S106: Read the substation SCD file and extract the IED model of the entire station;

[0078] Step S108: comparing the differences between the references and descriptions of the measuring points in the substation monitoring system database information export file and the CID file of the bay layer equipment in the station;

[0079] Step S110: comparing the difference of IED models in the substation SCD file and the CID file of the bay layer device;

[0080] Step S112: Generate a formatted model consistency verification report according to each comparison result.

[0081] In this embodiment, the smart substation model consistency verification method includes the following steps: obtaining the monitoring database information export file in the substation monitoring system, extracting the reference and description information of the measuring points and splicing them; the DLT / 860 client simulator establishes communication with the interval layer equipment in the station, and calls up the CID model files of the interval layer equipment respectively; obtaining the CID model file of the entire station interval layer equipment called up by the DLT / 860 client simulator, parsing the equipment IED model, and integrating it into a single model file; obtaining the substation SCD file, parsing and extracting the IED model; comparing the differences in the references and descriptions of the measuring points in the substation monitoring system database information export file and the CID file of the interval layer equipment in the station; comparing the differences in the IED models in the substation SCD file and the CID file of the interval layer equipment; generating a formatted model consistency verification report based on the comparison results of the database information export file with the entire station CID comparison module and the SCD with the entire station CID comparison module.

[0082] The overall solution for consistency verification of the smart substation monitoring host and bay layer equipment model is to use the substation bay layer equipment CID model to compare with the monitoring system database information export file and SCD model respectively.

[0083] By comparing the CID model of the substation bay layer equipment, the monitoring system database information export file, and the SCD model, the present invention realizes a comprehensive verification of the consistency of the monitoring system, bay layer equipment and SCD file, effectively improving the data accuracy and system stability of the substation automation system, and finally generates a formatted verification report, which is convenient for operation and maintenance personnel to quickly locate problems and make optimization adjustments.

[0084] According to an embodiment of the present invention, in step S102, reference and description information of the measuring points are extracted and spliced ​​to generate reference and description files of the measuring points; specifically,

[0085] The structure of the reference and description information of the measurement point is as follows:

[0086] IED name / logical device name / logical node name$functional constraint$data name$data attribute name_description.

[0087] The present invention improves the readability of data and the efficiency of consistency verification by splicing measurement point references and description information through a standardized structure, and ensures the accuracy and integrity of measurement point information in a substation monitoring system.

[0088] According to an embodiment of the present invention, a double pointer algorithm is used to compare the difference between the reference and description of the measurement point; specifically,

[0089] Before comparison, the two measuring point information files are sorted by line respectively;

[0090] When comparing, if two elements are not the same, record the difference line, move the pointer of the smaller sorted element of the two elements back one position, and continue to compare the element in the next position.

[0091] In this implementation, comparing the substation monitoring system database information export file and the bay layer device CID model includes:

[0092] ① Refer to the monitoring system database information export file, extract the measurement point description and index from the CID model of the bay layer equipment in sequence and splice them;

[0093] ② Sort the CID measurement point information file and the monitoring database measurement point information file by line respectively;

[0094] ③ Treat each line of content in the file as a single element and set two pointers to point to the starting elements of the two files respectively.

[0095] ④ Compare the row elements pointed to by the two pointers: If the two elements are the same, move both pointers back one position at the same time and continue to compare the element at the next position. If the two elements are not equal, you can record the difference and move the pointer with the smaller element back one position and continue to compare the element at the next position.

[0096] ⑤ Repeat step ④, continuously comparing the elements in corresponding positions in the two sequences until one of the sequences is traversed.

[0097] ⑥If one sequence has been traversed and the other sequence still has elements left to be compared, the remaining elements can be regarded as the difference;

[0098] ⑦ Statistically record the difference measurement point information between the CID measurement point information file and the monitoring database measurement point information file.

[0099] The present invention adopts a double pointer sorting and comparison algorithm to efficiently and accurately compare the measurement point information in the substation monitoring system and the CID model of the bay layer equipment, realizes the rapid identification and recording of differences, and significantly improves the efficiency and accuracy of the model consistency verification.

[0100] According to an embodiment of the present invention, an improved diff algorithm is used to compare the differences in IED models; specifically,

[0101] Map the IED model file to a DOM tree structure for traversal and modification;

[0102] Perform breadth-first traversal of the two DOM trees, processing layer by layer;

[0103] Generate hash tables for the current comparison layers of the two DOM trees respectively; the keys of the hash tables are the combination of node names, attributes and values, and the values ​​are node objects;

[0104] When comparing the nodes of the current layer, the child nodes follow the changes of the parent nodes in sequence, record and delete the difference nodes and their child nodes, and continuously update the CID_DOM tree and SCD_DOM tree.

[0105] In this implementation, the IED models of the substation SCD and the bay layer device CID are compared by using an improved diff algorithm and traversing the comparison layer by layer. The details include:

[0106] ① Extract IED models from the CID of the devices in the station in turn and build a DOM tree, called CID_DOM;

[0107] ② According to the IED model name of the device, traverse and extract the IED model with the same name from SCD, and also construct a DOM tree, called SCD_DOM;

[0108] ③ Use breadth-first traversal to layer the CID_DOM tree and SCD_DOM tree;

[0109] ④ Process layer by layer. For the nodes in the current layer, first build two hash tables: one for CID_DOM and the other for SCD_DOM. The key of the hash table is the combination of the node name, attribute and value, and the value is the node object;

[0110] ⑤Compare the current layer, the sub-node order follows the node adjustment, record and delete the difference node and its sub-nodes; specifically,

[0111] 1) Compare the nodes of the current layer, first traverse the hash table of CID_DOM, and for each node, check its existence in the hash table of SCD_DOM.

[0112] a. If the node exists in both hash tables, determine whether the node order needs to be adjusted and ensure that the order of its child nodes is consistent with it.

[0113] b. If the node only exists in the hash table of CID_DOM, record the node and its child nodes as difference nodes and delete these nodes from the CID_DOM tree.

[0114] c. If the node only exists in the hash table of SCD_DOM, record the node and its child nodes as difference nodes and delete them from the SCD_DOM tree. By deleting the difference node and its child nodes, the subsequent invalid comparison process can be eliminated;

[0115] 2) Record the information of all difference nodes and their child nodes, including the node path, name and difference type.

[0116] 3) Update the difference nodes and their child nodes of the two DOM trees to ensure the consistency of the two trees at the current level;

[0117] ⑥ Repeat steps ④ and ⑤ until the smaller value of the maximum level in the two trees is reached.

[0118] The present invention uses an improved diff algorithm to map the IED model into a DOM tree and perform hierarchical traversal comparison, effectively identifying and processing model differences, improving the accuracy and efficiency of IED model comparison, reducing unnecessary comparison processes, greatly reducing the comparison time complexity, and ensuring the consistency of the substation SCD and bay layer equipment CID models.

[0119] Embodiment 4

[0120] Figure 3 A practical application architecture diagram of a smart substation model consistency verification system according to an embodiment of the present invention; Figure 4 A flow chart of a method for verifying the consistency of a smart substation model according to another embodiment of the present invention; Figure 5 A comparison flow chart of a database point table and a CID comparison module according to an embodiment of the present invention; Figure 6 FIG. 1 is a flow chart of the comparison between the SCD and CID comparison modules according to an embodiment of the present invention. Figure 3-6 As shown, according to an embodiment of the present invention, a smart substation consistency verification method is used to verify the consistency of the smart substation monitoring host and the bay layer device model, including the following steps:

[0121] Step 1: Obtain the monitoring database information export file from the substation monitoring system, extract the reference and description information of the measuring points, and splice them.

[0122] The monitoring database information export file is a file used to describe the database information and is supported by all mainstream substation monitoring manufacturers in China. It contains all IED measurement point information imported from SCD.

[0123] To concatenate the measurement point reference and description, add “_” between the measurement point reference and description and concatenate them directly. The structure is as follows:

[0124] IED name / logical device name / logical node name$function constraint$data name$data attribute name_description

[0125] The example data is as follows:

[0126] P_M2212A / LD0 / StageGio1$ST$Ind2$stVal_Exception

[0127] P_M2212A / LD0 / StageGGIO1$ST$Ind3$stVal_Maintenance

[0128] Step 2: The DLT / 860 client simulator establishes communication with the bay layer device in the station and calls up the CID model file of the bay layer device respectively;

[0129] Step 3: Get the CID model file of the whole station bay layer equipment called by the DLT / 860 client simulator, parse the equipment IED model, and integrate it into a single model file;

[0130] Step 4: Obtain the substation SCD file and parse and extract the IED model;

[0131] Step 5: Compare the differences in references and descriptions of measuring points in the substation monitoring system database information export file and the CID file of the bay layer equipment in the station.

[0132] Refer to the monitoring system database information export file, extract the measurement point description and index from the interval layer equipment CID model in sequence and splice them.

[0133] Sort the CID measurement point information file and the monitoring database measurement point information file by line respectively;

[0134] Treat each line of the file as a single element and set two pointers to point to the starting elements of the two files respectively.

[0135] Compare the row elements pointed to by the two pointers: If the two elements are the same, move both pointers back one position at the same time and continue to compare the elements in the next position. If the two elements are not equal, you can record the difference and move the pointer with the smaller element sorting back one position and continue to compare the elements in the next position.

[0136] Repeat the step of comparing the row elements pointed to by the two pointers, and continue to compare the elements at corresponding positions in the two sequences until one of the sequences is traversed.

[0137] If one sequence has been traversed and the other sequence still has elements left to be compared, the remaining elements can be regarded as the difference;

[0138] Statistically record the difference between the CID measurement point information file and the monitoring database measurement point information file;

[0139] Assume that the content of file1 is:

[0140] P_M2212A / LD0 / StageIO1$ST$Ind1$STVal_Run

[0141] P_M2212A / LD0 / StageGio1$ST$Ind2$stVal_Exception

[0142] P_M2212A / LD0 / StageGGIO1$ST$Ind3$stVal_Maintenance

[0143] P_M2212A / LD0 / StaGGIO1$ST$Ind4$stVal_Differential protection lock

[0144] P_M2212A / LD0 / StaGGIO1$ST$Ind5$stVal_bus interconnection

[0145] P_M2212A / LD0 / StaGGIO1$ST$Ind6$stVal_Switch alarm

[0146] P_M2212A / LD0 / StageGGIO1$ST$Ind7$stVal_Protection Trip

[0147] P_M2212A / LD0 / StaGGIO1$ST$Ind1$stVal_Protection Trip

[0148] P_M2212A / LD0 / StatGGIO32$ST$Ind1$stVal_Software Version Change

[0149] P_M2212A / LD0 / STMP1$MX$Tmp$mag$f_Device Temperature

[0150] The content of file2 is:

[0151] P_M2212A / LD0 / StageIO1$ST$Ind1$STVal_Run

[0152] P_M2212A / LD0 / StageGio1$ST$Ind2$stVal_Exception

[0153] P_M2212A / LD0 / StageGGIO1$ST$Ind3$stVal_Maintenance

[0154] P_M2212A / LD0 / StaGGIO1$ST$Ind4$stVal_Differential protection lock

[0155] P_M2212A / LD0 / StaGGIO1$ST$Ind6$stVal_bus interconnection

[0156] P_M2212A / LD0 / StaGGIO1$ST$Ind6$stVal_Switch alarm

[0157] P_M2212A / LD0 / StaGGIO1$ST$Ind1$stVal_Protection Trip

[0158] P_M2212A / LD0 / StatGGIO32$ST$Ind1$stVal_Software Version Change

[0159] P_M2212A / LD0 / STMP1$MX$Tmp$mag$f_Device Temperature

[0160] First, sort the lines of file1 and file2, and then compare the double pointers to get the difference results as follows:

[0161] File1 difference lines:

[0162] P_M2212A / LD0 / StaGGIO1$ST$Ind5$stVal_bus interconnection

[0163] P_M2212A / LD0 / StageGGIO1$ST$Ind7$stVal_Protection Trip

[0164] File2 difference lines:

[0165] P_M2212A / LD0 / StaGGIO1$ST$Ind6$stVal_bus interconnection

[0166] Step 6: Use the improved diff algorithm to traverse and compare the IED model differences in the substation SCD file and the CID file of the bay layer device by layer.

[0167] Extract IED models from the CIDs of the devices in the station in turn and construct a DOM tree, called CID_DOM;

[0168] According to the IED model name of the device, traverse and extract the IED model with the same name from SCD, and also construct a DOM tree, called SCD_DOM;

[0169] Adopt breadth-first traversal to layer the CID_DOM tree and SCD_DOM tree;

[0170] Processing layer by layer, for the nodes of the current layer, first build two hash tables: one for CID_DOM and the other for SCD_DOM. The key of the hash table is a combination of the node name and the attribute and value, for example,

[0171] <IED type="PSL-603UA-DA-GZK-RPLDY"

[0172] name="P_L2201A"

[0173] manufacturer="GDNZ"

[0174] desc="220kV line 1 protection A"

[0175] configVersion="V1.00">,

[0176] The value is a node object;

[0177] Compared with the current layer, the sub-node order follows the node adjustment, and the difference node and its sub-nodes are recorded and deleted;

[0178] 1) Compare the nodes of the current layer, first traverse the hash table of CID_DOM, and for each node, check its existence in the hash table of SCD_DOM.

[0179] a. If the node exists in both hash tables, determine whether the node order needs to be adjusted and ensure that the order of its child nodes is consistent with it.

[0180] b. If the node only exists in the hash table of CID_DOM, record the node and its child nodes as difference nodes and delete these nodes from the CID_DOM tree.

[0181] c. If the node only exists in the hash table of SCD_DOM, record the node and its child nodes as difference nodes and delete these nodes from the SCD_DOM tree.

[0182] 2) Record the information of all difference nodes and their child nodes, including the path, name and difference type of the node;

[0183] 3) Update the difference nodes and their child nodes of the two DOM trees to ensure the consistency of the two trees at the current level;

[0184] Repeat the layer-by-layer comparison process until the smaller value of the maximum level in the two DOM trees is reached;

[0185] Step 7: Generate a formatted model consistency verification report based on the comparison results between the database information export file and the whole-site CID comparison module and the SCD and whole-site CID comparison module.

[0186] The present invention significantly enhances the versatility, comprehensiveness and efficiency of model consistency verification by introducing an improved and efficient comparison algorithm, while improving the stability and reliability of substation operation.

[0187] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

[0188] It should be understood that the size of the serial numbers of each step in the content of the invention and the embodiments of the present invention does not absolutely mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

Claims

1. A smart substation model consistency verification system, characterized in that: include: Monitoring database point table parsing module, used to take out the database information export file from the substation monitoring system, and extract the reference and description files of the measuring points from it; DLT / 860 client simulator, used for communicating with the bay layer device and uploading the CID file of the bay layer device; A CID parsing module, used to obtain the CID files of all bay-layer devices in the substation through the DLT / 860 client simulator and parse out the IED models, and integrate the IED models of all bay-layer devices into one file; SCD parsing module, used to obtain the substation SCD file and extract the IED model of the entire station; The database point table and CID comparison module is used to compare the differences in references and descriptions of measurement points in the substation monitoring system database information export file and the CID file of the station bay layer equipment; SCD and CID comparison module, used to compare the differences between the IED models in the substation SCD file and the bay layer device CID file; The test result and report generation module is used to collect statistics on the comparison results of the database point table and CID comparison module and the SCD and CID comparison module, and generate a formatted model consistency verification report.

2. The smart substation model consistency verification system according to claim 1 is characterized in that: The database point table and CID comparison module uses a double pointer algorithm to compare the differences between the reference and description of the measuring points; the SCD and CID comparison module uses an improved diff algorithm to compare the differences between the IED models.

3. A smart substation model consistency verification method, applied to the smart substation model consistency verification system as described in any one of claims 1-2, characterized in that: The method comprises: Take out the database information export file from the substation monitoring system, and extract the reference and description files of the measuring points from it; Upload the CID files of all bay-level devices in the substation and parse out the IED models, and integrate the IED models of all bay-level devices into one file; Read the substation SCD file and extract the IED model of the entire station; Compare the differences in references and descriptions of measurement points in the substation monitoring system database information export file and the CID file of the bay layer equipment in the station; Compare the differences in IED models between the substation SCD file and the bay-level device CID file; Generate a formatted model consistency verification report based on each comparison result.

4. The smart substation model consistency verification method according to claim 3 is characterized in that: The database information export file is a file used to describe database information and is supported by all mainstream substation monitoring manufacturers in China. It contains all IED measurement point information imported from the SCD.

5. The smart substation model consistency verification method according to claim 3 is characterized in that: Extracting the reference and description file of the measuring point, specifically: extracting the reference and description information of the measuring point and splicing them to generate the reference and description file of the measuring point.

6. The smart substation model consistency verification method according to claim 5 is characterized in that: The structure of the reference and description information of the measurement point is as follows: IED name / logical device name / logical node name$functional constraint$data name$data attribute name_description.

7. The smart substation model consistency verification method according to claim 3 is characterized by: The double pointer algorithm is used to compare the differences between the reference and description of the measurement points.

8. The method for verifying the consistency of a smart substation model according to claim 7 is characterized in that: Before comparison, the two measuring point information files are sorted by line respectively; When comparing, if two elements are not the same, record the difference line, move the pointer of the smaller sorted element of the two elements back one position, and continue to compare the element in the next position.

9. The smart substation model consistency verification method according to claim 3 is characterized by: The improved diff algorithm is used to compare the differences of IED models.

10. The smart substation model consistency verification method according to claim 9 is characterized in that: Map the IED model file to a DOM tree structure for traversal and modification; Perform breadth-first traversal of the two DOM trees, processing layer by layer; Generate hash tables for the current comparison layers of the two DOM trees respectively; the keys of the hash tables are the combination of node names, attributes and values, and the values ​​are node objects; When comparing the nodes of the current layer, the child nodes follow the changes of the parent nodes in sequence, record and delete the difference nodes and their child nodes, and continuously update the CID_DOM tree and SCD_DOM tree.

Citation Information

Cited By

  • Transformer substation configuration description file comparison method and system, medium, equipment and product

    CN119940337A