Data-driven security and stability coupling scene recognition and physical interpretation method

Through the data-driven Gaussian mixture model and decision tree method, the security and stability coupling scenarios in the power grid are identified and understood, which solves the problem of misjudgment and missed judgment in the existing technology, achieves accurate identification and understanding of complex power grid scenarios, and improves Improve the decision-making ability of power grid dispatching.

CN118535885APending Publication Date: 2024-08-23NARI TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410685409.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively identify and understand the safety and stability coupling scenarios in the power grid, leading to misjudgments and missed judgments. In particular, there is a risk of mismatch between dominant state identification and instability form identification during the dynamic evolution of the power grid.

Method used

Adopting a data-driven approach, by collecting power grid operation data and safety and stability historical analysis results, using Gaussian mixture models to perform scene clustering, and physically interpreting the clustering results based on decision trees, output safety and stability coupling scene classification and physical explanation rules .

Benefits of technology

It realizes the automatic identification and understanding of complex power grid scenarios, accurately determines different types of safety and stability coupling issues, outputs practical and effective processing countermeasures, guides the power grid control center to handle exceptions, and improves the decision-making accuracy and safety and stability of power grid dispatching. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535885A
    Figure CN118535885A
Patent Text Reader

Abstract

The invention discloses a data-driven security and stability coupling scene identification and physical interpretation method, which relates to the technical field of power system automation and comprises the steps of collecting power grid operation data, screening data with security and stability coupling and selecting a data set according to different coupling types of security and stability. And performing scene clustering by adopting a Gaussian mixture model, and screening a power grid operation state quantity highly related to safety and stability according to whether the power grid operation state quantity is linearly separable or not. And performing physical interpretation on a clustering result of the Gaussian mixture model based on the decision tree, and outputting safe and stable coupling scene classification and physical interpretation thereof. According to the method, automatic identification and understanding of a power grid complex scene are realized, and different types of safety and stability coupling problems are accurately judged. And physical interpretation rules of different coupling scenes are output, so that power grid dispatching is facilitated to formulate practical and effective processing countermeasures, and a power grid control center can be effectively guided to carry out practical exception processing according to the coupling type and the physical mechanism relationship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power systems and automation thereof, and in particular to a data-driven safety and stability coupling scenario recognition and physical interpretation method. Background Art

[0002] With the large-scale grid connection of distributed renewable energy, the scale of DC long-distance power transmission continues to grow, conventional units are replaced by a large number of renewable energy units and DC systems, the grid form and operation characteristics have changed significantly, and the power electronics characteristics of the system have become prominent, which is mainly reflected in the serious decline in grid regulation capacity, insufficient grid anti-disturbance capacity, more complex grid stability form and increased risk of cascading failures. The system faces greater pressure for safe and stable operation. In addition, the proportion of new loads with dual source and load characteristics such as electric vehicles, energy storage equipment and integrated energy systems continues to rise, and new energy forms such as load aggregators, smart buildings and virtual power plants continue to emerge. A large number of power loads participate in interactive operation through different demand response methods, further exacerbating the difficulty of safe and stable dispatching and operation control. The traditional method of relying solely on physical modeling and analysis has been difficult to cope with the operation analysis requirements of multi-physical field coupling systems. Artificial intelligence has a low degree of dependence on specific mathematical models and is good at self-learning from data and transfer learning from the source domain, providing an effective solution to break through the above technical bottlenecks.

[0003] In the prior art, the dominant state and the dominant demarcation point of the dominant state at different moments in the dynamic evolution of the power grid are determined based on the static stability dominant mode identification criteria and the node voltage phasor trajectory. However, this method must first generate an equivalent two-node power grid parameter model based on the equivalent parameters of the entire network nodes. The equivalent of the power grid model may lose the information necessary for dominant mode identification, thereby leading to misjudgment and missed judgment. Alternatively, the dominant instability form combination criterion is used to obtain the dominant instability form identification result, but the dominant criterion of this method is set based on a non-power grid real-time method, which has the risk of mismatching with the power grid operating conditions. Summary of the invention

