A cascading failure risk assessment method, device and medium of a power system

By combining NX safety criteria and graph neural networks in power systems to conduct cascading fault risk assessment, the problems of large computational load and insufficient interpretability in existing technologies are solved, and real-time and accurate assessment of cascading faults in power systems and risk source location are realized.

CN123162806APending Publication Date: 2026-11-24STATE GRID ZHEJIANG ELECTRIC POWER CO LTD QUZHOU POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611249434.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing cascading fault analysis methods involve large computational loads in power systems, making it difficult to meet the needs of online real-time evaluation. Furthermore, machine learning-based methods lack physical constraints, resulting in insufficient interpretability of evaluation results.

Method used

By combining NX safety criteria, branch current over-limit constraints, node voltage over-limit constraints, and static stability over-limit constraints, fault inference is performed, a power system topology model is constructed, cascade fault risk is evaluated through graph neural network, the equivalent output of wind farm is dynamically updated, the priority of candidate fault path retrieval is optimized, and offline model training and online fast inference are combined.

Benefits of technology

It improves the real-time performance and interpretability of cascade fault risk assessment, accurately locates key fault weak points, provides reliable data support and decision-making basis, and adapts to the operating characteristics of high proportion of wind power connected to the grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162806A_ABST
    Figure CN123162806A_ABST
Patent Text Reader

Abstract

This invention relates to the field of power system fault risk assessment technology, specifically providing a method, device, and medium for assessing cascading fault risks in power systems. The method includes: performing stage-by-stage fault deduction on a power system topology model based on the N-X security criterion and an initial fault set, and obtaining a set of cascading fault deduction paths through multiple security constraints; calculating the equivalent power output of the wind farm in the cascading fault when a node voltage exceeds its limit and the node is connected to a wind farm; constructing a graph time-series sample containing a topological adjacency matrix and a node state matrix based on the cascading fault deduction paths; and inputting the graph time-series sample set into a graph neural network risk assessment model to obtain the cascading fault risk assessment result. This invention takes into account multiple physical constraints and the dynamic characteristics of wind power disconnection from the grid, and uses graph time-series samples to mine fault deduction features, improving the real-time performance and reliability of online cascading fault assessment while ensuring interpretability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system fault risk assessment technology, and in particular to a method, device and medium for assessing cascading fault risks in power systems. Background Technology

[0002] With the continuous advancement of new power system construction, the penetration rate of renewable energy sources such as wind power in the power system continues to increase. Wind farms are typically connected to the grid via power electronic converters, and their output power is significantly affected by wind speed, meteorological conditions, and control strategies, exhibiting strong randomness and volatility. When disturbances such as short-circuit faults, line tripping, transformer outages, conventional generator outages, or sudden load changes occur in the power system, the system power flow distribution, node voltages, and branch currents may change rapidly, leading to overload of some branches, node voltage exceeding limits, or wind turbine disconnection from the grid.

[0003] Cascading faults refer to an accident evolution process triggered by one or more initial faults, which, through grid topology changes, power flow shifts, protection actions, and equipment outages, lead to the successive outages of multiple components. Cascading faults can result in widespread load losses, system disconnection, voltage collapse, and even blackouts. For wind farms with a high proportion of wind power integrated into the power system, the voltage at the wind farm's grid connection point may experience overvoltage or undervoltage during a fault, potentially causing wind turbines to disconnect from the grid due to overvoltage or undervoltage protection. Wind turbine disconnection will lead to a sudden drop in wind power output, subsequently causing a redistribution of system power flow and further complicating the propagation path of cascading faults.

[0004] Existing cascading fault analysis methods mainly include safety verification methods based on N-1 or NX criteria, offline simulation methods based on power flow calculations, probabilistic assessment methods based on Monte Carlo simulations, and risk prediction methods based on machine learning. Traditional cascading fault path search methods based on physical mechanisms can reflect the fault propagation mechanism well, but they require power flow calculations for a large number of fault scenarios, resulting in a large computational load and making it difficult to meet the needs of online real-time assessment. Methods based on machine learning or deep learning have high online computational efficiency, but if physical constraints are lacking, their input samples may not accurately reflect the true development path of cascading faults, leading to insufficient interpretability of the assessment results. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, device and medium for assessing the risk of cascading faults in power systems. This method can ensure the accuracy and interpretability of the assessment, improve the real-time performance of online assessment, accurately locate the weak links of key faults, and effectively improve the reliability and engineering applicability of the risk assessment of cascading faults in power systems.

[0006] To achieve the above objectives, the present invention is implemented using the following technical solution: In a first aspect, the present invention provides a method for assessing the risk of cascading faults in a power system, comprising: Construct a power system topology model based on power system operation data; Based on the NX safety criteria and the preset initial fault set, the power system topology model is subjected to stage-by-stage fault deduction. Through branch current over-limit constraints, node voltage over-limit constraints and static stability over-limit constraints, a set of cascaded fault deduction paths is obtained. In each fault simulation stage, when a node voltage exceeds the limit and the node is connected to a wind farm, the probability of the wind turbine disconnecting from the grid is determined based on the grid connection point voltage of the wind farm, and the equivalent output of the wind farm in the cascade fault is obtained based on the disconnection probability of the wind turbine. Based on the set of cascading fault deduction paths, a graph time series sample set containing a topological adjacency matrix and a node state matrix is ​​constructed; wherein, the node state matrix contains the equivalent power output of the wind farm in the cascading fault. The graph time series sample set is input into a pre-trained graph neural network risk assessment model to obtain the cascaded failure risk assessment results.

