Extreme event-oriented power system typical fault scene set generation method

By calculating the line power transfer distribution factor and the bus load-generation weight, and combining the differences in fault time periods, the k-medoids algorithm is used to generate a set of typical fault scenarios. This solves the problem of imbalance in the generation of power system fault scenarios in existing technologies, and improves the efficiency of optimal power flow calculation and the accuracy of vulnerability assessment.

CN121688876AActive Publication Date: 2026-03-17HUNAN UNIV OF SCI & TECH
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-10
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing technologies, in generating power system fault scenarios under extreme events, neglect the impact of critical electrical lines, resulting in insufficient scenario representativeness, unbalanced clustering results, difficulty in uniformly allocating computational resources, and failure to fully utilize fault timing information.

Method used

By calculating the line power transfer distribution factor and the bus load-generation weight, a line sensitivity weight is constructed. Combining the differences in fault time periods, the k-medoids algorithm is used to generate a set of typical fault scenarios, ensuring that the coverage of each typical scenario is consistent and meets the capacity constraints.

Benefits of technology

It improves the representativeness of the optimal power flow unload results, reduces the computational burden, improves the accuracy and efficiency of vulnerability assessment, and ensures balanced coverage of typical scenarios and characterization of fault timing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121688876A_ABST
    Figure CN121688876A_ABST
Patent Text Reader

Abstract

The invention discloses an extreme event-oriented power system typical fault scene set generation method. The method comprises the steps of obtaining an original fault scene matrix, establishing a direct current power flow model based on network parameters of a to-be-evaluated power system, and calculating a line power transfer distribution factor; calculating a bus injection weight according to each bus load and the power generation scale; calculating a line load-power generation weighted sensitivity weight and normalizing the line load-power generation weighted sensitivity weight; constructing a single-line difference function which simultaneously represents whether the line has a fault difference or not and a fault occurrence time period difference, and weighting the single-line difference function according to the line load-power generation weighted sensitivity weight to obtain a scene distance; and clustering the original fault scene matrix based on the scene distance by using a specified clustering algorithm to obtain a typical fault scene set after scene reduction, and outputting the typical fault scene set. The invention aims to realize generation of a typical fault scene set considering electrical sensitivity, fault time period information and balanced coverage constraint.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system extreme disaster risk assessment technology, specifically relating to a method for generating a set of typical power system fault scenarios for extreme events. Background Technology

[0002] Under the disaster effects of extreme events such as typhoons, tsunamis, earthquakes and snowstorms, power systems may experience multi-line and multi-time-period associated faults. In order to obtain the system load loss, power supply reliability and vulnerability indicators, it is usually necessary to perform optimal power flow (OPF) calculations on a large number of random fault scenarios. As the number of scenarios reaches tens of thousands or even higher, solving for each scenario will lead to excessive computational burden. Existing scenario reduction methods mostly use clustering or sampling, but they usually have the following shortcomings: (1) Treating each line equally and ignoring the dominant role of "electrically critical lines" in power flow distribution, congestion and load shedding results, resulting in insufficient representativeness of the reduced scenarios for optimal power flow output; (2) The cluster capacity obtained by clustering varies greatly, resulting in unbalanced weights of typical fault scenarios, which in turn leads to deviations in expected load loss or tail risk assessment, and it is difficult to uniformly allocate batch optimal power flow calculation resources; (3) Insufficient use of information on "fault occurrence time", only describing whether there is a fault and ignoring the impact of fault timing on the system operating status. Summary of the Invention

[0003] The technical problem to be solved by this invention is to provide a method for generating a set of typical fault scenarios for power systems in response to the above-mentioned problems in the prior art. This invention aims to generate a set of typical fault scenarios that takes into account electrical sensitivity, fault time information and balance coverage constraints. This ensures that the typical fault scenarios can highlight the differences in faults of critical lines that are sensitive to optimal power flow output, while also ensuring that the number of original scenarios covered by each typical fault scenario is basically consistent, so as to be used for subsequent calculation of optimal power flow load loss and vulnerability assessment.