[0004] In view of the problems existing in the existing data-driven safety and stability coupled scene recognition and physical interpretation methods, the present invention is proposed.

[0005] Therefore, the problem to be solved by the present invention is how to mine safety and stability coupling scenarios based on the historical operation data of the power grid and its safety and stability analysis results.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In the first aspect, an embodiment of the present invention provides a data-driven safety and stability coupling scenario identification and physical interpretation method, which includes collecting power grid operation data, screening data with safety and stability coupling, and selecting data sets according to different safety and stability coupling types. A Gaussian mixture model is used to cluster the scenarios, and the power grid operation state quantities that are strongly related to safety and stability are screened based on whether they are linearly separable. The clustering results of the Gaussian mixture model are physically interpreted based on a decision tree, and a safety and stability coupling scenario classification and its physical interpretation are output.

[0008] As a preferred solution of the data-driven safety and stability coupling scenario identification and physical interpretation method described in the present invention, wherein: the power grid operation data is obtained including the historical power grid operation data and the safety and stability historical analysis results, the historical power grid operation data is denoted as S, including the active output, reactive output, and terminal voltage of the generator set, the active power, reactive power, and voltage of the load, and the active flow and reactive flow of the line; the safety and stability historical analysis results are η, including transient power angle stability analysis results, transient voltage stability analysis results, thermal stability assessment results, voltage safety assessment results, and frequency safety assessment results.

[0009] As a preferred scheme of the data-driven safety and stability coupling scenario identification and physical interpretation method described in the present invention, wherein: the safety and stability coupling types include an enumerated combination of transient power angle stability, transient voltage stability, thermal stability, voltage safety, and frequency safety. If there are at least two types of safety and stability problems at the same time, then the power grid has safety and stability coupling at the section moment corresponding to the operating mode at this time, and the operating data at this moment and its analysis results are divided into data sets of corresponding coupling types.

[0010] As a preferred solution of the data-driven safety and stability coupling scene identification and physical interpretation method of the present invention, the Gaussian mixture model is used to cluster scenes of the same type of safety and stability coupling, specifically: using the analysis results of different safety and stability as input, using Gaussian mixture models with different covariances, the number of clusters is n to m, and fitting the joint distribution of different safety and stability analysis results. The fitting result is,

[0011]

[0012] Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

[0013] As a preferred solution of the data-driven safety and stability coupling scenario identification and physical interpretation method of the present invention, the linear separability judgment basis is: according to the order of coupled safety and stability, the marginal distribution of different safety and stability evaluation results is obtained in sequence based on the safety and stability coupling clustering model. In order, take the i-th safety and stability evaluation result η i The marginal distribution of is Let the safety and stability evaluation result of the i-th category of the x-th scenario be η i The confidence interval for Renumber the scenarios in ascending order according to the lower limit of the confidence interval. If there are x-th and x+1-th scenarios, Then the safety-stability coupling scenario is linearly separable, otherwise it is linearly inseparable.

[0014] As a preferred solution of the data-driven safety and stability coupling scenario identification and physical interpretation method of the present invention, the power grid operation state quantity S j and safety stability assessment resultsη i The calculation formula of the correlation index is:

[0015]

[0016] Among them, cov(S j ,η i ) is the power grid operation state quantity S j and safety stability assessment resultsη i The covariance of D(S j ), D(η i ) are the power grid operation state quantities S j , Safety and stability evaluation resultsη i The variance of .

[0017] As a preferred solution of the data-driven safety and stability coupling scenario identification and physical interpretation method of the present invention, the physical interpretation of the clustering results of the Gaussian mixture model based on the decision tree is specifically: the state quantity with correlation index greater than x is used as the attribute set of the decision tree. The clustering results of the Gaussian mixture model are used as sample labels. If μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively. The information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a is ratio The calculation formula is:

[0018] Ent(D)=-∑ k=1 p k log2p k

