Data analysis method of relay protection system, electronic equipment and storage medium

By acquiring the set of actual and predicted behaviors of the relay protection system, and using pre-built models and consistency evaluation functions to perform consistency analysis, the low accuracy and low efficiency problems caused by manual comparison in the existing technology are solved, and efficient and accurate data analysis of the relay protection system is realized.

CN121097584APending Publication Date: 2025-12-09JIEYANG POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511234921.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-29
Publication Date
2025-12-09

AI Technical Summary

Technical Problem

In existing technologies, the consistency analysis of the operating behavior of dual relay protection devices relies on manual comparison, resulting in low accuracy and efficiency of data analysis.

Method used

By acquiring the set of actual and predicted behaviors of the relay protection system, and utilizing the pre-built relay protection behavior prediction model and consistency evaluation function, consistency analysis is automatically performed, improving the accuracy and efficiency of the analysis.

Benefits of technology

It achieves high efficiency and accuracy in data analysis of relay protection systems, and improves the ability to assess the consistency of relay protection device behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121097584A_ABST
    Figure CN121097584A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data analysis method of a relay protection system, electronic equipment and a storage medium. The method comprises the following steps: acquiring an actual relay protection behavior set and a predicted relay protection behavior set of a relay protection system; wherein the actual relay protection behavior set is a set of actual protection behaviors implemented by the relay protection system in the process of protecting power elements included in the power system; predicting a relay protection behavior set which is a set of protection behaviors implemented by the relay protection system on power elements included in the power system, wherein the protection behaviors are predicted based on a pre-constructed relay protection behavior prediction model; and according to the actual relay protection behavior set and the predicted relay protection behavior set, performing consistency analysis processing on the relay protection system to obtain a consistency analysis result of the relay protection system. The method is used for achieving the effect of improving the data analysis efficiency and accuracy of the relay protection system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power technology, and in particular to a data analysis method, electronic device and storage medium for a relay protection system. Background Technology

[0002] Relay protection devices are the first line of defense in a power system, and their correct and reliable operation is crucial for ensuring the safe and stable operation of the power system. To improve power supply reliability, important power components, such as transmission lines and main equipment, are usually equipped with dual or multiple sets of relay protection devices for redundancy. When a system fault occurs, ideally, the dual protection devices should exhibit consistent behavior, such as the same protective elements operating and similar operating times.

[0003] In existing technologies, the analysis of the consistency of the actions of two sets of protection devices mainly relies on maintenance personnel retrieving fault recording data after a fault and performing comparative analysis manually.

[0004] However, the existing methods lead to problems of low accuracy and low efficiency in data analysis of relay protection systems. Summary of the Invention

[0005] This application provides a data analysis method, electronic device, and storage medium for a relay protection system, which aims to improve the efficiency and accuracy of data analysis in the relay protection system.

[0006] In a first aspect, embodiments of this application provide a data analysis method for a relay protection system, including:

[0007] Obtain the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system;

[0008] The actual relay protection behavior set is the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system; the predicted relay protection behavior set is the set of protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system, as predicted by a pre-built relay protection behavior prediction model.

[0009] Based on the actual relay protection behavior set and the predicted relay protection behavior set, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system.

[0010] In one possible implementation, the actual relay protection behavior set includes at least one actual relay protection behavior; each actual relay protection behavior corresponds to a power element and a relay protection device; the predicted relay protection behavior set includes at least one predicted relay protection behavior; each predicted relay protection behavior corresponds to a power element and a relay protection device; based on the actual relay protection behavior set and the predicted relay protection behavior set, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system, including: obtaining a first relay protection behavior set from the actual relay protection behavior set and obtaining a second relay protection behavior set from the predicted relay protection behavior set; wherein, the first relay protection behavior set and the second relay protection behavior set are consistent. The relay protection system is composed of two sets of electrical components: the first set of actual relay protection behaviors and the second set of predicted relay protection behaviors. Based on a preset consistency evaluation function, the first set of actual relay protection behaviors corresponding to the same electrical component, and the second set of predicted relay protection behaviors, a consistency analysis is performed on the relay protection system to obtain a consistency analysis result. The preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors. The consistency analysis result of the relay protection system includes at least one sub-analysis result. Each sub-analysis result corresponds to a power component.

[0011] In one possible implementation, a consistency analysis is performed on the relay protection system based on a preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors to obtain the consistency analysis result of the relay protection system. This includes: calculating a first consistency parameter, a second consistency parameter, and at least two third consistency parameters based on the preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors; wherein the first consistency parameter is calculated based on all actual relay protection behaviors corresponding to the same power element; the second consistency parameter is calculated based on all predicted relay protection behaviors corresponding to the same power element; and the third consistency parameter is calculated based on all actual relay protection behaviors and all actual relay protection behaviors corresponding to the same power element. The consistency analysis is then performed on the relay protection system based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters to obtain the consistency analysis result of the relay protection system.

[0012] In one possible implementation, the preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time.

[0013] In one possible implementation, obtaining the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system includes: extracting the set of actual relay protection behaviors from the operating information of each relay protection device included in the relay protection system; obtaining the waveform recording data and operating parameters of each relay protection device; and obtaining the set of predicted relay protection behaviors based on the pre-built relay protection behavior prediction model, the waveform recording data and operating parameters of each relay protection device.

[0014] In one possible implementation, the construction process of the pre-built relay protection behavior prediction model includes: acquiring a fault sample set and constructing a machine learning set based on the fault sample set; training the initial prediction model according to the machine learning set and a preset consistency evaluation function to obtain the pre-built relay protection behavior prediction model; wherein, the preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the preset consistency evaluation function is a preset function for evaluating the consistency of action changes and / or action times.

[0015] In one possible implementation, each fault sample in the fault sample set corresponds to at least one of different operating conditions and different fault types; each fault sample in the fault sample set includes at least one of: fault waveform data, protection settings, protection function status, and expected action behavior; wherein, the fault waveform data is the waveform data input to the relay protection device when a device fault is detected; the protection settings are the preset parameters of the relay protection device input by the fault waveform data; the protection function status is the function start / stop status of the relay protection device input by the fault waveform data; and the expected action behavior is the protection behavior output by the relay protection device input by the fault waveform data.

