Automatic verification method and system for reconstruction and expansion virtual loop of intelligent substation

By establishing a standard terminal library and TSCD library, dividing the association category of IED, and using the minimum unit feature code to screen for checking IED to solve the problem of low virtual circuit verification efficiency after the reconstruction and expansion of the smart substation, and achieve an efficient and accurate school. Examination results.

CN119362690AInactive Publication Date: 2025-01-24UHV CO OF STATE GRID HEILONGJIANG ELECTRIC POWER CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

The existing automatic verification method for virtual loops of smart substations has insufficient calibration efficiency and accuracy, especially after the renovation and expansion of smart substations, the SCD files change frequently, resulting in low calibration efficiency.

Method used

By establishing a standard terminal library and a tSCD library, we divide the directly related classes and indirect related classes of IEDs in the modified and expanded SCD file. Only the directly related IEDs are verified in detail, and the minimum unit feature code is used to filter the IEDs to be verified. , narrow the verification range.

Benefits of technology

The efficiency and accuracy of the automatic verification of the virtual circuit has been improved, the verification of the content of each level of TSCD files is reduced, the verification time is shortened, and the accurate detection of substantial errors is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119362690A_ABST
    Figure CN119362690A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent substations. The invention specifically relates to an automatic verification method and system for a reconstruction and expansion virtual loop of an intelligent substation. The method comprises the steps that a standard terminal library is established, and a tSCD library is established according to the standard terminal library and reorganized and expanded SCD files passing examination; acquiring a first type of IED and a second type of IED; respectively calculating the minimum unit feature code of each IED in the first type of IEDs in the SCD file before reconstruction and extension and the SCD file after reconstruction and extension to be verified, so as to obtain the first type of IEDs of which the minimum unit feature codes are changed, and marking the first type of IEDs as the IEDs to be verified; and selecting a tSCD file matched with the to-be-verified reconstructed and expanded SCD file from the tSCD file library, and verifying the to-be-verified IED of the to-be-verified reconstructed and expanded SCD file. By adopting the automatic verification method for the reconstruction and expansion virtual loop of the intelligent substation, the efficiency of automatic verification of the virtual loop can be greatly improved on the basis of guaranteeing the verification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent substations, and more specifically, to an automatic verification method and system for virtual circuits of intelligent substation reconstruction and expansion. Background Art

[0002] In order to transmit the electricity generated by power plants to users over long distances, it is usually necessary to set up substations in the power system to convert the voltage. In today's society, in order to improve the operating efficiency and safety of the power system and reduce the impact of faults on power supply, smart substations are usually used to replace traditional substations.

[0003] Smart substation refers to a substation that uses modern communication technology, automation technology, computer technology and advanced sensor technology to upgrade the substation to achieve online monitoring of equipment status, automatic control and information integration. In a smart substation, the SCD (Substation Configuration Description) file is a file used to describe the substation configuration information. The correctness of the virtual circuit corresponding to the SCD file affects whether the substation can operate safely and stably. In the case of load growth, technology upgrades, and equipment aging in smart substations, it is usually necessary to renovate and expand the smart substation. After the smart substation is renovated and expanded, its SCD file will change. Therefore, it is very important to verify the virtual circuit corresponding to the SCD file. At present, most of the virtual circuits are verified by manual verification, which leads to the problems of low automation, low efficiency and poor accuracy in the verification of virtual circuits.

[0004] A virtual circuit verification method is disclosed in a Chinese patent application document with application publication number CN117290688A, which uses standard verification data to verify the accuracy of actual verification data. This method can realize automatic verification of the virtual circuit of the smart substation. However, when using this method to verify the virtual circuit of the smart substation in a new area, it is necessary to obtain the standard verification data of the area, resulting in low verification efficiency.

[0005] "(Ye Yuanbo et al., Research on Automatic Verification Technology of Virtual Circuits in Smart Substations for New Power Systems, Chinese Journal of Electrical Measurement and Instrumentation, 2022)" discloses an automatic verification method for virtual circuits in smart substation renovation and expansion, such as Figure 1As shown, the method first uses relevant specifications and the SCD file to be verified to establish a standard terminal library, and then obtains different interval templates in combination with the SCD files that have passed the review in different regions, and then obtains the tSCD library. When verifying the virtual circuit of the SCD file to be verified, it is only necessary to match the tSCD file corresponding to the SCD file to be verified, and use the tSCD file to automatically verify the virtual circuit of the SCD file. When this method is used to verify the virtual circuit of the smart substation in a new area, there is no need to re-acquire the standard verification data of the area, which improves the verification efficiency and verification accuracy; however, this verification method requires the use of the contents of each level of the tSCD file for layer-by-layer comparison, and the verification efficiency is low. Summary of the invention