[0019] IG(D,a)=Ent(D)-Ent(D,a)

[0020]

[0021] Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k Indicates the proportion of samples in the kth category. Each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that has no missed or misjudged judgments for a certain type of scene, then the rule corresponding to the path is the physical explanation of this type of scene.

[0022] In the second aspect, an embodiment of the present invention provides a data-driven safety and stability coupling scenario identification and physical interpretation system, which includes: a collection module for collecting power grid operation data and selecting data sets according to different safety and stability coupling types. A screening module for clustering scenarios according to a Gaussian mixture model and screening power grid operation state quantities that are strongly related to safety and stability. An interpretation module for physically interpreting the clustering results of the Gaussian mixture model and outputting a classification of safety and stability coupling scenarios and their physical interpretations.

[0023] As a preferred solution of the data-driven safety and stability coupled scenario identification and physical interpretation system described in the present invention, the collection module is specifically used to obtain the power grid operation data including the power grid historical operation data S and the safety and stability historical analysis results η.

[0024] As a preferred solution of the data-driven safety and stability coupling scene recognition and physical interpretation system of the present invention, the screening module is specifically used to cluster scenes of the same type of safety and stability coupling using a Gaussian mixture model, including: using different safety and stability analysis results as input, using Gaussian mixture models with different covariances, the number of clusters is n to m, and fitting the joint distribution of different safety and stability analysis results, the fitting result is:

[0025]

[0026] Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

[0027] As a preferred solution of the data-driven safety and stability coupling scene recognition and physical interpretation system of the present invention, the interpretation module is specifically used to physically interpret the clustering results of the Gaussian mixture model based on the decision tree, including taking the state quantity with correlation index greater than x as the attribute set of the decision tree; taking the Gaussian mixture model clustering result as the sample label, if a sample satisfies μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively; the information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a ratio The calculation formula is,

[0028] Ent(D)=-∑ k=1 p k log2p k

[0029] IG(D,a)=Ent(D)-Ent(D,a)

[0030]

[0031] Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k represents the proportion of samples in the kth category; each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that has no missed judgments or misjudgments for a certain type of scene, then the rule corresponding to the path is the physical explanation of this type of scene.

[0032] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, it implements any step of the above-mentioned data-driven security and stability coupling scenario recognition and physical interpretation method.

[0033] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned data-driven security and stability coupling scenario recognition and physical interpretation method is implemented.

[0034] The beneficial effect of the present invention is that the present invention realizes the automatic identification and understanding of complex power grid scenarios, and accurately judges different types of safety and stability coupling problems. Outputting physical interpretation rules for different coupling scenarios helps power grid dispatchers to formulate effective treatment countermeasures, and can effectively guide the power grid control center on how to perform practical abnormal processing based on the relationship between coupling types and physical mechanisms. It is possible to mine safety and stability coupling scenarios from the historical operation data of the power grid and its safety and stability analysis results, helping power grid control personnel to better grasp the safe and stable operation of new power systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0036] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0039] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0040] Example 1

[0041] Reference Figure 1 , which is the first embodiment of the present invention, and provides a data-driven safety and stability coupling scenario recognition and physical interpretation method, including:

[0042] S1: Collect grid operation data, screen data with safety and stability coupling, and select data sets based on different safety and stability coupling types.

[0043] The historical operation data of the power grid and the historical analysis results of safety and stability are obtained. The historical operation data of the power grid is recorded as S, including the active output, reactive output, and terminal voltage of the generator set, the active power, reactive power, and voltage of the load, the active power flow and reactive power flow of the line, etc.; the historical analysis results of safety and stability are recorded as η, including the transient power angle stability analysis results, transient voltage stability analysis results, thermal stability assessment results, voltage safety assessment results, etc.