[0004] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A method for generating a typical fault scenario set for power systems oriented towards extreme events includes the following steps: S1: Obtaining the original fault scenario matrix The original fault scenario matrix Each row in the matrix corresponds to a fault scenario, and each column corresponds to a line. Matrix elements represent the fault occurrence time or non-fault status of the line in its corresponding fault scenario. S2: Establish a DC power flow model based on the network parameters of the power system to be evaluated and calculate the line power transfer distribution factor; calculate the bus injection weight based on the load and generation scale of each bus; S3: Calculate and normalize the line load-generation weighted sensitivity weight based on the line power transfer distribution factor and the bus injection weight; S4: Construct a single-line difference function that simultaneously represents the difference between whether a line is faulty and the difference in the fault occurrence time; obtain the scenario distance by weighting the single-line difference function according to the line load-generation weighted sensitivity weight; S5: Apply the original fault scenario matrix... Clustering is performed using a specified clustering algorithm based on scene distance to obtain a set of typical fault scenes after scene reduction, and then output.

[0005] Optionally, the calculation of the line power transfer distribution factor in step S2 includes: specifying a balanced bus for the DC power flow model consisting of lines and buses, and the remaining buses being unbalanced buses; applying a unit active power injection to the unbalanced buses and applying a unit active power extraction from the balanced buses, and calculating the line power transfer distribution factor according to the following formula: ; in, For the first Line 1 to the 1st The power transfer distribution factor of the busbar For the first Changes in active power flow along each line. For the first Changes in active power injection of each busbar.

[0006] Optionally, the functional expression for calculating the bus injection weight based on the load and generation capacity of each bus in step S2 is as follows: ; in, For the first Busbar weight injection; and The first and Busbar load of one busbar and They are respectively and The absolute value, and The first and The power generation capacity of the busbar and They are respectively and The absolute value, This indicates all buses in the power system to be evaluated. and Summing is performed, and the sum of the bus injection weights of all buses in the power system to be evaluated is 1.

[0007] Optionally, the normalized function expression for calculating the line load-generation weighted sensitivity weight based on the line power transfer distribution factor and the bus injection weight in step S3 is as follows: ; ; in, For the first The load-generation weighted sensitivity of each line. For the first Busbar weight injection; For the first Line 1 to the 1st The absolute value of the line power transfer distribution factor of each busbar. For the first The normalized load-generation weighted sensitivity weights for each line. For the first Load-generation weighted sensitivity of each line.

[0008] Optionally, the function expression of the single-line difference function constructed in step S4, which simultaneously characterizes the difference between whether a line is faulty and the difference between the time of fault occurrence, is as follows: ; in, For the scene With Scene On the line The single-line difference function value, For the scene Downline Fault identifiers for the corresponding time period For the scene Downline The fault flag for the corresponding time period is set to 0, indicating that no fault has occurred. Original fault scenario matrix The number of time periods in the time period.

[0009] Optionally, the expression for calculating the scene distance in step S4 is: ; in, Let be the scene distance from fault scene s to fault scene i. For the first The normalized load-generation weighted sensitivity weights for each line. For the scene With Scene On the line The single-line difference function value.

[0010] Optionally, step S5 includes: S5.1: Obtain the number of given typical failure scenarios and capacity Capacity in typical fault scenarios satisfy: ; in, Original fault scenario matrix The number of fault scenarios in; S5.2: Constructing a matrix of original fault scenarios The objective function for clustering based on scene distance; S5.3: Under the premise of ensuring that the coverage of each cluster is consistent, the k-medoids representative point selection algorithm is used to select points based on the objective function of the original fault scenario matrix. Clustering is performed to obtain a set of typical fault scenarios after scenario reduction and then output.

[0011] Optionally, in step S5.2, the function expression of the objective function is: ; in, for The set of representative points of each cluster. For the k-th cluster, Let be any fault scenario s in the k-th cluster and the representative point of the k-th cluster. Scene distance.

