A robust frequency partitioning method for power systems based on monte carlo random fault scenarios

By proposing a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios, the problem of insufficient reflection of frequency dynamic characteristics in low inertia regions by traditional methods is solved, and accurate and robust partitioning under complex disturbances is achieved.

CN123162997APending Publication Date: 2026-11-24CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611135084.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-29
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Traditional frequency security analysis methods are difficult to accurately reflect the frequency dynamics of different regions after the large-scale integration of asynchronous renewable energy in modern power systems, leading to biases in security assessments, especially in low-inertia regions where accurate zoning is difficult.

Method used

A robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios is adopted. By constructing a set of random fault scenarios, the difference distance of the bus frequency response curve is calculated using the dynamic time warping algorithm, a weighted graph model is constructed, and the optimal partitioning result is solved with modularity as the optimization objective.

Benefits of technology

It achieves accuracy and robustness of partitioning results under complex disturbances and changes in system operating state, ensuring consistency of partitioning results under all credible fault scenarios, and improving the accuracy and stability of frequency partitioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162997A_ABST
    Figure CN123162997A_ABST
Patent Text Reader

Abstract

This invention discloses a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios, comprising: constructing a set of random fault scenarios suitable for frequency response partitioning of large power grids; for the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, using a dynamic time warping algorithm to calculate the difference distance between the frequency response curves of each bus in the dataset, obtaining the dynamic time warping distance between each bus; inputting the dynamic time warping distance into a Gaussian dynamic time warping kernel for transformation, obtaining the edge weights between buses; constructing a weighted graph model based on the edge weights, wherein the weighted graph model uses buses as nodes and edge weights as edges; defining a topology partitioning variable with the same dimension as the edge set of the weighted graph model; using the average modularity score of each weighted graph model under random fault scenarios as the optimization objective, solving for the optimal topology partitioning variable, and obtaining the optimal partitioning result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system analysis and control technology, and more specifically, to a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios. Background Technology

[0002] With the large-scale integration of asynchronous renewable energy sources such as wind power and photovoltaics, the overall inertia level of modern power systems continues to decline. Post-fault frequency dynamics exhibit significant spatiotemporal characteristics, meaning that the frequency change trajectories after disturbances differ significantly across geographical regions. Traditional frequency security analysis, based on the center of inertia theory, simplifies multi-machine systems into single-machine equivalent models. However, in scenarios with strong spatiotemporal characteristics, this approach struggles to accurately reflect the frequency dynamics of different regions, especially those with low inertia, easily leading to biased security assessments. To reduce computational dimensionality while preserving key dynamic characteristics, power system partitioning technology has become an important research direction. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios.

[0004] According to one aspect of the present invention, a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios is provided, comprising: Construct a set of random fault scenarios suitable for frequency response partitioning of large power grids; For the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, the dynamic time warping algorithm is used to calculate the difference distance between the frequency response curves of each bus in the dataset, and the dynamic time warping distance between each bus is obtained. The dynamic time warped distance is input into the Gaussian dynamic time warped kernel for transformation to obtain the edge weights between the buses; A weighted graph model is constructed based on edge weights, with the main line as the node and the edge weight as the edge. Define a topological partitioning variable with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. A topological partitioning variable uniquely determines a region partitioning strategy. Using the average modularity score of each weighted graph model under random fault scenarios as the optimization objective, the optimal topology partitioning variable is solved to obtain the optimal partitioning result.

[0005] Optionally, a set of random fault scenarios suitable for the frequency response partitioning of a large power grid is constructed, including: Based on the cumulative distribution function of each generator set, a set of anticipated accidents containing several fault scenarios is constructed; Time-domain simulation of the power system is performed by sequentially triggering fault events in a set of anticipated accidents to obtain the frequency response of each bus. Construct a frequency dynamic monitoring dataset FDi for random fault scenario m based on the frequency response of each bus; A set of random fault scenarios is constructed based on the frequency dynamic monitoring dataset of each random scenario.

[0006] Optionally, the steps for constructing the cumulative distribution function of each generator unit are as follows: The outage capacity probability of each synchronous generator is modeled as a Markov process following an exponential distribution to obtain the cumulative distribution function of normal operation; the tripping probability function of the synchronous generator is constructed based on the Bernoulli test to simulate the tripping event of the synchronous generator. To address the power loss caused by multiple wind turbines tripping in a wind farm, the percentage of power loss is modeled as a continuous random variable. Based on historical fault data, the probability distribution of the number of wind turbines tripping is fitted, and the number of wind turbines tripping is converted into a power loss ratio to determine the cumulative distribution function of the wind farm's fault ratio. The joint probability distribution of faults among multiple wind farms is constructed based on the Copula function, and the rank correlation coefficient is used to characterize the spatial correlation of faults among wind farms. The Bernoulli test is used to randomly simulate outage events of transmission lines. Each line is independently determined to be out of service or remain in normal operation according to a preset probability.