[0016] Secondly, embodiments of this application provide a data analysis device for a relay protection system, comprising:

[0017] The acquisition module is used to acquire the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system; wherein, the set of actual relay protection behaviors is the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system; the set of predicted relay protection behaviors is the set of protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system, based on a pre-built relay protection behavior prediction model.

[0018] The analysis module is used to perform consistency analysis on the relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set, and obtain the consistency analysis result of the relay protection system.

[0019] In one possible implementation, the set of actual relay protection behaviors includes at least one actual relay protection behavior; each actual relay protection behavior corresponds to a power element and a relay protection device; the set of predicted relay protection behaviors includes at least one predicted relay protection behavior; each predicted relay protection behavior corresponds to a power element and a relay protection device; the analysis module is specifically used to obtain a first set of relay protection behaviors from the set of actual relay protection behaviors and to obtain a second set of relay protection behaviors from the set of predicted relay protection behaviors; wherein the first set of relay protection behaviors and the second set of relay protection behaviors correspond to the same power element; the first set of relay protection behaviors is the actual relay protection behavior. The first set of relay protection behaviors corresponds to the actual relay protection behavior of the same power element in the set of actual and predicted relay protection behaviors. The second set of relay protection behaviors corresponds to the predicted relay protection behavior of the same power element in the set of actual and predicted relay protection behaviors. Based on a preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system. The preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors. The consistency analysis result of the relay protection system includes at least one sub-analysis result. Each sub-analysis result corresponds to a power element.

[0020] In one possible implementation, the analysis module is further specifically used to calculate a first consistency parameter, a second consistency parameter, and at least two third consistency parameters based on a preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors; wherein, the first consistency parameter is calculated based on all the actual relay protection behaviors corresponding to the same power element; the second consistency parameter is calculated based on all the predicted relay protection behaviors corresponding to the same power element; and the third consistency parameter is calculated based on all the actual relay protection behaviors and all the actual relay protection behaviors corresponding to the same power element; and the consistency analysis process is performed on the relay protection system according to the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters to obtain the consistency analysis result of the relay protection system.

[0021] In one possible implementation, the preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time.

[0022] In one possible implementation, the acquisition module is specifically used to extract the actual relay protection behavior set from the operating information of each relay protection device included in the relay protection system; acquire the waveform recording data and operating parameters of each relay protection device; and acquire the predicted relay protection behavior set based on the pre-built relay protection behavior prediction model, the waveform recording data and operating parameters of each relay protection device.

[0023] In one possible implementation, the acquisition module is further configured to acquire a fault sample set and construct a machine learning set based on the fault sample set; train the initial prediction model according to the machine learning set and a preset consistency evaluation function to obtain the pre-constructed relay protection behavior prediction model; wherein, the preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the preset consistency evaluation function is a preset function for evaluating the consistency of action changes and / or action times.

[0024] In one possible implementation, each fault sample in the fault sample set corresponds to at least one of different operating conditions and different fault types; each fault sample in the fault sample set includes at least one of: fault waveform data, protection settings, protection function status, and expected action behavior; wherein, the fault waveform data is the waveform data input to the relay protection device when a device fault is detected; the protection settings are the preset parameters of the relay protection device input by the fault waveform data; the protection function status is the function start / stop status of the relay protection device input by the fault waveform data; and the expected action behavior is the protection behavior output by the relay protection device input by the fault waveform data.

[0025] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0026] The memory stores computer-executed instructions;

[0027] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0028] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0029] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0030] The data analysis method, electronic device, and storage medium for relay protection systems provided in this application embodiment acquire the actual relay protection behavior set and the predicted relay protection behavior set of each relay protection device included in the relay protection system. Based on the actual and predicted relay protection behavior sets, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system. The automatic consistency analysis of the relay protection system using the protection behavior set improves the efficiency and accuracy of the data analysis. Furthermore, by comprehensively considering both the actual and predicted relay protection behavior sets during the consistency analysis process, the accuracy of the data analysis can be further improved. In summary, the data analysis method for relay protection systems provided in this application embodiment can improve the efficiency and accuracy of the data analysis of relay protection systems. Attached Figure Description

[0031] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0032] Figure 1 Flowchart of the data analysis method for the relay protection system provided in this application Figure 1 ;

[0033] Figure 2 Flowchart of the data analysis method for the relay protection system provided in this application Figure 2 ;

[0034] Figure 3 Flowchart of the data analysis method for the relay protection system provided in this application Figure 3 ;

[0035] Figure 4 A schematic diagram of the data analysis device for the relay protection system provided in this application;

[0036] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.

[0037] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0038] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0039] In existing technologies, the analysis of the consistency of the actions of dual protection devices mainly relies on maintenance personnel retrieving fault recording data after a fault and performing manual comparison and analysis. However, this method leads to low accuracy and efficiency in the data analysis of relay protection systems.

[0040] The data analysis method for relay protection systems provided in this application obtains the actual relay protection behavior set and the predicted relay protection behavior set of each relay protection device included in the relay protection system. Based on the actual and predicted relay protection behavior sets, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result. The automatic consistency analysis of the relay protection system using the protection behavior set improves the efficiency and accuracy of data analysis. Furthermore, by comprehensively considering both the actual and predicted relay protection behavior sets during the consistency analysis process, the accuracy of data analysis can be further improved. In summary, the data analysis method for relay protection systems provided in this application can improve the efficiency and accuracy of data analysis for relay protection systems.

[0041] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0042] Figure 1 Flowchart of the data analysis method for the relay protection system provided in this application Figure 1 ,like Figure 1 As shown, the method includes:

[0043] Step S101: Obtain the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system.

[0044] Specifically, it is possible to obtain the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system.

