A method for constructing characteristic samples for power grid transient stability assessment and its application
By adding the additional impedance of the short-circuit fault in the full-network positive sequence equivalent model of the power grid, calculating the admittance matrix block value in the admittance-type node equation, and constructing a unified characteristic sample, the fault in the transient stability assessment of the power grid is solved. The problem of unreasonable representation of location information is achieved, and the continuous mapping of fault locations and the versatility of the general model are achieved.
Patent Information
- Application Number
- CN202410638396.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-22
AI Technical Summary
In the current power grid transient stability assessment, the characteristic sample construction of the general model has insufficient representation of fault location information, resulting in unfixed feature dimensions and the inability to achieve continuous mapping of fault locations, making it difficult to meet the online assessment needs of large power systems.
By connecting the additional impedance of the short-circuit fault in the positive sequence equivalent model of the whole network, the admittance matrix block value in the admittance-type node equation is calculated, and the semi-triangular element modulus value is used as the fault location encoding information, which is combined with the stability characteristics Fusion, constructing unified feature samples to achieve continuous mapping of fault locations and quantitative characterization of information.
It achieves a unified description and quantitative representation of information for different fault locations, ensures the versatility of the general model and good performance under different fault locations, and reduces model training difficulty and maintenance costs.
Smart Images

Figure CN118211884B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of transient stability assessment of power systems, and more specifically, relates to a method for constructing feature samples for transient stability assessment of power grids and an application thereof. Background Art
[0002] Transient stability problems are one of the common causes of large power grid safety accidents. Rapid and effective transient stability assessment is of great significance to ensuring the safe and stable operation of power systems. Traditional transient stability assessment is driven by knowledge models. Researchers understand the problem mechanism based on causal logic, extract stability rules, and make decisions. The knowledge model corresponds to clear mathematical concepts and actual physical processes, which helps researchers trace the root of the problem and formulate control plans. Under the premise that the model is complete and accurate enough, it can maximize the reflection of the actual power system operation process. However, with the expansion of power grid scale, diversification of operation modes and complexity of problem mechanisms, traditional transient stability assessment has the disadvantages of difficulty in model construction, high dependence on expert experience, and long calculation time, which makes it difficult to meet the online evaluation needs of actual systems.
[0003] With the improvement of computer hardware and the development of algorithm theory, the field of transient stability assessment has set off a research boom on machine learning methods. Machine learning methods regard transient stability assessment as a fitting problem in feature space. Based on massive sample data, they learn and summarize the mapping relationship between input features and assessment results, and then apply the learned mapping relationship to the target task, thereby achieving intelligent prediction of unknown situations.
[0004] Constructing a machine learning model requires the selection and design of input features. In the field of transient stability assessment, the construction method of input feature sets under anticipated faults is not perfect, the information contained in the steady-state feature quantity is limited, and the versatility of the corresponding transient stability assessment model is greatly restricted. For large power systems, it is very difficult to design corresponding input features for each anticipated fault to obtain a dedicated model library for this type of anticipated fault. There are problems such as high maintenance and update costs of the model library and inconvenience in information sharing. Compared with dedicated models, general models that can be used for various anticipated faults have a high degree of integration and are considered to have greater engineering application value. However, in the construction of training feature samples designed in the training of such general models, the existing methods have the problem of unreasonable representation of fault location information in feature samples, which is specifically manifested as follows: (1) The dimension of feature information representing different fault locations is not fixed, that is, the description of different anticipated fault locations is not uniform. In this case, when a new line fault is included in the stability evaluation consideration and the input feature sample dimension of the evaluation model is incompatible, the evaluation model needs to be retrained and constructed; (2) The anticipated fault location cannot be arbitrarily designed and changed and represented in the feature sample. That is, the existing method has limitations on the anticipated fault location and cannot achieve continuous mapping of the fault location, thereby failing to ensure that the evaluation model still has good performance when the fault occurs at an indefinite length position on the existing line.
[0005] Therefore, how to reasonably characterize the fault location information in the training and application of the general model so that the eigenvalue dimension constructed to characterize the fault location information is fixed and can achieve continuous mapping of the fault location is of great significance for the transient stability assessment of the power grid. Summary of the invention
[0006] In view of the defects of the prior art and the need for improvement, the present invention provides a method for constructing feature samples for transient stability assessment of power grids and its application, which aims to achieve a unified description of different anticipated fault locations, while ensuring that the information of any fault location can be quantified and represented, thereby effectively solving the universality of the general model in transient stability assessment of power systems.
[0007] To achieve the above object, according to one aspect of the present invention, a method for constructing a feature sample for power grid transient stability assessment is provided, comprising:
[0008] Modeling the power grid according to the stable operating condition data of the target power grid to obtain a positive sequence equivalent model of the entire grid; according to the preset short-circuit fault corresponding to the characteristic sample to be constructed, connecting the corresponding additional impedance at the corresponding position of the positive sequence equivalent model of the entire grid to obtain a fault equivalent model;
[0009] Calculate the values of each admittance matrix block in the admittance node equation of the target power grid according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model;
[0010] Operations are performed between blocks of each admittance matrix with known values, and the module value of the semi-triangular element of the matrix obtained after the operation is used as the fault location coding information. The coding information is integrated with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid, thereby realizing feature sample construction;
[0011] Among them, the operation method is taken from: eliminating the elements of the admittance type node equation, eliminating the voltage vector composed of the node voltages other than the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the transformed admittance type node equation as the operation method.
[0012] Furthermore, the preset short circuit fault is a symmetrical short circuit fault.
[0013] Furthermore, the symmetrical short circuit fault is a three-phase short circuit fault.
[0014] Further, the admittance node equation is expressed as:
[0015] ;
[0016] In the formula, I G represents the column vector of each generator input current; E G represents the column vector formed by the internal potential of each generator; U N represents a voltage vector composed of voltages of nodes other than the internal potential of the generator in the fault equivalent model, obtained by power flow calculation; represents the node admittance matrix, Y GG , Y GN , Y NG , Y NN Respectively represent the admittance matrix blocks;
[0017] The block operation formula of the admittance matrix as the node admittance matrix part in the admittance type node equation after the transformation is: .
[0018] Furthermore, when the feature samples to be constructed are used for training the transient stability assessment model, each feature sample to be constructed also includes a stability label, which is obtained as follows:
[0019] According to the stability feature and the preset short-circuit fault corresponding to the feature sample to be constructed, a real transient stability result is obtained by simulation as a stability label in the feature sample to be constructed. The transient stability result includes two types: stable and unstable.
[0020] The present invention also provides a method for constructing a transient stability assessment model of a power grid, comprising:
[0021] Using the feature sample construction method for power grid transient stability assessment as described above, construct a feature sample set of the target power grid;
[0022] A transient stability assessment model of the target power grid is obtained based on the training of the feature sample set.
[0023] The present invention also provides a method for evaluating transient stability of a power grid under a predicted fault, comprising:
[0024] Based on the expected fault, a characteristic sample construction method for transient stability assessment as described above is used to construct a characteristic sample of the target power grid;
[0025] A transient stability assessment model of a target power grid constructed by the method for constructing a transient stability assessment model of a power grid as described above is obtained, and characteristic samples are input into the model to obtain a transient stability assessment result of the target power grid under an expected fault.
[0026] The present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a feature sample construction method for transient stability assessment of a power grid as described above, a transient stability assessment model construction method for a power grid as described above, and / or a transient stability assessment method for a power grid under an anticipated fault as described above.
[0027] The present invention also provides a feature sample construction device for power grid transient stability assessment, comprising:
[0028] A fault equivalent model construction module is used to model the power grid according to the stable operating condition data of the target power grid to obtain a positive sequence equivalent model of the entire network; according to the preset short-circuit fault corresponding to the characteristic sample to be constructed, a corresponding additional impedance is connected at the corresponding position of the positive sequence equivalent model of the entire network to obtain a fault equivalent model;
[0029] An admittance matrix block calculation module is used to calculate the value of each admittance matrix block in the admittance node equation of the target power grid according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model;
[0030] The fault location coding information operation module is used to perform operations between blocks of each admittance matrix with known values, and use the module value of the semi-triangular element of the matrix obtained after the operation as the fault location coding information, and fuse the coding information with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid to realize feature sample construction;
[0031] Among them, the operation method is taken from: eliminating the elements of the admittance type node equation, eliminating the voltage vector composed of the node voltages other than the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the transformed admittance type node equation as the operation method.
[0032] The present invention also provides an electronic device, comprising: a processor, a transceiver, and the computer-readable storage medium as described above, wherein:
[0033] The transceiver is used to send and receive data under the control of the processor;
[0034] When the processor executes the computer program on the computer-readable storage medium, it implements the above-mentioned method for constructing a feature sample for transient stability assessment of a power grid, the above-mentioned method for constructing a transient stability assessment model of a power grid and / or the above-mentioned method for transient stability assessment of a power grid under anticipated faults.
[0035] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:
[0036] (1) The present invention proposes a method for constructing a feature sample for transient stability assessment of a power grid. Specifically, according to a preset short-circuit fault corresponding to the feature sample to be constructed, a corresponding additional impedance is connected at a corresponding position of a positive-sequence equivalent model of the entire network to obtain a fault equivalent model. Based on this fault equivalent model, firstly, each impedance in the model, including the additional impedance corresponding to the fault, is incorporated into each admittance matrix block in the admittance node equation of the target power grid. That is, according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model, the value of each admittance matrix block in the admittance node equation of the target power grid is calculated. In this way, the fault location information is embedded or mapped into the node admittance matrix in the admittance node equation. Further, operations are performed between each admittance matrix block with known values. The modulus value of the upper triangular element or the lower triangular element of the matrix obtained after the operation can be used as the encoding information of the fault location. Therefore, for a certain power grid, different characteristic samples under different expected faults are constructed. On the one hand, the operation method of each characteristic sample is unified, and the dimension of the characteristic value used to characterize the fault location information is uniformly fixed. On the other hand, the present invention adopts parameter coding to describe the fault location, and the characteristic parameters are obtained by calculating the line impedance value that changes linearly with the fault location on the line, which can realize continuous mapping of the fault location. The present invention adopts parameter coding to describe the fault location, which can realize continuous mapping of the fault location. In summary, the method of the present invention can effectively solve the universality of the general model in the transient stability assessment of the power system.
[0037] (2) In the method proposed in the present invention, the block operation mode of the admittance matrix is obtained by eliminating the node admittance matrix of the target power grid after the admittance node equation is eliminated, and the elimination is the voltage vector composed of the voltages of all nodes in the fault equivalent model except the internal potential of the generator. E G , instead of eliminating the vector potential inside the generator U N , from the perspective of dimension, E G The dimension is equal to the number of generators, which is usually small. U N Depends on the number of nodes in the entire power grid, which is generally large and reserved E G It can make the features more concise and reduce the difficulty of model training. If new nodes or components are added to the power grid, then U N will be changing, and E G No change, select E G It complies with the principle of "unified description" in the major premise, that is, the principle of fixed characteristic dimension; in addition, from the perspective of actual power system, transient stability is determined by the power angle difference of the generator.E G It can provide more effective information for model learning for the transient stability judgment problem to be analyzed.
[0038] (3) The present invention also provides a method for constructing a transient stability assessment model for a power grid, which uses a feature sample construction method for transient stability assessment of a power grid as described above to construct a feature sample set of a target power grid. Based on the feature sample set, a unified model is established to obtain a general model for transient stability assessment of a power system, which has better performance indicators. When the fault location point is updated, the corresponding machine learning model has a strong generalization ability. At the same time, the model has low redundancy and is easy to maintain and manage. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A flowchart of a method for constructing feature samples for power grid transient stability assessment provided by an embodiment of the present invention.
[0040] Figure 2 This is a diagram of the full network positive sequence equivalent model provided by an embodiment of the present invention.
[0041] Figure 3 A schematic diagram of additional impedance access for different short-circuit faults provided by an embodiment of the present invention.
[0042] Figure 4 A schematic diagram of a network topology after equation elimination and simplification provided by an embodiment of the present invention.
[0043] Figure 5 This is a basic structure diagram of the feature sample set data provided by an embodiment of the present invention.
[0044] Figure 6 A schematic diagram of the principle of a multi-layer perceptron provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0046] Embodiment 1
[0047] A method for constructing characteristic samples for power grid transient stability assessment, such as Figure 1 As shown, including:
[0048] According to the stable operating condition data of the target power grid, the power grid is modeled to obtain a positive sequence equivalent model of the entire network; according to the preset short-circuit fault corresponding to the characteristic sample to be constructed, the corresponding additional impedance is connected at the corresponding position of the positive sequence equivalent model of the entire network to obtain a fault equivalent model;
[0049] According to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model, the value of each admittance matrix block in the admittance node equation of the target power grid is calculated;
[0050] Operations are performed between blocks of each admittance matrix with known values, and the module value of the semi-triangular element of the matrix obtained after the operation is used as the fault location coding information. The coding information is integrated with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid, thereby realizing feature sample construction;
[0051] Among them, the above-mentioned operation method is taken from: eliminating the elements of the admittance type node equation, eliminating the voltage vector composed of the node voltages other than the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the transformed admittance type node equation as the above-mentioned operation method.
[0052] Regarding the construction of the positive sequence equivalent model of the whole network, an example is given as follows: Based on the steady-state operating condition, a simplified model is obtained as follows Figure 2 The positive sequence equivalent model of the whole network is shown in the figure, in which the generator is represented by an internal potential node and internal impedance. The internal impedance is taken as the transient reactance according to the calculation conditions. or subtransient reactance ; The equivalent values of components such as lines and transformers are the same as the flow calculation process, and the load uses a constant impedance Z L Indicates that the calculation method is exemplarily selected as:
[0053] ;
[0054] in, U k Load point k The amplitude of the operating voltage, P k and Q k is the active and reactive power absorbed by this point.
[0055] Different power grids construct different full-grid positive sequence equivalent models, and the calculation method of the load with constant impedance is not limited to the above method.
[0056] It should be noted that Figure 2 middle, , They are the potential nodes inside the generator and The node voltage of , They are the potential nodes inside the generator and The corresponding internal impedance of the generator; , They are the potential nodes inside the generator and The corresponding node injects current; , They are the target grid and the generator internal potential nodes respectively and Corresponding connected network node and The node voltage of , Network nodes and The node injection current; , are the load nodes of the target power grid respectively. and The node voltage of , Load nodes and The node injection current; , Load nodes and The corresponding load impedance; N represents the target power grid.
[0057] Regarding the setting of short-circuit faults in the positive sequence equivalent model of the whole network, for example, the additional impedances corresponding to different short-circuit faults are as follows: Figure 3 As shown, in the specific implementation, the zero-sequence and negative-sequence additional impedances are first calculated during short circuit, and then the connection mode of the zero-sequence and negative-sequence additional impedances is selected according to different short circuit modes to obtain the additional impedance of the fault position connected to the positive-sequence network, as shown in FIG. Figure 3 Among the four short-circuit faults shown in the figure, there are two types of short-circuit faults, namely, zero-sequence additional impedance and negative-sequence additional impedance, for single-phase grounding fault and two-phase grounding fault. The figure shows the connection mode of zero-sequence and negative-sequence additional impedance corresponding to these two faults respectively. In addition, there are only negative-sequence additional impedance for two-phase short-circuit fault and three-phase short-circuit fault. Finally, the corresponding additional impedance is connected at the corresponding position of the positive-sequence equivalent model of the whole network to obtain the fault equivalent model.
[0058] This embodiment can achieve a unified description of different expected fault locations, and use a set of feature quantities with fixed dimensions to express the fault location. When a new line fault is taken into consideration, the input feature dimension can remain unchanged, and the new and old data are compatible, without the need to rebuild the training model. In addition, it can achieve quantitative representation of the fault location, and continuously map the fault location information to the input sample space, ensuring that when the fault occurs at different lengths of the existing line, the evaluation model still has good performance.
[0059] It can be used as a preferred implementation method. Considering that in actual power systems, three-phase short-circuit faults are the most serious short-circuit faults, and other types of short-circuit faults generally do not cause transient instability in the system, in order to meet the actual power system needs and facilitate obtaining sufficient instability samples to verify the effectiveness of the proposed solution, the above-mentioned preset short-circuit faults are symmetrical short-circuit faults.
[0060] As a preferred implementation, the above-mentioned symmetrical short-circuit fault is a three-phase short-circuit fault.
[0061] The fault equivalent model obtained above is a fault equivalent model of multiple potential sources, and the multiple potential sources are the internal potentials corresponding to multiple generators. It can be used as a preferred implementation mode to write the admittance type node equation for the model, wherein the internal potential nodes of the generator are numbered 1 to n, and the remaining nodes are numbered n+1 to n+N, and the internal impedance of the generator and the load impedance are included in the node admittance matrix. The admittance type node equation is:
[0062] ;
[0063] In the formula, I G represents the column vector of each generator input current; E G represents the column vector formed by the internal potential of each generator; U N represents a voltage vector composed of voltages of nodes other than the internal potential of the generator in the fault equivalent model, obtained by power flow calculation; represents the node admittance matrix, Y GG , Y GN , Y NG , Y NN Respectively represent the blocks of the admittance matrix. The value of each block can be obtained by: according to the internal impedance of each generator, the impedance of each load and the impedance of each line, the value of each element of the node admittance matrix of the fault equivalent model is obtained, and according to E G and U N The dimension is divided into blocks;
[0064] According to the method of equation elimination, transform the above formula and eliminate U N , we can obtain the admittance node equation that only retains the internal potential of the generator, which can be expressed as: ,in Y G To eliminate U N The admittance matrix obtained after the transformation, that is, the node admittance matrix part of the aforementioned transformed admittance type node equation, is obtained by the block operation of the original node admittance matrix. Y G The dimension is n × n . Figure 4 The corresponding network topology is shown; then the block operation formula of the admittance matrix as the node admittance matrix in the above transformed admittance type node equation is: .
[0065] It should be noted that Figure 4 middle, , , , Respectively represent the node voltages of potential nodes 1, 2, 3 and n in the generator; , , , They represent the node injection currents corresponding to the potential nodes 1, 2, 3 and n in the generator respectively; After elimination transformation The mutual admittance value between the potential node 1 and node 2 in the above generator in the reflected network; After elimination transformation The mutual admittance value between the potential node 1 and the node 3 in the above generator in the reflected network; After elimination transformation The mutual admittance value between the potential node 1 and node n in the above generator in the reflected network; After elimination transformation The mutual admittance value between the potential node 2 and the node n in the above generator in the reflected network; After elimination transformation The mutual admittance value between the potential node 2 and the node 3 in the above generator in the reflected network; After elimination transformation The mutual admittance value between the potential node 3 and the node n in the above generator in the reflected network.
[0066] As a preferred implementation, when the feature samples to be constructed are used for training the transient stability assessment model, each feature sample to be constructed also includes a stability label, which is obtained in the following manner:
[0067] According to the stability characteristics of the target power grid and the preset short-circuit fault corresponding to the feature sample to be constructed, the simulation obtains the real transient stability result as the stability label in the feature sample to be constructed. The above transient stability results include stability and instability.
[0068] Optionally, the upper triangular elements of the matrix can be arranged in vector form as fault parameter encoding, and on this basis, the following method can be used: Figure 5 The basic structure of the feature sample set shown is integrated with the steady-state features and stable labels. In the steady-state feature part, the active and reactive power injected by each generator node can be used as an example. In the label setting part, the formula The given criterion marks each sample as "1" representing transient stability or "0" representing transient instability, where is the maximum power angle difference between generators during the simulation process, L is the sample label.
[0069] As a preferred implementation, in order to reduce the impact of the dimension and scale differences between various features in a feature sample, the feature sample is scaled. The scaling algorithm used is z-score standardization. After the transformation, the mean of various features is 0 and the standard deviation is 1. The calculation method is:
[0070] ;
[0071] In the formula, , are the mean and standard deviation of the features to be scaled.
[0072] Embodiment 2
[0073] A method for constructing a transient stability assessment model for a power grid, comprising:
[0074] A feature sample construction method for power grid transient stability assessment as described in the first embodiment is used to construct a feature sample set including stability labels of a target power grid;
[0075] The transient stability assessment model of the target power grid is obtained based on the training of the feature sample set.
[0076] For example, select Figure 6The multi-layer perceptron model shown is used as a transient stability assessment model to perform transient stability assessment. The activation function is uniformly set to the linear rectified function (Rectified Linear Unit, ReLU) in each hidden layer of the model, and the activation function is set to Softmax in the output layer. The mathematical expression is as follows:
[0077] ;
[0078] ;
[0079] In the formula, x is the output of the previous layer of neurons;
[0080] in addition, Figure 6 middle, is the weight matrix, is the bias vector.
[0081] Embodiment 3
[0082] A transient stability assessment method for a power grid under a predicted fault condition, comprising:
[0083] Based on the expected fault, a characteristic sample construction method for transient stability assessment as described in the first embodiment is used to construct a characteristic sample of the target power grid;
[0084] A transient stability assessment model of a target power grid constructed by a method for constructing a transient stability assessment model of a power grid as described in the second embodiment is obtained, and feature samples are input thereto to obtain a transient stability assessment result of the target power grid under a predicted fault.
[0085] In order to illustrate the effectiveness of the method for constructing input features of transient stability assessment for fault locations provided by Examples 1 to 3 and its application, the New England 10-machine 39-node system is selected as the test system of the method, and different operating conditions and fault scenarios are simulated to generate original operating data, and the system is transiently stable evaluated using a multi-layer perceptron model. The fault location-oriented unique hot encoding, integer encoding and the proposed fault location-oriented parameter encoding method are compared, and the results are shown in Tables 1 and 2, where the multi-layer perceptron model using parameter encoding is represented as P, the multi-layer perceptron model using unique hot encoding is represented as O, and the multi-layer perceptron model using integer encoding is represented as I. The results show that the corresponding machine learning model (i.e., the multi-layer perceptron model) obtained by the transient stability assessment input feature design strategy for the fault location in the present invention has better performance indicators, and when the fault location point is updated, the corresponding machine learning model has a strong generalization ability.
[0086] In the fault scenario set in this example simulation, the fault type is set to three-phase short circuit, the fault clearing time is set to 0.2s, and automatic reclosing is not considered;
[0087] ;
[0088] .
[0089] Embodiment 4
[0090] A computer-readable storage medium, the computer-readable storage medium comprising a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a feature sample construction method for transient stability assessment of a power grid as described above, a transient stability assessment model construction method for a power grid as described above, and / or a transient stability assessment method for a power grid under an anticipated fault as described above.
[0091] The relevant technical solutions are the same as those in Embodiments 1 to 3 and will not be described in detail here.
[0092] Embodiment 5
[0093] A characteristic sample construction device for power grid transient stability assessment, comprising:
[0094] The fault equivalent model construction module is used to model the power grid according to the stable operating condition data of the target power grid to obtain a positive sequence equivalent model of the whole network; according to the preset short-circuit fault corresponding to the characteristic sample to be constructed, the corresponding additional impedance is connected at the corresponding position of the positive sequence equivalent model of the whole network to obtain the fault equivalent model;
[0095] The admittance matrix block calculation module is used to calculate the values of each admittance matrix block in the admittance node equation of the target power grid according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model;
[0096] The fault location coding information operation module is used to perform operations between blocks of each admittance matrix with known values, and use the module value of the semi-triangular element of the matrix obtained after the operation as the fault location coding information, and fuse the coding information with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid to realize feature sample construction;
[0097] Among them, the above-mentioned operation method is taken from: eliminating the above-mentioned admittance type node equation, eliminating the voltage vector composed of the node voltages other than the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the transformed admittance type node equation as the above-mentioned operation method.
[0098] Among them, it can be used as an optimal implementation method. Considering that in the actual power system, the three-phase short-circuit fault is the most serious short-circuit fault, and other types of short-circuit faults generally do not cause transient instability of the system, in order to meet the actual power system needs and facilitate obtaining sufficient instability samples to verify the effectiveness of the proposed solution, the above-mentioned preset short-circuit fault is a symmetrical short-circuit fault.
[0099] As a preferred implementation, the model is listed with an admittance node equation, where the potential nodes in the generator are numbered 1 to n, and the remaining nodes are numbered n+1 to n+N, and the internal impedance of the generator and the load impedance are included in the node admittance matrix. The admittance node equation is:
[0100] ;
[0101] In the formula, I G represents the column vector of each generator input current; E G represents the column vector formed by the internal potential of each generator; U N represents a voltage vector composed of voltages of nodes other than the internal potential of the generator in the fault equivalent model, obtained by power flow calculation; represents the node admittance matrix, Y GG , Y GN , Y NG , Y NN Respectively represent the blocks of the admittance matrix. The value of each block can be obtained by: according to the internal impedance of each generator, the impedance of each load and the impedance of each line, the value of each element of the node admittance matrix of the fault equivalent model is obtained, and according to E G and U N The dimension is divided into blocks;
[0102] The block operation formula of the admittance matrix as the node admittance matrix part in the admittance type node equation after the above transformation is: .
[0103] As a preferred implementation, when the feature samples to be constructed are used for training the transient stability assessment model, each feature sample to be constructed also includes a stability label, which is obtained in the following manner:
[0104] According to the stability feature and the preset short-circuit fault corresponding to the feature sample to be constructed, a real transient stability result is obtained by simulation as a stability label in the feature sample to be constructed. The transient stability result includes two types: stable and unstable.
[0105] The relevant technical solution is the same as that in Embodiment 1 and will not be described in detail here.
[0106] Embodiment 6
[0107] An electronic device comprises: a processor, a transceiver, and the computer-readable storage medium as described above, wherein:
[0108] The transceiver is used to send and receive data under the control of the processor;
[0109] When the processor executes the computer program on the computer-readable storage medium, it implements the above-mentioned method for constructing a feature sample for transient stability assessment of a power grid, the above-mentioned method for constructing a transient stability assessment model of a power grid and / or the above-mentioned method for transient stability assessment of a power grid under anticipated faults.
[0110] The relevant technical solution is the same as the previous embodiment and will not be described again here.
[0111] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing feature samples for power grid transient stability assessment, characterized in that: include: According to the stable operating condition data of the target power grid, the power grid is modeled to obtain the positive sequence equivalent model of the whole grid; According to the preset short-circuit fault corresponding to the characteristic sample to be constructed, a corresponding additional impedance is connected at the corresponding position of the full network positive sequence equivalent model to obtain a fault equivalent model; Calculate the values of each admittance matrix block in the admittance node equation of the target power grid according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model; Operations are performed between blocks of each admittance matrix with known values, and the module value of the semi-triangular element of the matrix obtained after the operation is used as the fault location coding information. The coding information is integrated with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid, thereby realizing feature sample construction; The operation method is as follows: eliminating the admittance type node equation, eliminating the voltage vector composed of the voltages of each node except the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the admittance type node equation after the transformation as the operation method; The admittance node equation is expressed as: ; In the formula, represents the column vector of each generator input current; represents the column vector formed by the internal potential of each generator; represents a voltage vector composed of voltages of nodes other than the internal potential of the generator in the fault equivalent model, obtained by power flow calculation; represents the node admittance matrix, Respectively represent the admittance matrix blocks; The block operation formula of the admittance matrix as the node admittance matrix part in the admittance type node equation after the transformation is: .
2. The feature sample construction method according to claim 1, characterized in that: The preset short circuit fault is a symmetrical short circuit fault.
3. The feature sample construction method according to claim 2, characterized in that: The symmetrical short circuit fault is a three-phase short circuit fault.
4. The feature sample construction method according to any one of claims 1 to 3, characterized in that: When the feature samples to be constructed are used for training the transient stability assessment model, each feature sample to be constructed also includes a stability label, which is obtained as follows: According to the stability feature and the preset short-circuit fault corresponding to the feature sample to be constructed, a real transient stability result is obtained by simulation as a stability label in the feature sample to be constructed. The transient stability result includes two types: stable and unstable.
5. A method for constructing a transient stability assessment model for a power grid, characterized in that: include: Using the characteristic sample construction method for power grid transient stability assessment as claimed in claim 4 to construct a characteristic sample set of the target power grid; A transient stability assessment model of the target power grid is obtained based on the training of the feature sample set.
6. A method for evaluating transient stability of a power grid under anticipated faults, characterized in that: include: The transient stability assessment model of the target power grid constructed by the method for constructing a transient stability assessment model of a power grid as claimed in claim 5 is obtained, and feature samples are input thereto to obtain a transient stability assessment result of the target power grid under an expected fault.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a feature sample construction method for transient stability assessment of a power grid as described in any one of claims 1 to 4, or a transient stability assessment model construction method for a power grid as described in claim 5, or a transient stability assessment method for a power grid under an anticipated fault as described in claim 6.
8. A feature sample construction device for power grid transient stability assessment, characterized in that: include: The fault equivalent model building module is used to model the power grid according to the stable operating condition data of the target power grid and obtain the positive sequence equivalent model of the whole grid; According to the preset short-circuit fault corresponding to the characteristic sample to be constructed, a corresponding additional impedance is connected at the corresponding position of the full network positive sequence equivalent model to obtain a fault equivalent model; An admittance matrix block calculation module is used to calculate the value of each admittance matrix block in the admittance node equation of the target power grid according to the internal impedance of each generator, each load impedance and each line impedance in the fault equivalent model; The fault location coding information operation module is used to perform operations between blocks of each admittance matrix with known values, and use the module value of the semi-triangular element of the matrix obtained after the operation as the fault location coding information, and fuse the coding information with the stability characteristics of the target power grid as a feature sample for transient stability assessment of the power grid to realize feature sample construction; The operation method is as follows: eliminating the admittance type node equation, eliminating the voltage vector composed of the voltages of each node except the internal potential of the generator in the fault equivalent model, and transforming it into the product form of the node admittance matrix and the internal potential column vector of the generator, and using the admittance matrix block operation formula as the node admittance matrix part in the admittance type node equation after the transformation as the operation method; The admittance node equation is expressed as: ; In the formula, represents the column vector of each generator input current; represents the column vector formed by the internal potential of each generator; represents a voltage vector composed of voltages of nodes other than the internal potential of the generator in the fault equivalent model, obtained by power flow calculation; represents the node admittance matrix, Respectively represent the admittance matrix blocks; The block operation formula of the admittance matrix as the node admittance matrix part in the admittance type node equation after the transformation is: .
9. An electronic device, characterized in that: include: A processor, a transceiver, and a computer-readable storage medium as claimed in claim 8, wherein: The transceiver is used to send and receive data under the control of the processor; When the processor executes the computer program on the computer-readable storage medium, it implements a method for constructing a feature sample for transient stability assessment of a power grid as described in any one of claims 1 to 4, or a method for constructing a transient stability assessment model of a power grid as described in claim 5, or a method for transient stability assessment of a power grid under anticipated faults as described in claim 6.