[0007] Optionally, the expression for the cumulative distribution function under normal operation is: In the formula, P This represents the probability of normal operation. Let t be the failure rate, and t be the time interval. The tripping probability function of a synchronous generator is: In the formula, P SG is the tripping probability, and MTBF is the mean time between failures, which is the reciprocal of the failure rate. The mean repair time for the synchronous generator; The cumulative distribution function of the wind farm fault ratio is: In the formula, Let be a random variable representing the number of wind turbines disconnected from the grid within the wind farm; The zero inflation probability parameter; r This is the shape parameter in a negative binomial distribution; Represents the gamma function. k For the summation index, n This represents the number of wind turbines that are disconnected from the grid within the wind farm.

[0008] Optionally, the expression for calculating the dynamic time-warped distance is: In the formula, Represents random failure scenarios m Middle node i With nodes j Distance metric between; It is a dynamic time adjustment algorithm; f m,i [ n ] indicates a random failure scenario m Next node i The corresponding frequency response time sequence; f m,j [ n ] indicates a random failure scenario m Next node j The corresponding frequency response time sequence, E For the edge set of the graph model; The expression for calculating edge weights is: In the formula, Indicates a scenario based on random failures m The constructed graph model m Middle node i , j Connected edges ( i , j The corresponding weights; For random failure scenarios m The kernel bandwidth corresponding to the distance metric; For random failure scenarios m The standard deviation corresponding to the distance metric; For random failure scenarios m The interquartile range corresponding to the distance metric; This corresponds to the number of edges within the edge set of the graph model.

[0009] Optionally, the optimization objective uses modularity Q as the effectiveness indicator, and the expression for the optimization objective is: In the formula, The edge cutting vector; For graph models m The degree of modularity after being cut; As an indicator function, it represents the graphical model. m After being cut ( i , j The existence of ); The optimal edge cutting vector is used to maximize the average modularity of the graph model after it has been cut.

[0010] According to another aspect of the present invention, a robust frequency partitioning device for power systems based on Monte Carlo random fault scenarios is provided, comprising: The first building module is used to build a set of random fault scenarios suitable for the frequency response partitioning of a large power grid; The calculation module is used to calculate the difference distance between the frequency response curves of each bus in the dataset for each random fault scenario in the random fault scenario set using the dynamic time warping algorithm, and obtain the dynamic time warping distance between each bus. The conversion module is used to convert the dynamic time warp distance input into the Gaussian dynamic time warp kernel to obtain the edge weights between the buses. The second building module is used to construct a weighted graph model based on edge weights. The weighted graph model uses the main line as the node and the edge weight as the edge. The definition module is used to define topological partitioning variables with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. A topological partitioning variable uniquely determines a region partitioning strategy. The solution module is used to solve for the optimal topology partitioning variable and obtain the optimal partitioning result by taking the average modularity score of each weighted graph model under random fault scenarios as the optimization objective.

[0011] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing a computer program for performing the methods described in any of the above aspects of the present invention.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method described in any of the preceding aspects of the present invention.

[0013] Therefore, this invention proposes a method for refined local control of transformer area voltage based on active and reactive power joint optimization. First, a local hierarchical collaborative architecture is established, including horizontal equipment-level local rapid collaboration and vertical transformer area-level centralized optimization control. Second, with the goal of preventing voltage exceedances, a multi-objective dynamic operation collaborative optimization model for the transformer area is established. This model combines constraint models such as transformer area node voltage constraints, node voltage deviation constraints, and low-voltage modular power balancing device operation constraints to establish a transformer area active and reactive power regulation configuration model. Finally, a dynamic power control strategy for the transformer area is generated based on the transformer area control priority determination rules, and control quotas are issued to achieve refined local control based on hierarchical levels. Attached Figure Description

[0014] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures: Figure 1 This is a flowchart illustrating a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios provided in an exemplary embodiment of the present invention. Figure 2 This is a schematic diagram of fault scenario generation and frequency response data acquisition based on component probability characteristics and Monte Carlo simulation provided by an exemplary embodiment of the present invention; Figure 3 This is a schematic diagram of partitioning based on graph cutting indicator vectors provided in an exemplary embodiment of the present invention; Figure 4 This is a schematic diagram of the random variation of the graph cutting indicator vector based on a Markov process, provided by an exemplary embodiment of the present invention; Figure 5 This is a schematic diagram of a partitioning optimization algorithm based on graph cutting indicator vector iteration provided in an exemplary embodiment of the present invention; Figure 6 This is a schematic diagram of an Australian five-zone test system for verifying partition performance, provided by an exemplary embodiment of the present invention; Figure 7 This is a schematic diagram illustrating the optimal partitioning performance under different numbers of partitions, provided by an exemplary embodiment of the present invention. Figure 8a , Figure 8b , Figure 8c , Figure 8d These are schematic diagrams of the frequency response of each partition of the test system after the power generation unit of the test system provided by an exemplary embodiment of the present invention experiences grid disconnection of G05 #4, G06 #1, G11 #3 and G12 #2 respectively. Figure 9a , Figure 9b These are schematic diagrams of the frequency response of each partition after the power generation unit of the test system provided by an exemplary embodiment of the present invention experiences simultaneous grid disconnection of G06 #2 and G08 #2, and simultaneous grid disconnection of G06 #1 and G12 #2. Figure 10a , Figure 10b These are schematic diagrams of the frequency response of each zone after the disconnection of the tie line (210, 213) of the transmission line in the test system provided by an exemplary embodiment of the present invention. Figure 11 This is a schematic diagram of the power grid partitioning results for the Southwest Region of the State Grid Corporation of China based on the partitioning method of the present invention, provided by an exemplary embodiment of the present invention. Figure 12a , Figure 12bThese are schematic diagrams illustrating the application of spectral clustering hierarchical clustering based on line impedance weight calculation and line power flow weight calculation to test system partitioning, respectively, provided by an exemplary embodiment of the present invention. Figure 13 This is a schematic diagram of the structure of a robust frequency partitioning device for power systems based on Monte Carlo random fault scenarios provided in an exemplary embodiment of the present invention; Figure 14 This is the structure of an electronic device provided in an exemplary embodiment of the present invention. Detailed Implementation

[0015] Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments of the present invention. It should be understood that the present invention is not limited to the exemplary embodiments described herein.

[0016] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps described in these embodiments do not limit the scope of the invention.

[0017] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of the present invention are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.

[0018] It should also be understood that in the embodiments of the present invention, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.

[0019] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more unless explicitly defined or given contrary instructions in the context.

[0020] Furthermore, the term "and / or" in this invention is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this invention generally indicates that the preceding and following related objects have an "or" relationship.

[0021] It should also be understood that the description of the various embodiments in this invention emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0022] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.