[0044] Screen the historical operation data and analysis results of the power grid with safety and stability coupling, and record the data set as Ω=[Ω1,Ω2,…,Ω n ] are data sets of different coupling types of safety and stability. The safety and stability coupling types include the enumeration combination of transient power angle stability, transient voltage stability, thermal stability, voltage safety, and frequency safety. If there are at least two types of safety and stability problems at the same time, the power grid at the section moment corresponding to the operation mode at this time has the coupling of safety and stability of the above enumeration combination. The operation data at this moment and its analysis results are divided into data sets of corresponding coupling types.

[0045] S2: Use Gaussian mixture model to cluster scenarios and select grid operation status quantities that are strongly related to safety and stability based on whether they are linearly separable.

[0046] Taking the analysis results of different safety and stability as input, Gaussian mixture models based on different covariances such as diagonal, spherical, tied, and full are adopted, with the cluster numbers ranging from 2 to 10, to fit the joint distribution of different safety and stability analysis results.

[0047] By comparing the fitting quality of different covariance Gaussian models, we can select the covariance structure that best suits the current data set. Using different covariances can achieve better fitting results, and the data structure found is more consistent with the safety and stability coupling characteristics of complex power grids, making the clustering results more consistent with the actual power grid situation.

[0048] The fitting results are:

[0049]

[0050] Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

[0051] The Bayesian information criterion is used to evaluate the Gaussian mixture clustering model, and the one with the smallest Bayesian information criterion score is taken as the safety and stability coupled clustering model.

[0052] Specifically, the Bayesian Information Criterion (BIC) is a criterion for model selection and can be used to evaluate the pros and cons of different models. BIC not only considers the Likelihood of the model fitting data, but also comprehensively considers the impact of the model complexity on the results. The smaller the BIC criterion value, the better the balance and cost effect between Likelihood and complexity. The present invention generates multiple models through Gaussian mixture clustering. The BIC criterion can evaluate the clustering effect under different parameters, and selects the model with the smallest BIC, that is, the best fitting model under the premise of controlled complexity, to ensure better clustering results.

[0053] For linearly separable safety and stability coupling scenarios, a decision tree can be constructed to perform physical interpretation and scenario classification. The decision tree can find a complete decision path corresponding to the scenario recognition rules without misjudgment or missed judgment, thereby achieving accurate interpretation of the classification of such scenarios.

[0054] If the scene is not linearly separable, it will be difficult for the decision tree to give an accurate division and it will not be able to generate accurate scene recognition rules. Linear separability ensures that the decision tree method can maximize the explanation and classification effect and provide an accurate physical interpretation of the scene.

[0055] Further, the method for determining whether it is linearly separable is as follows:

[0056] According to the order of coupled safety stability, the marginal distribution of different safety stability evaluation results is obtained in turn based on the safety stability coupling clustering model;

[0057] In order, take the i-th type of safety and stability assessment result η i The marginal distribution of is Let the safety and stability evaluation result of the i-th category of the x-th scenario be η i The confidence interval for

[0058] Renumber the scenarios in order from the smallest to the largest lower limit of the confidence interval;

[0059] If there are x-th and x+1-th scenarios, Then the safety-stability coupling scenario is linearly separable, otherwise it is linearly inseparable.

[0060] Furthermore, the power grid operation state quantity S j and safety stability assessment resultsη i The correlation index is calculated as follows:

[0061]

[0062] Among them, cov(S j ,η i ) is the power grid operation state quantity S j and safety stability assessment resultsη i The covariance of D(S j ), D(η i ) are the power grid operation state quantities S j , Safety and stability evaluation resultsη i The variance of .

[0063] S3: Perform physical interpretation on the clustering results of the Gaussian mixture model based on the decision tree, and output the classification of safe and stable coupling scenarios and their physical interpretation.

[0064] The correlation index measures the degree of correlation between the state quantity and the safety and stability assessment results. The higher the correlation of the state quantity, the more the information it contains can reflect and explain the assessment results.

[0065] By taking highly correlated state quantities as attributes, the decision tree can learn clear scene recognition rules.

[0066] We initially selected 0.5 as the threshold to ensure that the correlation between the attribute and the target label is strong, and the state quantities with correlation index greater than 0.5 are used as the attribute set of the decision tree;