[0007] In some embodiments of the present invention, based on the NX safety criteria and a preset initial fault set, a stage-by-stage fault deduction is performed on the power system topology model. Through branch current over-limit constraints, node voltage over-limit constraints, and static stability over-limit constraints, a set of cascaded fault deduction paths is obtained, including: For each initial fault in the initial fault set, the power system topology model is updated according to the NX security criteria; The updated power system topology model is subjected to stage-by-stage fault simulation to generate corresponding cascading fault simulation paths; In each fault simulation stage, the power system topology model is updated based on the cascading fault candidate development paths of the current fault simulation stage, and power flow calculation is performed on the updated power system topology model. If the power flow calculation fails to converge, the cascading fault deduction path will be determined as a terminated path. If the power flow calculation converges, based on the power flow calculation results, the set of candidate exiting components for the current fault simulation stage is obtained by passing the branch current over-limit constraint, the node voltage over-limit constraint, and the static stability over-limit constraint respectively. If the set of candidate exiting components is not empty, a cascaded fault candidate development path for the next fault deduction stage is generated based on the set of candidate exiting components. If the set of candidate exiting components is empty, the cascading fault simulation path in the current fault simulation stage will be determined as the termination path.

[0008] In some embodiments of the present invention, the branch current over-limit constraint is as follows: ; in, branch road The current; branch road The fault-induced current increment; branch road Emergency allowable current; The node voltage over-limit constraints are as follows: ; in, For nodes The per-unit voltage value; For nodes The low voltage threshold; For nodes High voltage threshold; The static stability over-limit constraints are as follows: ; in, branch road ,node or transmission section The transmission power; branch road ,node or transmission section The corresponding static stability limit power.

[0009] In some embodiments of the present invention, the method further includes: In each fault simulation stage, multiple operating parameters of the power system corresponding to each cascading fault candidate development path are normalized to obtain the non-uniformity index of each operating parameter; wherein, the operating parameters include at least: branch reactance, power generation, load power and wind power penetration rate; Based on the multiple non-uniformity indices corresponding to each cascaded fault candidate development path, a comprehensive non-uniformity index for the cascaded fault candidate development path is calculated. Based on the comprehensive non-uniformity index, the simulation priority is set for the cascading fault candidate development path in the next fault simulation stage. The higher the comprehensive non-uniformity index, the higher the simulation priority of the corresponding cascading fault candidate development path.

[0010] In some embodiments of the present invention, the calculation formula for the comprehensive non-uniformity index is as follows: ; in, To provide a comprehensive index of non-uniformity; This is an indicator of the non-uniformity of branch reactance; It is an indicator of the non-uniformity of power generation. This is an indicator of the non-uniformity of load power; This is an indicator of the non-uniformity of wind power penetration. , , and This refers to the weighting coefficients corresponding to the non-uniformity index.

[0011] In some embodiments of the present invention, determining the grid disconnection probability of the wind turbine based on the grid connection point voltage of the wind farm includes: ; in, The probability of a wind turbine going offline; This is the per-unit voltage at the grid connection point of the wind farm.

[0012] In some embodiments of the present invention, the equivalent power output of the wind farm in a cascading fault is obtained based on the grid disconnection probability of the wind turbine, including: The wind farm is equivalent to a collection of multiple wind turbine units; Based on the grid disconnection probability of the wind turbine units, determine the grid connection status variables of each wind turbine unit; Based on the grid connection status variables of each wind turbine, the equivalent power output of the wind farm in the current fault simulation stage is obtained.

[0013] In some embodiments of the present invention, the formula for calculating the equivalent output of the wind farm in the current fault simulation stage is as follows: ; in, This is the current stage of fault simulation. For the wind farm in the first Equivalent output of each fault simulation stage; For the first The wind turbine unit was in the first Each fault simulation stage involves grid-connected operation status variables. Indicates the grid-connected operation status. Indicates the offline operation status; For the first The rated active power output of each wind turbine unit.

[0014] In some embodiments of the present invention, a graph time-series sample set comprising a topological adjacency matrix and a node state matrix is ​​constructed based on the cascading fault deduction path set, including: For each cascaded fault simulation path, the grid topology commissioning / discharging status and grid operation parameter data for each fault simulation stage are obtained according to the fault simulation sequence. Based on the power grid topology on / off status, a topology adjacency matrix is ​​constructed for each fault simulation stage. The topology adjacency matrix is ​​used to characterize the electrical connection relationship between power grid nodes. Based on the power grid operating parameter data, a node state matrix is ​​constructed for each fault simulation stage; wherein, the power grid operating parameter data includes node voltage, node phase angle, conventional unit output, load power, wind farm equivalent output, and wind turbine disconnection probability; Under the same cascaded fault deduction path, the topological adjacency matrix and the node state matrix of each fault deduction stage are combined sequentially in time to form a fault time sequence diagram sequence. The fault time sequence is normalized in dimension and unified in time length to obtain standardized graph time sequence samples.

