Power grid alarm event identification method and system
Through the analysis of real-time alarm data of the power grid, the alarm rule database and type identification model are used to distinguish alarm events caused by frequency regulation and voltage regulation operations in the power grid, and the problem of indistinguishable alarm events triggered by frequency regulation and voltage regulation operations in the power grid is solved, and the fault is achieved Accurate identification and timely discovery.
Patent Information
- Application Number
- CN202411525334.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-10-30
AI Technical Summary
In the power grid, alarm events triggered by frequency-modulation and voltage regulation operations are difficult to distinguish, resulting in alarms caused by normal frequency-modulation and voltage regulation operations being missed as equipment failures and real faults are missed.
By obtaining real-time alarm data, using the pre-established alarm rule base and type identification model, instantaneous alarm events caused by frequency regulation and voltage regulation operations and alarm events caused by non-frequency regulation and voltage regulation operations are identified, and whether the instantaneous alarm event is normal frequency regulation and regulation is determined. An alarm event caused by pressure operation or an alarm event caused by abnormal frequency regulation and voltage regulation operation.
Accurate identification of power grid alarm events is achieved, misjudgment and missed real faults are avoided, and alarm events caused by abnormal frequency and voltage regulation operations are promptly discovered.
Smart Images

Figure CN119089360A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grids, and in particular to a method and system for identifying power grid alarm events. Background Art
[0002] In the power grid, frequency and voltage need to be adjusted to maintain the safety and stability of the power grid. The frequency and voltage regulation operations of the power grid will trigger a large number of instantaneous alarms. These alarms triggered by normal frequency and voltage regulation operations need to be classified as "normal" alarms to avoid being misjudged as equipment failures. At present, all alarm events that occur during frequency and voltage regulation are usually ignored. Although this method avoids the situation where alarms caused by normal frequency and voltage regulation operations are misjudged as equipment failures, some real faults that occur at the same time as frequency and voltage regulation operations will be missed. Therefore, it is necessary to be able to deeply analyze the causal relationship between normal frequency and voltage regulation operations and alarms, and identify which alarms are directly triggered by normal frequency and voltage regulation, and which alarms only occur at the same time as normal frequency and voltage regulation but have no direct correlation. Summary of the invention
[0003] Based on this, the present invention provides a power grid alarm event identification method and system, which can identify whether the alarm event is caused by normal frequency and voltage regulation operations by analyzing real-time alarm data, so as to achieve the purpose of accurately identifying faults.
[0004] To achieve the above object, an embodiment of the present invention provides a method for identifying a power grid alarm event, comprising: Acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; Based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations are identified according to the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by frequency and voltage regulation operations; Extracting target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; The target time series data is input into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
[0005] To achieve the above object, an embodiment of the present invention further provides a power grid alarm event identification system, comprising: A data acquisition module, used to acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; An event classification module is used to identify, based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations according to the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by frequency and voltage regulation operations; A data extraction module, used to extract target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; The event classification module is also used to input the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
[0006] Compared with the prior art, the power grid alarm event identification method and system disclosed in the embodiment of the present invention firstly obtains real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; then, based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency modulation and voltage regulation operations and alarm events caused by non-frequency modulation and voltage regulation operations are identified according to the alarm type and the real-time operation data; wherein the alarm rule base defines the device operation data characteristics of the alarm events caused by frequency modulation and voltage regulation operations; then, target time series data of the instantaneous alarm events are extracted from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; finally, the target time series data is input into a pre-trained type recognition model to identify the instantaneous alarm event as an alarm event caused by a normal frequency modulation and voltage regulation operation or an alarm event caused by an abnormal frequency modulation and voltage regulation operation. It can be seen that the embodiment of the present invention analyzes the acquired real-time alarm data of the power grid by utilizing a pre-established alarm rule library to identify instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations, and then further analyzes the instantaneous alarm events suspected to be caused by frequency and voltage regulation operations to determine whether the instantaneous alarm events are alarm events caused by normal frequency and voltage regulation operations or alarm events caused by abnormal frequency and voltage regulation operations, thereby avoiding missing real faults that occur simultaneously with frequency and voltage regulation operations, and timely discovering alarm events caused by abnormal frequency and voltage regulation operations, thereby achieving accurate identification of faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0008] Figure 1 It is a flowchart of a method for identifying power grid alarm events provided by an embodiment of the present invention; Figure 2 It is a structural schematic diagram of an alarm propagation path provided by an embodiment of the present invention; Figure 3 It is a structural diagram of a power grid alarm event identification system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0009] 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0010] See also Figure 1 , is a flow chart of a method for identifying a power grid alarm event provided by an embodiment of the present invention. Specifically, the method for identifying a power grid alarm event comprises steps S1 to S4: S1. Acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time.
[0011] Specifically, the power grid is composed of multiple power equipment, and the real-time alarm data includes at least one alarm event. Each alarm event corresponds to an alarming power equipment (referred to as the alarm equipment). Each alarm event has the corresponding equipment attribute information, alarm type and alarm time of the alarm equipment. Optionally, the real-time alarm record also includes the alarm level.
[0012] S2. Based on a pre-established alarm rule base, identify instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations according to the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by frequency and voltage regulation operations.
[0013] Specifically, samples of alarm events caused by frequency and voltage regulation operations are obtained, equipment operation data features are extracted from the alarm types and operation data of these samples, an alarm rule base is constructed based on the extracted equipment operation data features, and when identifying power grid alarm events, the alarm types and real-time operation data of the alarm events in the real-time alarm data are analyzed to see whether they conform to the equipment operation data features defined in the alarm rule base. If so, it is determined that the alarm event is an instantaneous alarm event suspected to be caused by frequency and voltage regulation operations; if not, it is determined that the alarm event is an alarm event caused by non-frequency and voltage regulation operations, thereby realizing the identification of alarm events caused by non-frequency and voltage regulation operations.
[0014] S3. Extract target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data.
[0015] S4. Input the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
[0016] Specifically, after identifying an instantaneous alarm event suspected to be caused by a frequency and voltage regulation operation, the alarm type, device attribute information of the alarm device and real-time operation data of the instantaneous alarm event are extracted, and further analysis is performed to determine whether the instantaneous alarm event is caused by a normal frequency and voltage regulation operation, thereby accurately identifying alarm events caused by abnormal frequency and voltage regulation operations.
[0017] Compared with the prior art, the implementation mode of the present invention uses a pre-established alarm rule library to analyze the acquired real-time alarm data of the power grid to identify instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations, and then further analyzes the instantaneous alarm events suspected to be caused by frequency and voltage regulation operations to determine whether the instantaneous alarm events are alarm events caused by normal frequency and voltage regulation operations or alarm events caused by abnormal frequency and voltage regulation operations, thereby avoiding missing real faults occurring simultaneously with frequency and voltage regulation operations, and timely discovering alarm events caused by abnormal frequency and voltage regulation operations, thereby achieving accurate identification of faults.
[0018] In a second preferred embodiment, based on steps S1 to S4, the method further includes: Based on the pre-constructed device topology diagram, an alarm dependency diagram for carrying the alarm correlation degree between each abnormal device is constructed according to the real-time alarm records of all abnormal devices; wherein the abnormal device is an alarm device corresponding to an abnormal event, and the abnormal event includes an alarm event caused by the non-frequency and voltage regulation operation and an alarm event caused by the abnormal frequency and voltage regulation operation; Identify potential fault root cause alarm events according to the alarm dependency graph; Input the real-time alarm data corresponding to the potential fault root source alarm event into a pre-trained root source identification model; wherein the root source identification model is obtained by training according to a root source identification sample, the root source identification sample is the historical operation data and historical alarm record when the potential fault root source device is a real fault root source device, and the potential fault root source device is the alarm device corresponding to the potential fault root source alarm event; When the root cause identification model determines that the potential fault root cause alarm event is a real fault root cause alarm event, the alarm dependency graph is traversed with the potential fault root cause device as the starting point to obtain all abnormal devices related to the potential fault root cause device, so as to generate an alarm analysis result and feed it back to the user.
[0019] Specifically, in a power grid, when an electric device fails, it often causes abnormalities in other related electric devices. Therefore, it is necessary to analyze all abnormal devices to determine the root cause of the failure. In this embodiment, the root source identification model is trained as follows: the historical operation data and historical alarm records of each electric device in the power grid as a real fault root device are obtained in advance as root source identification samples, and the root source identification model is trained based on these samples. The above samples can be obtained through simulation or obtained from the power grid, which is not limited here. The process of identifying the root cause of the fault is as follows: first, obtain the equipment topology diagram of the power grid, and on the basis of the equipment topology diagram, analyze the real-time alarm records of the abnormal equipment to determine the alarm dependency relationship between the various abnormal equipment, thereby constructing a dynamic alarm dependency graph, traversing the alarm dependency graph, and identifying the potential root cause equipment; then, input the real-time alarm data corresponding to the potential root cause equipment into the pre-trained root source identification model, calculate the probability that the potential root cause equipment is the real root cause of the fault, and when the probability is greater than the set high probability threshold, determine that the potential root cause equipment is the real root cause of the fault, otherwise it is not the real root cause of the fault. If the potential root cause equipment is not the real root cause of the fault, it is necessary to re-traverse the alarm dependency graph and reselect the potential root cause equipment from the remaining abnormal equipment until the real root cause of the fault is found; finally, take the real root cause of the fault as the starting point, traverse the alarm dependency graph, find all abnormal equipment related to the root cause of the fault, generate alarm analysis results and feedback to the user, and the user can repair each abnormal equipment according to the alarm analysis results.
[0020] In a preferred embodiment, on the basis of steps S1 to S4, the step S1 of acquiring real-time alarm data of the power grid includes: Obtaining a unique identifier of an electric power device in the power grid from a monitoring system database; Retrieving a real-time alarm record of an alarm device from an alarm management module according to the unique identifier; wherein the real-time alarm record includes an alarm type and an alarm time; Acquire device attribute information of the alarm device from an asset management module according to the unique identifier; The real-time operation data of the alarm device is obtained from a time series database according to the unique identifier of the alarm device; wherein the real-time operation data includes active power, reactive power, grid frequency and voltage.
[0021] Specifically, 1. In the monitoring system database, the list of power equipment is stored in a relational data structure, including fields such as the unique identifier of the power equipment, the equipment type, and the installation location. The unique identifiers in the monitoring system database are extracted in batches through SQL query statements, where the full name of SQL in Chinese is Structured Query Language and the full name in English is Structured Query Language. 2. The unique identifiers extracted in batches from the monitoring system database are passed to the alarm management module. The module adopts an object-oriented data model and records multiple alarm records. Each alarm record contains attributes such as an alarm identifier, a unique identifier of the alarm device, an alarm type, an alarm level, and an alarm time. The alarm records in the last 24 hours are obtained from the alarm management module using the RESTful API interface, and an array of alarm records in JSON format (i.e., real-time alarm records) is returned; wherein, RESTful API is an application programming interface that conforms to the design principles of the representational state transfer architectural style; JSON format is a lightweight data exchange format that is easy for humans to read and write, and is also easy for machines to parse and generate. 3. Call the Web service of the asset management system through the Simple Object Access Protocol (SOAP) to obtain the device attribute information of the alarm device, such as model, manufacturer, installation date, etc. 4. The time series database stores the real-time operation data of the collected power equipment, with the unique identifier and timestamp of the power equipment as the index. The real-time operation data of the alarm device in the last 24 hours can be extracted according to the unique identifier of the alarm device. It is understandable that different information is stored in different locations for the convenience of data management. Therefore, when obtaining the real-time alarm data of the power grid, different information needs to be obtained from different locations.
[0022] Furthermore, before acquiring the real-time operation data of the alarm device from the time series database according to the unique identifier of the alarm device, the method further includes: A data acquisition and monitoring control system or a remote terminal unit is used to collect real-time operating data of power equipment in the power grid at a preset frequency and store it in the time series database. The real-time operating data includes active power, reactive power, grid frequency and voltage.
[0023] Specifically, the real-time operation data of power equipment, including active power, reactive power, grid frequency and voltage, are collected at a fixed frequency through the Supervisory Control And Data Acquisition (SCADA) or remote terminal unit. The collection frequency is set to once every 10 seconds. The collected data is preprocessed using Python's Pandas library, including missing value filling and outlier detection, and then the preprocessed data is stored in a time series database (such as InfluxDB). The exponential moving average technique is used to calculate the short-term trend of the real-time operation data in the time series database. The open source rule engine Drools is used to define and execute the warning trigger rules. The preprocessed data and the short-term trend of the real-time operation data are input into the rule engine. The status of the power equipment is evaluated according to the preset warning trigger rules. The comprehensive operation status results including the unique identifier of the power equipment, the current status of the power equipment (such as normal, attention, warning or danger) and the alarm type are output, and the results are stored in the Redis cache in the form of key-value pairs for real-time query and update. Among them, the power equipment whose current status is attention, warning or danger is regarded as an alarm device, or the power equipment whose current status is warning or danger is regarded as an alarm device. Redis is an open source, high-performance non-relational key-value pair database.
[0024] In a preferred embodiment, on the basis of steps S1 to S4, the method of step S2, based on a pre-established alarm rule base, identifying instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations according to the alarm type and the real-time operation data, includes: Extracting a rule set from a pre-established alarm rule library, the rule set comprising a plurality of groups of rules, the rules comprising alarm categories, parameter trends and device parameter thresholds; Selecting a first rule from the rule set; wherein the alarm category of the first rule is the same as the alarm type in the real-time alarm record; Calculate the power parameter change rate and power parameter change trend of the alarm device according to the real-time operation data; When the power parameter change trend conforms to the parameter trend of the first rule, and the power parameter change rate is greater than the device parameter threshold of the first rule, determining that the alarm event of the alarm device is an instantaneous alarm event suspected to be caused by frequency and voltage regulation operation; When the power parameter variation trend does not conform to the parameter trend of the first rule, it is determined that the alarm event of the alarm device is an alarm event caused by a non-frequency and voltage regulation operation.
[0025] Specifically, the alarm rule base defines the equipment operation data characteristics of the alarm events caused by the frequency and voltage regulation operations. The equipment operation data characteristics exist in the form of a rule set. The rule set includes multiple rules, and each daily rule includes the corresponding alarm category, parameter trend, and equipment parameter threshold. It can be understood that when the frequency and voltage regulation operations occur, if there is no equipment failure, the alarm category and corresponding operation data of the power equipment will be determined through experiments, and the parameter trend and equipment parameter threshold are determined by analyzing the corresponding operation data, and the alarm category, equipment parameter threshold, and parameter trend are integrated to form an alarm rule base. The specific process of identifying whether the alarm event is caused by the frequency and voltage regulation operation is as follows: 1. Extract the rule set from the pre-established alarm rule library, and select the first rule with the same alarm category and alarm type from the rule set; 2. Set a 60-second sliding time window (the window length can be set according to the actual situation), use the rolling() function of the pandas library to analyze the real-time operation data, calculate the power parameter change rate of the alarm device (such as the voltage change rate and the frequency change rate), and determine the power parameter change trend (such as the voltage change trend and the frequency change trend) according to the real-time operation data; 3. Compare the power parameter change trend with the parameter trend of the first rule. If the two match, compare the power parameter change rate with the device parameter threshold of the first rule (such as the voltage change threshold and the frequency change threshold), such as checking whether the voltage change rate exceeds the preset voltage change threshold (assuming that the voltage change threshold is 2% / minute, this value can be set according to the actual situation), and checking whether the frequency change rate exceeds the frequency change threshold (assuming that the frequency change threshold is 0.1 Hz / second, this value can be set according to the actual situation). If the alarm type and power parameter change trend are consistent with the alarm category and parameter trend defined in the rule set, and the power parameter change rate exceeds the corresponding device parameter threshold, the alarm event is marked as an instantaneous alarm event suspected to be caused by frequency and voltage regulation operations. For the marked instantaneous alarm events, the start and end time, frequency and duration of the occurrence are recorded.
[0026] In a preferred embodiment, on the basis of steps S1 to S4, step S4 inputs the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation, including: Inputting the target time series data into a pre-trained type recognition model; In the type identification model, time-domain statistical characteristics of power parameters are calculated based on real-time operating data in the target time series data; Performing Fourier transform on the time domain statistical features to obtain frequency domain features; Retrieving corresponding typical timing pattern features from a normal frequency modulation and voltage regulation operation mode library according to the alarm type and the device attribute information of the alarm device; wherein the normal frequency modulation and voltage regulation operation mode library pre-stores typical timing pattern features corresponding to the alarm category and device attributes, and the typical timing pattern features are pre-trained based on alarm event samples caused by normal frequency modulation and voltage regulation operations; Calculating the similarity between the frequency domain feature and the retrieved typical time series pattern feature to obtain a similarity value; When the similarity value is greater than a preset similarity threshold, the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation; When the similarity value is less than or equal to the preset similarity threshold, the instantaneous alarm event is an alarm event caused by abnormal frequency and voltage regulation operation.
[0027] It is worth noting that in order to keep the operating voltage and frequency of each voltage center point of the power grid within the prescribed allowable range, it is necessary to perform normal frequency and voltage regulation operations on the power grid. The regulation intensity of normal frequency and voltage regulation operations is limited to a certain range. Alarm events caused by normal frequency and voltage regulation operations can be ignored, but alarm events caused by abnormal frequency and voltage regulation operations should not be ignored. Therefore, after identifying an instantaneous alarm event suspected to be caused by a frequency and voltage regulation operation, it should also be determined whether it is an alarm event caused by an abnormal frequency and voltage regulation operation.
[0028] Specifically, the implementation process of step S4 is as follows: input the target time series data into a pre-trained type recognition model, and perform a series of operations in the type recognition model to finally determine whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation. Specifically, the series of operations of the target time series data in the type recognition model are as follows: 1. Assuming that the real-time operation data includes time-ordered data such as grid frequency, voltage, and power, the frequency deviation, voltage deviation, and power fluctuation data are calculated according to the real-time operation data, and the frequency deviation, voltage deviation, and power fluctuation data are cleaned to obtain a normalized time series data set. 2. For the normalized time series data set, a sliding time window is set, and the numpy library is used to calculate the time domain statistical features of the frequency deviation, voltage deviation, and power fluctuation data at different time scales, including mean, variance, skewness, and kurtosis, etc. The time domain statistical features are Fourier transformed to obtain frequency domain features, and the frequency domain features are converted into feature vectors, and the feature vectors are reduced in dimension using the principal component analysis algorithm. Among them, the numpy library is an extension library of Python, which supports a large number of dimensional arrays and matrix operations. 3. Retrieve typical timing pattern features whose alarm categories are alarm types and whose attributes are device attribute information from the normal frequency modulation and voltage regulation operation mode library. It is worth noting that the normal frequency modulation and voltage regulation operation mode library pre-stores a variety of typical timing pattern features, each of which has a corresponding alarm category and device attribute. The typical timing pattern features are pre-trained based on alarm event samples caused by normal frequency modulation and voltage regulation operations. The samples include alarm categories, device attributes and corresponding operating data. 4. Calculate the similarity between the feature vector after dimensionality reduction and the retrieved typical timing pattern features to obtain a similarity value. If the similarity value is greater than a preset similarity threshold, the instantaneous alarm event is determined to be an alarm event caused by normal frequency modulation and voltage regulation operations. If the similarity value is less than or equal to the preset similarity threshold, the instantaneous alarm event is determined to be an alarm event caused by abnormal frequency modulation and voltage regulation operations. It is worth noting that the preset similarity threshold is set according to actual conditions, such as 80%, 86% or 92%.
[0029] In a preferred embodiment, on the basis of steps S1 to S4, the step S4 of inputting the target time series data into a pre-trained type recognition model to identify the instantaneous alarm event as an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation includes: Inputting the target time series data into a pre-trained type recognition model; In the type recognition model, a clustering algorithm is used to cluster all the alarm devices according to the target time series data; For each cluster of alarm devices, calculating the similarity between each of the alarm devices in the cluster and the cluster center according to the real-time operation data; Determining that the instantaneous alarm event corresponding to the first alarm device is an alarm event caused by a normal frequency and voltage modulation operation; wherein the similarity between the first alarm device and the cluster center is greater than a preset similarity threshold; It is determined that the instantaneous alarm event corresponding to the second alarm device is an alarm event caused by abnormal frequency and voltage modulation operation; wherein the similarity between the second alarm device and the cluster center is less than or equal to the preset similarity threshold.
[0030] Specifically, different power equipment of the same type has the same characteristics in the same frequency and voltage regulation operation (such as step-down operation, step-up operation, frequency reduction operation, and frequency increase operation). Therefore, the alarm type and real-time operation data have the same characteristics. Therefore, by clustering the alarm devices corresponding to the instantaneous alarm events according to the target time series data, several clusters are obtained. Since most of the instantaneous alarm events suspected to be caused by frequency and voltage regulation operations identified in actual applications are instantaneous alarm events caused by normal frequency and voltage regulation operations, the instantaneous alarm event corresponding to the cluster center of each cluster can be regarded as an instantaneous alarm event caused by normal frequency and voltage regulation operations. For the same cluster, the real-time operation data corresponding to the alarm events caused by normal frequency and voltage regulation operations have a high degree of similarity. Therefore, the similarity between each of the alarm devices in the cluster and the cluster center is calculated based on the real-time operation data. If the similarity is greater than the preset similarity threshold, it means that the alarm event corresponding to the alarm device is an alarm event caused by normal frequency and voltage regulation operations. Otherwise, the alarm event is an alarm event caused by abnormal frequency and voltage regulation operations. It is worth noting that the preset similarity threshold is set according to the actual situation, and optionally, according to the weather conditions. The worse the weather, the smaller the preset similarity threshold. For example, if the weather is clear, the preset similarity threshold is 90%, and if the weather is bad, the preset similarity threshold is 80%.
[0031] In a preferred embodiment, based on the second embodiment, the alarm dependency graph for carrying the alarm correlation degree between each abnormal device is constructed based on the pre-constructed device topology structure graph according to the real-time alarm records of all abnormal devices, including: Obtain the physical connection relationship and logical association relationship data of each power device in the power grid, and use the adjacency matrix representation method to construct the device topology diagram; Based on the device topology diagram, an alarm dependency diagram for carrying the alarm correlation degree between each of the abnormal devices is constructed according to the real-time alarm records; The step of identifying a potential fault root cause alarm event according to the alarm dependency graph includes: Traversing the alarm dependency graph, and using the PageRank algorithm to sort the importance of abnormal devices in the alarm dependency graph; The alarm event corresponding to the abnormal device with the highest importance is selected as the potential fault root cause alarm event.
[0032] Specifically, the physical connection relationship and logical association relationship data between each power device in the power grid are obtained, and the device topology diagram is constructed using the adjacency matrix representation method. In the device topology diagram, the node represents the power device and the edge represents the connection relationship between the devices. According to the device topology diagram, the real-time alarm data of the abnormal device is extracted to obtain the device attribute information and real-time alarm records of the abnormal device, which are used to construct a dynamic alarm dependency graph based on the device topology diagram. The alarm dependency graph is represented by a directed weighted graph, and the edge weight calculation adopts the time decay function, w=exp(-Δt / τ), where Δt is the alarm time difference between nodes and τ is the time constant. The alarm dependency graph model is simplified, duplicate edges are merged, and self-loop edges are removed to obtain a simplified alarm dependency graph. The simplified alarm dependency graph is traversed using the depth-first search algorithm, and the PageRank algorithm is used to sort the importance of each node in the alarm dependency graph. In the sorting process, different weights need to be introduced for different power equipment. For example, the weight of the substation is set higher than that of other power equipment. Finally, the sorted alarm node list is calculated; the power equipment corresponding to the node with the highest score in the alarm node list is used as a potential fault root cause alarm.
[0033] In a preferred embodiment, based on the second embodiment, when the root source identification model determines that the potential fault root source alarm event is a real fault root source alarm event, the alarm dependency graph is traversed with the potential fault root source device as the starting point to obtain all abnormal devices related to the potential fault root source device, so as to generate an alarm analysis result and feed it back to the user, including: When the root cause identification model determines that the potential fault root cause alarm event is a real fault root cause alarm event, traverse the alarm dependency graph to construct an alarm propagation path starting from the potential fault root cause device; Based on the alarm propagation path, the path length between the abnormal device and the potential fault root device is calculated, and the downstream node impact score of the abnormal device is counted; wherein the downstream node impact score is positively correlated with the set score of the downstream node of the abnormal device and the number of nodes of the downstream node; Calculating the criticality score of the abnormal device according to the path length, the downstream node impact score and the pre-acquired set score of the abnormal device; wherein the criticality score of the abnormal device is negatively correlated with the path length, and the criticality score is positively correlated with the downstream node impact score and the set score of the abnormal device respectively; An alarm analysis result is generated according to the alarm propagation path, the criticality score of the abnormal device and the real-time alarm data of the abnormal device, and the alarm analysis result is fed back to the user.
[0034] Specifically, the set score of abnormal equipment is pre-set according to the actual situation. In addition, see Figure 2 In the alarm propagation path shown in the figure, A1~A8 are all abnormal devices in the alarm propagation path, A1 represents the abnormal device corresponding to the real fault root alarm event, A2~A8 are all downstream nodes of A1, A4~A8 are downstream nodes of A2, and A7 and A8 are downstream nodes of A6. When determining that the potential fault root alarm event is the real fault root alarm event, it is taken as the root cause, combined with the alarm dependency graph, and the graph traversal algorithm is used to track all alarm events related to the root cause to form a complete alarm propagation path, and the number of downstream nodes of each abnormal device is calculated respectively, and the path length between each abnormal device and the root cause is calculated; for a certain abnormal device, the set scores of all its downstream nodes are added together to obtain the comprehensive score of the downstream nodes of the abnormal device. Normalize all path lengths to obtain the normalized length between each abnormal device and the potential fault source device; normalize the number of downstream nodes of all abnormal devices to obtain the normalized number of nodes of each abnormal device; normalize the comprehensive scores of downstream nodes of all abnormal devices to obtain the normalized node scores of each abnormal device; add the normalized number of nodes and the normalized node score of a certain abnormal device to obtain the downstream node impact score of the abnormal device; normalize the set scores of all abnormal devices to obtain the normalized score of the abnormal device; for a certain abnormal device, perform weighted calculation on its downstream node impact score, normalized score and normalized length to obtain the criticality score of the abnormal device. Finally, generate alarm analysis results based on the alarm propagation path, the criticality score of the abnormal device and the real-time alarm data of the abnormal device, and feedback to the user.
[0035] In a preferred embodiment, based on the second embodiment, it further includes: A maintenance work order is generated for the abnormal equipment according to the alarm analysis result, and the maintenance work order is sent to a maintenance client so that maintenance personnel can repair the abnormal equipment; wherein, the higher the criticality score of the abnormal equipment, the higher the level of the maintenance work order, and the shorter the processing time limit of the maintenance work order.
[0036] Specifically, a maintenance work order is generated based on the alarm analysis results, wherein the higher the criticality score of the abnormal equipment, the higher the level of the maintenance work order and the shorter the assigned processing time limit. The maintenance work order also records the equipment attribute information of the specific abnormal equipment. Based on the pre-set correspondence between the equipment type and the maintenance personnel, the maintenance work order is distributed to the maintenance client of the corresponding maintenance personnel according to the equipment attribute information recorded in the maintenance work order.
[0037] Compared with the prior art, the method for identifying power grid alarm events disclosed in the embodiment of the present invention first obtains real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; then, based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency modulation and voltage regulation operations and alarm events caused by non-frequency modulation and voltage regulation operations are identified according to the alarm type and the real-time operation data; wherein the alarm rule base defines the device operation data characteristics of the alarm events caused by frequency modulation and voltage regulation operations; then, target time series data of the instantaneous alarm events are extracted from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information and real-time operation data of the alarm device sorted by time; finally, the target time series data is input into a pre-trained type recognition model to identify the instantaneous alarm event as an alarm event caused by a normal frequency modulation and voltage regulation operation or an alarm event caused by an abnormal frequency modulation and voltage regulation operation. It can be seen that the embodiment of the present invention analyzes the acquired real-time alarm data of the power grid by utilizing a pre-established alarm rule library to identify instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations, and then further analyzes the instantaneous alarm events suspected to be caused by frequency and voltage regulation operations to determine whether the instantaneous alarm events are alarm events caused by normal frequency and voltage regulation operations or alarm events caused by abnormal frequency and voltage regulation operations, thereby avoiding missing real faults that occur simultaneously with frequency and voltage regulation operations, and timely discovering alarm events caused by abnormal frequency and voltage regulation operations, thereby achieving accurate identification of faults.
[0038] See also Figure 3 , an embodiment of the present invention further provides a power grid alarm event identification system, comprising: The data acquisition module 21 is used to acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; The event classification module 22 is used to identify the instantaneous alarm events suspected to be caused by the frequency modulation and voltage regulation operation and the alarm events caused by the non-frequency modulation and voltage regulation operation based on the pre-established alarm rule base and the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by the frequency modulation and voltage regulation operation; A data extraction module 23 is used to extract target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; The event classification module 22 is further used to input the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
[0039] It is worth noting that the working principle of the power grid alarm event identification system provided in the above embodiments can refer to the working process of the power grid alarm event identification method provided in any of the above embodiments, which will not be elaborated here.
[0040] Compared with the prior art, the power grid alarm event identification system provided by the embodiment of the present invention analyzes the acquired real-time alarm data of the power grid by utilizing a pre-established alarm rule library to identify instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations, and then further analyzes the instantaneous alarm events suspected to be caused by frequency and voltage regulation operations to determine whether the instantaneous alarm events are alarm events caused by normal frequency and voltage regulation operations or alarm events caused by abnormal frequency and voltage regulation operations, thereby avoiding missing real faults occurring simultaneously with frequency and voltage regulation operations, and timely discovering alarm events caused by abnormal frequency and voltage regulation operations, thereby achieving accurate identification of faults.
[0041] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for identifying power grid alarm events, characterized in that: include: Acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; Based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations are identified according to the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by frequency and voltage regulation operations; Extracting target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; The target time series data is input into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
2. The method for identifying power grid alarm events according to claim 1, characterized in that: Also includes: Based on the pre-constructed device topology diagram, an alarm dependency diagram for carrying the alarm correlation degree between each abnormal device is constructed according to the real-time alarm records of all abnormal devices; wherein the abnormal device is an alarm device corresponding to an abnormal event, and the abnormal event includes an alarm event caused by the non-frequency and voltage regulation operation and an alarm event caused by the abnormal frequency and voltage regulation operation; Identify potential fault root cause alarm events according to the alarm dependency graph; Input the real-time alarm data corresponding to the potential fault root source alarm event into a pre-trained root source identification model; wherein the root source identification model is obtained by training according to a root source identification sample, the root source identification sample is the historical operation data and historical alarm record when the potential fault root source device is a real fault root source device, and the potential fault root source device is the alarm device corresponding to the potential fault root source alarm event; When the root cause identification model determines that the potential fault root cause alarm event is a real fault root cause alarm event, the alarm dependency graph is traversed with the potential fault root cause device as the starting point to obtain all abnormal devices related to the potential fault root cause device, so as to generate an alarm analysis result and feed it back to the user.
3. The method for identifying power grid alarm events according to claim 1, characterized in that: The obtaining of real-time alarm data of the power grid includes: Obtaining a unique identifier of an electric power device in the power grid from a monitoring system database; Retrieving a real-time alarm record of an alarm device from an alarm management module according to the unique identifier; wherein the real-time alarm record includes an alarm type and an alarm time; Acquire device attribute information of the alarm device from an asset management module according to the unique identifier; The real-time operation data of the alarm device is obtained from a time series database according to the unique identifier of the alarm device; wherein the real-time operation data includes active power, reactive power, grid frequency and voltage.
4. The method for identifying power grid alarm events according to claim 1, characterized in that: The method of identifying, based on the pre-established alarm rule library, instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations according to the alarm type and the real-time operation data, includes: Extracting a rule set from a pre-established alarm rule library, the rule set comprising a plurality of groups of rules, the rules comprising alarm categories, parameter trends and device parameter thresholds; Selecting a first rule from the rule set; wherein the alarm category of the first rule is the same as the alarm type in the real-time alarm record; Calculate the power parameter change rate and power parameter change trend of the alarm device according to the real-time operation data; When the power parameter change trend conforms to the parameter trend of the first rule, and the power parameter change rate is greater than the device parameter threshold of the first rule, determining that the alarm event of the alarm device is an instantaneous alarm event suspected to be caused by frequency and voltage regulation operation; When the power parameter variation trend does not conform to the parameter trend of the first rule, it is determined that the alarm event of the alarm device is an alarm event caused by a non-frequency and voltage regulation operation.
5. The method for identifying power grid alarm events according to claim 1, characterized in that: The step of inputting the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation includes: Inputting the target time series data into a pre-trained type recognition model; In the type recognition model, time-domain statistical characteristics of power parameters are calculated based on real-time operating data in the target time series data; Performing Fourier transform on the time domain statistical features to obtain frequency domain features; Retrieving corresponding typical timing pattern features from a normal frequency modulation and voltage regulation operation mode library according to the alarm type and the device attribute information of the alarm device; wherein the normal frequency modulation and voltage regulation operation mode library pre-stores typical timing pattern features corresponding to the alarm category and attribute, and the typical timing pattern features are pre-trained according to alarm event samples caused by normal frequency modulation and voltage regulation operations; Calculating the similarity between the frequency domain feature and the retrieved typical time series pattern feature to obtain a similarity value; When the similarity value is greater than a preset similarity threshold, the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation; When the similarity value is less than or equal to the preset similarity threshold, the instantaneous alarm event is an alarm event caused by abnormal frequency and voltage regulation operation.
6. The method for identifying power grid alarm events according to claim 1, characterized in that: The step of inputting the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation includes: Inputting the target time series data into a pre-trained type recognition model; In the type recognition model, a clustering algorithm is used to cluster all the alarm devices according to the target time series data; For each cluster of alarm devices, calculating the similarity between each of the alarm devices in the cluster and the cluster center according to the real-time operation data; Determining that the instantaneous alarm event corresponding to the first alarm device is an alarm event caused by a normal frequency and voltage modulation operation; wherein the similarity between the first alarm device and the cluster center is greater than a preset similarity threshold; It is determined that the instantaneous alarm event corresponding to the second alarm device is an alarm event caused by abnormal frequency and voltage modulation operation; wherein the similarity between the second alarm device and the cluster center is less than or equal to the preset similarity threshold.
7. The method for identifying power grid alarm events according to claim 2, characterized in that: The alarm dependency graph for carrying the alarm correlation degree between each abnormal device is constructed based on the pre-constructed device topology structure graph according to the real-time alarm records of all abnormal devices, including: Obtain the physical connection relationship and logical association relationship data of each power device in the power grid, and use the adjacency matrix representation method to construct the device topology diagram; Based on the device topology diagram, an alarm dependency diagram for carrying the alarm correlation degree between each of the abnormal devices is constructed according to the real-time alarm records; The step of identifying a potential fault root cause alarm event according to the alarm dependency graph includes: Traversing the alarm dependency graph, and using the PageRank algorithm to sort the importance of abnormal devices in the alarm dependency graph; The alarm event corresponding to the abnormal device with the highest importance is selected as the potential fault root cause alarm event.
8. The method for identifying power grid alarm events according to claim 2, characterized in that: When the root cause identification model determines that the potential fault root cause alarm event is a real fault root cause alarm event, taking the potential fault root cause device as a starting point, traversing the alarm dependency graph, obtaining all abnormal devices related to the potential fault root cause device, so as to generate an alarm analysis result and feed it back to the user, including: When the root cause identification model determines that the potential fault root cause alarm event is a real fault root cause alarm event, traverse the alarm dependency graph to construct an alarm propagation path starting from the potential fault root cause device; Based on the alarm propagation path, the path length between the abnormal device and the potential fault root device is calculated, and the downstream node impact score of the abnormal device is counted; wherein the downstream node impact score is positively correlated with the set score of the downstream node of the abnormal device and the number of nodes of the downstream node; Calculating the criticality score of the abnormal device according to the path length, the downstream node impact score and the pre-acquired set score of the abnormal device; wherein the criticality score of the abnormal device is negatively correlated with the path length, and the criticality score is positively correlated with the downstream node impact score and the set score of the abnormal device respectively; An alarm analysis result is generated according to the alarm propagation path, the criticality score of the abnormal device and the real-time alarm data of the abnormal device, and the alarm analysis result is fed back to the user.
9. The method for identifying power grid alarm events according to claim 2, characterized in that: Also includes: A maintenance work order is generated for the abnormal equipment according to the alarm analysis result, and the maintenance work order is sent to a maintenance client so that maintenance personnel can repair the abnormal equipment; wherein, the higher the criticality score of the abnormal equipment, the higher the level of the maintenance work order, and the shorter the processing time limit of the maintenance work order.
10. A power grid alarm event identification system, characterized in that: include: A data acquisition module, used to acquire real-time alarm data of the power grid; wherein the real-time alarm data includes device attribute information of the alarm device, real-time alarm records and real-time operation data of the alarm device, and the real-time alarm records include alarm type and alarm time; An event classification module is used to identify, based on a pre-established alarm rule base, instantaneous alarm events suspected to be caused by frequency and voltage regulation operations and alarm events caused by non-frequency and voltage regulation operations according to the alarm type and the real-time operation data; wherein the alarm rule base defines the equipment operation data characteristics of the alarm events caused by frequency and voltage regulation operations; A data extraction module, used to extract target time series data of the instantaneous alarm event from the real-time alarm data; wherein the target time series data includes the alarm type, device attribute information of the alarm device and real-time operation data; The event classification module is also used to input the target time series data into a pre-trained type recognition model to identify whether the instantaneous alarm event is an alarm event caused by a normal frequency and voltage regulation operation or an alarm event caused by an abnormal frequency and voltage regulation operation.
Citation Information
Patent Citations
Power grid operation evaluation and early warning system
CN105590138A
Event-based autonomous identification method for power grid monitoring alarm information
CN110263172A
Communication network-oriented alarm event association compression method and device
CN112118141A
Analysis method for monitoring information defect event
CN113065978A
Power supply service real-time fault handling system and method
CN116895136A
Cited By
Monitoring and early warning method and device for skid-mounted equipment
CN119809614A
Monitoring and Warning Method and Device for Skid-mounted Equipment
CN119809614B