[0023] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.

[0024] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.

[0025] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0026] The embodiments of this invention can be applied to electronic devices such as terminal devices, computer systems, and servers, and can operate together with a wide range of other general-purpose or special-purpose computing system environments or configurations. Well-known examples of terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, and servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments including any of the above systems, etc.

[0027] Electronic devices such as terminal devices, computer systems, and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Typically, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are executed by remote processing devices linked through communication networks. In distributed cloud computing environments, program modules can reside on local or remote computing system storage media, including storage devices.

[0028] Exemplary methods Figure 1 This is a flowchart illustrating a robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios, provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as… Figure 1 As shown, the robust frequency partitioning method 100 for power systems based on Monte Carlo random fault scenarios includes the following steps: Step 101: Construct a set of random fault scenarios suitable for the frequency response partitioning of a large power grid; Step 102: For the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, the dynamic time warping algorithm is used to calculate the difference distance between the frequency response curves of each bus in the dataset, and the dynamic time warping distance between each bus is obtained. Step 103: Input the dynamic time warp distance into the Gaussian dynamic time warp kernel for transformation to obtain the edge weights between the busbars; Step 104: Construct a weighted graph model based on edge weights. The weighted graph model uses the main line as nodes and the edge weights as edges. Step 105: Define a topological partitioning variable with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. A topological partitioning variable uniquely determines a region partitioning strategy. Step 106: Using the average modularity score of each weighted graph model under the random fault scenario as the optimization objective, solve for the optimal topology partitioning variable to obtain the optimal partitioning result.

[0029] Specifically, in view of the problem that existing frequency partitioning methods based on node admittance matrix or static electrical distance cannot characterize inertia response and primary frequency modulation mechanism and are difficult to reflect the essential characteristics of frequency dynamic process, this invention aims to provide a method that can directly partition based on the actual frequency dynamic response of the system, so that the partitioning results can accurately characterize the dynamic characteristics of inertia distribution and frequency modulation resources.

[0030] Related key technologies Frequency dynamic spatiotemporal characteristics: refers to the phenomenon that the frequency of each node or region changes non-uniformly in the time domain after a power deficit disturbance occurs in the system. The root cause lies in the uneven distribution of system inertia, the geographical dispersion of primary frequency modulation resources, and the differentiated transmission characteristics of network impedance.

[0031] Spectral hierarchical clustering: a partitioning algorithm based on graph theory and spectral graph theory. By constructing the Laplace matrix of the power grid and performing eigenvalue decomposition, nodes are mapped to the spectral space and hierarchical clustering is performed. It is often used for power grid partitioning based on electrical distance or power flow similarity, but it has limitations in characterizing dynamic frequency response.

[0032] Monte Carlo simulation: a statistical simulation method that generates a large number of fault scenarios through random sampling. In this invention, MCS is used to construct a set of fault scenarios covering random tripping of conventional units, new energy units, and transmission lines, in order to obtain frequency dynamic data that is sufficiently comprehensive and conforms to the true probability distribution.

[0033] Topology partitioning metric: The graph model optimization metric proposed in this invention is used to quantify the isomorphism between the partitioning scheme and the original power grid topology. By mapping the frequency dynamic data under various fault scenarios to a graph structure, TSI transforms the frequency partitioning task into a solvable integer programming problem, and achieves engineering simplification of iterative optimization by revealing its optimal mode.