[0015] In some embodiments of the present invention, the graph neural network risk assessment model includes a graph convolutional feature extraction layer, a temporal feature extraction layer, and an output layer; The graph convolutional feature extraction layer is used to extract the topological spatial correlation features of the power system based on the topological adjacency matrix and the node state matrix at each fault inference stage. The temporal feature extraction layer is used to extract multi-stage temporal extrapolation features of the fault; The output layer is used to output the cascading failure risk assessment results, which are one or more of the following: cascading failure continued propagation probability, expected load loss rate, risk value, conditional risk value, risk level, critical failure path, critical node, and critical branch.

[0016] Secondly, the present invention also provides an electronic device, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the above-described method for assessing the cascading fault risk of a power system.

[0017] Thirdly, the present invention also provides a non-transitory machine-readable medium storing computer instructions for causing the computer to execute the above-described method for assessing the risk of cascading faults in a power system.

[0018] Compared with the prior art, the above-described technical solution of the present invention has the following advantages: The proposed method for cascading fault risk assessment in power systems combines the actual operating mechanism of power systems to construct a cascading fault identification system. It relies on the NX safety criterion, branch current over-limit constraints, node voltage over-limit constraints, and static stability over-limit constraints to complete fault path search, giving fault simulation analysis rigorous power physics significance and effectively improving the interpretability of risk assessment results. This method is adapted to the operating characteristics of high-proportion wind power grid integration. It accurately calculates the wind turbine disconnection probability based on the grid connection voltage of the wind farm, dynamically updates the equivalent power output of the wind farm during the entire cascading fault simulation process, and feeds back the unit disconnection effect caused by wind power voltage anomalies in a closed loop to the power flow calculation and fault path identification process, thus overcoming the deficiency of traditional fault simulation methods that ignore the impact of random wind power disconnection. Furthermore, this method fully considers the multi-dimensional operating characteristics of the power grid, constructing a non-uniformity index through multi-dimensional parameters such as branch reactance, power generation, load power, and wind power penetration rate. This index is then integrated to optimize the priority of candidate fault path retrieval, comprehensively incorporating the impact of uneven spatial distribution of grid parameters on fault propagation, and significantly improving the accuracy and relevance of cascading fault path identification.

[0019] This invention transforms the power system topology and dynamic operating state into standardized graph time-series samples. It accurately represents the electrical connections of grid nodes through a topological adjacency matrix and comprehensively covers core operating parameters such as node voltage, generator output, load power, wind farm equivalent output, and wind turbine disconnection probability through a node state matrix. This effectively assists the graph neural network model in fully exploring the spatial topological features and fault time-series inference characteristics of the power system, ensuring the comprehensiveness and accuracy of risk assessment. The method employs an offline model training combined with online rapid inference, completing the offline simulation and training of the graph neural network risk assessment model in advance. In the online application phase, only the real-time constructed graph time-series samples need to be input to quickly output assessment results, avoiding the problems of high computational consumption and poor real-time performance in traditional scenario-by-scenario online simulation. This significantly improves the real-time computational efficiency of power grid cascade fault risk assessment. The method can output multi-dimensional core information such as risk level, expected load loss rate, critical fault paths, critical nodes, and critical branches, clearly locating the source of cascade fault risks. It can provide reliable data support and decision-making basis for power grid online safety early warning and refined dispatch control, exhibiting stronger practicality and engineering adaptability. Attached Figure Description

[0020] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other embodiments based on these drawings without creative effort.

[0021] Figure 1 This is a flowchart illustrating a method for assessing the risk of cascading faults in a power system, as provided in an embodiment of the present invention. Figure 2 This is a flowchart illustrating the cascading fault deduction process according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the wind turbine grid disconnection probability model according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0022] Embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. While some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0023] like Figure 1 As shown in the figure, this embodiment of the invention provides a method for assessing the risk of cascading faults in a power system. Figure 1 This is a flowchart illustrating a method for assessing the risk of cascading faults in a power system. This flowchart only shows the logical sequence of the method in this embodiment; however, in other possible embodiments of the invention, different sequences may be used, provided they do not conflict. Figure 1 Complete the steps shown or described in the order indicated.

[0024] See Figure 1 The method of this invention specifically includes the following steps: Step S101: Construct a power system topology model based on power system operation data.

[0025] Power system operation data can be provided by dispatch automation systems, energy management systems, wide-area measurement systems, new energy power plant monitoring systems, relay protection information systems, or safety and stability control systems. Power system operation data includes grid topology data, line parameters, transformer parameters, node voltage amplitude, node voltage phase angle, branch active power flow, branch reactive power flow, branch current, conventional generator active power output, conventional generator reactive power output, load active power, load reactive power, wind farm active power output, wind farm reactive power output, wind farm grid connection point voltage, branch emergency allowable current, node voltage allowable range, and equipment commissioning / decommissioning status.

[0026] To ensure the accuracy of subsequent cascading fault path identification and risk assessment, power system operation data undergoes preprocessing. Preprocessing includes timestamp alignment, outlier removal, missing value correction, per-unit scaling, and topology consistency verification. Specifically, the power system topology connections are corrected based on the status of circuit breakers and disconnectors; a mapping relationship between wind farms and bus nodes is established based on wind farm connection points; and node voltages, branch currents, branch power flows, generator output, load power, and wind farm output are converted into uniform per-unit values.