[0012] Optionally, step S5.3 includes: S5.3.1: Distance-based initialization is used, including: from the original fault scenario matrix A fault scenario is randomly selected as the first representative point. For any candidate scenario Calculate the nearest distance to the selected representative point set using the scene distance function. : ; in, Candidate scenarios To and representative point The scene distance is determined by the nearest distance to the set of selected representative points. square The next representative point is selected from the candidate scenes with a proportional probability, and this process is repeated until a result is obtained. The initial set of representative points is obtained by selecting 1 set of distinct representative points. ,in, ~ These are the initial representative point sets. K representative points in the middle, Original fault scenario matrix The number of fault scenarios in; S5.3.2: In the current fixed The set of representative points of each cluster Under the condition of each candidate scenario As a node with a supply of 1, each representative point Capacity as a typical fault scenario Nodes in the process, to select from candidate scenarios To the representative point Scene distance Assuming the cost of an edge, a minimum cost allocation model with capacity constraints is established. By solving this model, an allocation scheme that satisfies the capacity constraints and minimizes the total cost is obtained. ; The decision variables used in the minimum cost allocation model with capacity constraints are: ; in, Candidate scenarios Downline Fault identification within the corresponding time period; the objective function of the minimum cost allocation model with capacity constraints is expressed as follows: ; in, For the candidate scene set, From scene s to representative point The scene distance; the functional expression of the constraint condition used in the minimum cost allocation model with capacity constraints is: ; ; ; S5.3.3: Update the representative points for each cluster: ; in," "For update operations, Let be the scene distance from fault scene s to fault scene j; S5.3.4: Determine whether the objective function has converged or the representative point no longer changes. If not, jump to step S5.3.2 and continue iterating; otherwise, convert the final set of representative points obtained from the iteration. corresponding A representative fault scenario is output as the typical fault scenario set.

[0013] Optionally, in step S5.3.4, the representative point set obtained from the final iteration is... corresponding When a representative fault scenario is output as the obtained typical fault scenario set, the function expression of the obtained typical fault scenario set is: ; in, For the obtained typical fault scenario set, This indicates the origin of the original fault scenario matrix. Extracting from the middle The set of representative points of each cluster. Original fault scenario matrix Number of time periods The number of typical failure scenarios. This refers to the number of lines.

[0014] Optionally, in step S5.3.4, the representative point set obtained from the final iteration is... When outputting the corresponding K representative fault scenarios as the typical fault scenario set, it also includes outputting a binary backoff matrix and an allocation scheme that satisfies the capacity constraint and minimizes the total cost. The functional expression for the binary devolution matrix is: ; in, For the first The first typical fault scenario The binary decommissioning status of the line constitutes the first line in the binary decommissioning matrix. OK Column elements; Indicates the line In the Under typical fault scenarios, it is in operation. Indicates the line In the Under typical fault scenarios, it is in a state of being returned to service; Original fault scenario matrix The Middle Line 1 The elements of the column represent the original fault scenario of the corresponding line. The fault occurrence period identifier; a value of 0 indicates no fault, and a value of 1 indicates a fault occurring during a specified period. This indicates that a fault occurred within the corresponding time period.

[0015] Compared with existing technologies, the present invention can achieve the following beneficial effects: (1) The present invention constructs line sensitivity weights by using the line power transfer distribution factor (PTDF) and load-generation scale weights, making typical scenarios closer to power flow redistribution and congestion mechanisms, thereby improving the representativeness of the optimal power flow load loss results; (2) The present invention ensures that the coverage of each typical scenario is basically consistent through capacity constraints, realizing equal weighted statistics and balanced calculation resource allocation, and reducing reduction deviations; (3) The present invention can characterize the impact of fault timing on the operational feasible region under extreme events by introducing differences in fault occurrence time periods; (4) The present invention significantly reduces the number of optimal power flow solutions while maintaining evaluation accuracy, thereby improving the efficiency of vulnerability assessment. Therefore, the present invention can generate a set of typical fault scenarios that takes into account electrical sensitivity, fault time period information and balanced coverage constraints, enabling typical fault scenarios to highlight the differences in critical line faults that are sensitive to optimal power flow output, while ensuring that the number of original scenarios covered by each typical fault scenario is basically consistent, thus being used for subsequent optimal power flow load loss calculation and vulnerability assessment. Attached Figure Description