[0045] Specifically, relay protection devices are the "guardians" of the power system. Their basic principle is to monitor physical quantities such as current and voltage of electrical components (such as generators, transformers, and lines), and to act quickly in the event of a fault or abnormality, disconnecting the faulty component or issuing an alarm signal. Specifically, the relay protection system provided in this application includes at least two sets of relay protection devices. Ideally, when a power component in the power system fails, all relay protection devices in the system should exhibit consistent protection behavior, such as identical component protection actions and similar operating times.

[0046] The actual relay protection behavior set refers to the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system during the process of protecting the power components included in the power system. The predicted relay protection behavior set refers to the set of protection behaviors implemented by the relay protection devices included in the relay protection system during the process of protecting the power components included in the power system, as predicted by a pre-built relay protection behavior prediction model.

[0047] The pre-built relay protection behavior prediction model is a pre-built model that predicts the protection behavior of each relay protection device included in the relay protection system. This application does not limit the pre-built relay protection behavior prediction model. Any model that can be pre-built to predict the protection behavior of each relay protection device included in the relay protection system can be used as the pre-built relay protection behavior prediction model provided in this application.

[0048] Specifically, this application does not limit the process of obtaining the set of actual relay protection behaviors and the set of predicted relay protection behaviors of each relay protection device included in the relay protection system. Optionally, the set of actual relay protection behaviors can be extracted from the operating information of each relay protection device included in the relay protection system; the waveform data and operating parameters of each relay protection device can be obtained; and the set of predicted relay protection behaviors can be obtained based on the pre-constructed relay protection behavior prediction model, the waveform data and operating parameters of each relay protection device.

[0049] Step S102: Based on the actual relay protection behavior set and the predicted relay protection behavior set, perform consistency analysis on the relay protection system to obtain the consistency analysis results of the relay protection system.

[0050] Specifically, based on the actual relay protection behavior set and the predicted relay protection behavior set obtained in step S101, a consistency analysis can be performed on the relay protection system to obtain the consistency analysis results of the relay protection system.

[0051] Specifically, this application does not limit the process of performing consistency analysis on the relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set to obtain the consistency analysis result of the relay protection system. Optionally, the actual relay protection behavior set includes at least one actual relay protection behavior; each actual relay protection behavior corresponds to a power element and a relay protection device; the predicted relay protection behavior set includes at least one predicted relay protection behavior; each predicted relay protection behavior corresponds to a power element and a relay protection device; performing consistency analysis on the relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set to obtain the consistency analysis result of the relay protection system includes: obtaining a first relay protection behavior set from the actual relay protection behavior set and obtaining a second relay protection behavior set from the predicted relay protection behavior set. A set of relay protection behaviors is defined; wherein, the first set of relay protection behaviors and the second set of relay protection behaviors correspond to the same power element; the first set of relay protection behaviors is the actual relay protection behavior corresponding to the same power element in the actual relay protection behavior set; the second set of relay protection behaviors is the predicted relay protection behavior corresponding to the same power element in the actual predicted relay protection behavior set; based on a preset consistency evaluation function, the first set of relay protection behaviors and the second set of relay protection behaviors corresponding to the same power element, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system; wherein, the preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the consistency analysis result of the relay protection system includes at least one sub-analysis result; each sub-analysis result corresponds to a power element.

[0052] The data analysis method for a relay protection system provided in this application embodiment obtains the actual relay protection behavior set and the predicted relay protection behavior set of each relay protection device included in the relay protection system. Based on the actual relay protection behavior set and the predicted relay protection behavior set, a consistency analysis process is performed on the relay protection system to obtain the consistency analysis result of the relay protection system. The automatic consistency analysis process using the protection behavior set improves the efficiency and accuracy of the data analysis of the relay protection system. Furthermore, by comprehensively considering both the actual and predicted relay protection behavior sets during the consistency analysis process, the accuracy of the data analysis of the relay protection system can be further improved. In summary, the data analysis method for a relay protection system provided in this application embodiment can improve the efficiency and accuracy of the data analysis of the relay protection system.

[0053] Figure 2 Flowchart of the data analysis method for the relay protection system provided in this application Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, the process of performing consistency analysis on the relay protection system according to the actual relay protection behavior set and the predicted relay protection behavior set to obtain the consistency analysis result of the relay protection system is described in detail. The method includes:

[0054] Step S201: Obtain the first set of relay protection behaviors from the actual set of relay protection behaviors, and obtain the second set of relay protection behaviors from the set of predicted relay protection behaviors.

[0055] The set of actual relay protection actions includes at least one actual relay protection action. Each actual relay protection action corresponds to a power element and a relay protection device. Specifically, an actual relay protection action is the actual protection action implemented by a relay protection device in the process of relay protection of a power element.

[0056] The set of predicted relay protection behaviors includes at least one predicted relay protection behavior. Each predicted relay protection behavior corresponds to a power element and a relay protection device. Specifically, a predicted relay protection behavior is a predicted protection behavior implemented by a relay protection device on a power element, based on a pre-built relay protection behavior prediction model.

[0057] Ideally, the actual relay protection behavior and the predicted relay protection behavior should be consistent for the same relay protection device and the same power element.

[0058] Specifically, after obtaining the actual relay protection behavior set and the predicted relay protection behavior set of the relay protection system, a first relay protection behavior set can be obtained from the actual relay protection behavior set, and a second relay protection behavior set can be obtained from the predicted relay protection behavior set.

[0059] Among them, the first set of relay protection behaviors and the second set of relay protection behaviors correspond to the same power element.

[0060] Specifically, the first set of relay protection behaviors refers to the actual relay protection behaviors corresponding to the same power element in the actual set of relay protection behaviors. The first set of relay protection behaviors includes at least one actual relay protection behavior, wherein the number of actual relay protection behaviors included in the first set of relay protection behaviors corresponds to the number of relay protection devices included in the relay protection system.

[0061] For example, if a relay protection system includes two relay protection devices, the set of first relay protection behaviors corresponding to the i-th power element can be {ActO}. i1 ActO i2}. Among them, ActO i1For the actual relay protection behavior of the first relay protection device on the i-th power element, ActO i2 This refers to the actual relay protection behavior of the second relay protection device for the i-th power element.