[0027] Conventional generators in a power system are represented as a set of generators G: ; The load nodes are represented as a load set P: ; The lines, transformers, and interconnections in a power system are represented as a set of branches L: ; Wind farms connected to the power system are represented as a set of wind farms W: .

[0028] Using the above set, a power system topology model is constructed.

[0029] Step S102: Based on the NX safety criteria and the preset initial fault set, perform a stage-by-stage fault deduction on the power system topology model. Through branch current over-limit constraints, node voltage over-limit constraints and static stability over-limit constraints, obtain the cascaded fault deduction path set.

[0030] The initial fault set includes at least one of the following: line tripping, transformer disconnection, conventional generator disconnection, load surge, short circuit fault, and wind farm disconnection.

[0031] See Figure 2 For each initial fault in the initial fault set, the power system topology model is updated according to the NX safety criteria; the updated power system topology model is then used for stage-by-stage fault deduction to generate the corresponding cascading fault deduction path.

[0032] Each initial fault can generate multiple cascading fault deduction paths.

[0033] The NX safety standard refers to the safety verification of the power system's operating state after X of the N operational power equipment or network components have been taken out of service due to initial faults, protection actions, or control actions, given that there are N operational power equipment or network components in the initial operating state of the power system. These components include at least one of the following: transmission lines, transformers, conventional generators, load nodes, wind farms, and interconnection channels.

[0034] When updating the power system topology model according to the NX safety criteria, the operating status of the components in the initial fault set or the set of components that have exited in the current fault simulation stage is set to the exited state; if the exited component is a line, transformer or tie channel, the connection relationship between the corresponding nodes is deleted in the topology adjacency matrix; if the exited component is a generator or wind farm, the injected power of the corresponding node is updated; if the exited component is a load node, the load power of the corresponding node is updated.

[0035] In each fault simulation stage, the power system topology model is updated based on the cascading fault candidate development paths generated in the previous fault simulation stage, and power flow calculation is performed on the updated power system topology model. If the power flow calculation does not converge, the cascading fault simulation path being simulated is determined as a termination path. If the power flow calculation converges, the set of candidate exiting components for the current fault simulation stage is obtained based on the power flow calculation results through branch current over-limit constraints, node voltage over-limit constraints, and static stability over-limit constraints.

[0036] If the candidate exit component set is not empty, the cascading fault candidate development path for the next fault simulation stage is generated based on the candidate exit component set; if the candidate exit component set is empty, the cascading fault simulation path being simulated is determined as the termination path.

[0037] Branch current over-limit constraints are as follows: ; in, branch road The current; branch road The fault-induced current increment; branch road Emergency allowable current.

[0038] When the side road When the above branch current exceeds the limit constraint, it is determined that the branch has an overload exit risk and the branch is added to the candidate exit element set in the current fault simulation stage.

[0039] The node voltage over-limit constraints are as follows: ; in, For nodes The per-unit voltage value; For nodes The low voltage threshold; For nodes High voltage threshold.

[0040] When node The voltage is lower than the preset low voltage threshold. Or higher than the preset high voltage threshold At that time, determine the node This is a voltage anomaly node. If the voltage anomaly node is connected to a wind farm, the probability of the wind turbine disconnecting from the grid will be calculated in subsequent steps based on the grid connection voltage of the corresponding wind farm.

[0041] After completing the branch current over-limit constraint and node voltage over-limit constraint judgments, a static stability over-limit constraint judgment is also performed on the power system in the current fault simulation phase. The static stability over-limit constraint is used to determine whether the power transmission of nodes, branches, or areas exceeds the preset stability limit after a fault.

[0042] In some embodiments of the invention, the static stability over-limit constraint is as follows: ; in, branch road ,node or transmission section The transmission power; branch road ,node or transmission section The corresponding static stability limit power.

[0043] when When the static stability limit constraint is met, the current cascaded fault path is determined to have entered an unacceptable operating state, or the corresponding node, branch or section is taken as the key analysis object in the next fault simulation stage.

[0044] , as well as All of these were obtained from power flow calculations during the fault prediction phase.

[0045] Furthermore, in some embodiments of the invention, the method further includes: Step S1021: In each fault simulation stage, normalize multiple operating parameters of the power system corresponding to each cascading fault candidate development path to obtain the non-uniformity index of each operating parameter.

[0046] The operating parameters include at least: branch reactor, power generation, load power and wind power penetration rate.

[0047] To reflect the degree of imbalance in the power system topology and operating status, the branch reactance, power generation, load power and wind power penetration rate were normalized to obtain the corresponding non-uniformity indexes.

[0048] Branch Reactor Non-uniformity index Represented as: ; Power generation Non-uniformity index Represented as: ; Load power Non-uniformity index Represented as: ; Wind power penetration rate Non-uniformity index Represented as: ; in, This represents the maximum value of the reactance of each branch in the current fault simulation phase; This represents the maximum power generation of each node during the current fault simulation phase. This represents the maximum load power of each node during the current fault simulation phase. This represents the maximum wind power penetration rate at each node during the current fault simulation phase.