[0016] Figure 1 This is a schematic diagram of the basic process of the method in an embodiment of the present invention. Detailed Implementation

[0017] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings in the embodiments of the present invention.

[0018] like Figure 1 As shown, this embodiment provides a method for generating a typical fault scenario set of a power system oriented towards extreme events, including the following steps: S1: Obtain the original fault scenario matrix The original fault scenario matrix Each row in the matrix corresponds to a fault scenario, and each column corresponds to a line. Matrix elements represent the fault occurrence time or non-fault status of the line in its corresponding fault scenario. S2: Establish a DC power flow model based on the network parameters of the power system to be evaluated and calculate the line power transfer distribution factor; calculate the bus injection weight based on the load and generation scale of each bus; S3: Calculate and normalize the line load-generation weighted sensitivity weight based on the line power transfer distribution factor and the bus injection weight; S4: Construct a single-line difference function that simultaneously represents the difference between whether a line is faulty and the difference in the fault occurrence time; obtain the scenario distance by weighting the single-line difference function according to the line load-generation weighted sensitivity weight; S5: Apply the original fault scenario matrix... Clustering is performed using a specified clustering algorithm based on scene distance to obtain a set of typical fault scenes after scene reduction, and then output.

[0019] The original fault scenario matrix obtained in step S1 It can be represented as: ; in, For the number of scenes, The number of lines; where any element For the scene Downline The fault identifier for the corresponding time period is set as follows: a value of 0 indicates no fault has occurred, and a value of 1 indicates a fault has occurred. Original fault scenario matrix The number of time periods in the time period .

[0020] Step S2, calculating the line power transfer distribution factor, includes: specifying a slack bus for the DC power flow model consisting of lines and buses, with the remaining buses being unbalanced buses; for the DC power flow model consisting of lines and buses, constructing the bus admittance matrix and the branch-bus correlation matrix under the DC power flow approximation based on the power system network parameters (buses, generators, branches). Since this is existing technology, its implementation details will not be elaborated here. A unit active power injection is applied to the unbalanced bus and a unit active power extraction is applied to the slack bus, and the line power transfer distribution factor is calculated according to the following formula: ; in, For the first Line 1 to the 1st The power transfer distribution factor of the busbar For the first Changes in active power flow along each line. For the first The change in active power injection for each bus. As an optional implementation, a 1MW disturbance is injected into each bus and a 1MW disturbance is extracted from the balancing bus, and then the line power transfer distribution factor is calculated. For branch index, For the bus index.

[0021] The functional expression for calculating the bus injection weight based on the load and power generation capacity of each bus in step S2 is as follows: ; in, For the first Busbar weight injection; and The first and The bus load of a busbar (multiple units on the same busbar can be summed). and They are respectively and The absolute value, and The first and The power generation capacity of a single busbar (multiple units on the same busbar can be summed). and They are respectively and The absolute value, This indicates all buses in the power system to be evaluated. and Summing, and the sum of the bus injection weights of all buses in the power system to be evaluated is 1, that is: .

[0022] In step S3, the function expression for calculating and normalizing the line load-generation weighted sensitivity weight based on the line power transfer distribution factor and the bus injection weight is as follows: ; ; in, For the first The load-generation weighted sensitivity of each line. For the first Busbar weight injection; For the first Line 1 to the 1st The absolute value of the line power transfer distribution factor of each busbar. For the first The normalized load-generation weighted sensitivity weights for each line. For the first Load-generation weighted sensitivity of each line.

[0023] The functional expression of the single-line difference function constructed in step S4, which simultaneously characterizes the difference between whether a line is faulty and the difference between the time of fault occurrence, is as follows: ; in, For the scene With Scene On the line The single-line difference function value, For the scene Downline Fault identifiers for the corresponding time period For the scene Downline The fault flag for the corresponding time period is set to 0, indicating that no fault has occurred. Original fault scenario matrix The number of time periods in the time period.

[0024] The function expression for calculating the scene distance in step S4 is: ; in, Let be the scene distance from fault scene s to fault scene i. For the first The normalized load-generation weighted sensitivity weights for each line. For the scene With Scene On the line The single-line difference function value.

