Smart substation SCD comparison method, system, device and readable storage medium
By obtaining the historical SCD with the highest similarity to the current SCD name and the same voltage level, building a database for virtual connection comparison, solving the problem of insufficient SCD comparison breadth in the existing technology, and achieving a comprehensive discovery of the SCD design defects of smart substations and improve design accuracy.
Patent Information
- Application Number
- CN202011026859.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-09-25
AI Technical Summary
The breadth of existing smart substation SCD comparison methods is insufficient, and it is difficult to fully discover shortcomings and problems in SCD design, which affects the design accuracy.
Use the historical SCD with the highest similarity to the current SCD name and the same voltage level as the comparison SCD. Through the RKR-GST algorithm and keyword matching, a historical SCD database is constructed, and virtual connection information is cross-compared, and a variety of comparisons are provided. The results were found to find differences in virtual connections.
The breadth of SCD comparison has been expanded, the degree of comprehensive discovery of current SCD design shortcomings and problems has been improved, comparison time has been saved, and design accuracy has been enhanced.
Smart Images

Figure CN112181904B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of intelligent substation debugging, and relates to an intelligent substation SCD comparison method, system, equipment and a readable storage medium. Background Art
[0002] At present, during the on-site debugging of domestic smart substations, there are often different versions of SCD (System Configuration Description, substation system configuration description file). There are certain differences between these SCDs, and they need to be compared to find the differences between them. For renovation and expansion projects, the original SCD will be modified, and the new and old SCDs need to be compared to find the differences between them. By finding the differences between the virtual connections of the same IED (Intelligent Electronic Device) in the SCDs of two different stations, the design deficiencies and problems of the virtual connections in the current SCD can be discovered, and improvements can be made.
[0003] In order to compare the differences between two SCDs, some comparison tools have been studied in China. However, most of them collect two SCDs temporarily for comparison, without establishing a historical SCD database, without comparing more SCDs, with limited SCD objects for comparison, and without considering comparing SCDs of other different stations. The breadth of comparison is not enough, which makes it difficult to fully discover the deficiencies and problems in the current SCD design. For example, the document "Gao Lei. Research and Implementation of IEC61850 SCL Configuration File Comparison Tool. Automation of Electric Power Systems, 2013, 37(20):88-96" expands the element list in each SCD into a two-dimensional table structure, and compares the same, added, and deleted comparison results of each node (including virtual connection) one by one based on the primary key of the two-dimensional table data structure. However, this document does not consider comparing multiple historical SCDs, and does not consider the situation where the receiving virtual terminal descriptions of two identical virtual connections in two SCDs are the same, while the sending virtual terminal references, sending virtual terminal descriptions, and receiving virtual terminal references are all different or partially different, that is, the situation where the virtual connections partially match. The patent "CN105956276A, Rapid Search and Optimization Method for Target Association Pairs of Smart Substations with Multiple SCDs" provides a method and strategy for rapid search and optimization of target association pairs by searching for target association pairs in a historical database. However, the goal of this patent is to compare two similar virtual connections.
[0004] In summary, the current SCD comparison method at least has the problem of insufficient comparison breadth, which makes it difficult to fully discover the deficiencies and problems in the current SCD design, thus affecting the accuracy of the SCD design. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the existing SCD comparison method in the above-mentioned prior art that it is difficult to fully discover the deficiencies and problems in the current SCD design, and to provide a smart substation SCD comparison method, system, device and readable storage medium.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In a first aspect of the present invention, a smart substation SCD comparison method comprises the following steps:
[0008] Obtain the current SCD and the comparison SCD, wherein the comparison SCD is the historical SCD with the highest name similarity to the current SCD, and the voltage level of the comparison SCD is the same as that of the current SCD; obtain the virtual connection information of each IED in the current SCD and the comparison SCD; traverse the IEDs in the current SCD, cross-compare the virtual connection information of the first IED and the second IED with the same name, and obtain the comparison result; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD.
[0009] The SCD comparison method of the smart substation of the present invention is further improved in that:
[0010] The method also includes: acquiring and parsing a number of historical SCDs, obtaining the name of each historical SCD and the virtual connection information of each IED in each historical SCD, and constructing a historical SCD database through the number of historical SCDs, the name of each historical SCD and the virtual connection information of each IED in each historical SCD; when obtaining the virtual connection information of each IED in the comparison SCD, obtaining the comparison SCD and the virtual connection information of each IED in the comparison SCD from the historical SCD database.
[0011] The specific method for obtaining the comparison SCD is: obtain the name of the current SCD, and obtain the voltage level of the current SCD through the name of the current SCD; traverse the historical SCD database to obtain all historical SCDs of the same level with the same voltage level as the current SCD; according to the name of the current SCD, use the RKR-GST algorithm to traverse all historical SCDs of the same level to obtain the historical SCD of the same level with the highest name similarity to the current SCD as the comparison SCD.
[0012] The specific method for obtaining the comparison SCD is: obtain the name of the current SCD, and obtain the voltage level of the current SCD through the name of the current SCD; traverse the historical SCD database to obtain all historical SCDs of the same level with the same voltage level as the current SCD; extract several keywords from the name of the current SCD, traverse all historical SCDs of the same level, and obtain the historical SCD of the same level containing the most keywords as the comparison SCD.
[0013] The virtual connection information of the IED includes a plurality of virtual connection records, each of which includes a sending virtual terminal reference, a sending virtual terminal description, a receiving virtual terminal reference and a receiving virtual terminal description.
[0014] The specific method for cross-comparing the virtual connection information of the first IED and the second IED with the same name is as follows: obtain the first IED and the second IED with the same name; for each virtual connection record in the virtual connection information of the first IED, according to the same corresponding relationship cited by the received virtual terminal and / or the same corresponding relationship described by the received virtual terminal, traverse the virtual connection information of the second IED; when the corresponding virtual connection record can be found in the virtual connection information of the second IED, perform virtual connection record comparison; otherwise, set a new comparison result on the current virtual connection record; for each virtual connection record in the virtual connection information of the second IED, According to the corresponding relationship of receiving the same virtual terminal reference and / or the corresponding relationship of receiving the same virtual terminal description, the virtual connection information of the first IED is traversed; when the corresponding virtual connection record can be found in the virtual connection information of the first IED, the virtual connection record is compared; otherwise, a deletion comparison result is set on the current virtual connection record; wherein the specific method of comparing the virtual connection records is: when the sending virtual terminal reference, the sending virtual terminal description, the receiving virtual terminal reference and the receiving virtual terminal description in the virtual connection record are all the same, a complete match comparison result is set on the current virtual connection record; otherwise, a partial match comparison result is set on the current virtual connection record.
[0015] The comparison result lists the comparison result of each virtual connection record of each IED in the current SCD and the comparison SCD, the sending virtual terminal reference, the sending virtual terminal description, the receiving virtual terminal reference and the receiving virtual terminal description.
[0016] According to a second aspect of the present invention, a smart substation SCD comparison system includes: a first acquisition module, used to acquire a current SCD and a comparison SCD, wherein the comparison SCD is a historical SCD having the highest name similarity to the current SCD, and the comparison SCD has the same voltage level as the current SCD; a second acquisition module, used to acquire virtual connection information of each IED in the current SCD and the comparison SCD; a comparison module, used to cross-compare the virtual connection information of a first IED and a second IED with the same name, to traverse the IEDs in the current SCD; wherein the first IED is an IED in the current SCD, and the second IED is an IED in the comparison SCD, to obtain a comparison result.
[0017] In a third aspect of the present invention, a computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned smart substation SCD comparison method when executing the computer program.
[0018] A fourth aspect of the present invention is a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned smart substation SCD comparison method are implemented.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The SCD comparison method of the smart substation of the present invention obtains the current SCD and the comparison SCD, then obtains the virtual connection information of each IED in the current SCD and the comparison SCD, and then cross-compares the virtual connection information of the first IED and the second IED with the same name to obtain a comparison result, which helps to find the difference between the current SCD and the comparison SCD, and then helps to find the defects and deficiencies of the current SCD in the virtual connection, and improves the accuracy of the SCD design. Among them, the comparison SCD is the historical SCD with the highest name similarity with the current SCD, and the voltage level of the comparison SCD is the same as that of the current SCD. The comparison SCD is not limited to the restrictions of different versions of SCD of the same smart substation, and can compare SCDs of different historical versions of the same smart substation to find the differences between the virtual connections of the new and old versions of the SCD; and for the SCD of the newly built station, by quickly finding the SCD of the smart substation with the same voltage level and different in the historical SCD, a rapid virtual connection information comparison is performed, which greatly expands the breadth of the SCD comparison and improves the comprehensive discovery of deficiencies and problems in the current SCD design.
[0021] Furthermore, a historical SCD database is established to store virtual connection information of each IED in each historical SCD. When performing SCD comparison, the information of the historical SCD is directly extracted from the historical SCD database, avoiding re-analysis of the historical SCD and saving comparison time.
[0022] Furthermore, when cross-checking the virtual connection information, the virtual connections of the same IED in the current SCD and the comparison SCD are cross-compared according to the same corresponding relationship of the receiving virtual terminal references and / or the same corresponding relationship of the receiving virtual terminal descriptions, and multiple comparison results are given. Since the receiving virtual terminal references of some virtual connections in the comparison SCD are the same as the receiving virtual terminal references of the current SCD, for example, the virtual terminal references of some switching quantities will be the same, but in fact the corresponding receiving virtual terminal descriptions are not the same, the corresponding relationship of the receiving virtual terminal description is used for comparison, so that it can be more clearly seen whether the two receiving virtual terminals of the virtual connections on both sides are the same, and the situation where the receiving virtual terminals are different can be discovered as much as possible.
[0023] Furthermore, the comparison results list the comparison results, sending virtual terminal references, sending virtual terminal descriptions, receiving virtual terminal references and receiving virtual terminal descriptions of each virtual connection record of each IED in the current SCD and the comparison SCD. Compared with the existing virtual connection comparison results which only give the same, new and deleted methods, by listing the comparison results, sending virtual terminal references, sending virtual terminal descriptions, receiving virtual terminal references and receiving virtual terminal descriptions, it is convenient for the operator to intuitively view the differences between the two virtual connection records. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flowchart of a smart substation SCD comparison method in one embodiment of the present invention;
[0025] Figure 2 A schematic diagram of SCD comparison results of different historical versions of the same smart substation in one embodiment of the present invention;
[0026] Figure 3 A schematic diagram of the differences in the comparison results of different historical versions of SCD of the same smart substation in one embodiment of the present invention;
[0027] Figure 4 A schematic diagram of SCD comparison results of different smart substations with the same voltage level in one embodiment of the present invention;
[0028] Figure 5 A schematic diagram showing the differences in the comparison results of SCDs of different smart substations with the same voltage level in one embodiment of the present invention;
[0029] Figure 6 The figure is a schematic diagram of the structure of the SCD comparison system of the smart substation in one embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0033] See also Figure 1 In one embodiment of the present invention, a smart substation SCD comparison method is provided, which uses the historical SCD with the highest name similarity to the current SCD as the comparison SCD, without being limited to the restrictions of different versions of SCDs in the same smart substation, and then obtains and compares the virtual connection information of the current SCD and the comparison SCD to obtain a comparison result. For details, see Figure 1 , the smart substation SCD comparison method includes the following steps.
[0034] S1: Obtain a current SCD and a comparison SCD, wherein the comparison SCD is a historical SCD with the highest name similarity to the current SCD, and the comparison SCD has the same voltage level as the current SCD.
[0035] Specifically, obtain the name of the current SCD, and obtain the voltage level of the current SCD through the name of the current SCD; then obtain all historical SCDs of the same level with the same voltage level as the current SCD from the historical SCD. Then, based on the name of the current SCD, use the RKR-GST algorithm (greedy string coverage algorithm) to traverse all historical SCDs of the same level to obtain the historical SCD of the same level with the highest name similarity to the current SCD as the comparison SCD. Alternatively, you can also extract several keywords from the name of the current SCD, traverse all historical SCDs of the same level, and obtain the historical SCD of the same level containing the most keywords as the comparison SCD.
[0036] For example, for the name src of the current SCD, a search method combining voltage level matching and string similarity matching with the RKR-GST algorithm is used to find the names obj of the SCDs of different historical versions of the same smart substation or different smart substations of the same voltage level.
[0037] First, the voltage level cur_Vol of the current SCD is obtained according to the voltage level number in the name src of the current SCD. If the voltage level number is not included in the name src of the current SCD, the voltage level cur_Vol of the SCD is provided by the manufacturer; then the core word Core_word representing the place name or feature of the smart substation is extracted from the name src of the current SCD, which can be manually extracted. If the searched comparison SCD is to search for different historical versions of the same smart substation for the current SCD, the historical SCD with the voltage level equal to cur_Vol and the name containing Core_word is retrieved to obtain the name obj of each historical SCD that meets the conditions; then the RKR-GST algorithm is used to obtain the similarity between the name src of the current SCD and the name obj of each historical SCD. If the search goal is to search for SCDs of different smart substations with the same voltage level for the current SCD, then retrieve the historical SCDs with voltage level equal to cur_Vol and name containing Core_word, and obtain the names obj of each historical SCD that meets the conditions. They are SCDs of different smart substations with the same voltage level as the current SCD, so that different historical versions of SCDs of the same smart substation are filtered out; then use the RKR-GST algorithm to obtain the similarity between the name src of the current SCD and the names obj of each historical SCD.
[0038] The name obj of the SCD with the highest similarity is listed as multiple candidate target SCDs, and the target SCD with the greatest similarity is used as the comparison SCD. In this way, the comparison SCDs of different historical versions of the same smart substation or different smart substations of the same voltage level can be found according to different search targets.
[0039] Preferably, if you are not satisfied with the searched comparison SCD results, you can also use keyword screening. First, take out multiple keywords from the name src of the current SCD, such as voltage level numbers such as 10, 35, 110, 220, 500, etc., kV, core words representing place names in substation names, and other keywords, and then query all historical SCDs of the same level, and check in turn whether the name of each historical SCD contains these keywords at the same time. If they do, the name of the SCD is used as a candidate target SCD name; then the names of the target SCDs that meet the conditions are listed for the operator to select a suitable one as the comparison SCD.
[0040] S2: Get the current SCD and compare the virtual connection information of each IED in the SCD.
[0041] The virtual connection information includes a plurality of virtual connection records, and each virtual connection record includes a sending virtual terminal reference, a sending virtual terminal description, a receiving virtual terminal reference, and a receiving virtual terminal description.
[0042] Specifically, the following method is used to obtain the virtual connection information of each IED for the current SCD and the comparison SCD. Parse the various attributes of the functional constraint data attribute FCDA (Functional Constrained DataAttribute, which is a characteristic of data attributes and is used to characterize the specific purpose of DA) object under the data set DataSet of each IED in the SCD, including the logical node instance ldInst, prefix prefix, logical node class lnClass, logical node instance lnInst, data name doName and data attribute name daName, obtain the name IEDname of the current IED from the attribute name of the current IED, construct the complete path of the FCDA object in the form of IEDnameldInst / prefixlnClasslnInst.doName.daName with the above information, and obtain the description of the FCDA object from the relevant daName node of the current IED, so as to facilitate the subsequent search for the sending virtual terminal and obtain the description of the sending virtual terminal.
[0043] Then parse the virtual connection nodes ExtRef under the input node Inputs of each IED, and get the sending IED name from its attribute iedName value. According to the current IED name, construct a new association pair RPid, together with the SCD file number SCDid, sending IED name description, sending IED name, sending IED type, current receiving IED name description, receiving IED name and receiving IED type, to form a new record. The sending IED type and receiving IED type are obtained from the attribute type of the sending IED node and the receiving IED node respectively. In this way, the virtual connection information of each IED in the SCD is obtained.
[0044] Get the reference path attribute intAddr of the receiving virtual terminal under each virtual connection node ExtRef, which is the primary key attribute of ExtRef. From it, parse the receiving IED name iedName and data name attribute doName, and find the corresponding DOI object (Data Object identifier, data object unique identifier), obtain the receiving virtual terminal description Input_Vport_Desc, if not found, set the receiving virtual terminal description to empty; obtain the attributes daName, doName, iedName, ldInst, lnClass, lnInst and prefix of the sending virtual terminal under the virtual connection node ExtRef, organize them into the reference path Output_Vport_Ref of the sending virtual terminal in the form of IEDnameldInst / prefixlnClasslnInst.doName.daName, and use it to search for the FCDA object with the same reference path under each data set DataSet of the corresponding sending IED, and obtain its description as the sending virtual terminal description Output_Vport_Desc of the current virtual connection, if the corresponding FCDA object is not found, set the sending virtual terminal description of the current virtual connection to empty, so that it can be checked whether the sending virtual terminal exists effectively and give the description of the sending virtual terminal.
[0045] The sending virtual terminal reference Output_Vport_Ref, sending virtual terminal description Output_Vport_Desc, receiving virtual terminal reference intAddr, receiving virtual terminal description Input_Vport_Desc of each virtual connection, together with the associated pair number RPid of the virtual connection, form a virtual connection record. The virtual connection information includes several virtual connection records.
[0046] S3: cross-compare the virtual connection information of the first IED and the second IED with the same name, until the IEDs in the current SCD are traversed; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD, to obtain a comparison result.
[0047] Among them, the specific method for cross-comparing the virtual connection information of the first IED and the second IED with the same name is: obtain the first IED and the second IED with the same name; for each virtual connection record in the virtual connection information of the first IED, traverse the virtual connection information of the second IED according to the same corresponding relationship referenced by the received virtual terminal and / or the same corresponding relationship described by the received virtual terminal; when the corresponding virtual connection record can be found in the virtual connection information of the second IED, perform virtual connection record comparison; otherwise, set a new comparison result on the current virtual connection record; for each virtual connection record in the virtual connection information of the second IED, traverse the virtual connection information of the first IED according to the same corresponding relationship referenced by the received virtual terminal and / or the same corresponding relationship described by the received virtual terminal; when the corresponding virtual connection record can be found in the virtual connection information of the first IED, perform virtual connection record comparison; otherwise, set a deletion comparison result on the current virtual connection record. Among them, the specific method for comparing virtual connection records is: when the sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description in the virtual connection record are exactly the same, a complete match comparison result is set on the current virtual connection record; when the virtual connection records are partially the same, a partial match comparison result is set on the current virtual connection record, and a corresponding virtual connection record is set on the current virtual connection record.
[0048] Specifically, for the current SCD named src, find a comparison SCD named obj from the historical SCD, and quickly compare the virtual connections of each IED in the two SCDs to find the differences between the virtual connections of the same IED; parse the current SCD according to the above steps to obtain its basic information and the virtual connection information of each IED it owns. For each IED in the current SCD, extract the IED name srcIED, and search for the target IED with the same name among all IED names in the comparison SCD; if the target IED is found, its name is objIED, and two comparison strategies of receiving the same virtual terminal reference and / or receiving the same virtual terminal description can be used to compare the differences between each virtual connection of srcIED and objIED.
[0049] When the receiving virtual terminal reference is the same comparison strategy, the virtual connections of srcIED and objIED are cross-compared. First, for each virtual connection record on the srcIED side, a search is performed in the virtual connection set on the objIED side. If a completely matching target virtual connection record is found, that is, the sending virtual terminal reference, the sending virtual terminal description, the receiving virtual terminal reference and the receiving virtual terminal description are respectively the same, then the mark of the current virtual connection on the srcIED side and the objIED side is set to be a complete match; if a virtual connection record is found on the objIED side that is the same as the receiving virtual terminal reference of the current virtual connection on the srcIED side, but the sending virtual terminal reference, the sending virtual terminal description and the receiving virtual terminal description are partially different, then the mark of the current virtual connection on the srcIED side is set to be a partial match, and the virtual connection record on the objIED side is recorded; if no virtual connection record is found on the objIED side that is the same as the receiving virtual terminal reference of the current virtual connection record on the srcIED side, then the mark of the current virtual connection record on the srcIED side is set to be newly added.
[0050] Then, for each virtual connection record on the objIED side, a match is performed in the virtual connection set on the srcIED side. If the mark of the current virtual connection record on the objIED side is a complete match, it is skipped and the next virtual connection record is processed; if a virtual connection record is found on the srcIED side that has the same receiving virtual terminal reference as the current virtual connection record on the objIED side, but is different in sending virtual terminal reference, sending virtual terminal description and receiving virtual terminal description, the mark of the current virtual connection record on the objIED side is set to partial match, and the virtual connection record on the srcIED side is recorded; if no virtual connection record is found on the srcIED side that has the same receiving virtual terminal reference as the current virtual connection record on the objIED side, the mark of the current virtual connection record on the objIED side is set to a deletion flag.
[0051] When the receiving virtual terminal description is the same comparison strategy, the cross-comparison of each virtual connection record of srcIED and objIED is similar to the above strategy, the difference is that the search condition receiving virtual terminal reference is the same is changed to receiving virtual terminal description is the same; the difference between the two virtual connection comparison strategies of srcIED side IED and objIED side IED is that, since the receiving virtual terminal reference of some virtual connection records in some historical SCDs is the same as the receiving virtual terminal reference of the current SCD, but the corresponding receiving virtual terminal descriptions are actually different, when the receiving virtual terminal reference is the same strategy, there may be a situation where the receiving virtual terminal references on both sides are the same but the receiving virtual terminal descriptions are different, and they belong to different receiving virtual terminals. At this time, the receiving virtual terminal description is the same strategy for comparison, which can more clearly see whether the two receiving virtual terminals of the virtual connection on both sides are the same, and find out the possible different receiving virtual terminals.
[0052] The comparison result lists the comparison result, sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description of each virtual connection record of each IED in the current SCD and the comparison SCD. Specifically, for the comparison result of all virtual connection records of the same IED in the current SCD and the comparison SCD, the information of each IED and its sending IED in the current SCD and the comparison SCD is listed, the number of virtual connections of the associated pair is listed, and the sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description of each virtual connection under the associated pair are listed, so that the operator can view the difference between the virtual connections of the same IED in the comparison SCD of different historical versions of the same smart substation or different smart substations of the same voltage level. Compared with the existing virtual connection comparison results that only give the same, new and deleted methods, by listing the comparison results, sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description, it is convenient for the operator to intuitively view the difference between the two virtual connection records.
[0053] In summary, the SCD comparison method for smart substations of the present invention can achieve the two goals of comparing SCDs of different historical versions of the same smart substation and comparing SCDs of different smart substations of the same voltage level, and uses a search strategy combining voltage level matching with the RKR-GST algorithm to search for comparison SCDs of different historical versions of the same smart substation or different smart substations of the same voltage level in the historical SCD. It can compare SCDs of different historical versions of the same smart substation to find the differences between the virtual connections in the new and old versions of the SCD. Moreover, for the SCD of a newly built station, by quickly finding SCDs of different smart substations of the same voltage level in the historical SCD, a rapid virtual connection information comparison is performed, and the differences in virtual connections in the current SCD can be checked to further discover its deficiencies and defects. It is not limited to the limitations of different versions of SCDs of the same smart substation, greatly expanding the breadth of SCD comparison and improving the comprehensive discovery of deficiencies and problems in the current SCD design. At the same time, two comparison strategies are adopted, namely, the same description of the receiving virtual terminal or the same reference of the receiving virtual terminal, to cross-compare the virtual connections of the same IED in the current SCD and the comparison SCD, and give a variety of comparison results. Since the reference of the receiving virtual terminal of some virtual connections in some historical SCDs is the same as that of the receiving virtual terminal in the current SCD, but the corresponding descriptions of the receiving virtual terminals are actually different, the strategy of the same description of the receiving virtual terminal is adopted for comparison, so that it can be more clearly seen whether the two receiving virtual terminals of the virtual connections on both sides are the same, and the situation where the receiving virtual terminals are different can be discovered as much as possible.
[0054] In another embodiment of the present invention, a smart substation SCD comparison method is provided, which includes at least all the contents of the smart substation SCD comparison method provided in the previous embodiment, and further includes at least: obtaining and parsing several historical SCDs, obtaining the name of each historical SCD and the virtual connection information of each IED in each historical SCD, and constructing a historical SCD database through several historical SCDs, the name of each historical SCD and the virtual connection information of each IED in each historical SCD. Based on the design of the historical SCD database, when obtaining the comparison SCD, it is obtained from the historical SCD database; when obtaining the virtual connection information of each IED in the comparison SCD, it is obtained from the historical SCD database.
[0055] Specifically, the construction process of the historical SCD database is as follows.
[0056] For a historical SCD, parse the header under the SCL node and the substation node to obtain the version number, SCD name, SCD description, voltage level and other information. Then, build a historical database and design the table SCDsInfo, which contains the fields of SCD file number SCDid, SCD name SCDname, SCD description SCDdesc, version number Version, SCD file name SCDfilename and voltage level Vol. The obtained SCD name, SCD description, version number, SCD file name and voltage level, and then give a new SCD file number, are added to the table SCDsInfo to form a new record.
[0057] According to the acquisition method of the virtual connection information of each IED provided in the previous embodiment, the virtual connection information of each IED in the SCD is obtained. Then, the table RelatedPair is designed to save the association relationship between the sending IED and the receiving IED extracted from the virtual connection information of each IED. The fields it contains include the SCD file number SCDid, the association pair number RPid, the sending IED name description, the sending IED code name, the sending IED type, the receiving IED name description, the receiving IED name code and the receiving IED type, where the association pair number RPid is a natural number that increases sequentially from 1; the table Vlinks is designed to save the virtual connection information of each IED, and the fields it contains include the sending virtual terminal reference Output_Vport_Ref, the sending virtual terminal description Output_Vport_Desc, the receiving virtual terminal reference Input_Vport_Ref, the receiving virtual terminal description Input_Vport_Desc and the association pair number RPid.
[0058] For other historical SCDs, similarly, according to the above steps, the basic information and virtual connection information of each IED are obtained and saved to obtain the historical SCD database.
[0059] By constructing a historical SCD database, the basic information of the historical SCD and the virtual connection information of each IED are saved in the historical SCD database. When constructing a virtual connection, it also checks whether the receiving virtual terminal and the sending virtual terminal are valid. When performing SCD comparison, the information of the historical SCD is directly extracted from the historical SCD database, avoiding re-analysis of the historical SCD and saving comparison time.
[0060] In yet another embodiment of the present invention, an application example of the smart substation SCD comparison method in the above embodiment in different historical versions of the same smart substation is provided, which specifically includes the following steps.
[0061] Firstly, a historical SCD database was constructed, which collected more than 200 SCDs, about 18000M, including about 1150000 virtual connections. The basic information of each SCD and the virtual connection information of each IED were extracted and stored in the historical SCD database.
[0062] For the comparison of different versions of SCD in the same station, for the actual substation "220kV Anning substation scd140710.scd" (SCD1), the best matching comparison SCD "220kV Anning substation scd140702.scd" (SCD2) was searched for it in the historical SCD database, and the similarity of the two names was 0.882.
[0063] The two SCDs were quickly compared for virtual connection, and their comparison results were as follows: Figure 2 and Figure 3 As shown in Figure 2, the virtual connections of PM2201B from each sending IED in the two SCDs are found, and the details of these virtual connections are given respectively. Figure 2 It can be seen that the number of virtual connections of PM2201B (220 busbar protection set B) from MM2201B (220kV busbar merging unit set B) in the left 220kV Anning transformer scd140702.scd is 13, while the number of virtual connections of PM2201B from MM2201B in the right 220kV Anning transformer scd140710.scd is 19, and the latter adds 6 virtual connections. Figure 3 It can be seen that the virtual connections of PM2201B of SCD1 from MM2201B have different details of the 6 additional virtual connections compared to the same receiving and sending IEDs of SCD2.
[0064] In yet another embodiment of the present invention, an application example of the smart substation SCD comparison method in the above embodiment in different smart substations with the same voltage level is provided, and specifically, the following steps are included.
[0065] Firstly, a historical SCD database was constructed, which collected more than 200 SCDs, about 18000M, including about 1150000 virtual connections. The basic information of each SCD and the virtual connection information of each IED were extracted and stored in the historical SCD database.
[0066] For example, for SCD3 "Zhejiang Ningbo 110kV Baiyue Substation 20180329.scd", multiple similar SCDs containing "Zhejiang" and "110kV" of different smart substations were found from the historical SCD database, and the RKR-GST algorithm was used to find "Zhejiang Huzhou 110kV Wushan Substation 20180211.scd" as the comparison SCD (SCD4).
[0067] First, perform a quick comparison of virtual connections between two similar SCDs. The comparison results are as follows: Figure 4 and Figure 5 As shown. Figure 4 It can be seen that the total number of virtual connections of CL1101 (Liangzhengbai 1126 line measurement and control device) in SCD3 is 83, and the total number of virtual connections of CL1101 (110kV Ganshan 1743 line measurement and control) in SCD4 is 93; the number of virtual connections received by CL1101 on the SCD3 side from ML1101B (the second merging unit of Liangzhengbai 1126 line) is 11, while the number of virtual connections received by CL1101 on the SCD4 side from ML1101B (110kV Ganshan 1743 line merging unit B set) is 19, which is more than There are 8 more virtual connections on the SCD3 side; the number of virtual connections received by CL110 on the SCD3 side from IL1101 (Liangzheng 31126 line intelligent terminal) is 71, while the number of virtual connections received by CL110 on the SCD4 side from IL1101 (110kV Ganshan 1743 line intelligent terminal) is 74, which is 3 more virtual connections than the SCD3 side; the number of virtual connections received by CL110 in SCD3 from CM1101 (110kV VI section mother measurement and control device) is 1, while there is no such sending device on the SCD4 side. Figure 5 The details of the differences in the virtual connection between the two SCDs are given.
[0068] In another embodiment of the present invention, see Figure 6 , provides a smart substation SCD comparison system, which can be used to implement the smart substation SCD comparison method involved in the above embodiments. Specifically, the smart substation SCD comparison system includes a first acquisition module, a second acquisition module and a comparison module.
[0069] Among them, the first acquisition module is used to obtain the current SCD and the comparison SCD, wherein the comparison SCD is the historical SCD with the highest name similarity to the current SCD, and the voltage level of the comparison SCD is the same as that of the current SCD; the second acquisition module is used to obtain the virtual connection information of each IED in the current SCD and the comparison SCD; the comparison module is used to cross-compare the virtual connection information of the first IED and the second IED with the same name, to traverse the IEDs in the current SCD; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD, to obtain the comparison result.
[0070] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGAs), or other processors. GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the SCD comparison method of the smart substation, including: obtaining the current SCD and the comparison SCD, wherein the comparison SCD is the historical SCD with the highest name similarity to the current SCD, and the comparison SCD has the same voltage level as the current SCD; obtaining the virtual connection information of each IED in the current SCD and the comparison SCD; cross-comparing the virtual connection information of the first IED and the second IED with the same name, until traversing the IEDs in the current SCD; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD, and obtaining the comparison result.
[0071] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage.
[0072] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the smart substation SCD comparison method in the above embodiment; one or more instructions in the computer-readable storage medium are loaded by the processor and the following steps are executed: obtaining the current SCD and the comparison SCD, wherein the comparison SCD is the historical SCD with the highest name similarity to the current SCD, and the comparison SCD has the same voltage level as the current SCD; obtaining the virtual connection information of each IED in the current SCD and the comparison SCD; cross-comparing the virtual connection information of the first IED and the second IED with the same name, until traversing the IEDs in the current SCD; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD, to obtain a comparison result.
[0073] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0074] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0075] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0076] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A smart substation SCD comparison method, characterized in that: The following steps are involved: Obtain the current SCD and the comparison SCD, wherein the comparison SCD is the historical SCD with the highest name similarity to the current SCD, and the voltage level of the comparison SCD is the same as that of the current SCD; Get the current SCD and compare the virtual connection information of each IED in the SCD; Traverse the IEDs in the current SCD, cross-compare the virtual connection information of the first IED and the second IED with the same name, and obtain a comparison result; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD; The virtual connection information of the IED includes a plurality of virtual connection records, each of which includes a sending virtual terminal reference, a sending virtual terminal description, a receiving virtual terminal reference and a receiving virtual terminal description; The specific method of cross-comparing the virtual connection information of the first IED and the second IED with the same name is: Get the first IED and the second IED with the same name; For each virtual connection record in the virtual connection information of the first IED, traverse the virtual connection information of the second IED according to receiving the same corresponding relationship referenced by the virtual terminal and / or receiving the same corresponding relationship described by the virtual terminal; When the corresponding virtual connection record can be found in the virtual connection information of the second IED, the virtual connection record comparison is performed; otherwise, a new comparison result is set on the current virtual connection record; For each virtual connection record in the virtual connection information of the second IED, traverse the virtual connection information of the first IED according to receiving the same corresponding relationship referenced by the virtual terminal and / or receiving the same corresponding relationship described by the virtual terminal; When the corresponding virtual connection record can be found in the virtual connection information of the first IED, the virtual connection record is compared; otherwise, the comparison result is set to be deleted on the current virtual connection record; Among them, the specific method of virtual connection record comparison is: when the sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description in the virtual connection record are all the same, a complete match comparison result is set on the current virtual connection record; otherwise, a partial match comparison result is set on the current virtual connection record.
2. The smart substation SCD comparison method according to claim 1 is characterized in that: Also includes: Acquire and parse several historical SCDs, obtain the name of each historical SCD and the virtual connection information of each IED in each historical SCD, and construct a historical SCD database through the several historical SCDs, the name of each historical SCD and the virtual connection information of each IED in each historical SCD; When the virtual connection information of each IED in the comparison SCD is obtained, the comparison SCD and the virtual connection information of each IED in the comparison SCD are obtained from the historical SCD database.
3. The smart substation SCD comparison method according to claim 2 is characterized in that: The specific method for obtaining and comparing SCD is: Get the name of the current SCD, and get the voltage level of the current SCD through the name of the current SCD; Traverse the historical SCD database to obtain all historical SCDs of the same voltage level as the current SCD; According to the name of the current SCD, all historical SCDs of the same level are traversed through the RKR-GST algorithm to obtain the historical SCD of the same level with the highest name similarity to the current SCD as the comparison SCD.
4. The smart substation SCD comparison method according to claim 2 is characterized in that: The specific method for obtaining and comparing SCD is: Get the name of the current SCD, and get the voltage level of the current SCD through the name of the current SCD; Traverse the historical SCD database to obtain all historical SCDs of the same voltage level as the current SCD; Extract several keywords from the name of the current SCD, traverse all historical SCDs of the same level, and obtain the historical SCD of the same level containing the most keywords as the comparison SCD.
5. The smart substation SCD comparison method according to claim 1 is characterized in that: The comparison result lists the comparison result of each virtual connection record of each IED in the current SCD and the comparison SCD, the sending virtual terminal reference, the sending virtual terminal description, the receiving virtual terminal reference and the receiving virtual terminal description.
6. A smart substation SCD comparison system, characterized in that: include: A first acquisition module is used to acquire a current SCD and a comparison SCD, wherein the comparison SCD is a historical SCD with the highest name similarity to the current SCD, and the comparison SCD has the same voltage level as the current SCD; The second acquisition module is used to acquire the current SCD and compare the virtual connection information of each IED in the SCD; A comparison module is used to cross-compare the virtual connection information of the first IED and the second IED with the same name, to traverse the IEDs in the current SCD; wherein the first IED is the IED in the current SCD, and the second IED is the IED in the comparison SCD, to obtain a comparison result; The virtual connection information of the IED includes a plurality of virtual connection records, each of which includes a sending virtual terminal reference, a sending virtual terminal description, a receiving virtual terminal reference and a receiving virtual terminal description; The specific method of cross-comparing the virtual connection information of the first IED and the second IED with the same name is: Get the first IED and the second IED with the same name; For each virtual connection record in the virtual connection information of the first IED, traverse the virtual connection information of the second IED according to receiving the same corresponding relationship referenced by the virtual terminal and / or receiving the same corresponding relationship described by the virtual terminal; When the corresponding virtual connection record can be found in the virtual connection information of the second IED, the virtual connection record comparison is performed; otherwise, a new comparison result is set on the current virtual connection record; For each virtual connection record in the virtual connection information of the second IED, traverse the virtual connection information of the first IED according to receiving the same corresponding relationship referenced by the virtual terminal and / or receiving the same corresponding relationship described by the virtual terminal; When the corresponding virtual connection record can be found in the virtual connection information of the first IED, the virtual connection record is compared; otherwise, the comparison result is set to be deleted on the current virtual connection record; Among them, the specific method of virtual connection record comparison is: when the sending virtual terminal reference, sending virtual terminal description, receiving virtual terminal reference and receiving virtual terminal description in the virtual connection record are all the same, a complete match comparison result is set on the current virtual connection record; otherwise, a partial match comparison result is set on the current virtual connection record.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the smart substation SCD comparison method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the smart substation SCD comparison method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Multi-SCD-oriented method for rapidly searching and optimizing target associated pairs of intelligent substations
CN105956276A
Graphical comparing method for SCD (substation configuration description) files of intelligent substation
CN104636490A
Comparison method for detecting different versions of SCD (Substation Configuration Description) files of intelligent substation and difference of SCD and CID (Character identifier) in an offline manner
CN104657129A