[0006] In order to solve the technical problem that the existing virtual circuit automatic verification method has low efficiency when verifying the virtual circuit of the SCD file to be verified, the present invention provides solutions in the following aspects.

[0007] In a first aspect, the present invention provides a method for automatically verifying a virtual circuit in a smart substation expansion and reconstruction, comprising:

[0008] Establish a standard terminal library, and establish a tSCD library based on the standard terminal library and the SCD file after renovation and expansion that has passed the review; parse the SCD file after renovation and expansion to be verified, so as to obtain the renovation and expansion IED and the maintenance IED, record the IED directly associated with the renovation and expansion IED or the IED directly associated with the maintenance IED as the first type IED, and record the IED indirectly associated with the renovation and expansion IED or the IED indirectly associated with the maintenance IED as the second type IED;

[0009] Respectively calculating the minimum unit characteristic code of each IED in the first type of IED in the SCD file before the reconstruction and expansion and the SCD file after the reconstruction and expansion to be verified, so as to obtain the first type of IED whose minimum unit characteristic code is changed, and record it as the IED to be verified, wherein the minimum unit characteristic code is used to characterize the communication configuration information of the virtual circuit connection between the corresponding IED and other IEDs;

[0010] A tSCD file matching the modified and expanded SCD file to be verified is selected from the tSCD file library, and the IED to be verified of the modified and expanded SCD file to be verified is verified. During the verification, the IED to be verified is screened out from the third layer of the matching tSCD file, and the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the IED to be verified are verified.

[0011] The beneficial effect is as follows: when the existing virtual circuit automatic verification method is used to verify the SCD file to be verified, it is necessary to verify the contents of each level of the tSCD file layer by layer, and the contents of all IEDs in the SCD file to be verified are verified, which is relatively inefficient. The virtual circuit automatic verification method of the present invention, when verifying the SCD file to be verified, takes into account that the IEDs directly associated with the modified and expanded IED or the maintenance IED in the modified and expanded SCD file are likely to have substantial errors, while the IEDs indirectly associated with the modified and expanded IED or the maintenance IED are likely to have non-substantial errors. The IEDs in the SCD file to be verified are divided into IEDs directly associated with the modified and expanded IED or the maintenance IED (i.e., first-class IEDs) and IEDs indirectly associated with the modified and expanded IED or the maintenance IED (i.e., second-class IEDs). During verification, only the IEDs that may have substantial errors (i.e., the IEDs to be verified) are screened from the first-class IEDs for verification; in addition, taking into account that when a certain IED is incompatible with other IEDs, When the virtual connection relationship between EDs changes, the corresponding minimum unit feature code is likely to change. When screening the IEDs to be verified from the first category IED, the screening condition is based on whether the minimum unit feature code has changed. During verification, only the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the IED whose minimum unit feature code has changed in the first category IED are verified, without the need to verify the content of the IED layer associated with the first level of the tSCD file to the central device. This greatly improves the verification speed while ensuring that the substantial errors of the IED are accurately verified. In addition, since the number of second category IEDs is much larger than that of first category IEDs, if the second category IEDs and the first category IEDs are verified at the same time, there will be a large number of non-substantial errors and a small number of substantial errors in the verification results. Non-substantial errors may cover up substantial errors, making it difficult to detect substantial errors. By adopting the method of the present invention, the verification scope can be narrowed and only substantial errors can be verified, thereby providing high-value verification information.

[0012] In one embodiment, calculating the minimum unit signature code of a certain IED includes:

[0013] The IED contents of the four attributes of SV sending, GOOSE sending, SV receiving, and GOOSE receiving corresponding to the IED are converted into XML format content respectively, and the spaces, line breaks, carriage returns, and list characters between elements and attributes are removed to obtain four characteristic character strings;

[0014] For each characteristic string, the ASCII code value of each character in the characteristic string is calculated respectively, and the character corresponding to the smallest ASCII code value is used as the characteristic code of the characteristic string;