[0067] The Gaussian mixture model clustering result is used as the sample label. If μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively;

[0068] The information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a is ratio The calculation formula is as follows:

[0069] Ent(D)=-∑ k=1 p k log2p k

[0070] IG(D,a)=Ent(D)-Ent(D,a)

[0071]

[0072] Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k Indicates the proportion of samples in the kth category;

[0073] Each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that judges a certain type of scene without any omissions or misjudgments, then the rule corresponding to the path is the physical explanation of this type of scene.

[0074] Furthermore, the rule corresponding to the path is: if the operating state 1 is greater than the threshold value and the operating state 2 is less than the threshold value, then the scenario belongs to the kth type of coupling scenario.

[0075] In summary, the present invention realizes the automatic identification and understanding of complex power grid scenarios, and accurately determines different types of safety and stability coupling problems. Outputting physical interpretation rules for different coupling scenarios helps power grid dispatchers to formulate effective treatment countermeasures, and can effectively guide the power grid control center on how to perform practical exception handling based on the relationship between coupling types and physical mechanisms. It is possible to mine safety and stability coupling scenarios from the historical operation data of the power grid and its safety and stability analysis results, helping power grid control personnel to better grasp the safe and stable operation of new power systems.

[0076] Example 2

[0077] Reference Figure 1 Based on the first embodiment, this embodiment further provides a data-driven safety and stability coupling scene recognition and physical interpretation system, including:

[0078] The collection module is used to collect grid operation data and select data sets according to different coupling types of safety and stability;

[0079] The screening module clusters scenarios based on the Gaussian mixture model and screens the grid operation status quantities that are strongly related to safety and stability;

[0080] The interpretation module is used to physically interpret the clustering results of the Gaussian mixture model and output the classification of safe and stable coupling scenarios and their physical interpretations.

[0081] The collection module is specifically used to obtain the power grid operation data including the historical power grid operation data S and the safety and stability historical analysis results η. The historical power grid operation data S includes the active output, reactive output and terminal voltage of the generator set, the active power, reactive power and voltage of the load, and the active power flow and reactive power flow of the line; the safety and stability historical analysis results η include transient power angle stability analysis results, transient voltage stability analysis results, thermal stability assessment results, voltage safety assessment results and frequency safety assessment results.

[0082] The screening module is specifically used to take different safety and stability analysis results as input, adopt Gaussian mixture models with different covariances, and the cluster numbers are n to m respectively, to fit the joint distribution of different safety and stability analysis results, and the fitting results are:

[0083]

[0084] Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

[0085] The explanation module is specifically used to physically explain the clustering results of the Gaussian mixture model based on the decision tree, including:

[0086] The state quantity with correlation index greater than x is taken as the attribute set of the decision tree;

[0087] The Gaussian mixture model clustering result is used as the sample label. If a sample satisfies μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively;

[0088] The information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a is ratio The calculation formula is,

[0089] Ent(D)=-∑ k=1 p k log2p k

[0090] IG(D,a)=Ent(D)-Ent(D,a)

[0091]

[0092] Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k Indicates the proportion of samples in the kth category;

[0093] Each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that judges a certain type of scene without any omissions or misjudgments, then the rule corresponding to the path is the physical interpretation of this type of scene.

[0094] This embodiment also provides a computer device, which is suitable for data-driven security and stability coupling scenario identification and physical interpretation methods, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the data-driven security and stability coupling scenario identification and physical interpretation methods proposed in the above embodiments.

[0095] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0096] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for realizing data-driven safety and stability coupling scenario recognition and physical interpretation as proposed in the above embodiment is implemented.

[0097] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0098] Example 3