[0062] Specifically, the second set of relay protection behaviors refers to the predicted relay protection behaviors corresponding to the same power element in the actual predicted relay protection behavior set. The second set of relay protection behaviors includes at least one predicted relay protection behavior, wherein the number of predicted relay protection behaviors included in the second set of relay protection behaviors corresponds to the number of relay protection devices included in the relay protection system.

[0063] For example, if a relay protection system includes two relay protection devices, the set of second relay protection behaviors corresponding to the i-th power element can be {ModO}. i1 ModO i2}. Among them, ModO i1 For the first relay protection device to predict the relay protection behavior of the i-th power element, ModO i2 This is the predicted relay protection behavior of the second relay protection device for the i-th power element.

[0064] Step S202: Based on the preset consistency evaluation function, the first relay protection behavior set and the second relay protection behavior set corresponding to the same power element, perform consistency analysis processing on the relay protection system to obtain the consistency analysis result of the relay protection system.

[0065] Specifically, based on the preset consistency evaluation function and the first and second relay protection behavior sets corresponding to the same power element obtained in step S201, the consistency analysis of the relay protection system can be performed to obtain the consistency analysis results of the relay protection system.

[0066] The preset consistency evaluation function is a preset function that evaluates the consistency between relay protection behaviors. Specifically, this application does not limit the preset consistency evaluation function; any preset function capable of evaluating the consistency between relay protection behaviors can be used as the preset consistency evaluation function provided in this application.

[0067] The consistency analysis results of the relay protection system include at least one sub-analysis result. Each sub-analysis result corresponds to a power element. Specifically, the sub-analysis result characterizes the consistency analysis results of the relay protection system's relay protection behavior for a power element in the power system.

[0068] Specifically, this application does not limit the process of performing consistency analysis on the relay protection system based on a preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors to obtain the consistency analysis result of the relay protection system. Optionally, the consistency analysis on the relay protection system based on the preset consistency evaluation function, the first set of relay protection behaviors corresponding to the same power element, and the second set of relay protection behaviors to obtain the consistency analysis result of the relay protection system includes:

[0069] Based on the preset consistency evaluation function, the first set of relay protection behaviors and the second set of relay protection behaviors corresponding to the same power element, calculate the first consistency parameter, the second consistency parameter, and at least two third consistency parameters.

[0070] The first consistency parameter is calculated based on all actual relay protection behaviors corresponding to the same power element. The second consistency parameter is calculated based on all predicted relay protection behaviors corresponding to the same power element. The third consistency parameter is calculated based on both the actual relay protection behaviors and the actual relay protection behaviors corresponding to the same power element.

[0071] Based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters, a consistency analysis is performed on the relay protection system to obtain the consistency analysis results of the relay protection system.

[0072] Specifically, based on a preset consistency evaluation function, the first set of first relay protection behaviors and the second set of second relay protection behaviors corresponding to the same power element, a first consistency parameter, a second consistency parameter, and at least two third consistency parameters can be calculated.

[0073] The first consistency parameter is a parameter calculated based on a preset consistency evaluation function, used to characterize the consistency among the actual relay protection behaviors in the first set of relay protection behaviors. The number of calculated first consistency parameters is one.

[0074] For example, if the preset consistency evaluation function is f eva (), and the relay protection system includes two relay protection devices, the set of first relay protection behaviors corresponding to the i-th power element can be {ActO i1 ActO i2}, then the calculated first consistency parameter is f eva (ActO i1 ActO i2 ).

[0075] The second consistency parameter is a parameter calculated based on a preset consistency evaluation function, used to characterize the consistency among the predicted relay protection behaviors in the second set of relay protection behaviors. The number of calculated second consistency parameters is one.

[0076] For example, if the preset consistency evaluation function is f eva (), and the relay protection system includes two relay protection devices, the set of second relay protection behaviors corresponding to the i-th power element can be {ModO i1 ModO i2}, then the calculated second consistency parameter is f eva (ModO i1 ModO i2 ).

[0077] The third consistency parameter is a parameter calculated based on a preset consistency evaluation function, used to characterize the consistency between each actual relay protection behavior in the first set of relay protection behaviors and each predicted relay protection behavior in the second set of relay protection behaviors. The number of calculated third consistency parameters corresponds to the number of relay protection devices included in the relay protection system. For example, if the relay protection system includes two relay protection devices, then there are two calculated third consistency parameters; if the relay protection system includes three relay protection devices, then there are three calculated third consistency parameters, and so on.

[0078] For example, if the preset consistency evaluation function is f eva (), and the relay protection system includes two relay protection devices, the set of first relay protection behaviors corresponding to the i-th power element can be {ActO i1 ActO i2 The relay protection system includes two relay protection devices. The set of second relay protection behaviors corresponding to the i-th power element can be {ModO}. i1 ModO i2}, then the calculated third consistency parameter is f eva (ActO i1 ModO i1 ) and f eva (ActO i2 ModO i2 ).

[0079] Specifically, the relay protection system can be subjected to consistency analysis based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters to obtain the consistency analysis result of the relay protection system. This application does not limit the process of performing consistency analysis on the relay protection system based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters to obtain the consistency analysis result of the relay protection system. Optionally, the relay protection system can be subjected to consistency analysis based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters, and a preset consistency analysis rule to obtain the consistency analysis result of the relay protection system.

[0080] For example, if the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters are as shown in the example above, then the preset consistency analysis rules are as follows:

[0081] First, a preliminary consistency analysis is performed based on the calculated first and second consistency parameters:

[0082] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 When ) = 1, it means that the protection action of the power system for the i-th power element is consistent.

[0083] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 =0, and the second consistency parameter f of the i-th power element eva (ModO i1 ModO i2 When ) = 0, it indicates that the protection action behavior of the power system for the i-th power element is inconsistent, and the reason for the inconsistent protection action behavior is that there are differences in the analog quantities input to each relay protection device, and / or, there are differences in the settings of each relay protection device.

[0084] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 =0, and the second consistency parameter f of the i-th power element eva (ModO i1 ModO i2When ) = 1, it indicates that the protection action behavior of the power system for the i-th power element is inconsistent, and the reason for the inconsistent protection action behavior is that the protection logic of each relay protection device to implement the action element is different.