[0049] Step S1022: Based on multiple non-uniformity indices corresponding to each cascaded fault candidate development path, a weighted calculation is performed to obtain the comprehensive non-uniformity index of the cascaded fault candidate development path.

[0050] The formula for calculating the comprehensive non-uniformity index is as follows: ; in, , , and This refers to the weighting coefficients corresponding to the non-uniformity index.

[0051] Step S1023: Based on the comprehensive non-uniformity index, set the simulation priority for the cascading fault candidate development path in the next fault simulation stage. The higher the comprehensive non-uniformity index, the higher the simulation priority of the corresponding cascading fault candidate development path, so as to prioritize the analysis of areas with higher non-uniformity index and greater power flow transfer risk.

[0052] Step S103: In each fault simulation stage, when the node voltage exceeds the limit and the node is connected to the wind farm, the grid disconnection probability of the wind turbine is determined according to the grid connection point voltage of the wind farm, and the equivalent output of the wind farm in the cascade fault is obtained according to the grid disconnection probability of the wind turbine.

[0053] See Figure 3 Let the per-unit voltage at the grid connection point of the wind farm be denoted as . The probability of wind turbines disconnecting from the grid is The probability model for wind turbine disconnection is as follows: .

[0054] When the voltage at the grid connection point of the wind farm is within the normal voltage range, the probability of the wind turbine disconnecting from the grid is 0. When the voltage at the grid connection point of the wind farm is over-voltage or under-voltage, the probability of the wind turbine disconnecting from the grid increases with the degree of voltage deviation. When the voltage at the grid connection point of the wind farm exceeds the protection action limit, the probability of the wind turbine disconnecting from the grid is 1.

[0055] In this embodiment of the invention, the equivalent power output of the wind farm in a cascading fault is obtained based on the grid disconnection probability of the wind turbine, including: The wind farm is equivalent to a set of multiple wind turbine units; the grid connection state variables of each wind turbine unit are determined according to the grid disconnection probability of each wind turbine unit; based on the grid connection state variables of each wind turbine unit, the equivalent power output of the wind farm in the current fault simulation stage is obtained.

[0056] The formula for calculating the equivalent output of a wind farm in the current fault simulation phase is as follows: ; in, This is the current stage of fault simulation. For the wind farm in the first Equivalent output of each fault simulation stage; For the first The wind turbine unit was in the first Each fault simulation stage involves grid-connected operation status variables. Indicates the grid-connected operation status. Indicates the offline operation status; For the first The rated active power output of each wind turbine unit.

[0057] The updated equivalent active power output of the wind farm is used as the input for the power flow calculation in the next fault simulation stage, enabling the wind turbine disconnection behavior and wind power output changes to participate in the subsequent cascade fault path simulation, and characterizing the dynamic role of the equivalent active power output of the wind farm during the fault evolution process.

[0058] Based on the branch current exceeding the limit results, node voltage exceeding the limit results, static stability exceeding the limit judgment results, wind turbine disconnection status, wind farm equivalent output update results, and comprehensive non-uniformity index, candidate paths for cascaded faults in the next stage are generated.

[0059] In the In each fault simulation phase, let the set of components that have exited be... The set of candidate exit elements is Then the fault set is updated to the following for the next fault deduction stage: .

[0060] If there are multiple candidate exit components in the same fault simulation stage, multiple candidate path branches are generated respectively. For multiple candidate path branches, the search order is determined according to the comprehensive non-uniformity index from high to low, and the path branches with higher non-uniformity index and greater power flow transfer risk are analyzed first.

[0061] The candidate path branches generated in each fault simulation stage are judged based on path termination conditions. Path termination conditions include: no new over-limit branches; no new abnormal voltage nodes; system power flow convergence and acceptable operating status; power flow calculation non-convergence; system voltage instability; system disconnection; load loss rate exceeding a preset threshold; and the number of fault simulation stages exceeding a preset maximum value.

[0062] When a candidate path meets the path termination condition, the cascaded fault candidate path and its corresponding results are saved. The corresponding results include the initial fault type, the exiting components at each stage, the wind power output changes at each stage, the node voltage status at each stage, the branch current status at each stage, the risk status at each stage, and the path termination status.

[0063] When a candidate path does not meet the path termination condition, the next fault simulation stage begins. Based on the updated fault set and the equivalent output of the wind farm, the power flow calculation is re-executed until all candidate paths have been searched.

[0064] Step S104: Based on the set of cascading fault deduction paths, construct a graph time series sample set containing a topological adjacency matrix and a node state matrix.

[0065] For each cascaded fault simulation path, the grid topology activation / deactivation status and grid operation parameter data for each fault simulation stage are obtained according to the fault simulation sequence. Based on the grid topology activation / deactivation status, a topology adjacency matrix for each fault simulation stage is constructed, which is used to characterize the electrical connection relationship between grid nodes. Based on the grid operation parameter data, a node state matrix for each fault simulation stage is constructed.

[0066] The power system is abstracted as a graph structure, where nodes represent bus nodes, conventional generator nodes, load nodes, and wind farm grid-connected nodes; edges represent transmission lines, transformers, and interconnection channels.

[0067] Suppose a power system consists of N nodes, and the adjacency matrix A represents the topology of the power system: ; in, This indicates the connection status between node i and node j. When there is an operating line or transformer between node i and node j... When there is no connection between node i and node j, or when the corresponding line or transformer is out of service, .