[0015] The set of feature codes of each feature character string is taken as a set of minimum unit feature codes of the IED.

[0016] The beneficial effect is as follows: since an IED is virtually connected to other IEDs through four virtual terminals, namely, SV sending, GOOSE sending, SV receiving, and GOOSE receiving, corresponding feature codes are obtained for the contents of SV sending, GOOSE sending, SV receiving, and GOOSE receiving, and a set of the four obtained feature codes is used as a set of minimum unit feature codes of the IED, so that the virtual connection information of the IED can be accurately characterized using the minimum unit feature code.

[0017] In one embodiment, it further includes:

[0018] Perform parity check on the data corresponding to all the second-class IEDs in the SCD file after renovation and expansion to be checked;

[0019] In response to failure of the parity check, the second type of IED is screened out from the third layer of the matching tSCD file, and the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the second type of IED is checked.

[0020] The beneficial effect is as follows: in extremely rare cases, after the substation is rebuilt and expanded, not only the virtual connection relationship of the IED directly associated with the rebuilt and expanded IED or the maintenance IED will change, but the virtual connection relationship of the IED indirectly associated with the rebuilt and expanded IED or the maintenance IED may also change; the method of the present invention takes into account that when data is transmitted between different IEDs, in order to ensure the correctness of the transmission code, each IED is usually provided with a parity check bit. When the virtual connection between the IEDs changes, the corresponding parity check bit is likely to change, and the parity check result of the data formed by the data sets corresponding to all the IEDs will change. Therefore, by performing a parity check on the data corresponding to all the second-class IEDs in the SCD file after the rebuilt and expanded to be checked, it can be determined whether there are some IEDs in the second-class IED whose virtual connections may change. When there are some IEDs in the second-class IED whose virtual connections may change, the contents of the virtual connection relationship layer and the virtual connection relationship description layer under each second-class IED are checked, thereby further improving the accuracy of the verification result of the automatic verification method for the virtual circuit of the intelligent substation rebuilt and expanded of the present invention.

[0021] In one embodiment, establishing a standard terminal library includes:

[0022] The virtual terminals in the ICD models of multiple protection device manufacturers are respectively obtained, and a virtual terminal set is constructed according to the obtained virtual terminals;

[0023] Based on the virtual terminal set, a standard virtual terminal is established according to the unified specification of relay protection devices and maintenance technology thereof;

[0024] The similarity between each IED virtual terminal and the standard virtual terminal in the modified and expanded SCD file to be verified is calculated, and automatic mapping between each IED virtual terminal and each standard virtual terminal is achieved based on the similarity, so as to establish a standard terminal library.

[0025] The beneficial effect is that the mapping speed and accuracy can be greatly improved by automatically mapping the virtual terminals of each IED according to the similarity between the virtual terminals of the SCD file to be verified after renovation and expansion, thereby improving the efficiency of establishing the standard terminal library.

[0026] In one embodiment, for a certain IED virtual terminal, calculating the similarity between the IED virtual terminal and a certain standard virtual terminal includes:

[0027] Extracting the contents of multiple attributes of the IED virtual terminal, taking the content of one attribute as a substring, and arranging the substrings together to form a characteristic string of the IED virtual terminal;

[0028] For the substrings corresponding to the attributes, the similarity between the substring of the IED virtual terminal and the substring of the standard virtual terminal is calculated; the similarity is negatively correlated with the Levenshtein distance between the two substrings;

[0029] The similarities of the substrings corresponding to the various attributes are averaged to obtain the similarity between the characteristic string of the IED virtual terminal and the characteristic string of the standard virtual terminal.

[0030] Its beneficial effect is: since there is a difference in the similarity of the contents of different attributes between the IED virtual terminal and the standard virtual terminal, by calculating the average of the similarities of the substrings corresponding to each attribute, and using the average as the similarity between the IED virtual terminal and the standard virtual terminal, the accuracy of the calculation result of the similarity between the IED virtual terminal and the standard virtual terminal can be improved.

[0031] In one embodiment, the similarity calculation expression is:

[0032]

[0033] In the formula, s represents the similarity and l represents the Levenshtein distance between two substrings.

[0034] In one embodiment, the unified specifications for the relay protection device and its maintenance technology are nine unified standards.