[0025] Step S5 is used to perform representative point selection (equalized coverage of k-medoids) under capacity constraints. In this embodiment, step S5 includes: S5.1: Obtain the number of given typical failure scenarios and capacity Capacity in typical fault scenarios satisfy: ; in, Original fault scenario matrix The number of fault scenarios in; S5.2: Constructing a matrix of original fault scenarios The objective function for clustering based on scene distance; S5.3: Under the premise of ensuring that the coverage of each cluster is consistent, the k-medoids representative point selection algorithm is used to select points based on the objective function of the original fault scenario matrix. Clustering is performed to obtain a set of typical fault scenarios after scenario reduction and then output.

[0026] In step S5.2, the function expression of the objective function is: ; in, for The set of representative points (medoids) of each cluster. For the k-th cluster, Let be any fault scenario s in the k-th cluster and the representative point of the k-th cluster. Scene distance.

[0027] As an optional implementation, step S5.3 includes: (1) initialization: using distance-distributed initialization or multiple random restarts; (2) allocation: in a fixed Below, to minimize With the objective of receiving cap samples per representative, a minimum-cost allocation model with capacity constraints is constructed to solve for the allocation that satisfies the capacity constraints and minimizes the total cost. (3) Update: For each cluster (3) Update the representative point; (4) Iterate until the objective function converges or the representative point no longer changes. Specifically, step S5.3 includes: S5.3.1: Distance-based initialization is used, including: from the original fault scenario matrix A fault scenario is randomly selected as the first representative point. For any candidate scenario Calculate the nearest distance to the selected representative point set using the scene distance function. : ; in, Candidate scenarios To and representative point The scene distance is determined by the nearest distance to the set of selected representative points. square The next representative point is selected from the candidate scenes with a proportional probability, and this process is repeated until a result is obtained. The initial set of representative points is obtained by selecting 1 set of distinct representative points. ,in, ~ These are the initial representative point sets. K representative points in the middle, Original fault scenario matrix The number of fault scenarios in; S5.3.2: In the current fixed The set of representative points of each cluster Under the condition of each candidate scenario As a node with a supply of 1, each representative point Capacity as a typical fault scenario Nodes in the process, to select from candidate scenarios To the representative point Scene distance Assuming the cost of an edge, a minimum cost allocation model with capacity constraints is established. By solving this model, an allocation scheme that satisfies the capacity constraints and minimizes the total cost is obtained. ; The decision variables used in the minimum cost allocation model with capacity constraints are: ; in, Candidate scenarios Downline Fault identification within the corresponding time period; the objective function of the minimum cost allocation model with capacity constraints is expressed as follows: ; in, For the candidate scene set, From scene s to representative point The scene distance; the functional expression of the constraint condition used in the minimum cost allocation model with capacity constraints is: ; ; ; The method for solving the minimum cost allocation model with capacity constraints is a well-known existing method that can be implemented using commercial solvers, so the details of its solution will not be described here. S5.3.3: Update the representative points for each cluster: ; in," "For update operations, Let be the scene distance from fault scene s to fault scene j; S5.3.4: Determine whether the objective function has converged or the representative point no longer changes. If not, jump to step S5.3.2 and continue iterating; otherwise, convert the final set of representative points obtained from the iteration. The corresponding K representative fault scenarios are output as the typical fault scenario set.

[0028] In step S5.3.4, the final set of representative points obtained from the iteration is... When the corresponding K representative fault scenarios are output as the obtained typical fault scenario set, the function expression of the obtained typical fault scenario set is: ; in, For the obtained typical fault scenario set, This indicates the origin of the original fault scenario matrix. Extracting from the middle The set of representative points of each cluster. Original fault scenario matrix Number of time periods The number of typical failure scenarios. This refers to the number of lines.