[0034] To address the issues of existing simplified dynamic methods based on frequency wave transmission coefficients neglecting primary frequency regulation nonlinearity, time-varying characteristics, and inertia redistribution caused by generator disconnection after a fault, this invention aims to provide a partitioning method that considers the nonlinearity and time-varying characteristics of the entire frequency response process, ensuring that the partitioning results remain accurate under complex disturbances and changes in system operating conditions.

[0035] To address the problem that existing partitioning methods based on specific fault frequency response curves are highly dependent on the location of disturbances and the operating conditions of the system, and cannot form fixed scheduling and defense strategies due to dynamic changes in the scenario, this invention aims to provide a robust frequency partitioning method that maintains the invariance of partitioning results under all credible fault scenarios, thereby realizing the transformation from variable scenarios to a unified fixed framework.

[0036] (1) Construct random fault scenarios suitable for frequency response partitioning of large power grids.

[0037] In system reliability analysis, the outage capacity probability of each synchronous generator is modeled as a Markov process following an exponential distribution, and its normal operation cumulative distribution function follows equation (1), where is the failure rate. When constructing the fault scenario, the SG tripping model describes the probability that it is normal at one time and trips at the next time. The online SG state is only normal or tripped, so the tripping can be modeled as a Bernoulli test. As can be seen from the exponential distribution characteristics, the mean time between failures (MTBF) is the reciprocal of the failure rate. The tripping probability of the SG in the Bernoulli test is obtained according to equation (2), where MTTR is the mean repair time. Although abnormal scheduling instructions may cause multiple SGs to trip simultaneously, the probability of such events is very low. This paper simplifies by assuming that the tripping faults of different SGs are independent of each other.

[0038] (2) (3) Compared to traditional synchronous generators, the tripping probability model for wind farms is more complex. The rated power of a single wind turbine is much smaller than that of a synchronous generator, accounting for only a tiny proportion of the total power output of the wind farm. However, after grid disturbances, wind turbines tend to trip simultaneously, resulting in power losses on par with synchronous generator outages. Therefore, the tripping probability model for wind farms is better suited to treating the percentage of power loss as a continuous random variable rather than a binary variable.

[0039] Based on three years of fault data from 383 wind turbines in 11 wind farms in Spain [3], the zero-expansion negative binomial distribution has the best fitting effect compared with the zero-expansion Poisson, negative binomial and Poisson-gamma distributions. The ZINB fitting distribution of the number of wind turbine trips is given by equation (3). In order to obtain a more universal probability model, the number of wind turbine trips needs to be converted into the power loss ratio. The cumulative distribution function after interpolation is shown in equation (4), where the continuous random variable represents the fault ratio of wind farm i.

[0040] (4) (5) Wind farm outage faults exhibit spatial correlation, especially under severe weather conditions such as cascading ice storms [4]. Therefore, Copula-based models have become the main tool for characterizing the joint distribution of safety assessments of multiple wind farms. The Copula joint probability distribution of faults of multiple wind farms is shown in Equation (5), where the function is Copula and the rank correlation coefficient represents the fault correlation between wind farms.

[0041] (6) Transmission lines may trip due to faults such as short circuits, causing power flow shifts and indirectly affecting frequency stability. For ease of analysis, line outages are simulated using Bernoulli's test[5][6], that is, each line is independently judged to be out of service with a certain probability, otherwise it remains in normal operation, as shown in equation (6).

[0042] (7) Random failure scenarios can be generated based on the joint probability of Monte Carlo simulation, as follows: Figure 2 As shown, the specific steps are as follows: Step 1: Based on the cumulative distribution function of each generator set, construct a set of anticipated accidents containing several fault scenarios; Step 2: Perform time-domain simulation of the power system, sequentially triggering fault events in the fault set, and obtain the frequency response (FR) of each bus. The FR set of fault scenario m is shown in Equation (7), and the frequency dynamics of the bus without synchronous generators are shown in the appendix; (8) Step 3: Obtain the frequency dynamic dataset for all fault scenarios from the simulation, as shown in Equation (8).

[0043] (9) At this point, the random failure scenario has been constructed, providing data for subsequent partitioning. It should be noted that the partitioning results are influenced to some extent by offline data; adding actual influencing factors from the failure scenario can improve partitioning performance. Figure 1This is a schematic diagram of obtaining random fault scenario FR data based on MCS.

[0044] To effectively identify coherent regions with similar frequency dynamics in a power system, this section proposes a partitioning method based on frequency dynamic data. First, Dynamic Time Warping (DTW) is used to quantify the differences between the frequency response curves of each bus, and a weighted graph model is constructed based on this. After representing the system as a graph, under fault scenario m, the DTW distance is used to measure the difference in the frequency dynamic sequences of two buses.

[0045] (10) (11) Considering the significant differences in overall system disturbance energy under different fault scenarios, the original DTW distance cannot be directly compared, making it difficult to consistently characterize the frequency dynamic differences between buses. Therefore, a Gaussian DTW kernel is introduced to convert the distance into a similarity metric, yielding edge weights. These weights are relative distance indicators; larger values ​​indicate smaller relative distances between the two buses, stronger dynamic coupling, and tighter connections. The kernel bandwidth is determined according to the Silverman rule and is related to the standard deviation and interquartile range of the full graph edge DTW distance. Ultimately, the distance metric for frequency dynamic data is represented by a graph, and the edge weights are the aforementioned similarity weights.