[0035] In one embodiment, the method of establishing a tSCD library based on the standard terminal library and the SCD file after modification and expansion that has passed the review is: first, an interval verification template is established based on the virtual connection relationship in the standard terminal library and the SCD file after modification and expansion that has passed the review; then, different tSCD files are integrated based on the interval verification template to form a tSCD library.

[0036] In a second aspect, the present invention provides an automatic verification system for virtual circuits in an intelligent substation, comprising a memory and a processor, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an automatic verification method for virtual circuits in a modification and expansion of an intelligent substation according to the present invention is implemented.

[0037] In summary, the beneficial effect of the present invention is that the method of the present invention can greatly improve the verification speed while ensuring accurate verification of substantial errors of IEDs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0039] Figure 1 It is a flow chart schematically showing a method for automatic verification of a substation virtual circuit in the prior art;

[0040] Figure 2 is a flow chart schematically showing a method for automatically checking a virtual circuit in a smart substation renovation and expansion according to an embodiment of the present invention;

[0041] Figure 3 is a schematic diagram schematically showing a directly associated IED and an indirectly associated IED according to an embodiment of the present invention;

[0042] Figure 4 is a schematic diagram schematically illustrating a virtual connection model in a tSCD file according to an embodiment of the present invention;

[0043] Figure 5 is a schematic diagram schematically showing the verification result of an embodiment of the present invention;

[0044] Figure 6 is a flow chart schematically illustrating a method for calculating a minimum unit characteristic code of an IED according to an embodiment of the present invention;

[0045] Figure 7 is a schematic diagram schematically showing a minimum unit characteristic code of a certain IED according to an embodiment of the present invention;

[0046] Figure 8The figure is a schematic diagram showing the structure of the automatic verification system for virtual circuits of a smart substation according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0048] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0049] Embodiment of the method for automatic verification of virtual circuits in intelligent substation reconstruction and expansion:

[0050] like Figure 2 As shown, the method for automatically checking the virtual circuit of the intelligent substation expansion and reconstruction of the present invention comprises:

[0051] S101, establish a tSCD library, and classify the IEDs of the modified and expanded SCD files to be verified, specifically: establish a standard terminal library, and establish a tSCD library based on the standard terminal library and the modified and expanded SCD files that have passed the review; parse the modified and expanded SCD files to be verified, so as to obtain the modified and expanded IEDs and the maintenance IEDs, and record the IEDs directly associated with the modified and expanded IEDs or the IEDs directly associated with the maintenance IEDs as the first type of IEDs, and record the IEDs indirectly associated with the modified and expanded IEDs or the IEDs indirectly associated with the maintenance IEDs as the second type of IEDs;

[0052] By parsing and comparing the SCD files before and after the renovation and expansion, the renovation and expansion IED can be determined. Usually, for the IED under maintenance, the corresponding IED content will have a maintenance mark, which is usually a comment or specific attribute about the maintenance status. Therefore, the maintenance IED can be obtained by parsing the SCD file after the renovation and expansion.

[0053] like Figure 3As shown, the set consisting of all modified and expanded IEDs can be recorded as a modification and expansion domain. Assuming that one IED in the modification and expansion domain is the first modified and expanded IED, the IED directly associated with the first modified and expanded IED refers to the IED that has a virtual connection with the first modified and expanded IED. The set consisting of all IEDs that have a virtual connection with all first modified and expanded IEDs can be recorded as a direct association domain. The IED indirectly associated with the modified and expanded IED refers to the IED that has a virtual connection relationship with the IED in the direct association domain. Assuming that a certain IED in the direct association domain is IEDA, and the IED that has a virtual connection with IEDA is IEDB, then IEDB is the IED indirectly associated with the first modified and expanded IED.

[0054] The set of all IEDs that have a virtual connection relationship with the IEDs in the direct association domain can be recorded as an indirect association domain.

[0055] The method of establishing a tSCD library based on the standard terminal library and the SCD file after renovation and expansion that has passed the review is as follows: first, an interval verification template is established based on the virtual connection relationship in the standard terminal library and the SCD file after renovation and expansion that has passed the review; then, different tSCD files are integrated based on the interval verification template to form a tSCD library. Different tSCD files are tSCD files corresponding to different regions or different substations.