[0068] During the cascading fault development process, if a branch is taken out of service due to overload protection activation, the connection element corresponding to that branch in the adjacency matrix is ​​updated to 0. Therefore, each fault simulation stage corresponds to a dynamically changing topological adjacency matrix. .

[0069] For the Each fault simulation stage constructs a node state matrix. Each row in the node state matrix corresponds to a node, and each column corresponds to a node operating characteristic. The node operating characteristics include node voltage amplitude, node voltage phase angle, active power output of conventional generators, reactive power output of conventional generators, active load of nodes, reactive load of nodes, equivalent active power output of wind farms, and probability of wind turbines disconnecting from the grid.

[0070] No. The node state matrix for each fault simulation stage is represented as follows: ; in, The node voltage amplitude, The node voltage phase angle, For the active power output of a conventional generator, This is the reactive power output of a conventional generator. For node active load, For node reactive load, For the equivalent active power output of the wind farm. This represents the probability of a wind turbine going offline.

[0071] Under the same cascading fault simulation path, the topological adjacency matrix and node state matrix of each fault simulation stage are combined sequentially according to time sequence to form a fault time sequence diagram.

[0072] No. The power system diagram state representation for each fault simulation stage is as follows: .

[0073] The fault time sequence graph is normalized in dimension and the time sequence length is unified to obtain standardized graph time sequence samples.

[0074] For a cascading fault candidate path containing K fault deduction stages, its graph time series sample representation is as follows: ; in, This is the initial running state. to This represents the graph states at each stage of the cascading fault development process. To facilitate graph neural network model training and online evaluation, the graph time series samples are processed to a uniform length. When the actual number of fault deduction stages in a cascading fault path is less than the preset maximum length, a termination state graph or a zero-filled state graph is added at the end of the path to ensure that different samples have a consistent input dimension. When the actual number of fault deduction stages in a cascading fault path is greater than the preset maximum length, the first few key fault deduction stages are truncated, or multiple graph time series samples are generated using a sliding window method.

[0075] Step S105: Input the graph time series sample set into the pre-trained graph neural network risk assessment model to obtain the cascaded failure risk assessment results.

[0076] The graph neural network risk assessment model includes a graph convolutional feature extraction layer, a temporal feature extraction layer, and an output layer.

[0077] The graph convolutional feature extraction layer is used to extract the topological spatial association features of the power system based on the topological adjacency matrix and the node state matrix. For the first... The graph convolution calculation process is as follows during each fault deduction stage: ; ; ; ; in, It is an N-order identity matrix. To add the adjacency matrix after self-connection, For degree matrix, For the normalized adjacency matrix, For the first The node state matrix for each fault simulation stage. and For trainable weight matrix, For activation function, For the first The graph convolution output features of each fault inference stage.

[0078] The temporal feature extraction layer is used to process the graph convolutional output sequences corresponding to multiple fault inference stages: ; And output the timing characteristics of cascading faults: ; in, It is one of the following: Long Short-Term Memory Network, Gated Recurrent Unit Network, or Temporal Convolutional Network. This is the timing feature vector corresponding to the cascading fault path.

[0079] The output layer is used to output the cascading failure risk assessment results, which include the probability of cascading failures continuing to spread, expected load loss rate, value at risk, conditional value at risk, risk level, critical failure paths, critical nodes, and critical branches.

[0080] In the offline training phase, training samples are generated based on typical operating modes, historical operating data, different wind power penetration scenarios, and different load levels. Different initial faults are set for each operating mode, and a cascaded fault path identification algorithm is executed to obtain multiple cascaded fault candidate paths. Combined with the wind turbine grid disconnection probability model, multiple random simulations are performed on the same candidate path to obtain load loss results under different wind power grid disconnection states. The graph time series samples are used as model inputs, and the load loss rate, risk level, risk value, conditional risk value, or critical fault path label are used as model output labels to train the graph neural network risk assessment model.

[0081] In the online application phase, the cascading fault candidate paths identified in real-time operation are converted into graph time-series samples and input into the trained graph neural network risk assessment model to obtain the cascading fault risk assessment results.

[0082] In this embodiment of the invention, the expected load loss rate is expressed as: ; in, Let be the active load of node i in the initial operating state. N represents the active load of node i during the cascading fault termination phase, and N is the number of nodes.

[0083] Furthermore, for the same cascading failure path, load loss rate samples can be obtained through multiple random simulations, and the value at risk and conditional value at risk can be calculated: ; ; in, Here is the confidence coefficient. The number of simulation samples, Let be the load loss rate obtained from the i-th simulation. The first one sorted by load loss rate Each sample value.

[0084] The comprehensive risk index can be expressed as: ; in, As a comprehensive risk indicator, To further expand the probability of cascading failures, , , and These are the weighting coefficients.

[0085] When the comprehensive risk indicator or risk level exceeds the preset threshold, a risk warning message is output. The risk warning message includes the current operating status, initial fault type, possible development path, key risk components, expected load loss rate, value at risk, conditional value at risk, and risk level.