[0085] Secondly, when it is determined, based on the calculated first and second consistency parameters, that the protection actions of the power system for the i-th power element are inconsistent, and the reason for this inconsistency is that the protection logic implemented by each relay protection device for that element differs, the reliability of each relay protection device can be further analyzed based on at least two calculated third consistency parameters.

[0086] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 =0, and the second consistency parameter f of the i-th power element eva (ModO i1 ModO i2 When ) = 1, if the third consistency parameter f of the i-th power element eva (ActO i1 ModO i1 ) = 1, f eva (ActO i2 ModO i2 If ) = 0, then the reliability of the operation behavior of the first set of relay protection devices is higher.

[0087] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 =0, and the second consistency parameter f of the i-th power element eva (ModO i1 ModO i2 When ) = 1, if the third consistency parameter f of the i-th power element eva (ActO i1 ModO i1 ) = 0, f eva (ActO i2 ModO i2 If ) = 1, then the reliability of the operation behavior of the second set of relay protection devices is higher.

[0088] Wherein, when the first consistency parameter f of the i-th power element is calculated eva (ActO i1 ActO i2 =0, and the second consistency parameter f of the i-th power elementeva (ModO i1 ModO i2 When ) = 1, if the third consistency parameter f of the i-th power element eva (ActO i1 ModO i1 )=f eva (ActO i2 ModO i2 If the result is negative, it indicates that the pre-built relay protection behavior prediction model may not be applicable to this fault evaluation, and it is impossible to determine which set of relay protection devices has a higher reliability of action behavior.

[0089] In the process of performing consistency analysis on the relay protection system based on a preset consistency evaluation function and the first and second relay protection behavior sets corresponding to the same power element, and obtaining the consistency analysis results of the relay protection system, the accuracy of the consistency analysis can be improved by calculating multiple consistency parameters using the preset consistency evaluation function. Specifically, in calculating the consistency parameters, based on the preset consistency evaluation function, the consistency parameters corresponding to each actual relay protection behavior, each predicted relay protection behavior, and the actual and predicted relay protection behaviors are calculated respectively. This improves the comprehensiveness of the consistency parameters obtained, thereby improving the accuracy of the consistency analysis. In summary, the process provided in this application embodiment of performing consistency analysis on the relay protection system based on a preset consistency evaluation function and the first and second relay protection behavior sets corresponding to the same power element, and obtaining the consistency analysis results of the relay protection system, improves the accuracy of the consistency analysis.

[0090] Specifically, this application does not limit the preset consistency evaluation function. Optionally, the preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time.

[0091] Specifically, if the preset consistency evaluation function is f eva (), and the preset consistency evaluation function is f. eva () is a preset function for evaluating the consistency of motion displacement and / or motion time. Then, the preset consistency evaluation function f... eva The process of calculating a certain consistency parameter is as follows:

[0092] First, the two relay protection behaviors, such as the action behavior matrices O1(c_fun×t1) and O2(c_fun×t2), are filled with zeros to make the two result matrices the same size (c_fun×max(t1,t2)), resulting in the filled action behavior matrices O′1 and O′2.

[0093] Secondly, perform matrix subtraction on the filled action matrices O′1 and O′2, O′1-O′2, to obtain the subtracted action matrix ΔO′. 12 The action behavior matrices O′1 and O′2 after filling, and the behavior matrix ΔO′ after matrix subtraction. 12 Instead of performing row-wise summation, we obtain three one-dimensional vectors of size (c_fun×1): ∑O′1, ∑O′2, and ∑ΔO′. 12 ;

[0094] Then, by comparing ∑O′1 and ∑O′2, the consistency of the movement displacement is evaluated, and by comparing ∑ΔO′ 12 And the pre-set action time deviation threshold d limit To evaluate the consistency of action timing.

[0095] Among them, the preset consistency evaluation function f eva The return result is a one-dimensional vector of size (c_fun×1) containing Boolean values: 0 indicates that the corresponding protection power element's behavior is inconsistent, and 1 indicates that the corresponding protection power element's behavior is consistent.

[0096] If the preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time, the comprehensiveness of parameter considerations in the consistency parameter calculation process can be improved, thereby improving the accuracy of consistency evaluation.

[0097] The embodiment of this application provides a process for performing consistency analysis on a relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set to obtain the consistency analysis result of the relay protection system. This process involves obtaining a first relay protection behavior set from the actual relay protection behavior set and a second relay protection behavior set from the predicted relay protection behavior set. Based on a preset consistency evaluation function and the first and second relay protection behavior sets corresponding to the same power element, consistency analysis is performed on the relay protection system to obtain the consistency analysis result. By extracting the first and second relay protection behavior sets, each sub-analysis result is determined; that is, the result of the consistency analysis of the relay protection behavior of each power element in the power system by the relay protection system can improve the comprehensiveness and accuracy of the consistency analysis.

[0098] Figure 3 Flowchart of the data analysis method for the relay protection system provided in this application Figure 3 ,like Figure 3 As shown, in this embodiment... Figure 1 or Figure 2 Based on the examples, the construction process of the pre-constructed relay protection behavior prediction model is described in detail. The method includes:

[0099] Step S301: Obtain a set of fault samples and construct a machine learning set based on the set of fault samples.

[0100] Specifically, a fault sample set F can be obtained. This fault sample set includes at least one fault sample. j (j = 1, 2, 3, ..., n) represents the fault sample corresponding to the j-th fault, and n is the number of fault samples included in the fault sample set.

[0101] Optionally, each fault sample included in the fault sample set corresponds to at least one of different operating conditions and different fault types.

[0102] Optionally, different operating conditions of the power system include, but are not limited to: different load levels, different system parameters (voltage level, frequency, power flow distribution, system impedance characteristics), and different fault point settings.

[0103] Optionally, the fault types provided in this application include various types of faults within and outside the zone, including, but not limited to: metallic faults and faults through transition resistors, including single-phase ground faults, two-phase short-circuit ground faults, two-phase short-circuit faults, three-phase short-circuit faults, and three-phase short-circuit ground faults, including the above-mentioned faults under simulated CT saturation conditions.

[0104] Optionally, each fault sample in the fault sample set includes at least one of the following: fault recording data, protection settings, protection function status, and expected action behavior. The fault sample set is shown below: F j [Ana j Bin j Set j Fun j ,Act j ].Right now

[0105] Among them, the fault recording data refers to the recording data input to the relay protection device when a device fault is detected. Specifically, Ana... j and Bin jThis refers to the fault recording data corresponding to the j-th fault. Specifically, the fault recording data is a Comtrade format waveform file recorded by the protection device during the fault process. Specifically, Ana... j For analog waveform data, Bin j For digital waveform data. Optional, analog waveform (Ana). j Specifically, it is a two-dimensional matrix composed of all analog waveforms input to the relay protection device during the fault process, with a size of (c_ana×t) j ), c_ana is the number of analog input channels to the relay protection device, t j The number of sampling points for the fault waveform generated by the j-th fault. Optional, the switching waveform Bin. j Specifically, it is a two-dimensional matrix composed of all switching waveforms input to the relay protection device during the fault process, with a size of (c_bin×t) j c_bin is the number of switching input channels to the relay protection device.

[0106] Among them, the protection settings are the preset parameters of the relay protection device input from the fault recording data. Specifically, Set j This is the protection setting value corresponding to the j-th fault. Optional, the protection setting value Set. j Specifically, it is a one-dimensional vector composed of all protection settings actually used by the relay protection device during the fault process, with a size of (c_set×1), where c_set is the number of protection settings.

[0107] Among them, the protection function status refers to the on / off status of the relay protection device as input from the fault recording data. Specifically, Fun j This refers to the protection function state corresponding to the j-th fault. Optional, the protection function state is Fun. j Specifically, it is a two-dimensional matrix composed of the actual effective state sequences of all protection elements of the relay protection device during the fault process, with a size of (c_fun×t). j c_fun represents the number of protection elements. The data content is a boolean value, where 0 indicates that the protection element is invalid and 1 indicates that the protection element is valid.

[0108] The expected action behavior refers to the protection behavior output by the relay protection device based on the fault recording data input. Specifically, Act... j This represents the expected action / behavior corresponding to the j-th failure. Optionally, the expected action / behavior is Act. j Specifically, it is a two-dimensional matrix composed of the expected action sequence of all protection elements of the relay protection device during the fault process, with a size of (c_fun×t). j The data content is a Boolean value, where 0 indicates that the protection element has not been activated, and 1 indicates that the protection element has been activated.

[0109] By simulating different operating conditions of the power system and traversing various types of faults inside and outside the zone, a comprehensive fault sample set can be constructed, thereby improving the accuracy of training the pre-constructed relay protection behavior prediction model and further enhancing the accuracy of consistency analysis.

[0110] Specifically, after obtaining the set of fault samples, a machine learning set T can be constructed based on the obtained set of fault samples. Optionally, during the construction of the machine learning set, it can be derived from the fault samples F. j Extracting analog characteristic input AnaI j , Switch input BinI j Protection setting input SetI j Protection function status input FunI j and expected action output ActO j To form training data T j [AnaI j BinI j SetI j FunI j ,ActO j This transforms the fault sample set F into a machine learning set T.

[0111] Optionally, extract analog characteristic inputs to AnaI. i The process specifically involves extracting the analog waveform Ana. j The characteristic quantities, including the effective value Rms j (c_ana×t j ), fundamental amplitude (Amp) j (c_ana×t j ), fundamental phase angle Pha j (c_ana×t j ), nth harmonic component Negative-order components (Neg) j (c_ana×t j Zero-order component j (c_ana×t j ), forming analog characteristic inputs

[0112] Optionally, extract the protection setting input SetI j Specifically, this is achieved by setting the protection settings. j The copy expands to two-digit data, with a size of c_set × t. j .

[0113] Optionally, extract the switch input BinI. jProtection function status input FunI j and expected action output ActO j Each of these is related to the Bin described above. j Fun j ,Act j same.

[0114] Step S302: Train the initial prediction model according to the machine learning set and the preset consistency evaluation function to obtain the pre-constructed relay protection behavior prediction model.

[0115] Specifically, based on the machine learning set obtained in step S301 and the preset consistency evaluation function, the initial prediction model can be trained to obtain a pre-constructed relay protection behavior prediction model.

[0116] The preset consistency evaluation function is a preset function that evaluates the consistency between relay protection behaviors. Specifically, it is a preset function that evaluates the consistency of action changes and / or action times. The description of the preset consistency evaluation function can be found in step S202 and will not be repeated here.

[0117] Optionally, the model training process provided in this embodiment is based on a machine learning algorithm, and optionally, it can be based on the gradient boosting decision tree algorithm (LightGBM).

[0118] Specifically, this application does not limit the process of training the initial prediction model based on the machine learning set and the preset consistency evaluation function to obtain the pre-constructed relay protection behavior prediction model. Optionally, the machine learning set T can be divided into a training set T. train and test set T test Use T train The initial prediction model is trained based on machine learning algorithms, using T. test The initial prediction model after training is tested using the evaluation function f. eva The test results are evaluated to obtain a pre-constructed relay protection behavior prediction model that has passed the test.

[0119] Optionally, this application applies to the training set T train and test set T test The division ratio is not limited. Specifically, 80% of the data can be randomly selected from the machine learning set T to form the training set T. train The remaining 20% ​​of the data constitutes the test set T. test .

[0120] Optionally, if the machine learning algorithm is the Gradient Boosting Decision Tree (LightGBM) algorithm, then T is used.train The process of training the initial prediction model based on machine learning algorithms can be as follows: First, preset the control parameters and initial parameters of the LightGBM algorithm, and then sequentially select the training set T. train Data T in j [AnaI j BinI j SetI j FunI j ,ActO j The initial prediction model is trained, where AnaI... j BinI j SetI j FunI j For training input, ActO j This is the training output.

[0121] Optional, use T test The process of testing the initial prediction model after training can be as follows: sequentially select test set T test Data T in l [AnaI l BinI l SetI l FunI l The input is fed into the trained LightGBM model to obtain the model's computational output, ModO. l (c_fun×t l ), and the expected action / behavior ActO l (c_fun×t l ), through the evaluation function f eva (ActO l ModO l Determine whether the test passed. Specifically, if f eva (ActO l ModO l If f = 1, then the test passes. eva (ActO l ModO l If ) = 0, then the test fails.

[0122] The construction process of the pre-built relay protection behavior prediction model provided in this application embodiment involves obtaining a fault sample set, constructing a machine learning set based on the fault sample set, and training the initial prediction model according to the machine learning set and a preset consistency evaluation function to obtain the pre-built relay protection behavior prediction model. In particular, training the pre-built relay protection behavior prediction model based on the preset function that evaluates the consistency of action changes and / or action times can improve the accuracy of the pre-built relay protection behavior prediction model obtained by training, thereby improving the accuracy of consistency analysis processing.

[0123] In one possible embodiment, obtaining the set of actual relay protection behaviors and the set of predicted relay protection behaviors for each relay protection device included in the relay protection system includes:

[0124] Extract the set of actual relay protection behaviors from the operating information of each relay protection device included in the relay protection system.

[0125] Acquire the waveform recording data and operating parameters of each relay protection device.

[0126] Based on the pre-constructed relay protection behavior prediction model, the waveform recording data of each relay protection device, and the operating parameters of each relay protection device, a set of predicted relay protection behaviors is obtained.

[0127] Specifically, the process of extracting the set of actual relay protection behaviors from the operation information of each relay protection device included in the relay protection system can be described as extracting the set of actual relay protection behaviors from the fault operation information included in the operation information.

[0128] Specifically, the process involves acquiring the waveform recording data and operating parameters of each relay protection device. The description of the waveform recording data can be found in step S301 regarding the fault waveform recording data, and will not be repeated here. The operating parameters include, but are not limited to, protection setting parameters and protection function status parameters. The descriptions of these parameters can be found in step S301 regarding the protection setting and protection function status, and will not be repeated here.

[0129] Specifically, in the process of obtaining the predicted relay protection behavior set based on the pre-built relay protection behavior prediction model, the waveform data of each relay protection device, and the operating parameters of each relay protection device, the waveform data and operating parameters of each relay protection device can be pre-processed to construct the model input vector corresponding to each relay protection device. For example, the model input vector I1[AnaI1,BinI1,SetI1,FunI1] corresponding to the first relay protection device and the model input vector I2[AnaI2,BinI2,SetI2,FunI2] ​​corresponding to the second relay protection device. The process of constructing the model input vector corresponding to each relay protection device can refer to the process of constructing the machine learning set in step S301, which will not be repeated here. Then, the constructed model input vector corresponding to each relay protection device is input into the pre-built relay protection behavior prediction model to obtain the predicted relay protection behavior set.

[0130] In the process of obtaining the predicted relay protection behavior set, the accuracy of the predicted relay protection behavior set can be improved by using the pre-constructed relay protection behavior prediction model, the waveform data of each relay protection device, and the operating parameters of each relay protection device, thereby improving the accuracy of the consistency analysis.

[0131] Figure 4 A schematic diagram of the structure of the data analysis device for the relay protection system provided in this application is shown below. Figure 4 As shown, the data analysis device 40 for the relay protection system provided in this embodiment includes:

[0132] The acquisition module 401 is used to acquire the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system; wherein, the set of actual relay protection behaviors is the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system; the set of predicted relay protection behaviors is the set of protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system, based on a pre-built relay protection behavior prediction model.

[0133] Analysis module 402 is used to perform consistency analysis on the relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set, and obtain the consistency analysis results of the relay protection system.

[0134] In one possible embodiment, the actual relay protection behavior set includes at least one actual relay protection behavior; each actual relay protection behavior corresponds to a power element and a relay protection device; the predicted relay protection behavior set includes at least one predicted relay protection behavior; each predicted relay protection behavior corresponds to a power element and a relay protection device; the analysis module 402 is specifically used to obtain a first relay protection behavior set from the actual relay protection behavior set and to obtain a second relay protection behavior set from the predicted relay protection behavior set; wherein, the first relay protection behavior set and the second relay protection behavior set correspond to the same power element; the first relay protection behavior set is the actual relay protection behavior set. The first set of protection behaviors corresponds to the actual relay protection behavior of the same power element in the protection behavior set; the second set of protection behaviors is the predicted relay protection behavior of the same power element in the actual predicted relay protection behavior set; based on a preset consistency evaluation function, the first set of protection behaviors and the second set of protection behaviors corresponding to the same power element, the relay protection system is subjected to consistency analysis processing to obtain the consistency analysis result of the relay protection system; wherein, the preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the consistency analysis result of the relay protection system includes at least one sub-analysis result; each sub-analysis result corresponds to a power element.

[0135] In one possible embodiment, the analysis module 402 is further specifically used to calculate a first consistency parameter, a second consistency parameter, and at least two third consistency parameters based on a preset consistency evaluation function, a first set of relay protection behaviors corresponding to the same power element, and a second set of relay protection behaviors. The first consistency parameter is calculated based on all actual relay protection behaviors corresponding to the same power element; the second consistency parameter is calculated based on all predicted relay protection behaviors corresponding to the same power element; and the third consistency parameter is calculated based on all actual relay protection behaviors and all actual relay protection behaviors corresponding to the same power element. Based on the calculated first consistency parameter, second consistency parameter, and at least two third consistency parameters, the relay protection system undergoes consistency analysis processing to obtain the consistency analysis result of the relay protection system.

[0136] In one possible embodiment, the preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time.

[0137] In one possible embodiment, the acquisition module 401 is specifically used to extract the actual relay protection behavior set from the operation information of each relay protection device included in the relay protection system; acquire the waveform recording data and operation parameters of each relay protection device; and acquire the predicted relay protection behavior set based on the pre-built relay protection behavior prediction model, the waveform recording data and operation parameters of each relay protection device.

[0138] In one possible embodiment, the acquisition module 401 is further configured to acquire a fault sample set and construct a machine learning set based on the fault sample set; train the initial prediction model according to the machine learning set and a preset consistency evaluation function to obtain a pre-constructed relay protection behavior prediction model; wherein, the preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the preset consistency evaluation function is a preset function for evaluating the consistency of action changes and / or action times.

[0139] In one possible embodiment, each fault sample in the fault sample set corresponds to at least one of different operating conditions and different fault types; each fault sample in the fault sample set includes at least one of: fault waveform data, protection setting value, protection function status, and expected action behavior; wherein, the fault waveform data is the waveform data input to the relay protection device when a device fault is detected; the protection setting value is the preset parameter of the relay protection device input by the fault waveform data; the protection function status is the function start / stop status of the relay protection device input by the fault waveform data; and the expected action behavior is the protection behavior output by the relay protection device input by the fault waveform data.

[0140] The data analysis device for the relay protection system provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0141] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0142] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0143] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0144] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0145] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0146] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0147] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0148] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0149] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0150] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0151] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0152] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0153] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0154] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0155] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0156] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A data analysis method for a relay protection system, characterized in that, include: Obtain the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system; The actual relay protection behavior set is the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system; the predicted relay protection behavior set is the set of protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system, as predicted by a pre-built relay protection behavior prediction model. Based on the actual relay protection behavior set and the predicted relay protection behavior set, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system.