[0056] The interval verification template is a tied file. Usually, there are multiple SCD files after the review and expansion, multiple interval verification templates will be generated, and multiple tSCD files will be generated. Multiple tSCD files are integrated together to obtain the tSCD library.

[0057] The virtual connection model in the tSCD file is as follows Figure 4 shown.

[0058] S102, calculating the minimum unit feature code of the IED, specifically: respectively calculating the minimum unit feature code of each IED in the first type of IED in the SCD file before the reconstruction and expansion and the SCD file after the reconstruction and expansion to be verified, so as to obtain the first type of IED whose minimum unit feature code is changed, and record it as the IED to be verified, the minimum unit feature code is used to characterize the communication configuration information of the virtual loop connection between the corresponding IED and other IEDs.

[0059] The minimum unit signature code is a signature code calculated based on the virtual circuit configuration information sent and received between two IEDs. Usually, in the substation virtual circuit corresponding to the SCD file, one IED will be virtually connected to one or more IEDs, and a set of corresponding minimum unit signature codes can be calculated between each two virtually connected IEDs. Therefore, one IED will have one or more sets of minimum unit signature codes. When one or more of the minimum unit signature codes of an IED have changed, it means that the virtual circuit corresponding to the IED is likely to have changed. Therefore, it is recorded as an IED to be verified to verify its content.

[0060] S103, using the tSCD file to verify the IED to be verified, specifically: select a tSCD file that matches the modified and expanded SCD file to be verified from the tSCD file library, and verify the IED to be verified of the modified and expanded SCD file to be verified, and during the verification, select the IED to be verified from the third layer of the matching tSCD file, and verify the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the IED to be verified.

[0061] The structure of the tSCD file is a tied file structure, in which the first layer is the interval type; the second layer is the central device, and the corresponding attributes include device name, voltage level, device type, object, wiring method and device description; the third layer is the IED associated with the central device, and its attributes include: voltage level, device type, object, wiring method and device description; the fourth layer is the virtual connection relationship between the two IEDs, including four connection relationship sets: SV publishing, SV receiving, GOOSE publishing and GOOSE receiving; the fifth layer is the virtual connection relationship description, including the standard description of the virtual terminal on this side and the standard description of the virtual terminal on the opposite side.

[0062] Parsing the SCD file after renovation and expansion to be verified can obtain the four connection relationships of SV release, SV reception, GOOSE release and GOOSE reception and the description of virtual connection relationship corresponding to each IED; the specific process of verification is to compare the contents of the virtual connection relationship layer and the virtual connection relationship description layer under the IED to be verified in the tSCD file with the four connection relationships of SV release, SV reception, GOOSE release and GOOSE reception and the description of virtual connection relationship corresponding to the IED to be verified parsed from the SCD file after renovation and expansion.

[0063] For a certain substation, the verification result obtained by using the automatic verification method for virtual circuit of intelligent substation expansion and reconstruction of the present invention is as follows: Figure 5 shown.

[0064] When the existing virtual circuit automatic verification method is used to verify the SCD file to be verified, it is necessary to verify the contents of each level of the tSCD file layer by layer, and the contents of all IEDs in the SCD file to be verified are verified, which is relatively inefficient. When the virtual circuit automatic verification method of the present invention verifies the SCD file to be verified, it is considered that the IEDs directly associated with the reconstruction and expansion IED or the maintenance IED in the SCD file after reconstruction and expansion are likely to have substantial errors, while the IEDs indirectly associated with the reconstruction and expansion IED or the maintenance IED are likely to have non-substantial errors. The IEDs in the SCD file to be verified are divided into IEDs directly associated with the reconstruction and expansion IED or the maintenance IED (i.e., first-class IEDs) and IEDs indirectly associated with the reconstruction and expansion IED or the maintenance IED (i.e., second-class IEDs). During verification, only IEDs that may have substantial errors (i.e., IEDs to be verified) are screened from the first-class IEDs for verification; in addition, considering that when a certain IED is associated with other IEDs, When the virtual connection relationship changes, the corresponding minimum unit feature code is likely to change. When screening the IED to be verified from the first category IED, the screening condition is based on whether the minimum unit feature code has changed. During the verification, only the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the IED whose minimum unit feature code has changed in the first category IED are verified, without the need to verify the content of the IED layer associated with the first level of the tSCD file to the central device. This greatly improves the verification speed while ensuring that the substantial errors of the IED are accurately verified. In addition, since the number of second category IEDs is much larger than that of first category IEDs, if the second category IEDs and the first category IEDs are verified at the same time, there will be a large number of non-substantial errors and a small number of substantial errors in the verification results. Non-substantial errors may cover up substantial errors, making it difficult to detect substantial errors. By adopting the method of the present invention, the verification scope can be narrowed and only substantial errors can be verified, thereby providing high-value verification information. It should be noted that the virtual connection relationship error between IEDs refers to the inconsistency between the virtual connection verified and the corresponding tSCD file. The virtual connection relationship error includes substantial error and non-substantial error. Substantial error refers to the actual wrong virtual connection, and non-substantial error refers to the inconsistency between the virtual connection corresponding to the tSCD file due to special or non-standard usage.