[0086] Based on the risk warning information, control recommendations are generated, including adjusting the output of conventional generators, adjusting the active power output of wind farms, adjusting the reactive power support of wind farms, putting energy storage devices into operation, adjusting reactive power compensation devices, changing the grid topology, carrying out power flow transfer, or implementing orderly load reduction.

[0087] An embodiment of the present invention also provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a cascading fault risk assessment method for a power system according to an embodiment of the present invention.

[0088] An embodiment of the present invention also provides a computer program product, including a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform the cascading fault risk assessment method for a power system according to an embodiment of the present invention.

[0089] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, causes the electronic device to perform the cascading fault risk assessment method for a power system according to an embodiment of the present invention.

[0090] refer to Figure 4 The present invention will now describe a structural block diagram of an electronic device that can serve as an embodiment of the present invention, serving as an example of a hardware device applicable to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0091] like Figure 4As shown, the electronic device includes a computing unit 101, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 102 or a computer program loaded from a storage unit 108 into a random access memory (RAM) 103. The RAM 103 may also store various programs and data required for the operation of the electronic device. The computing unit 101, ROM 102, and RAM 103 are interconnected via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.

[0092] Multiple components in the electronic device are connected to I / O interface 105, including: input unit 106, output unit 107, storage unit 108, and communication unit 109. Input unit 106 can be any type of device capable of inputting information into the electronic device. Input unit 106 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of the electronic device. Output unit 107 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 108 may include, but is not limited to, disks and optical discs. Communication unit 109 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, and / or wireless communication transceivers, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0093] The computing unit 101 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 101 include, but are not limited to, CPUs, graphics processing units (GPUs), various special-purpose artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 101 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention can be implemented as computer programs tangibly contained in a machine-readable medium, such as storage unit 108. In some embodiments, part or all of the computer program can be loaded and / or installed on an electronic device via ROM 102 and / or communication unit 109. In some embodiments, the computing unit 101 can be configured to perform the methods described above by any other suitable means (e.g., by means of firmware).

[0094] Computer programs for implementing the methods of embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0095] In the context of embodiments of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, or infrared systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0096] It should be noted that the term "comprising" and its variations used in the embodiments of this invention are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "a plurality" mentioned in the embodiments of this invention are illustrative and not restrictive, and those skilled in the art should understand that unless explicitly indicated otherwise in the context, they should be understood as "one or more".

[0097] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this invention are subject to strict compliance with relevant laws, regulations, and regulatory requirements in their collection, storage, use, processing, transmission, provision, and disclosure, and adhere to the principles of legality, legitimacy, necessity, and good faith. The acquisition of relevant information and data is premised on the user's explicit consent or other legitimate reasons, and a clear and convenient authorization management approach is provided to the user, allowing the user to independently choose to consent, withdraw consent, or refuse to provide relevant information. For functions that rely on user information, if the user does not authorize or withdraws authorization, the corresponding technical function cannot be implemented, and the technical solution of this invention is not applicable in this scenario.

[0098] The steps described in the method embodiments provided by the present invention can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.

[0099] The term "embodiment" in this specification refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily imply the same embodiment, nor does it imply independence or alternativeity from other embodiments. The various embodiments in this specification are described in a related manner, with reference to each other for similar or identical parts. In particular, for apparatus, device, and system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and relevant details are referred to in the description of the method embodiments.

[0100] The above embodiments merely illustrate several implementation methods of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the inventive concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.

Claims

1. A method for cascading failure risk assessment of a power system, characterized in that, include: Construct a power system topology model based on power system operation data; Based on the NX safety criteria and the preset initial fault set, the power system topology model is subjected to stage-by-stage fault deduction. Through branch current over-limit constraints, node voltage over-limit constraints and static stability over-limit constraints, a set of cascaded fault deduction paths is obtained. In each fault simulation stage, when a node voltage exceeds the limit and the node is connected to a wind farm, the probability of the wind turbine disconnecting from the grid is determined based on the grid connection point voltage of the wind farm, and the equivalent output of the wind farm in the cascade fault is obtained based on the disconnection probability of the wind turbine. Based on the set of cascading fault deduction paths, a graph time series sample set containing a topological adjacency matrix and a node state matrix is ​​constructed; wherein, the node state matrix contains the equivalent power output of the wind farm in the cascading fault. The graph time series sample set is input into a pre-trained graph neural network risk assessment model to obtain the cascaded failure risk assessment results.

2. The cascading failure risk assessment method of a power system according to claim 1, wherein, Based on the NX safety criteria and a preset initial fault set, a stage-by-stage fault deduction is performed on the power system topology model. Through branch current over-limit constraints, node voltage over-limit constraints, and static stability over-limit constraints, a set of cascaded fault deduction paths is obtained, including: For each initial fault in the initial fault set, the power system topology model is updated according to the NX security criteria; The updated power system topology model is subjected to stage-by-stage fault simulation to generate corresponding cascading fault simulation paths; In each fault simulation stage, the power system topology model is updated based on the cascading fault candidate development paths of the current fault simulation stage, and power flow calculation is performed on the updated power system topology model. If the power flow calculation fails to converge, the cascading fault deduction path will be determined as a terminated path. If the power flow calculation converges, based on the power flow calculation results, the set of candidate exiting components for the current fault simulation stage is obtained by passing the branch current over-limit constraint, the node voltage over-limit constraint, and the static stability over-limit constraint respectively. If the set of candidate exiting components is not empty, a cascaded fault candidate development path for the next fault deduction stage is generated based on the set of candidate exiting components. If the set of candidate exiting components is empty, the cascading fault simulation path in the current fault simulation stage will be determined as the termination path.