2. The method according to claim 1, characterized in that, The set of actual relay protection behaviors includes at least one actual relay protection behavior; each of the actual relay protection behaviors corresponds to a power element and a relay protection device; The set of predicted relay protection behaviors includes at least one predicted relay protection behavior; Each of the predicted relay protection behaviors corresponds to a power element and a relay protection device; Based on the actual relay protection behavior set and the predicted relay protection behavior set, a consistency analysis is performed on the relay protection system to obtain the consistency analysis results of the relay protection system, including: A first set of relay protection behaviors is obtained from the set of actual relay protection behaviors, and a second set of relay protection behaviors is obtained from the set of predicted relay protection behaviors; wherein the first set of relay protection behaviors and the second set of relay protection behaviors correspond to the same power element; the first set of relay protection behaviors is the actual relay protection behavior corresponding to the same power element in the set of actual relay protection behaviors; the second set of relay protection behaviors is the predicted relay protection behavior corresponding to the same power element in the set of actual and predicted relay protection behaviors. Based on a preset consistency evaluation function, the first set of relay protection behaviors and the second set of relay protection behaviors corresponding to the same power element, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system. The preset consistency evaluation function is a preset function for evaluating the consistency between relay protection behaviors; the consistency analysis result of the relay protection system includes at least one sub-analysis result; each sub-analysis result corresponds to a power element.