[0065] like Figure 6 As shown, in one embodiment, calculating the minimum unit signature code of a certain IED includes:

[0066] S501. Obtain multiple characteristic character strings, specifically: convert the IED contents of the four attributes of SV sending, GOOSE sending, SV receiving, and GOOSE receiving corresponding to the IED into XML format, and remove spaces, line breaks, carriage returns, and list characters between elements and attributes, so as to obtain four characteristic character strings.

[0067] S502, obtaining a feature code for each feature string, specifically: for each feature string, respectively calculating the ASCII code value of each character in the feature string, and taking the character corresponding to the smallest ASCII code value as the feature code of the feature string.

[0068] S503: Take the set of feature codes of each feature character string as a set of minimum unit feature codes of the IED.

[0069] like Figure 7 As shown, for the first IED connected to the central IED, it is recorded as IED1, and its corresponding minimum unit signature code includes four signature codes, namely signature code p1, signature code p2, signature code p3 and signature code p4.

[0070] Since an IED is virtually connected to other IEDs through four virtual terminals, namely, SV sending, GOOSE sending, SV receiving, and GOOSE receiving, the corresponding feature codes are obtained for the contents of SV sending, GOOSE sending, SV receiving, and GOOSE receiving, so that the virtual connection information of the IED can be accurately characterized by using the four feature codes. If an IED has a virtual connection relationship with multiple IEDs, then there is a set of minimum unit feature codes corresponding to each of the IEDs connected to it.

[0071] In one embodiment, it further includes:

[0072] S201, performing parity check on data corresponding to all the second-type IEDs in the SCD file after renovation and expansion to be checked;

[0073] S202: In response to failing the parity check, selecting the second type of IED from the third layer of the matching tSCD file, and verifying the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the second type of IED.

[0074] In very rare cases, after the substation is renovated and expanded, not only the virtual connection relationship of the IED directly associated with the renovated and expanded IED or the maintenance IED will change, but the virtual connection relationship of the IED indirectly associated with the renovated and expanded IED or the maintenance IED may also change; the method of the present invention takes into account that when data is transmitted between different IEDs, in order to ensure the correctness of the transmission code, each IED is usually provided with a parity check bit. When the virtual connection between the IEDs changes, the corresponding parity check bit is likely to change, and the parity check result of the data formed by the data sets corresponding to all the IEDs will change. Therefore, by performing a parity check on the data corresponding to all the second-class IEDs in the SCD file after the renovation and expansion to be checked, it can be determined whether there are some IEDs in the second-class IED whose virtual connections may change. When there are some IEDs in the second-class IED whose virtual connections may change, the contents of the virtual connection relationship layer and the virtual connection relationship description layer under each second-class IED are checked, thereby further improving the accuracy of the verification result of the automatic verification method for the virtual circuit of the intelligent substation renovation and expansion of the present invention.

[0075] In one embodiment, establishing a standard terminal library includes:

[0076] S301, respectively obtaining virtual terminals in ICD models of multiple protection device manufacturers, and constructing a virtual terminal set according to each of the obtained virtual terminals;

[0077] Assuming that the virtual terminals in the ICD models of manufacturer A and manufacturer B are obtained, the virtual terminals in the ICD model of manufacturer A include virtual terminal a and virtual terminal b, and the virtual terminals in the ICD model of manufacturer B include virtual terminal c and virtual terminal b, then the constructed virtual terminal set is {virtual terminal a, virtual terminal b, virtual terminal c}.

[0078] S302, establishing a standard virtual terminal according to the virtual terminal set and the unified specification of relay protection devices and maintenance technologies thereof;