[0099] Based on the previous two embodiments, this embodiment provides a data-driven safety and stability coupling scenario identification and physical interpretation method. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0100] By collecting the operating data of the regional power grid in the past year, including load data, generator data, line flow data, etc., a total of 5,000 samples were collected. Among these samples, 500 samples have safety and stability coupling problems. The safety and stability coupling scenarios of these data are identified by the present invention and the prior art respectively. The method of the present invention adopts Gaussian mixture model clustering and decision tree interpretation. The prior art method directly judges by the preset safety index threshold, and compares the scene recognition accuracy of the two methods. The results are shown in Table 1:

[0101] Table 1 Comparison table of safety and stability coupling scenario identification

[0102] index The present invention Prior art Accuracy 95% 85% Recall 92% 81% Accuracy 93% 83% False Positive Rate 5% 15% False negative rate 8% 19% Response time 3ms 5ms Resource usage 35% 25%

[0103] From Table 1, it can be seen that the safety and stability coupled scene recognition method proposed in the present invention is superior to the prior art in terms of accuracy, recall rate, precision rate and other aspects, and the accuracy and penetration of scene recognition judgment are significantly improved.

[0104] Specifically, the present invention achieves an overall scene recognition accuracy of 95% through the Gaussian mixture model clustering and decision tree physical interpretation method, which is 10 percentage points higher than the 85% of the prior art.

[0105] The recall rate of the present invention is 92% and the precision rate is 93%, which are 11 and 10 percentage points higher than the existing technologies respectively, indicating that the recognition depth and breadth have been significantly improved. That is, the present invention has fewer missed judgments and fewer false judgments.

[0106] The false alarm rate of the present invention is 5%, and the missed alarm rate is 8%, which is significantly better than the 15% and 19% of the prior art, verifying that the recognition precision and network fault tolerance of the present invention are better. However, the response time is still shortened by 2ms, and the reaction speed is improved to a certain extent.

[0107] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A data-driven safety and stability coupling scenario recognition and physical interpretation method, characterized by: include, Collect grid operation data, screen data with safety and stability coupling, and select data sets based on different safety and stability coupling types; The Gaussian mixture model is used to cluster the scenarios, and the grid operation status quantities that are strongly related to safety and stability are selected based on whether they are linearly separable; Based on the decision tree, the clustering results of the Gaussian mixture model are physically interpreted, and the classification of safe and stable coupling scenarios and their physical interpretations are output.

2. The data-driven safety and stability coupling scenario identification and physical interpretation method according to claim 1, characterized in that: The power grid operation data is obtained, including the power grid historical operation data S and the safety and stability historical analysis results η; The power grid historical operation data S includes the active output, reactive output and terminal voltage of the generator set, the active power, reactive power and voltage of the load, and the active power flow and reactive power flow of the line; The safety and stability historical analysis result η includes a transient power angle stability analysis result, a transient voltage stability analysis result, a thermal stability assessment result, a voltage safety assessment result, and a frequency safety assessment result.

3. The data-driven safety and stability coupling scenario identification and physical interpretation method according to claim 2, characterized in that: The types of safety and stability coupling include an enumerated combination of transient power angle stability, transient voltage stability, thermal stability, voltage safety and frequency safety; If there are at least two types of safety and stability problems at the same time, there is safety and stability coupling in the power grid at the section moment corresponding to the operation mode at this time, and the operation data and analysis results at this moment are divided into data sets of corresponding coupling types.

4. The data-driven safety and stability coupling scenario identification and physical interpretation method according to claim 3, characterized in that: The process of clustering scenarios of the same type of safety and stability coupling using the Gaussian mixture model includes: Taking the analysis results of different safety and stability as input, the Gaussian mixture model with different covariances is adopted, and the cluster numbers are n~m respectively. The joint distribution of the analysis results of different safety and stability is fitted, and the fitting results are: Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