3. The method according to claim 2, characterized in that, Based on a preset consistency evaluation function, the first set of relay protection behaviors and the second set of relay protection behaviors corresponding to the same power component, a consistency analysis is performed on the relay protection system to obtain the consistency analysis results of the relay protection system, including: Based on a preset consistency evaluation function, the first set of relay protection behaviors and the second set of relay protection behaviors corresponding to the same power element, a first consistency parameter, a second consistency parameter, and at least two third consistency parameters are calculated; wherein, the first consistency parameter is calculated based on all the actual relay protection behaviors corresponding to the same power element; the second consistency parameter is calculated based on all the predicted relay protection behaviors corresponding to the same power element; and the third consistency parameter is calculated based on all the actual relay protection behaviors and all the actual relay protection behaviors corresponding to the same power element. Based on the calculated first consistency parameter, second consistency parameter, and at least two of the third consistency parameters, a consistency analysis is performed on the relay protection system to obtain the consistency analysis result of the relay protection system.

4. The method according to claim 2, characterized in that, The preset consistency evaluation function is a preset function that evaluates the consistency of action displacement and / or action time.

5. The method according to claim 1, characterized in that, Obtain the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system, including: The actual set of relay protection behaviors is extracted from the operating information of each relay protection device included in the relay protection system; Acquire the waveform recording data and operating parameters of each of the aforementioned relay protection devices; Based on the pre-constructed relay protection behavior prediction model, the waveform recording data of each relay protection device, and the operating parameters of each relay protection device, the predicted relay protection behavior set is obtained.