[0079] The unified specification of the relay protection device and its maintenance technology can adopt nine unified standards or six unified standards. Preferably, nine unified standards are adopted in this embodiment. When establishing a standard virtual terminal, a corresponding standard virtual terminal is established for each virtual terminal in the virtual terminal set, so as to standardize the virtual terminals in the ACD file to be verified, so that the description of the virtual terminals is more standardized, so as to make the verification template more standardized and ensure the correctness during verification.

[0080] When establishing standard virtual terminals, a total of 6 levels are set to accommodate the content corresponding to each standard virtual terminal. The first level is the root directory, the second level is the voltage level, the third level is the IED device, whose attributes include device type, object, and wiring method, the fourth level is the terminal set, including SV release, SV reception, GOOSE release, and GOOSE reception, the fifth level is the standard terminal, including the standard description of the terminal and the standard reference address of the terminal, and the sixth level is the IED terminal dictionary of each protection device manufacturer, whose attributes include: equipment manufacturer, equipment type, terminal description, and terminal reference address.

[0081] S303, calculating the similarity between each IED virtual terminal and the standard virtual terminal in the SCD file to be verified after reconstruction and expansion, and realizing automatic mapping between each IED virtual terminal and each standard virtual terminal based on the similarity, so as to establish a standard terminal library.

[0082] In one embodiment, for a certain IED virtual terminal in the modified and expanded SCD file to be verified, calculating the similarity between the IED virtual terminal and a certain standard virtual terminal includes:

[0083] S401, extracting the contents of multiple attributes of the IED virtual terminal, taking the content of one attribute as a substring, arranging the substrings together to form a characteristic string of the IED virtual terminal; and extracting the contents of the corresponding attributes of the standard virtual terminal, thereby obtaining the substrings and characteristic string of the standard virtual terminal;

[0084] S402, for the substrings corresponding to the attributes, calculating the similarity between the substring of the IED virtual terminal and the substring of the standard virtual terminal;

[0085] When calculating the similarity between two substrings, the Levenshtein distance between the two substrings may be calculated first, and then the corresponding similarity may be calculated based on the Levenshtein distance, wherein the similarity is negatively correlated with the Levenshtein distance.

[0086] S403: averaging the similarities of the substrings corresponding to the attributes, thereby obtaining the similarity between the characteristic string of the IED virtual terminal and the characteristic string of the standard virtual terminal.

[0087] When calculating the similarity between the feature string of each IED virtual terminal and the feature string of the standard virtual terminal, the Levenshtein distance between the feature string of the IED virtual terminal and the feature string of the standard virtual terminal can be calculated first; and then the corresponding similarity is calculated based on the Levenshtein distance.

[0088] In the above embodiments, it is mentioned that the similarity is negatively correlated with the Levenshtein distance. In one embodiment, the calculation expression of the similarity is:

[0089]

[0090] In the formula, s represents the similarity and l represents the Levenshtein distance between two substrings.

[0091] Implementation example of the virtual circuit automatic verification system for smart substation:

[0092] The present invention also provides an automatic verification system for virtual circuits in smart substations. Figure 8 As shown, the intelligent substation virtual circuit automatic verification system includes a processor and a memory, and the memory stores computer program instructions. When the computer program instructions are executed by the processor, the intelligent substation reconstruction and expansion virtual circuit automatic verification method according to the first aspect of the present invention is implemented.

[0093] The intelligent substation virtual circuit automatic verification system also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, whose settings and functions are known in the art and will not be described in detail here.

[0094] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that may be used to store the required information and may be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0095] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0096] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A method for automatically verifying a virtual circuit in a smart substation expansion and reconstruction, characterized in that: include: Establish a standard terminal library, and establish a tSCD library based on the standard terminal library and the SCD file after renovation and expansion that has passed the review; parse the SCD file after renovation and expansion to be verified, so as to obtain the renovation and expansion IED and the maintenance IED, record the IED directly associated with the renovation and expansion IED or the IED directly associated with the maintenance IED as the first type IED, and record the IED indirectly associated with the renovation and expansion IED or the IED indirectly associated with the maintenance IED as the second type IED; Respectively calculating the minimum unit characteristic code of each IED in the first type of IED in the SCD file before the reconstruction and expansion and the SCD file after the reconstruction and expansion to be verified, so as to obtain the first type of IED whose minimum unit characteristic code is changed, and record it as the IED to be verified, wherein the minimum unit characteristic code is used to characterize the communication configuration information of the virtual circuit connection between the corresponding IED and other IEDs; A tSCD file matching the modified and expanded SCD file to be verified is selected from the tSCD file library, and the IED to be verified of the modified and expanded SCD file to be verified is verified. During the verification, the IED to be verified is screened out from the third layer of the matching tSCD file, and the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the IED to be verified are verified.

