Power grid transient stability prediction method and system based on cost-sensitive support vector machine
In the power grid transient stability prediction, the cost-sensitive support vector machine uses the maximum information coefficient algorithm to screen the characteristic data and adjust the weights, which solves the problems of large calculation amount and low prediction accuracy in the existing technology, and achieves a high-precision transient stable state. Online assessment.
Patent Information
- Application Number
- CN202210690172.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-17
AI Technical Summary
Existing transient stability assessment methods are computationally intensive, time-consuming, and difficult to meet online assessment requirements. The prediction accuracy of traditional machine learning is not high under imbalanced data sets, especially in binary classification problems with different costs.
A power grid transient stability prediction method based on cost-sensitive support vector machines is adopted. By obtaining sample data sets, training cost-sensitive support vector machines, using the maximum information coefficient algorithm to screen feature data, calculating transient stability evaluation indicators, and conducting experiments based on different categories of costs. Weight adjustment reduces false predictions and improves prediction accuracy.
It achieves high-precision prediction of the transient stable state of the power system, minimizes the number of false predictions, is suitable for online evaluation, and improves the classification accuracy of unbalanced data sets.
Smart Images

Figure CN114997063B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power system analysis, and in particular to a method and system for predicting transient stability of a power grid based on a cost-sensitive support vector machine. Background Art
[0002] Common transient stability assessment methods include time-domain simulation based on large-scale simulation calculations and direct methods based on Lyapunov stability theory. However, these methods have the problems of large amount of calculation, long time consumption, and can only be used for offline calculations, which makes it difficult to meet the requirements of online transient stability assessment. In recent years, a large number of machine learning algorithms have been applied to transient stability problems and have achieved good results.
[0003] Transient stability assessment can be viewed as a data classification problem. Previous machine learning generally assumes that the number of samples of each category is balanced, but in reality, most of the data sets are unbalanced. Therefore, this assumption will result in low prediction accuracy for the minority class. In a binary classification problem, when the number of samples of the two categories is not equal, there will be an imbalanced data set. Traditional machine learning mainly considers that the accuracy of the two categories is equally important, that is, the cost is equal. Therefore, in a binary classification problem with different costs, traditional machine learning cannot make accurate judgments.
[0004] Based on the above problems, a new transient stability method is urgently needed to improve the prediction accuracy. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for predicting transient stability of a power grid based on a cost-sensitive support vector machine, which can improve the prediction accuracy of the transient stability state of the power system.
[0006] To achieve the above object, the present invention provides the following solutions:
[0007] A method for predicting transient stability of power grid based on cost-sensitive support vector machine, comprising:
[0008] Acquire a sample data set; the sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data; the label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable;
[0009] According to the sample data set, a cost-sensitive support vector machine is trained to obtain a transient stability prediction model;
[0010] Based on the transient stability prediction model, the transient stability state of the power system at a corresponding moment is determined according to the real-time operation data of the power system.
[0011] Optionally, each set of sample operation data includes a plurality of sample feature data; the step of obtaining the sample data set specifically includes:
[0012] By performing transient stability simulation of the power system with preset faults, multiple groups of simulation data are obtained; each group of simulation data includes multiple simulation feature data;
[0013] Acquire multiple sets of historical operation data of the power system; each set of historical operation data includes multiple historical characteristic data;
[0014] Determine multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample characteristic data;
[0015] For each group of sample operation data, the transient stable state is annotated according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data.
[0016] Optionally, determining multiple groups of sample operation data according to each group of simulation data and each group of historical operation data specifically includes:
[0017] The maximum information coefficient MIC algorithm is used to screen out simulation feature data whose correlation with the transient stability index of the power system is greater than a threshold from each group of simulation data to obtain a first sample data set;
[0018] The maximum information coefficient MIC algorithm is used to select historical characteristic data with a correlation greater than a threshold with the transient stability index of the power system from each set of historical operation data to obtain a second sample data set;
[0019] A plurality of groups of sample operation data are determined according to the first sample data set and the second sample data set.
[0020] Optionally, the power system includes a plurality of generators; part or all of the sample characteristic data in each set of sample operation data is the power angle value of each generator;
[0021] The labeling of the transient stable state according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data specifically includes:
[0022] Calculating the transient stability evaluation index of the sample operation data according to the power angle value of each generator;
[0023] According to the transient stability evaluation index, label information of the sample operation data is determined.
[0024] Optionally, calculating the transient stability evaluation index of the sample operation data according to the power angle value of each generator specifically includes:
[0025] According to the power angle value of each generator, calculate the power angle difference between any two generators;
[0026] According to the maximum value of the power angle difference, a transient stability evaluation index of the sample operation data is calculated.
[0027] Optionally, the following formula is used to calculate the transient stability evaluation index:
[0028]
[0029] Among them, ω TSI is the transient stability evaluation index, Δδ max is the maximum value of the power angle difference.
[0030] Optionally, determining the label information of the sample operation data according to the transient stability evaluation index specifically includes:
[0031] If the transient stability evaluation index is a positive number, the sample operation data is transiently stable, and the corresponding label information is 1;
[0032] If the transient stability evaluation index is a negative number or 0, the sample operation data is transiently unstable, and the corresponding label information is 0.
[0033] To achieve the above object, the present invention also provides the following solution:
[0034] A power grid transient stability prediction system based on cost-sensitive support vector machine, comprising:
[0035] A sample acquisition unit, used to acquire a sample data set; the sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data; the label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable; a training unit, connected to the sample acquisition unit, is used to train a cost-sensitive support vector machine according to the sample data set to obtain a transient stability prediction model;
[0036] The prediction unit is connected to the training unit and is used to determine the transient stability state of the power system at a corresponding moment based on the transient stability prediction model and the real-time operation data of the power system.
[0037] Optionally, each set of sample operation data includes a plurality of sample characteristic data; the sample acquisition unit includes:
[0038] A simulation module is used to simulate the transient stability of the power system by presetting faults to obtain multiple groups of simulation data; each group of simulation data includes multiple simulation feature data;
[0039] A historical data acquisition module is used to acquire multiple groups of historical operation data of the power system; each group of historical operation data includes multiple historical characteristic data;
[0040] A sample operation data determination module, connected to the simulation module and the historical data acquisition module respectively, for determining multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample feature data;
[0041] The labeling module is connected to the sample operation data determination module and is used to label the transient stable state of each group of sample operation data according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data.
[0042] Optionally, the sample operation data determination module includes:
[0043] A first screening submodule, connected to the simulation module, is used to use a maximum information coefficient MIC algorithm to screen out simulation feature data having a correlation with the transient stability index of the power system greater than a threshold from each group of simulation data to obtain a first sample data set;
[0044] A second screening submodule is connected to the historical data acquisition module and is used to use the maximum information coefficient MIC algorithm to screen out simulation feature data with a correlation with the transient stability index of the power system greater than a threshold from each set of historical operation data to obtain a second sample data set;
[0045] The sample determination submodule is connected to the first screening submodule and the second screening submodule respectively, and is used to determine multiple groups of sample operation data according to the first sample data set and the second sample data set.
[0046] According to the specific embodiment provided by the present invention, the present invention discloses the following technical effects: a cost-sensitive support vector machine is trained according to a sample data set to obtain a transient stability prediction model, and based on the transient stability prediction model, the transient stability state of the power system at the corresponding moment is determined according to the real-time operation data of the power system. The sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data, and the label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable. The use of a cost-sensitive support vector machine can minimize the number of erroneous predictions and improve the accuracy of transient stability state prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative labor.
[0048] Figure 1 It is a flow chart of the method for predicting transient stability of power grid based on cost-sensitive support vector machine of the present invention;
[0049] Figure 2 It is the overall flow chart of the method for predicting transient stability of power grid;
[0050] Figure 3 It is a schematic diagram of the structure of the cost-sensitive support vector machine;
[0051] Figure 4 The module diagram of the power grid transient stability prediction system based on cost-sensitive support vector machine of the present invention is shown in FIG.
[0052] Explanation of symbols:
[0053] Sample acquisition unit-1, training unit-2, prediction unit-3. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] The purpose of the present invention is to provide a method for predicting transient stability of a power grid based on a cost-sensitive support vector machine, which predicts the transient stability state of a power grid in an electric power system by using a cost-sensitive support vector machine, thereby improving the prediction accuracy.
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0057] like Figure 1 and Figure 2 As shown, the power grid transient stability prediction method based on cost-sensitive support vector machine of the present invention includes:
[0058] S1: Obtain a sample data set; the sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data. The label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable.
[0059] S2: According to the sample data set, a cost-sensitive support vector machine is trained to obtain a transient stability prediction model.
[0060] Specifically, the sample data set is divided into a training set and a test set according to a certain ratio. The performance of the cost-sensitive support vector machine is tested using the cross-validation method, and the relevant parameters of the cost-sensitive support vector machine are adjusted according to the performance test results to obtain the cost-sensitive support vector machine with the best performance. The trained cost-sensitive support vector machine is verified using the test set, its accuracy is checked, and the parameters are adjusted accordingly according to the test results on the test set to obtain a transient stability prediction model.
[0061] S3: Based on the transient stability prediction model and according to the real-time operation data of the power system, determine the transient stability state of the power system at the corresponding moment.
[0062] Furthermore, each set of sample operation data includes a plurality of sample characteristic data. Step S1 specifically includes:
[0063] S11: Perform transient stability simulation of the power system by presetting faults to obtain multiple groups of simulation data. Each group of simulation data includes multiple simulation feature data. In this embodiment, the fault type of the transient stability simulation is the most serious three-phase short circuit fault.
[0064] S12: Obtain multiple sets of historical operation data of the power system; each set of historical operation data includes multiple historical characteristic data. The historical operation data is closer to the real system than the data obtained by simulation, but due to the limited amount of data and the limited information contained in the unstable part of the system, it can only be used as a supplement.
[0065] S13: Determine multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample feature data.
[0066] Specifically, step S13 includes:
[0067] S131: Using the MIC (Maximal Information Coefficient) algorithm, the simulation feature data having a correlation with the transient stability index of the power system greater than a threshold value is screened out from each group of simulation data to obtain a first sample data set.
[0068] S132: Using the MIC algorithm, historical feature data having a correlation with the transient stability index of the power system greater than a threshold value is screened out from each set of historical operation data to obtain a second sample data set.
[0069] S133: Determine multiple groups of sample operation data according to the first sample data set and the second sample data set.
[0070] S14: for each group of sample operation data, labeling of transient stable state conditions is performed according to sample characteristic data in the sample operation data to obtain label information of the sample operation data.
[0071] Furthermore, the power system includes a plurality of generators. Part or all of the sample characteristic data in each set of sample operation data is the power angle value of each generator. In this embodiment, the sample characteristic data include the total active load, reactive load, active output, reactive output, power angle value of each generator, the difference between the maximum and minimum power angle of the generator, the variance of the active power of the line, the difference between the maximum and minimum values of the generator rotor angle at the time of the fault occurrence and the time of the fault removal, the difference between the maximum and minimum values of the generator angular velocity, the difference between the maximum and minimum values of the generator rotor angular acceleration, and the difference between the maximum and minimum values of the generator rotor kinetic energy.
[0072] Step S14 specifically includes:
[0073] S141: Calculate the transient stability evaluation index of the sample operation data according to the power angle value of each generator. Specifically, calculate the power angle difference between any two generators according to the power angle value of each generator. Calculate the transient stability evaluation index of the sample operation data according to the maximum value of the power angle difference.
[0074] In this embodiment, the following formula is used to calculate the transient stability evaluation index:
[0075]
[0076] Among them, ω TSI is the transient stability evaluation index, Δδ max is the maximum value of the power angle difference. TSI The essence of this is to calculate Δδ max Whether the generator can maintain synchronous operation is determined by whether it is greater than 360°, thereby obtaining the transient stability of the current operating point.
[0077] S142: Determine the label information of the sample operation data according to the transient stability evaluation index. Specifically, if the transient stability evaluation index is a positive number, the sample operation data is transiently stable, and the corresponding label information is 1. If the transient stability evaluation index is a negative number or 0, the sample operation data is unstable, and the corresponding label information is 0.
[0078] Since the cost of misjudging an unstable state as a stable state is greater than the cost of misjudging a stable state as an unstable state in the transient stability assessment of the power system, the present invention adopts a cost-sensitive method to use different penalty costs for different classification errors, so as to effectively constrain misjudgment.
[0079] The cost-sensitive method uses the pre-defined misjudgment cost to assign different weights to sample operation data belonging to different categories. During the learning process, the corresponding weight size is calculated for each category, and finally the weight size is used to specify the class mark.
[0080] The cost of a misclassification is a function of the class predicted by the model and the actual class. This function is represented as a cost matrix. The cost matrix is an additional input to the learning process and is also used to evaluate the ability of the trained network to reduce the cost of misclassification.
[0081] The cost matrix of the present invention includes: C -+ , C +- , C ++ and C -- Among them, C -+ represents the cost of predicting transient unstable or unstable sample operation data as stable, C +- represents the cost of misjudging transient stable sample operation data as unstable, C ++ , C -- Indicates that the prediction is correct, let C ++ =C -- = 0. Since the loss caused by misjudging an unstable sample as a stable sample is greater, C -+ >C +- Different costs are incorporated into the support vector machine and the weights of stable and unstable samples are adjusted to strengthen the learning of unstable samples and improve the classification accuracy of the support vector machine.
[0082] The weights of all sample running data in the sample data set are adjusted accordingly, and the initial weight values of each group of sample running data are:
[0083]
[0084]
[0085] Among them, ε -Represents the initial weight value of transient unstable sample running data, ε + represents the initial weight value of the transient stable sample operation data, N is the total number of sample operation data, N - is the number of transient unstable sample running data, N + The number of sample runs for transient stability.
[0086] The following formula is used to adjust the ratio of transient stable sample operation data to transient unstable sample operation data to a new weighted ratio using the weight coefficient:
[0087]
[0088]
[0089] in, is the weight ratio of transient unstable sample running data, that is, the weight ratio of sample running data with label information of 0. is the weight ratio of transiently stable sample running data, that is, the weight ratio of sample running data with label information of 1. The weight ratio of unstable samples and stable samples can constrain the data imbalance problem, thereby effectively constraining the error rate caused by misjudgment.
[0090] The cost-sensitive support vector machine first uses cost sensitivity to weight the sample operation data, making samples with different costs equal, increasing the importance of misjudging unstable samples as stable samples, solving the problem of inaccurate classification caused by class imbalance, and thus constraining the misclassification problem. The support vector machine then classifies and learns the data. According to the decision function of the support vector machine, it has a similar grid structure to the artificial neural network, and can be regarded as a 3-layer neural network, such as Figure 3 As shown. The first layer is the input vector, x 1 、x 2 、x d represents the sample feature data in the sample data set. The middle layer is the kernel function K(,) based on s support vectors, x1, x2, x s , x are the parameters of the kernel function, the third layer is the output layer, y is the prediction result, y = 0 or 1. It is necessary to determine the relevant parameters of the cost-sensitive support vector machine, such as the parameters of the kernel function, the number of support vectors, and the non-zero Lagrangian factor α i and its corresponding support vector x i , i = 1, 2, 3, the hyperplane offset b, the penalty factor, etc., where the kernel function parameters and the penalty factor need to be selected in advance, and the remaining parameters can be obtained when solving the quadratic programming problem during training.
[0091] Compared with general machine learning, the cost-sensitive support vector machine can be applied to transient stability assessment. It can not only assess the model by estimating the error rate or classification accuracy of the sample on the test data when the classification errors have equal costs, thereby minimizing the number of errors. Moreover, since the error cost of misjudging an unstable state as a stable state is greater than the error cost of misjudging a stable state as an unstable state, the present invention can also assess the cost-sensitive support vector machine by comparing the total cost of errors when the error classification costs between such categories are different, thereby effectively constraining the error rate caused by misjudgment.
[0092] like Figure 4 As shown, the power grid transient stability prediction system based on cost-sensitive support vector machine of the present invention includes: a sample acquisition unit 1, a training unit 2 and a prediction unit 3.
[0093] The sample acquisition unit 1 is used to acquire a sample data set. The sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data. The label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable.
[0094] The training unit 2 is connected to the sample acquisition unit 1, and is used to train a cost-sensitive support vector machine according to the sample data set to obtain a transient stability prediction model.
[0095] The prediction unit 3 is connected to the training unit 2, and is used to determine the transient stability state of the power system at a corresponding moment based on the transient stability prediction model and according to the real-time operation data of the power system.
[0096] Furthermore, the sample acquisition unit 1 includes: a simulation module, a historical data acquisition module, a sample operation data determination module and a marking module.
[0097] The simulation module is used to perform transient stability simulation of the power system through preset faults to obtain multiple groups of simulation data; each group of simulation data includes multiple simulation feature data.
[0098] The historical data acquisition module is used to acquire multiple groups of historical operation data of the power system; each group of historical operation data includes multiple historical feature data.
[0099] The sample operation data determination module is connected to the simulation module and the historical data acquisition module respectively, and is used to determine multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample feature data.
[0100] Specifically, the sample operation data determination module includes: a first screening submodule, a second screening submodule and a sample determination submodule.
[0101] Among them, the first screening submodule is connected to the simulation module, and the first screening submodule is used to use the MIC algorithm to screen out simulation feature data whose correlation with the transient stability index of the power system is greater than a threshold from each group of simulation data to obtain a first sample data set.
[0102] The second screening submodule is connected to the historical data acquisition module, and is used to use the MIC algorithm to screen out simulation feature data having a correlation with the transient stability index of the power system greater than a threshold from each group of historical operation data to obtain a second sample data set.
[0103] The sample determination submodule is connected to the first screening submodule and the second screening submodule respectively, and the sample determination submodule is used to determine multiple groups of sample operation data according to the first sample data set and the second sample data set.
[0104] The labeling module is connected to the sample operation data determination module, and is used to label the transient stable state of each group of sample operation data according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data.
[0105] Compared with the prior art, the power grid transient stability prediction system based on cost-sensitive support vector machine of the present invention has the same beneficial effects as the power grid transient stability prediction method based on cost-sensitive support vector machine mentioned above, which will not be described in detail here.
[0106] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0107] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for predicting transient stability of power grid based on cost-sensitive support vector machine, characterized in that: The power grid transient stability prediction method based on cost-sensitive support vector machine includes: Acquire a sample data set; the sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data; the label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable; According to the sample data set, the cost-sensitive support vector machine is trained to obtain a transient stability prediction model; the cost-sensitive method uses the pre-defined misjudgment cost to assign different weights to sample operation data belonging to different categories; in the learning process, the corresponding weight size is calculated for each category, and finally the weight size is used to specify the class mark; the initial weight value of each group of sample operation data is: Among them, ε - Represents the initial weight value of transient unstable sample running data, ε + Indicates the initial weight value of the transient stable sample operation data, N is the total number of sample operation data, N - is the number of transient unstable sample running data, N + is the number of transient stable sample running data, C -+ represents the cost of predicting the transient unstable or unstable sample operation data as stable, C +- It represents the cost of misjudging the transient stable sample operation data as unstable; The following formula is used to adjust the ratio of transient stable sample operation data to transient unstable sample operation data to a new weighted ratio using the weight coefficient: in, is the weight ratio of transient unstable sample running data, The weight ratio of the transient stable sample operation data; Based on the transient stability prediction model, the transient stability state of the power system at a corresponding moment is determined according to the real-time operation data of the power system.
2. The method for predicting transient stability of power grid based on cost-sensitive support vector machine according to claim 1, characterized in that: Each set of sample operation data includes a plurality of sample feature data; the obtaining of the sample data set specifically includes: By performing transient stability simulation of the power system with preset faults, multiple groups of simulation data are obtained; each group of simulation data includes multiple simulation feature data; Acquire multiple sets of historical operation data of the power system; each set of historical operation data includes multiple historical characteristic data; Determine multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample characteristic data; For each group of sample operation data, the transient stable state is annotated according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data.
3. The method for predicting power grid transient stability based on cost-sensitive support vector machine according to claim 2, characterized in that: Determining multiple groups of sample operation data according to each group of simulation data and each group of historical operation data specifically includes: The maximum information coefficient MIC algorithm is used to screen out simulation feature data whose correlation with the transient stability index of the power system is greater than a threshold from each group of simulation data to obtain a first sample data set; The maximum information coefficient MIC algorithm is used to select historical characteristic data with a correlation greater than a threshold with the transient stability index of the power system from each set of historical operation data to obtain a second sample data set; A plurality of groups of sample operation data are determined according to the first sample data set and the second sample data set.
4. The method for predicting transient stability of power grid based on cost-sensitive support vector machine according to claim 2, characterized in that: The power system includes a plurality of generators; part or all of the sample characteristic data in each set of sample operation data is the power angle value of each generator; The labeling of the transient stable state according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data specifically includes: Calculating the transient stability evaluation index of the sample operation data according to the power angle value of each generator; According to the transient stability evaluation index, label information of the sample operation data is determined.
5. The method for predicting transient stability of power grid based on cost-sensitive support vector machine according to claim 4, characterized in that: The step of calculating the transient stability evaluation index of the sample operation data according to the power angle value of each generator specifically includes: According to the power angle value of each generator, calculate the power angle difference between any two generators; According to the maximum value of the power angle difference, a transient stability evaluation index of the sample operation data is calculated.
6. The method for predicting transient stability of power grid based on cost-sensitive support vector machine according to claim 5, characterized in that: The transient stability evaluation index is calculated using the following formula: Among them, ω TSI is the transient stability evaluation index, Δδ max is the maximum value of the power angle difference.
7. The method for predicting transient stability of power grid based on cost-sensitive support vector machine according to claim 4, characterized in that: The step of determining the label information of the sample operation data according to the transient stability evaluation index specifically includes: If the transient stability evaluation index is a positive number, the sample operation data is transiently stable, and the corresponding label information is 1; If the transient stability evaluation index is a negative number or 0, the sample operation data is transiently unstable, and the corresponding label information is 0.
8. A power grid transient stability prediction system based on cost-sensitive support vector machine, characterized in that: The power grid transient stability prediction system based on cost-sensitive support vector machine includes: A sample acquisition unit, used to acquire a sample data set; the sample data set includes multiple groups of sample operation data of the power system and label information of each group of sample operation data; the label information includes 0 and 1, 1 indicates that the corresponding sample operation data is transiently stable, and 0 indicates that the corresponding sample operation data is transiently unstable; The training unit is connected to the sample acquisition unit and is used to train the cost-sensitive support vector machine according to the sample data set to obtain a transient stability prediction model; the cost-sensitive method uses a pre-defined misjudgment cost to assign different weights to sample operation data belonging to different categories; in the learning process, the corresponding weight size is calculated for each category, and finally the weight size is used to specify the class mark; the initial weight value of each group of sample operation data is: Among them, ε - Represents the initial weight value of transient unstable sample running data, ε + Indicates the initial weight value of the transient stable sample operation data, N is the total number of sample operation data, N - is the number of transient unstable sample running data, N + is the number of transient stable sample running data, C -+ represents the cost of predicting the transient unstable or unstable sample operation data as stable, C +- It represents the cost of misjudging the transient stable sample operation data as unstable; The following formula is used to adjust the ratio of transient stable sample operation data to transient unstable sample operation data to a new weighted ratio using the weight coefficient: in, is the weight ratio of transient unstable sample running data, The weight ratio of the transient stable sample operation data; The prediction unit is connected to the training unit and is used to determine the transient stability state of the power system at a corresponding moment based on the transient stability prediction model and the real-time operation data of the power system.
9. The power grid transient stability prediction system based on cost-sensitive support vector machine according to claim 8, characterized in that: Each set of sample operation data includes a plurality of sample characteristic data; the sample acquisition unit includes: A simulation module is used to simulate the transient stability of the power system by presetting faults to obtain multiple groups of simulation data; each group of simulation data includes multiple simulation feature data; A historical data acquisition module is used to acquire multiple groups of historical operation data of the power system; each group of historical operation data includes multiple historical characteristic data; A sample operation data determination module, connected to the simulation module and the historical data acquisition module respectively, for determining multiple groups of sample operation data according to each group of simulation data and each group of historical operation data; each group of sample operation data includes multiple sample feature data; The labeling module is connected to the sample operation data determination module and is used to label the transient stable state of each group of sample operation data according to the sample characteristic data in the sample operation data to obtain label information of the sample operation data.
10. The power grid transient stability prediction system based on cost-sensitive support vector machine according to claim 9, characterized in that: The sample operation data determination module includes: A first screening submodule, connected to the simulation module, is used to use a maximum information coefficient MIC algorithm to screen out simulation feature data having a correlation with the transient stability index of the power system greater than a threshold from each group of simulation data to obtain a first sample data set; A second screening submodule is connected to the historical data acquisition module and is used to use the maximum information coefficient MIC algorithm to screen out simulation feature data with a correlation with the transient stability index of the power system greater than a threshold from each group of historical operation data to obtain a second sample data set; The sample determination submodule is connected to the first screening submodule and the second screening submodule respectively, and is used to determine multiple groups of sample operation data according to the first sample data set and the second sample data set.
Citation Information
Patent Citations
Cost-sensitive support vector machine locomotive wheel detecting system and detecting method thereof
CN106482967A
Method and device for training and predicting transient stability prediction model of power system
CN110837683A