6. The method according to any one of claims 1-5, characterized in that, The construction process of the pre-built relay protection behavior prediction model includes: Obtain a set of fault samples and construct a machine learning set based on the set of fault samples; The initial prediction model is trained based on the machine learning set and the preset consistency evaluation function to obtain the pre-constructed relay protection behavior prediction model. The preset consistency evaluation function is a preset function that evaluates the consistency between relay protection behaviors; the preset consistency evaluation function is a preset function that evaluates the consistency of action changes and / or action times.

7. The method according to claim 6, characterized in that, Each fault sample in the fault sample set corresponds to at least one of different operating conditions and different fault types; each fault sample in the fault sample set includes at least one of: fault waveform data, protection settings, protection function status, and expected action behavior. Wherein, the fault recording data is the recording data input to the relay protection device when a device fault is detected; the protection setting value is the preset parameter of the relay protection device input by the fault recording data; the protection function status is the function start / stop status of the relay protection device input by the fault recording data; and the expected action behavior is the protection behavior output by the relay protection device input by the fault recording data.

8. A data analysis device for a relay protection system, characterized in that, include: The acquisition module is used to acquire the set of actual relay protection behaviors and the set of predicted relay protection behaviors of the relay protection system; wherein, the set of actual relay protection behaviors is the set of actual protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system; the set of predicted relay protection behaviors is the set of protection behaviors implemented by the relay protection devices included in the relay protection system in the process of protecting the power components included in the power system, based on a pre-built relay protection behavior prediction model. The analysis module is used to perform consistency analysis on the relay protection system based on the actual relay protection behavior set and the predicted relay protection behavior set, and obtain the consistency analysis result of the relay protection system.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

11. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-7.