[0046] (12) The partitioning problem is defined by a relative weight set that quantifies the dynamic coherence between buses under all fault scenarios. A graph theory approach is used to partition the system by removing edges from the graph, transforming it into an integer programming problem. The goal is for the partitioning results to exhibit consistent clustering performance across all fault scenarios. A Topology Partition Indicator (TSI) vector *s* is defined to indicate whether each edge has been removed, thus uniquely determining the number of partitions and region divisions, transforming the partitioning task into TSI optimization. A modularity-based effectiveness metric (Q) is used, requiring no node coordinates and evaluating partitioning quality solely through graph connectivity patterns. High modularity signifies statistically more robust and topologically more coherent partitioning under a given fault scenario. To ensure robustness, the average modularity score of the graphs under all preset fault scenarios is used as the optimization objective to solve for the optimal TSI vector *s*, ensuring that the partitioning is universally applicable to various fault conditions.

[0047] by Figure 3 Taking the topology G as an example, this paper demonstrates how the power system can be divided into several different regions based on the edge cutting indicator vector s by selecting edge elements within the edge set E for cutting. A topology partitioning variable with the same dimension as the edge set E is defined. ,and =1 means edge It will be removed from the edge set E. A topological partitioning variable s can uniquely determine a topological region partitioning strategy Q. Figure 2Taking the topology shown as an example, the topology partitioning variable s can be defined as shown in equation (12), where =1 means that edge (i, j) is cut, while =0 means that edge (i, j) was not cut. When except... =1, =1 All other elements of the external variable s are zero, that is, after the edges (4,7) and (10,12) are cut off, the system topology can be divided into three partitions C1, C2 and C3, as shown in equation (13).

[0048] (13) (14) Therefore, by adjusting variable s, the regional division strategy can be optimized, upgraded, and iterated. The specific direction of the iteration is determined by the evaluation results of the current regional division, thereby ensuring the continuous improvement and perfection of the regional division strategy, making it more in line with the actual needs and operational requirements of the system.

[0049] We employ a modularity-based effectiveness metric (Q), which evaluates partition quality solely based on graph connectivity patterns without requiring node coordinates. High modularity signifies statistically more robust partitions and more topologically coherent partitions under given failure scenarios. To ensure robustness, we use the average modularity score of each graph under all preset failure scenarios as the optimization objective to solve for the optimal TSI vector. This ensures that the partitions are universally applicable to various fault conditions.

[0050] (15) (16) variable There is a significant trend. The mean and variance of the normalized distance between node i and node j are given by equation (16), which provides statistical information about these trends.

[0051] (17) Considering the duality and trend of elements within the TSI vector, its update and iteration process is more suitable to be modeled as a two-state Markov process, such as... Figure 4 As shown; where and Let be the transition probability. The mean and variance of this variation model are shown in Equation (17).

[0052] (17) smaller This indicates a greater dissimilarity between node i and node j, meaning that the frequency dynamic curves of bus i and bus j differ significantly. Therefore, The smaller, The higher the probability, the more the parameters can be solved according to equation (18). and .

[0053] As mentioned earlier in this section, this paper proposes a partitioning optimization method based on a topology partitioning algorithm, such as... Figure 5 As shown. The iterative steps are as follows: Step 1: Preset the maximum number of partitions for the partitioning result And initialize TSI.

[0054] Step 2: Retain the original variables of TSI, and follow... Figure 5 Update TSI.

[0055] Step 3: For each partition result in the graph, calculate its modularity and obtain the average modularity score.

[0056] Step 4: If the average modularity score does not improve within the preset number of iterations, terminate the process; otherwise, return to step 2.

[0057] Step 5: Use equation (15) to determine the optimal TSI for each cluster number, and thus obtain the optimal partitioning result corresponding to the preset number of partitions.

[0058] The optimal number of partitions is determined by the average modularity score and its standard deviation: the primary goal is to maximize the mean, and then examine the corresponding standard deviation to ensure consistency of quality.

[0059] In a specific embodiment of the present invention, such as Figure 6 As shown, this study employed an improved Australian testing system to validate the proposed robust frequency partitioning method (RFPM). Random failure scenarios were constructed using the parameters detailed in Table I, with raw failure rate data derived from [Table I missing]. This process yielded a complete frequency dynamic dataset (FD) for each random failure scenario.

[0060] Table I Key Parameters of the Test System

[0061] We applied the proposed RFPM method to a power system using the FD dataset for each random fault scenario. We evaluated the modularity metric for partition performance under different numbers of partitions, and the results are as follows: Figure 7 As shown, when the system is divided into nine clusters, the average modularity reaches the global maximum under all random failure scenarios, while the corresponding standard deviation is consistent with the standard deviation observed under other partition numbers. Therefore, based on RFPM, the partitioning of nine clusters (see Table II) is determined to be the optimal configuration.

[0062] Table II. Partitioning Results of the Test System Case