5. The data-driven safety and stability coupling scenario identification and physical interpretation method according to claim 4, characterized in that: The linear separability is determined based on: According to the order of safety stability with coupling, take the safety stability evaluation result η of the i-th category i The marginal distribution of is Let the safety and stability evaluation result of the i-th category of the x-th scenario be η i The confidence interval for Renumber the scenarios in order from the smallest to the largest lower limit of the confidence interval; If there are x-th and x+1-th scenarios, and they satisfy Then the safety-stability coupling scenario is linearly separable, otherwise it is linearly inseparable; The power grid operation state quantity S j and safety stability assessment resultsη i The calculation formula of the correlation index is: Among them, cov(S j ,η i ) is the power grid operation state quantity S j and safety stability assessment resultsη i The covariance of D(S j ), D(η i ) are the power grid operation state quantities S j , Safety and stability evaluation resultsη i The variance of .

6. The data-driven safety and stability coupling scenario recognition and physical interpretation method according to claim 5, characterized in that: The physical interpretation of the clustering results of the Gaussian mixture model based on the decision tree includes: The state quantity with correlation index greater than x is taken as the attribute set of the decision tree; The Gaussian mixture model clustering result is used as the sample label. If a sample satisfies μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively; The information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a is ratio The calculation formula is, Ent(D)=-Σ k=1 p k log2p k IG(D,a)=Ent(D)-Ent(D,a) Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k Indicates the proportion of samples in the kth category; Each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that judges a certain type of scene without any omissions or misjudgments, then the rule corresponding to the path is the physical interpretation of this type of scene.

7. A data-driven safety and stability coupled scene recognition and physical interpretation system, characterized by: include, The collection module is used to collect grid operation data and select data sets according to different coupling types of safety and stability; The screening module clusters scenarios based on the Gaussian mixture model and screens the grid operation status quantities that are strongly related to safety and stability; The interpretation module is used to physically interpret the clustering results of the Gaussian mixture model and output the classification of safe and stable coupling scenarios and their physical interpretations.

8. The data-driven safety and stability coupled scene recognition and physical interpretation system according to claim 7, characterized in that: The collection module is specifically used to obtain the power grid operation data including the historical power grid operation data S and the safety and stability historical analysis results η. The historical power grid operation data S includes the active output, reactive output and terminal voltage of the generator set, the active power, reactive power and voltage of the load, and the active power flow and reactive power flow of the line; the safety and stability historical analysis results η include transient power angle stability analysis results, transient voltage stability analysis results, thermal stability assessment results, voltage safety assessment results and frequency safety assessment results.

9. The data-driven safety and stability coupled scene recognition and physical interpretation system according to claim 8, characterized in that: The screening module is specifically used to take different safety and stability analysis results as input, adopt Gaussian mixture models with different covariances, and the cluster numbers are n to m respectively, to fit the joint distribution of different safety and stability analysis results, and the fitting results are: Among them, P(η|θ) is the joint probability distribution of different safety and stability margins, K is the number of clusters, α k represents the weight of the kth class, φ(η|θ k ) where φ represents the Gaussian distribution parameter, θ k represents the parameters of the k-th Gaussian distribution.

10. The data-driven safety and stability coupled scene recognition and physical interpretation system according to claim 9, characterized in that: The explanation module is specifically used to physically explain the clustering results of the Gaussian mixture model based on the decision tree, including: The state quantity with correlation index greater than x is taken as the attribute set of the decision tree; The Gaussian mixture model clustering result is used as the sample label. If a sample satisfies μ k -3σ k ≤η i ≤μ k +3σ k , then the sample label is k, where μ k and σ k are the mean and standard deviation of the kth class respectively; The information gain rate is used as the basis for selecting the optimal partition attribute to construct a decision tree, where the information growth rate IG of attribute a is ratio The calculation formula is, Ent(D)=-∑ k=1 p k log2p k IG(D,a)=Ent(D)-Ent(D,a) Among them, Ent is information entropy, IG is information entropy gain, IV is information value, IG is information gain rate; D represents sample, a represents attribute, v represents the value of attribute division, p k Indicates the proportion of samples in the kth category; Each complete decision path corresponds to a scene recognition rule. If there is a complete decision path that judges a certain type of scene without any omissions or misjudgments, then the rule corresponding to the path is the physical interpretation of this type of scene.