[0029] In step S5.3.4, the final set of representative points obtained from the iteration is... When outputting the corresponding K representative fault scenarios as the typical fault scenario set, it also includes outputting a binary backoff matrix and an allocation scheme that satisfies the capacity constraint and minimizes the total cost. , This represents the mapping from the original fault scenario to a typical fault scenario, where the functional expression of the binary regression matrix is: ; in, For the first The first typical fault scenario The binary decommissioning status of the line constitutes the first line in the binary decommissioning matrix. OK Column elements; Indicates the line In the Under typical fault scenarios, it is in operation. Indicates the line In the Under typical fault scenarios, it is in a state of being returned to service; Original fault scenario matrix The Middle Line 1 The elements of the column represent the lines under the corresponding original fault scenarios. The fault occurrence period identifier; a value of 0 indicates no fault, and a value of 1 indicates a fault occurring during a specified period. This indicates that a fault occurred within the corresponding time period.

[0030] To verify the method for generating typical power system fault scenario sets for extreme events in this embodiment, the IEEE 39-bus system is used as an example: Number of lines Number of scenes Original fault scenario matrix Number of time periods Select the number of given typical failure scenarios. Therefore, the capacity cap = 125 for a given typical fault scenario. Following steps S1–S5, the original fault scenario matrix is ​​finally processed. Clustering is performed using a specified clustering algorithm based on scene distance to obtain a set of typical fault scenes after scene reduction, and then output.

[0031] As a comparison with the method in this embodiment, the comparison method used, except that the line weights are taken as uniform weights... Except for the above, all other conditions are completely consistent with the method in this embodiment: similarly , , , , Similarly, k-medoids with capacity constraints are used to generate typical fault sets and mapping relationships.

[0032] To verify the representativeness of the load shedding statistics for typical scenarios, the DC-OPF load shedding model was used to calculate the minimum load shedding amount for each scenario. The statistics of all original scenes are used as a benchmark. Under the condition of balanced coverage, each typical scene has the same weight. Therefore, the statistical error between the mean and quantiles of the load shedding in the typical set can be defined as: ; ; in, The relative error index is the average value. This is the estimated average value of the system performance index calculated based on a typical fault set. This represents the true average value of the system performance metrics calculated based on the full fault set. The relative error index is the 95th percentile value. This represents the 95th percentile value of the system performance index calculated based on a typical fault set. This represents the 95th percentile value of the system performance index calculated based on the full fault set. By all Calculated for each scenario The results were obtained through equally weighted statistics from a set of typical scenarios (80 representative scenarios). Comparison of statistical errors in optimal power flow load shedding (also...). Each cluster covers 125 (units), to the whole Using the original scene's DC-OPF results as a baseline, we obtained: Baseline Mean: benchmark .

[0033] In this embodiment, the statistical error between the mean and quantile of the load shedding in the typical set is: ; ; In the comparison method, the statistical error between the mean and quantile of the load shedding in the typical set is: ; ; The comparison shows that, in the same typical scenarios, the number of Under the same balanced coverage constraint, compared with the unweighted comparison method, the method in this embodiment can reduce the approximation error of the optimal power flow load statistics (mean and P95), thereby improving the reliability and engineering applicability of subsequent vulnerability assessment.

[0034] In summary, the method for generating a weighted typical fault scenario set for power systems oriented towards extreme events in this embodiment first obtains an original fault scenario matrix containing the time periods of line fault occurrence; it then constructs a DC power flow model based on power system network parameters and calculates the branch power transfer distribution factor (PTDF); it determines the injection weights based on bus load and generation scale, thereby obtaining the line load-generation weighted sensitivity weights; under these weights, it constructs a weighted scenario distance that simultaneously represents the differences in the line fault set and the differences in fault time periods; and, under the capacity constraint that each typical scenario covers a basically consistent number of original scenarios, it uses a k-medoids representative point selection algorithm with capacity constraints to generate a typical fault scenario set, and outputs the equal weights of the typical scenarios and the mapping relationship between the original scenarios. This embodiment's method can enhance the characterization of fault modes of critical electrical lines while ensuring the balanced statistical representativeness of typical scenarios, significantly improving the efficiency and accuracy of subsequent optimal power flow calculations and vulnerability analysis.