[0063] To evaluate the robustness of the partitioning results, this paper conducted N-1 and N-2 contingency scenarios. Figures 8a-8d (N-1 single generator failure) Figures 9a-9b (N-2 dual generator failure) and Figures 10a-10b As shown in (N-1 transmission line fault), the simulation results verify the effectiveness of the partitioning in all test scenarios.

[0064] To quantify the advantages of the proposed RFPM, the Hierarchical Spectral Clustering (HSC) algorithm was reproduced, employing two weighting schemes: branch power flow and branch impedance. The optimal cluster number, determined by the characteristic gap criterion, was 13. Based on this, 13 partitions were obtained through hierarchical clustering (see the corresponding dendrogram). Figure 12a and Figure 12b The average modularity and minimum subgraph extent (MSE) were used for comparison (see Table III), where a lower MSE value indicates better partition quality. The results show that RFPM performs better in both metrics: compared to the best results of HSC, the average modularity is improved by 23.02% and 38.25%, respectively, and the MSE is reduced by 5.38% and 11.94%, respectively, confirming the effectiveness of RFPM in terms of dynamic consistency of capture frequency. HSC's poor performance may be due to its tendency to generate more partitions, leading to oversegmentation, but this reason requires further investigation.

[0065] Table III. Comparative Study of the Partitioning Scheme Proposed in This Invention with Mature Partitioning Schemes

[0066] Therefore, this invention constructs a hierarchical control architecture of "horizontal device-level rapid collaboration and vertical distribution area-level centralized optimization," combined with event triggering and periodic adjustment mechanisms, to achieve refined control over the entire process from local rapid suppression to cloud-based optimized scheduling; by expanding traditional reactive power regulation to active and reactive power collaborative optimization, it significantly improves the ability to regulate distributed photovoltaic output fluctuations; by establishing priority dynamic judgment rules based on multiple factors such as voltage limit exceedance, node location, and equipment regulation capability, and supporting adaptive adjustment of weight coefficients and control modes, it enhances the system's adaptability to different operating conditions and complex scenarios, thereby effectively improving the refinement level and control reliability of distribution area voltage management.

[0067] Exemplary device Figure 13 This is a schematic diagram of the structure of a robust frequency partitioning device for power systems based on Monte Carlo random fault scenarios, provided in an exemplary embodiment of the present invention. Figure 13As shown, the device 1200 includes: The first construction module 130 is used to construct a set of random fault scenarios suitable for the frequency response partitioning of a large power grid; The calculation module 1320 is used to calculate the difference distance between the frequency response curves of each bus in the dataset for the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, and obtain the dynamic time warping distance between each bus. The conversion module 1330 is used to convert the dynamic time warp distance input to the Gaussian dynamic time warp kernel to obtain the edge weights between the buses. The second construction module 1340 is used to construct a weighted graph model based on edge weights. The weighted graph model uses the main line as a node and the edge weight as an edge. Define module 1350 to define topological partitioning variables with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. A topological partitioning variable uniquely determines a region partitioning strategy. Solver module 1360 is used to solve for the optimal topology partitioning variable and obtain the optimal partitioning result by taking the average modularity score of each weighted graph model under random fault scenarios as the optimization objective.

[0068] Optionally, a set of random fault scenarios suitable for the frequency response partitioning of a large power grid is constructed, including: Based on the cumulative distribution function of each generator set, a set of anticipated accidents containing several fault scenarios is constructed; Time-domain simulation of the power system is performed by sequentially triggering fault events in a set of anticipated accidents to obtain the frequency response of each bus. Construct a frequency dynamic monitoring dataset FDi for random fault scenario m based on the frequency response of each bus; A set of random fault scenarios is constructed based on the frequency dynamic monitoring dataset of each random scenario.

[0069] Optionally, the steps for constructing the cumulative distribution function of each generator unit are as follows: The outage capacity probability of each synchronous generator is modeled as a Markov process following an exponential distribution to obtain the cumulative distribution function of normal operation; the tripping probability function of the synchronous generator is constructed based on the Bernoulli test to simulate the tripping event of the synchronous generator. To address the power loss caused by multiple wind turbines tripping in a wind farm, the percentage of power loss is modeled as a continuous random variable. Based on historical fault data, the probability distribution of the number of wind turbines tripping is fitted, and the number of wind turbines tripping is converted into a power loss ratio to determine the cumulative distribution function of the wind farm's fault ratio. The joint probability distribution of faults among multiple wind farms is constructed based on the Copula function, and the rank correlation coefficient is used to characterize the spatial correlation of faults among wind farms. The Bernoulli test is used to randomly simulate outage events of transmission lines. Each line is independently determined to be out of service or remain in normal operation according to a preset probability.

[0070] Optionally, the expression for the cumulative distribution function under normal operation is: In the formula, P This represents the probability of normal operation. Let t be the failure rate, and t be the time interval. The tripping probability function of a synchronous generator is: In the formula, P SG is the tripping probability, and MTBF is the mean time between failures, which is the reciprocal of the failure rate. The mean repair time for the synchronous generator; The cumulative distribution function of the wind farm fault ratio is: In the formula, Let be a random variable representing the number of wind turbines disconnected from the grid within the wind farm; The zero inflation probability parameter; r This is the shape parameter in a negative binomial distribution; Represents the gamma function. k For the summation index, n This represents the number of wind turbines that are disconnected from the grid within the wind farm.