2. The method for automatically verifying the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 1, characterized in that: The minimum unit characteristic code for calculating a certain IED includes: The IED contents of the four attributes of SV sending, GOOSE sending, SV receiving, and GOOSE receiving corresponding to the IED are converted into XML format content respectively, and the spaces, line breaks, carriage returns, and list characters between elements and attributes are removed to obtain four characteristic character strings; For each characteristic string, the ASCII code value of each character in the characteristic string is calculated respectively, and the character corresponding to the smallest ASCII code value is used as the characteristic code of the characteristic string; The set of feature codes of each feature character string is taken as a set of minimum unit feature codes of the IED.

3. The method for automatically verifying the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 1, characterized in that: Also includes: Perform parity check on the data corresponding to all the second-class IEDs in the SCD file after renovation and expansion to be checked; In response to failure of the parity check, the second type of IED is screened out from the third layer of the matching tSCD file, and the content of the virtual connection relationship layer and the content of the virtual connection relationship description layer under the second type of IED is checked.

4. The method for automatically verifying the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 1, characterized in that: The establishment of the standard terminal library comprises: The virtual terminals in the ICD models of multiple protection device manufacturers are respectively obtained, and a virtual terminal set is constructed according to the obtained virtual terminals; Based on the virtual terminal set, a standard virtual terminal is established according to the unified specification of relay protection devices and maintenance technology thereof; The similarity between each IED virtual terminal and the standard virtual terminal in the modified and expanded SCD file to be verified is calculated, and automatic mapping between each IED virtual terminal and each standard virtual terminal is achieved based on the similarity, so as to establish a standard terminal library.

5. The method for automatically checking the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 4, characterized in that: For a certain IED virtual terminal, calculating the similarity between the IED virtual terminal and a certain standard virtual terminal includes: Extracting the contents of multiple attributes of the IED virtual terminal, taking the content of one attribute as a substring, and arranging the substrings together to form a characteristic string of the IED virtual terminal; For the substrings corresponding to the attributes, the similarity between the substring of the IED virtual terminal and the substring of the standard virtual terminal is calculated; the similarity is negatively correlated with the Levenshtein distance between the two substrings; The similarities of the substrings corresponding to the various attributes are averaged to obtain the similarity between the characteristic string of the IED virtual terminal and the characteristic string of the standard virtual terminal.

6. The method for automatically checking the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 5, characterized in that: The calculation expression of the similarity is: In the formula, s represents the similarity and l represents the Levenshtein distance between two substrings.

7. The method for automatically checking the virtual circuit of the intelligent substation expansion and reconstruction as claimed in claim 4, characterized in that: The unified specifications for relay protection devices and their maintenance technologies are nine unified standards.

8. The method for automatically verifying a virtual circuit in a smart substation expansion and reconstruction as claimed in any one of claims 1 to 7, characterized in that: The method for establishing a tSCD library based on the standard terminal library and the SCD file after modification and expansion that has passed the review is: first, an interval verification template is established based on the virtual connection relationship in the standard terminal library and the SCD file after modification and expansion that has passed the review; then, different tSCD files are integrated based on the interval verification template to form a tSCD library.

9. An automatic verification system for virtual circuits of intelligent substation expansion and reconstruction, comprising a memory and a processor, wherein the memory stores computer program instructions, characterized in that: When the computer program instructions are executed by the processor, the method for automatic verification of virtual circuits in reconstruction and expansion of a smart substation as claimed in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Virtual loop verification method and device, electronic equipment and storage medium

    CN117290688A

  • SCD file virtual loop automatic checking method based on intermediate model file

    CN108733928A

Cited By

  • Configuration change verification method and system based on IED virtual connection

    CN119668927A

  • Transformer substation transformation and debugging method based on CRC incidence matrix and weighted decision

    CN121530000A