[0035] Those skilled in the art will understand that the technical solutions provided by this invention may take the form of a method, system, or computer program product. Therefore, this invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this invention may take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce an implementation of the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0036] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for generating a typical fault scenario set of a power system facing extreme events, characterized by, The method comprises the following steps: S1: obtaining an original fault scenario matrix , wherein each row of the original fault scenario matrix corresponds to a fault scenario, each column corresponds to a line, and a matrix element represents a fault occurrence period of a line corresponding to a column under a corresponding fault scenario or an un-fault identification; S2: establishing a direct current flow model based on network parameters of a power system to be evaluated and calculating a line power transfer distribution factor; calculating bus injection weights according to bus loads and power generation scales; S3: calculating line load-power generation weighted sensitivity weights according to the line power transfer distribution factor and the bus injection weights and normalizing the line load-power generation weighted sensitivity weights. S4: constructing a single-line difference function representing both line fault difference and fault occurrence time difference, weighting the single-line difference function by the line load-generation weighted sensitivity weight to obtain a scenario distance; S5: obtaining a reduced typical fault scenario set by clustering the original fault scenario matrix based on the scenario distance using a specified clustering algorithm and outputting the reduced typical fault scenario set. Based on the scenario distance, a specified clustering algorithm is used for clustering to obtain a reduced typical fault scenario set and output.

2. The method of claim 1, wherein, The line power transfer distribution factor calculated in step S2 includes: for the DC power flow model composed of lines and buses, specifying the balanced buses and the rest of the buses as unbalanced buses; applying a unit active power injection to the unbalanced buses and a unit active power extraction from the balanced buses, and calculating the line power transfer distribution factor according to the following formula: ; wherein, is the th line power transfer distribution factor of the th line to the th bus, is the active power flow variation of the th line, is the active power injection variation of the th bus; the function expression of the bus injection weight calculated according to the load and the power generation scale of each bus in step S2 is: ; wherein, is the bus injection weight of the bus in the i-th bus, is the bus load of the bus in the i-th bus, is the generation scale of the bus in the i-th bus, is the absolute value of is the absolute value of is the generation scale of the bus in the i-th bus, is the absolute value of is the absolute value of is the absolute value of represents the sum of and the sum of bus injection weights of all buses in the power system to be evaluated is 1.​​​​​​​​​​ 3. The method of claim 1, wherein, The function expression of the line load-generation weighted sensitivity weight calculated according to the line power transfer distribution factor and the bus injection weight in step S3 is normalized as: ; ; in, For the first The load-generation weighted sensitivity of each line. For the first Busbar weight injection; For the first Line 1 to the 1st The absolute value of the line power transfer distribution factor of each busbar. For the first The normalized load-generation weighted sensitivity weights for each line. For the first Load-generation weighted sensitivity of each line.

4. The method of claim 1, wherein, The function expression of the single-line difference function constructed in step S4 simultaneously representing whether the line is faulty and the difference in the fault occurrence period is: ; wherein, is a scenario with a scenario on-line route single-line route difference function value, is a scenario off-line route a fault identification in a corresponding time period, is a scenario off-line route a fault identification in a corresponding time period, the fault identification is valued as 0 indicating no fault occurrence, is a time period number in the original fault scenario matrix .

5. The method of claim 1, wherein, The function expression of the scene distance calculated in step S4 is: ; wherein, is a scenario distance from fault scenario s to fault scenario i, is the normalized load-generation weighted sensitivity weight for the i-th line, is the scenario distance from fault scenario s to fault scenario i, is the scenario distance from fault scenario s to fault scenario i, is the single-line difference function value on line i, is the single-line difference function value on line i.

6. The method of claim 1, wherein, Step S5 includes: S5.1 : Obtain the number of given typical failure scenarios and capacities of the typical failure scenarios satisfies: ; wherein, is the number of fault scenarios in the original fault scenario matrix is the number of fault scenarios in the original fault scenario matrix S5.2: Constructing the original fault scenario matrix Objective function for clustering based on scenario distance; S5.3: Under the premise of constraining the consistent number of each cluster coverage, the k-medoids representative point selection algorithm is adopted to select the typical fault scene set based on the objective function of the original fault scene matrix The clustering is performed to obtain a typical fault scene set after scenario reduction and output.