[0071] Optionally, the expression for calculating the dynamic time-warped distance is: In the formula, Represents random failure scenarios m Middle node i With nodes j Distance metric between; It is a dynamic time adjustment algorithm; f m,i [ n ] indicates a random failure scenario m Next node i The corresponding frequency response time sequence; f m,j [ n ] indicates a random failure scenario m Next node j The corresponding frequency response time sequence, E For the edge set of the graph model; The expression for calculating edge weights is: In the formula, Indicates a scenario based on random failures m The constructed graph model m Middle node i , j Connected edges ( i , j The corresponding weights; For random failure scenarios m The kernel bandwidth corresponding to the distance metric; For random failure scenarios m The standard deviation corresponding to the distance metric; For random failure scenarios m The interquartile range corresponding to the distance metric; This corresponds to the number of edges within the edge set of the graph model.

[0072] Optionally, the optimization objective uses modularity Q as the effectiveness indicator, and the expression for the optimization objective is: In the formula, The edge cutting vector; For graph models m The degree of modularity after being cut; As an indicator function, it represents the graphical model. m After being cut ( i , j The existence of ); The optimal edge cutting vector is used to maximize the average modularity of the graph model after it has been cut.

[0073] Exemplary electronic devices Figure 14 This is the structure of an electronic device provided in an exemplary embodiment of the present invention. For example... Figure 14 As shown, the electronic device 140 includes one or more processors 141 and memory 142.

[0074] The processor 141 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0075] The memory 142 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 141 may execute the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above, and / or other desired functions. In one example, the electronic device may also include an input device 143 and an output device 144, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0076] In addition, the input device 143 may also include, for example, a keyboard, a mouse, etc.

[0077] The output device 144 can output various information to the outside. The output device 144 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0078] Of course, for the sake of simplicity, Figure 14 Only some of the components of this electronic device relevant to the present invention are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0079] Exemplary computer program products and computer-readable storage media In addition to the methods and apparatus described above, embodiments of the present invention may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of the present invention described in the "Exemplary Methods" section above.

[0080] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of the present invention. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0081] Furthermore, embodiments of the present invention may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the methods according to various embodiments of the present invention described in the "Exemplary Methods" section above.

[0082] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0083] The basic principles of the present invention have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in the present invention are merely examples and not limitations, and should not be considered as essential features of each embodiment of the present invention. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the present invention to the necessity of employing the aforementioned specific details.

[0084] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0085] The block diagrams of devices, systems, devices, and systems involved in this invention are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, systems, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0086] The methods and systems of the present invention may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of the present invention are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, the present invention may also be implemented as a program recorded on a recording medium, the program comprising machine-readable instructions for implementing the methods according to the present invention. Thus, the present invention also covers recording media storing programs for performing the methods according to the present invention.

[0087] It should also be noted that in the systems, apparatus, and methods of the present invention, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered equivalents of the present invention. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the invention. Therefore, the invention is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0088] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the invention to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A robust frequency partitioning method for power systems based on Monte Carlo random fault scenarios, characterized in that, include: Construct a set of random fault scenarios suitable for frequency response partitioning of large power grids; For the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, the dynamic time warping algorithm is used to calculate the difference distance between the frequency response curves of each bus in the dataset, and the dynamic time warping distance between each bus is obtained. The dynamic time warped distance is input into a Gaussian dynamic time warped kernel for transformation to obtain the edge weights between the busbars. A weighted graph model is constructed based on the edge weights, wherein the weighted graph model has the main line as the node and the edge weights as the edge; Define a topological partitioning variable with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. One of the topological partitioning variables uniquely determines a region partitioning strategy. Using the average modularity score of each weighted graph model under the random fault scenario as the optimization objective, the optimal topology partitioning variable is solved to obtain the optimal partitioning result.

2. The method according to claim 1, characterized in that, Construct a set of random fault scenarios suitable for frequency response partitioning of large power grids, including: Based on the cumulative distribution function of each generator set, a set of anticipated accidents containing several fault scenarios is constructed; A time-domain simulation of the power system is performed, and the fault events in the set of anticipated accidents are triggered sequentially to obtain the frequency response of each bus. Based on the frequency response of each bus, a frequency dynamic monitoring dataset FDi for random fault scenario m is constructed. The random fault scenario set is constructed based on the frequency dynamic monitoring dataset of each random scenario.

3. The method according to claim 2, characterized in that, The steps for constructing the cumulative distribution function of each generator unit are as follows: The outage capacity probability of each synchronous generator is modeled as a Markov process following an exponential distribution to obtain the cumulative distribution function of normal operation; the tripping probability function of the synchronous generator is constructed based on the Bernoulli test to simulate the tripping event of the synchronous generator. To address the power loss caused by multiple wind turbines tripping in a wind farm, the percentage of power loss is modeled as a continuous random variable. Based on historical fault data, the probability distribution of the number of wind turbines tripping is fitted, and the number of wind turbines tripping is converted into a power loss ratio to determine the cumulative distribution function of the wind farm's fault ratio. The joint probability distribution of faults among multiple wind farms is constructed based on the Copula function, and the rank correlation coefficient is used to characterize the spatial correlation of faults among wind farms. The Bernoulli test is used to randomly simulate outage events of transmission lines. Each line is independently determined to be out of service or remain in normal operation according to a preset probability.