3. The cascading failure risk assessment method of a power system according to claim 2, wherein, The branch current over-limit constraint is as follows: ; wherein, is the current of the branch ; is the fault-induced current increase of the branch ; is the emergency-allowed current of the branch ; The node voltage over-limit constraints are as follows: ; wherein, is a voltage reference for the node ; is a low voltage threshold for the node ; is a high voltage threshold for the node ; The static stability over-limit constraints are as follows: ; wherein, is the transmission power of a branch , a node or a transmission section ; is the corresponding static stability limit power of a branch , a node or a transmission section .

4. The cascading failure risk assessment method of a power system according to claim 1, wherein, The method also includes: In each fault simulation stage, multiple operating parameters of the power system corresponding to each cascading fault candidate development path are normalized to obtain the non-uniformity index of each operating parameter; wherein, the operating parameters include at least: branch reactance, power generation, load power and wind power penetration rate; Based on the multiple non-uniformity indices corresponding to each cascaded fault candidate development path, a comprehensive non-uniformity index for the cascaded fault candidate development path is calculated. Based on the comprehensive non-uniformity index, the simulation priority is set for the cascading fault candidate development path in the next fault simulation stage. The higher the comprehensive non-uniformity index, the higher the simulation priority of the corresponding cascading fault candidate development path.

5. The cascading failure risk assessment method of a power system according to claim 4, wherein, The formula for calculating the comprehensive non-uniformity index is as follows: ; wherein, is a comprehensive non-uniformity index; is a non-uniformity index of branch reactance; is a non-uniformity index of generated power; is a non-uniformity index of load power; is a non-uniformity index of wind power penetration; , , and is a weight coefficient corresponding to the non-uniformity index.

6. The cascading failure risk assessment method of a power system according to claim 1, wherein, Based on the grid connection voltage of the wind farm, determine the grid disconnection probability of the wind turbines, including: ; wherein is the off-grid probability of the wind turbine group; is the voltage per unit of the point of common coupling of the wind farm.

7. The cascading failure risk assessment method of a power system according to claim 6, wherein, Based on the grid disconnection probability of the wind turbines, the equivalent power output of the wind farm in a cascading fault is obtained, including: The wind farm is equivalent to a collection of multiple wind turbine units; Based on the grid disconnection probability of the wind turbine units, determine the grid connection status variables of each wind turbine unit; Based on the grid connection status variables of each wind turbine, the equivalent power output of the wind farm in the current fault simulation stage is obtained.

8. The cascading failure risk assessment method of a power system according to claim 7, wherein, The formula for calculating the equivalent output of the wind farm in the current fault simulation phase is as follows: ; wherein, is the current fault inference phase; is the equivalent output of the wind farm at the th fault inference phase; is the equivalent output of the th wind turbine cluster at the th fault inference phase, denotes the grid-connected operating state, denotes the off-grid operating state; is the rated active power output of the th wind turbine cluster.

9. The method for assessing the risk of cascading faults in a power system according to claim 1, characterized in that, Based on the cascading fault deduction path set, a graph time-series sample set containing a topological adjacency matrix and a node state matrix is ​​constructed, including: For each cascaded fault simulation path, the grid topology commissioning / discharging status and grid operation parameter data for each fault simulation stage are obtained according to the fault simulation sequence. Based on the power grid topology on / off status, a topology adjacency matrix is ​​constructed for each fault simulation stage. The topology adjacency matrix is ​​used to characterize the electrical connection relationship between power grid nodes. Based on the power grid operating parameter data, a node state matrix is ​​constructed for each fault simulation stage; wherein, the power grid operating parameter data includes node voltage, node phase angle, conventional unit output, load power, wind farm equivalent output, and wind turbine disconnection probability; Under the same cascaded fault deduction path, the topological adjacency matrix and the node state matrix of each fault deduction stage are combined sequentially in time to form a fault time sequence diagram sequence. The fault time sequence is normalized in dimension and unified in time length to obtain standardized graph time sequence samples.

10. The method for assessing the risk of cascading faults in a power system according to claim 1, characterized in that, The graph neural network risk assessment model includes a graph convolutional feature extraction layer, a temporal feature extraction layer, and an output layer. The graph convolutional feature extraction layer is used to extract the topological spatial correlation features of the power system based on the topological adjacency matrix and the node state matrix at each fault inference stage. The temporal feature extraction layer is used to extract multi-stage temporal extrapolation features of the fault; The output layer is used to output the cascading failure risk assessment results, which are one or more of the following: cascading failure continued propagation probability, expected load loss rate, risk value, conditional risk value, risk level, critical failure path, critical node, and critical branch.

11. An electronic device, comprising: A processor and a memory storing a program, characterized in that the program includes instructions that, when executed by the processor, cause the processor to perform the cascading fault risk assessment method for a power system according to any one of claims 1 to 10.

12. A non-transitory machine-readable medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the cascading fault risk assessment method for power systems according to any one of claims 1 to 10.