7. The method for generating a set of typical failure scenarios of a power system for extreme events according to claim 6, characterized in that, In step S5.2, the function expression of the objective function is: ; in, for The set of representative points of each cluster. For the k-th cluster, Let be any fault scenario s in the k-th cluster and the representative point of the k-th cluster. Scene distance.

8. The method of claim 6, wherein the method further comprises: Step S5.3 includes: S5.3.1: Adopting distance dispersion initialization, including: randomly selecting a fault scenario from the original fault scenario matrix as the first representative point , for any candidate scenario , calculating its nearest distance to the selected representative point set by using the scenario distance function : ; wherein, is the candidate scenario to the distance of the candidate scenario to the selected representative point set is the distance of the candidate scenario to the selected representative point set is the square of the distance of the candidate scenario to the selected representative point set is the probability of the candidate scenario proportional to the square of the distance of the candidate scenario to the selected representative point set is the initial representative point set wherein, is the initial representative point set is the initial representative point set is the initial representative point set is the number of fault scenarios in the original fault scenario matrix is the number of fault scenarios in the original fault scenario matrix S5.3.2: In the current fixed The set of representative points of each cluster Under the condition of each scenario As a node with a supply of 1, each representative point Capacity as a typical fault scenario Nodes in the process, to select from candidate scenarios To the representative point Scene distance The cost of each edge is used to establish a minimum cost allocation model with capacity constraints. By solving the minimum cost allocation model with capacity constraints, an allocation scheme that satisfies the capacity constraints and minimizes the total cost is obtained. ; The decision variable used by the minimum cost allocation model with capacity constraints is: ; wherein, for candidate scenarios lower line failure identification under a corresponding time period; the function expression of the objective function adopted by the minimum cost allocation model with the band capacity constraint is: ; wherein, is a candidate set of scenarios, is a scenario distance from scenario s to representative point The function expression of the constraint condition adopted by the minimum cost allocation model with capacity constraint is: ; ; ; S5.3.3: Update the representative points of the clustering clusters respectively: ; wherein, is an update operation, is a scenario distance from failure scenario s to failure scenario j; S5.3.4: judge whether the convergence of the objective function or the representative points no longer change is true, if not true, jump to step S5.3.2 to continue iteration; otherwise, output the set of representative points obtained by final iteration as the typical fault scene set corresponding representative fault scenarios as the obtained typical fault scene set.

9. The method for generating a set of typical failure scenarios of a power system for extreme events according to claim 8, characterized in that, The representative point set obtained in the final iteration in step S5.3.4 Corresponding The function expression of the obtained typical fault scenario set is: ; wherein, is a set of typical fault scenarios, represents a set of representative points of clusters of typical fault scenarios, is a set of typical fault scenarios, is a number of time periods of the original fault scenario matrix is a number of typical fault scenarios, is a number of lines.

10. The method of claim 8, wherein, The representative point set obtained in the final iteration in step S5.3.4 Corresponding The binary backhaul matrix and the allocation scheme satisfying the capacity constraint and having the minimum total cost are also output when the corresponding The function expression of the binary backhaul matrix is: ; in, For the first The first typical fault scenario The binary decommissioning status of the line constitutes the first line in the binary decommissioning matrix. OK Column elements; Indicates the line In the Under typical fault scenarios, it is in operation. Indicates the line In the Under typical fault scenarios, it is in a state of being returned to service; Original fault scenario matrix The Middle Line number The elements of the column represent the lines under the corresponding original fault scenarios. The fault occurrence period identifier; a value of 0 indicates no fault, and a value of 1 indicates a fault occurring during a specified period. This indicates that a fault occurred within the corresponding time period.

Citation Information

Patent Citations

  • Feature recognition based quick video retrieval method

    CN103049459A

  • Comprehensive evaluation method on safety of grid structure based on entropy weight method

    CN103107535A

  • Electric power system partition standby configuration method based on spectral clustering

    CN112507601A

  • Power grid reliability evaluation method based on fine-grained data driving

    CN114298495A

  • Power distribution network typical fault scene prevention method, device, equipment and medium

    CN118970948A