4. The method according to claim 3, characterized in that, The expression for the cumulative distribution function during normal operation is: In the formula, P This represents the probability of normal operation. Let t be the failure rate, and t be the time interval. The tripping probability function of the synchronous generator is: In the formula, P SG is the tripping probability, and MTBF is the mean time between failures, which is the reciprocal of the failure rate. The mean repair time for the synchronous generator; The cumulative distribution function of the fault ratio of the wind farm is: In the formula, Let be a random variable representing the number of wind turbines disconnected from the grid within the wind farm; The zero inflation probability parameter; r This is the shape parameter in a negative binomial distribution; Represents the gamma function. k For the summation index, n This represents the number of wind turbines that are disconnected from the grid within the wind farm.

5. The method according to claim 1, characterized in that, The expression for calculating the dynamic time warp distance is: In the formula, Represents random failure scenarios m Middle node i With nodes j Distance metric between; It is a dynamic time adjustment algorithm; f m,i [ n ] indicates a random failure scenario m Next node i The corresponding frequency response time sequence; f m,j [ n ] indicates a random failure scenario m Next node j The corresponding frequency response time sequence, E For the edge set of the graph model; The expression for calculating the edge weight is: In the formula, Indicates a scenario based on random failures m The constructed graph model m Middle node i , j Connected edges ( i , j The corresponding weights; For random failure scenarios m The kernel bandwidth corresponding to the distance metric; For random failure scenarios m The standard deviation corresponding to the distance metric; For random failure scenarios m The interquartile range corresponding to the distance metric; This corresponds to the number of edges within the edge set of the graph model.

6. The method according to claim 5, characterized in that, The optimization objective uses modularity Q as the effectiveness index, and the expression for the optimization objective is: In the formula, The edge cutting vector; For graph models m The degree of modularity after being cut; As an indicator function, it represents the graphical model. m After being cut ( i , j The existence of ); The optimal edge cutting vector is used to maximize the average modularity of the graph model after it has been cut.

7. A robust frequency partitioning device for power systems based on Monte Carlo random fault scenarios, characterized in that, include: The first building module is used to build a set of random fault scenarios suitable for the frequency response partitioning of a large power grid; The calculation module is used to calculate the difference distance between the frequency response curves of each bus in the dataset for the frequency dynamic monitoring dataset under each random fault scenario in the random fault scenario set, and obtain the dynamic time warping distance between each bus. The conversion module is used to convert the dynamic time warp distance into a Gaussian dynamic time warp kernel to obtain the edge weights between the buses; The second construction module is used to construct a weighted graph model based on the edge weights, wherein the weighted graph model uses the bus as nodes and the edge weights as edges. A definition module is used to define a topological partitioning variable with the same dimension as the edge set of the weighted graph model. Each element of the topological partitioning variable indicates whether the corresponding edge has been removed. Each topological partitioning variable uniquely determines a region partitioning strategy. The solution module is used to solve for the optimal topology partitioning variable and obtain the optimal partitioning result by taking the average modularity score of each weighted graph model under the random fault scenario as the optimization objective.

8. The apparatus according to claim 7, characterized in that, The first building block includes: Based on the cumulative distribution function of each generator set, a set of anticipated accidents containing several fault scenarios is constructed; A time-domain simulation of the power system is performed, and the fault events in the set of anticipated accidents are triggered sequentially to obtain the frequency response of each bus. Based on the frequency response of each bus, a frequency dynamic monitoring dataset FDi for random fault scenario m is constructed. The random fault scenario set is constructed based on the frequency dynamic monitoring dataset of each random scenario.

9. The apparatus according to claim 8, characterized in that, The steps for constructing the cumulative distribution function of each generator unit are as follows: The outage capacity probability of each synchronous generator is modeled as a Markov process following an exponential distribution to obtain the cumulative distribution function of normal operation; the tripping probability function of the synchronous generator is constructed based on the Bernoulli test to simulate the tripping event of the synchronous generator. To address the power loss caused by multiple wind turbines tripping in a wind farm, the percentage of power loss is modeled as a continuous random variable. Based on historical fault data, the probability distribution of the number of wind turbines tripping is fitted, and the number of wind turbines tripping is converted into a power loss ratio to determine the cumulative distribution function of the wind farm's fault ratio. The joint probability distribution of faults among multiple wind farms is constructed based on the Copula function, and the rank correlation coefficient is used to characterize the spatial correlation of faults among wind farms. The Bernoulli test is used to randomly simulate outage events of transmission lines. Each line is independently determined to be out of service or remain in normal operation according to a preset probability.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for performing the method described in any one of claims 1-6.

11. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1-6.