Heterogeneous sample construction, power system transient voltage stability assessment method and system
Through the combination of heterogeneous sample construction method and deep residual network, the problem of insufficient timeliness and generalization ability of transient voltage stability assessment in the existing technology is solved, and rapid and accurate assessment of transient voltage stability of power system is achieved. Accurate assessment and emergency control.
Patent Information
- Application Number
- CN202210151972.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-02-18
AI Technical Summary
It is difficult to achieve fast and accurate online assessment of transient voltage stability in actual power systems with existing technology, especially because the system variables at the fault removal moment cannot be accurately obtained, resulting in insufficient timeliness and generalization capabilities.
Using the heterogeneous sample construction method, offline time domain simulation is performed by setting different working condition information to generate a preset number of simulation samples, and combine the fixed part and sliding part in the PMU cross-section data group to form a heterogeneous sample, and input the pre-trained Deep residual networks are evaluated and emergency control measures are initiated to ensure transient voltage stability.
It achieves rapid and accurate assessment of the transient voltage stability of the power system, ensures timeliness and generalization capabilities, can effectively respond to different fault types, and improves the timeliness and accuracy of online applications.
Smart Images

Figure CN114400663B
Abstract
Description
Technical Field
[0001] The present application relates to heterogeneous sample construction, a method and system for evaluating transient voltage stability of a power system, and belongs to the technical field of steady-state evaluation of a power system. Background Art
[0002] As the proportion of renewable energy generation and power electronic equipment gradually increases, the nonlinearity of the power system continues to increase, which brings new challenges to the rapid, accurate and reliable analysis of the operation status of the power grid. Under the new characteristics of this new power system, traditional analysis methods can no longer meet the requirements for safe and stable operation of the power system. In recent years, transient voltage instability has caused many major power outages and caused huge economic losses. Therefore, evaluating the transient voltage stability of the power system after the fault is of great significance to the safe and stable operation of the power system.
[0003] At present, there are various methods for feature selection and sample construction in the related literature on transient voltage stability based on deep learning, and good evaluation results have been achieved in offline training. However, since the precise fault occurrence time and fault removal time in the actual power system cannot be known, the system variables at the time of fault occurrence and fault removal cannot be accurately obtained through PMU, so the methods in the existing literature are not suitable for online evaluation of actual power systems. For example, the latest research published by Sun Lixia et al., "Multi-task transient stability evaluation of power systems combined with graph embedding algorithm", selects the voltage and phase angle of the node steady state, fault time and fault removal time as the model input data for offline training of the deep learning model. The disadvantage of this method is that in the actual power system, the voltage at the time of fault removal cannot be accurately obtained through PMU, and it is difficult to apply it to the online evaluation of the actual power system. The paper "Rapid evaluation of transient voltage stability based on convolutional neural network" published by Yang Weiquan et al. proposed the selection of steady-state power flow characteristics and the definition of fault characteristics based on transient voltage time series information, and took the steady-state node voltage, generator active and reactive power, and load active and reactive power before the fault as input features. The disadvantage of this method is that it does not take into account the degree of fault impact and the subsequent development of the fault. It is only effective for the specific fault concentration described in the article, but the model lacks the ability to generalize other fault types. The paper "Transient Voltage Stability Assessment Based on Time Series Trajectory Feature Learning" published by Zhu Lipeng et al. proposed to collect the transient time series response data of each load node U / P / Q in the system within the time window of 0 to 2.5s after the fault is removed from each case in the case library. Since transient voltage drops and instability occur very quickly, it is difficult to ensure the timeliness of online applications by waiting until the fault is removed to make judgments. The paper "Quick Assessment of Transient Voltage Stability Based on Convolutional Neural Network" published by Zhao Kai et al. Considering that different fault removal times will affect the construction of input features, it is proposed to take the fault duration of 0.5s as the benchmark and take a fixed sampling interval of [tc-54T, tc+10T]. This will lead to uncertain TSA response times for different fault removal times. The shorter the fault removal time, the longer the TSA response time will be, which is also difficult to ensure the timeliness of online applications.
[0004] In summary, the existing technical solutions lack a method that can ensure timeliness and accurately evaluate the transient system stability in the power system. Summary of the invention
[0005] The present application provides a heterogeneous sample construction method, a power system transient voltage stability assessment method and system to solve the technical problem that the existing technical solutions lack a method that can ensure timeliness and accurately assess the transient system stability in the power system.
[0006] In a first aspect, according to an embodiment of the present application, a heterogeneous sample construction method is provided for evaluating transient voltage stability of a power system, wherein the method comprises:
[0007] Set different working condition information, based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, perform offline time-domain simulation on the target power system, and generate a preset number of simulation samples;
[0008] After the transient voltage stability assessment of the power system is started based on the preset trigger conditions, a PMU section data group representing the steady-state power flow level of the current working condition before the fault occurs and two PMU section data groups representing the fault impact degree when the fault occurs are obtained for the synchronous phasor measurement device of the power system as the fixed part of each sample in the heterogeneous sample group;
[0009] A preset time interval is set, and a target number of PMU cross-section data groups are successively acquired at the preset time interval as sliding parts of a sample in the heterogeneous sample group;
[0010] The fixed part is combined with the sliding part corresponding to each sample to form a heterogeneous sample, and a plurality of samples are combined to form a heterogeneous sample group; wherein the PMU section data group includes voltage amplitude, active power and reactive power obtained by the synchronous phasor measurement device of the power system;
[0011] The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
[0012] In one embodiment, the different operating conditions are different load levels, and / or different proportions of induction motors, and / or different proportions of wind power.
[0013] In one embodiment, the preset trigger condition is that the difference between the voltage amplitudes in two adjacent acquired PMU section data groups is greater than a preset voltage difference.
[0014] In a second aspect, according to an embodiment of the present application, a method for evaluating the stability of transient voltage in a power system is provided, which is used to evaluate the stability of transient voltage in a power system based on a heterogeneous sample to be tested constructed by any of the methods described above, wherein the method includes:
[0015] Inputting the heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable and the voltage stability result of the monitoring bus;
[0016] If the first output of the pre-trained deep residual network is that the transient voltage stability assessment result is unstable, the preset emergency control measures are initiated;
[0017] If the first output of the pre-trained deep residual network is that the transient voltage stability assessment result is stable, and the second output is that the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than the preset voltage, then the assessment result is determined to be stable; wherein the preset voltage is the minimum value for the voltage to recover stability.
[0018] In one embodiment, the pre-trained deep residual network includes: an input layer, a convolutional layer, a batch normalization layer, an activation layer, several residual module layers, a global average pooling layer and a multi-label classification layer.
[0019] In one embodiment, in the method, determining that the transient voltage assessment result is unstable includes:
[0020] If it is determined according to the pre-trained deep residual network that the voltage of the load bus corresponding to the heterogeneous sample to be tested has not recovered to 0.8 pu within 10 seconds, then the first output of the pre-trained deep residual network is determined to be transient voltage instability of the power system.
[0021] In a third aspect, according to an embodiment of the present application, a heterogeneous sample construction system is provided for evaluating transient voltage stability of a power system, wherein the system comprises:
[0022] A simulation module is used to set different working condition information, perform offline time domain simulation on the target power system based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, and generate a preset number of simulation samples;
[0023] A sample fixed part determination module is used to obtain, for a synchronous phasor measurement unit (PMU) of the power system, a PMU section data group representing the steady-state power flow level of the current working condition before the occurrence of a fault, and two PMU section data groups representing the degree of fault impact when the fault occurs as the fixed part of each sample in the heterogeneous sample group after determining to start the transient voltage stability assessment of the power system based on the preset trigger condition;
[0024] A sample sliding part determination module is used to set a preset time interval, and successively obtain a target number of PMU cross-section data groups at the preset time interval as a sliding part of a sample in the heterogeneous sample group;
[0025] A heterogeneous sample forming module, used for combining the fixed part with the sliding part corresponding to each sample to form a heterogeneous sample, and combining multiple samples together to form a heterogeneous sample group; the PMU section data group includes the voltage amplitude, active power and reactive power obtained by the power system synchronous phasor measurement device;
[0026] The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
[0027] In a fourth aspect, according to an embodiment of the present application, a power system transient voltage stability assessment system is provided, which is used to assess the stability of the transient voltage of the power system based on the heterogeneous samples to be tested constructed by any of the methods described above, wherein the system includes:
[0028] An acquisition module is used to acquire the heterogeneous samples to be tested, and input the acquired heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable or not and the voltage stability result of the monitoring bus;
[0029] The processing module is used to start the preset emergency control measures if the transient voltage stability assessment result is unstable; it is also used to determine the assessment result as stable if the transient voltage stability assessment result is stable and the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than the preset voltage; wherein the preset voltage is the minimum value for the voltage to recover stability.
[0030] In a fifth aspect, according to an embodiment of the present application, a computer processing device is provided, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that the computer program is loaded and executed by the processor to implement any of the above-mentioned heterogeneous sample construction methods or any of the above-mentioned methods for evaluating transient voltage stability of a power system based on heterogeneous samples.
[0031] In a sixth aspect, according to an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program, when executed by a processor, is used to implement a heterogeneous sample construction method as described in any one of the above items, or a power system transient voltage stability assessment method based on heterogeneous samples as described in any one of the above items.
[0032] The beneficial effects of this application are:
[0033] The embodiment of the present application provides a heterogeneous sample construction method, which can further construct a heterogeneous sample consisting of a fixed part and a sliding part. At the same time, the present application also provides a method for evaluating the transient voltage stability of a power system. The stability of the transient voltage of the power system is evaluated based on the heterogeneous samples determined by the heterogeneous sample construction method. The constructed heterogeneous samples include a fixed part and a sliding part, so they can better reflect the current stability of the power system. Therefore, the technical solution provided by the embodiment of the present application can realize rapid and accurate evaluation of the transient voltage stability of the power system.
[0034] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present application in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of a heterogeneous sample construction method provided by an embodiment of the present application;
[0036] Figure 2 An embodiment of the present application provides a flow chart for evaluating the stability of transient voltage in a power system;
[0037] Figure 3 A schematic diagram of the composition of a pre-trained deep residual network is provided in one embodiment of the present application;
[0038] Figure 4 A schematic diagram of the composition of residual module 1, residual module 2, residual module 4, residual module 6, and residual module 8 included in a pre-trained deep residual network is provided in one embodiment of the present application;
[0039] Figure 5 A schematic diagram of the composition of residual module 3, residual module 5 and residual module 7 included in a pre-trained deep residual network is provided in one embodiment of the present application;
[0040] Figure 6 An improved Epri36 node system simulation model constructed in a specific embodiment of the present application;
[0041] Figure 7 A schematic diagram of a heterogeneous sample construction system provided in one embodiment of the present application;
[0042] Figure 8 A schematic diagram of the structure of a power system transient voltage stability assessment system provided in one embodiment of the present application;
[0043] Fig. 9 A block diagram of a computer processing device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0044] The following examples are used to illustrate the present application but are not used to limit the scope of the present application.
[0045] The present application embodiment provides a heterogeneous sample construction method for evaluating transient voltage stability of a power system. Figure 1 As shown, the method comprises:
[0046] Step S12, setting different working condition information, based on the preset AC transmission line fault, according to the shortest fault clearing time and the longest fault clearing time, performing offline time-domain simulation on the target power system, and generating a preset number of simulation samples;
[0047] In an embodiment of the present application, different operating condition information may be set for different load levels, and / or different proportions of induction motors, and / or different proportions of wind power. Considering a three-phase short-circuit fault in an AC line, different fault locations are set on each AC line, and the shortest fault removal time and the longest fault removal time range are set to simulate a more comprehensive simulation sample. Specifically, when performing offline time-domain simulation of the power system, different operating conditions are set, the most serious three-phase short-circuit N-1 fault of the AC transmission line is considered, and the possible shortest fault removal time to the longest fault removal time range is considered, and a large number of samples are simulated in batches.
[0048] The data of the simulation samples constructed in the embodiment of the present application is input into the deep residual network for pre-training to obtain a pre-trained deep residual neural network, and then determine the optimal transient voltage stability assessment model.
[0049] Step S14: after determining to start the transient voltage stability assessment of the power system based on the preset trigger condition, for the power system synchronous phasor measurement unit (PMU), a PMU section data group representing the steady-state power flow level of the working condition before the fault occurs, and two PMU section data groups representing the fault impact degree when the fault occurs are obtained as fixed parts of each sample in the heterogeneous sample group;
[0050] In the embodiment of the present application, the PMU (power system synchronous phasor measurement device) data of each detection bus in the system is detected in real time. When the system is in steady state operation, the voltage amplitude of each detection bus remains unchanged. When a fault occurs, the voltage of each detection bus will drop to a certain extent instantly. In order to avoid false triggering of transient voltage stability assessment caused by load fluctuations, a preset voltage difference ε is set. v , such as ε v =0.5, when the voltage amplitude of the busbar is detected for the t-1th time V t-1 The voltage amplitude V of the bus detected at the tth time t The difference is not less than the preset voltage difference ε v , that is, satisfying V t-1 -V t >ε v , an event is detected and it is determined to start the power system transient voltage stability assessment process.
[0051] After starting the transient voltage stability assessment of the power system, a PMU section data group representing the steady-state power flow level of the working condition before the fault occurs and two PMU section data groups representing the fault impact degree when the fault occurs are obtained as the fixed part of each sample in the heterogeneous sample group; and each heterogeneous sample in the heterogeneous sample group includes a fixed part and a sliding part. The PMU section data group includes the voltage amplitude V, active power P and reactive power Q obtained by the synchronous phasor measurement device of the power system.
[0052] Step S16, setting a preset time interval, and successively acquiring a target number of PMU cross-section data groups at the preset time interval as a sliding part of a sample in the heterogeneous sample group;
[0053] In an embodiment of the present application, after obtaining a PMU section data group representing the steady-state power flow level of the power system before a fault occurs and two PMU section data groups representing the degree of fault impact when the fault occurs as the fixed part of each sample in the heterogeneous sample group, the sliding part of each sample in the heterogeneous sample group is further determined.
[0054] Step S18, combining the fixed part with the sliding part corresponding to each sample to form a heterogeneous sample, and combining multiple samples together to form a heterogeneous sample group; wherein the PMU section data group includes the voltage amplitude V, active power P and reactive power Q obtained by the power system synchronous phasor measurement device;
[0055] The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
[0056] In an embodiment of the present application, each heterogeneous sliding part in the heterogeneous sample group is composed of a PMU section data group acquired later, and the time interval is determined according to the number of PMU section data to be acquired and the total time. The total time refers to the length of the time period between the time when the transient voltage stability assessment of the power system is started and the maximum fault clearing time.
[0057] Further, in the embodiment of the present application, the number of PMU cross-sectional data groups to be taken can be set, and then the preset time interval can be determined based on the total time and the number of times the PMU cross-sectional data groups need to be taken, and then the PMU cross-sectional data groups are acquired based on the preset time. As an optional embodiment, each PMU cross-sectional data group is acquired in the sliding part determination stage, and constitutes a heterogeneous sample with the fixed part determined in step S14, or at least two PMU cross-sectional data groups can be taken as the sliding part of a heterogeneous sample, and these at least two PMU cross-sectional data groups can each take a certain weight, and then be combined with the fixed part determined in step S14 to form a heterogeneous sample.
[0058] The embodiment of the present application provides a heterogeneous sample construction method, which can construct a heterogeneous sample consisting of a fixed part and a sliding part, which can be used to accurately and efficiently evaluate the transient voltage stability of the power system.
[0059] Example 2
[0060] The present application embodiment provides a method for evaluating the transient voltage stability of a power system, which is used to evaluate the stability of the transient voltage of the power system based on the heterogeneous samples to be tested constructed by the method provided in Example 1, see Figure 2 As shown, the method comprises:
[0061] Step S22, inputting the heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable or not and the voltage stability result of the detection bus;
[0062] In an embodiment of the present application, a deep residual neural network is pre-trained, and the heterogeneous samples determined in Example 1 are used as heterogeneous samples to be tested and as inputs to the pre-trained deep residual network, and the pre-trained deep residual network includes two outputs, which are a Boolean variable in the form of a binary value representing whether the transient voltage is stable or not, and the voltage stability result of the detected bus is output.
[0063] Step S24: if the output of the pre-trained deep residual neural network is that the transient voltage stability assessment result is unstable, then start the preset emergency control measures;
[0064] Step S26: If the output transient voltage stability assessment result of the pre-trained deep residual neural network is stable, and the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than a preset voltage, the assessment result is determined to be stable; wherein the preset voltage is the minimum value for the voltage to recover stability.
[0065] In the embodiment of the present application, after the heterogeneous sample to be tested is input into the pre-trained deep residual neural network, if the first output result of the pre-trained deep residual neural network is that the transient voltage stability assessment result is unstable, that is, when the Boolean variable representing the steady-state voltage stability assessment result is false (binary 0), the preset emergency braking measures are initiated. Furthermore, the preset emergency braking measures are emergency control measures for transient voltage stability of the power system, which can be but not limited to cutting off power loads, etc.
[0066] In the embodiment of the present application, the pre-trained deep residual network includes: an input layer, a convolution layer, a batch normalization layer, an activation layer, several residual module layers, a global average pooling layer and a multi-label classification layer. As a specific embodiment, see Figure 3As shown, the pre-trained deep residual network includes an input layer, a 3*3 convolution layer, a batch normalization layer, a Swish activation layer, a residual module 1, a residual module 2, a residual module 3, a residual module 4, a residual module 5, a residual module 6, a residual module 7, a residual module 8, a global average pooling layer, a multi-label classification layer, an L2 regularization layer, a Dense 11, a Sigmoid activation layer and an output layer. Figure 4 As shown, residual module 1, residual module 2, residual module 4, residual module 6 and residual module 8 all include a 3*3 convolution layer, a batch normalization layer, a Swish activation layer, a 3*3 convolution layer, a batch normalization layer and a Swish activation layer. Figure 5 As shown, residual module 3, residual module 5 and residual module 7 are the same, which include 3*3 convolution layer, first batch normalization layer, Swish activation layer, 3*3 convolution layer, batch normalization layer and Swish activation layer in sequence, and also include 1*1 convolution layer and batch normalization layer.
[0067] In the method provided in the embodiment of the present application, the method for determining that the transient voltage assessment result is unstable includes:
[0068] During the transient process after the power system is disturbed, the multi-label classification layer of the pre-trained deep residual neural network can automatically output whether the load bus voltage can recover to above 0.8pu within 10s. If it cannot recover to above 0.8 within 10s, it is regarded as transient voltage instability of the power system.
[0069] As follows, a specific embodiment is given to illustrate:
[0070] In order to further verify the effectiveness of the method for evaluating the transient voltage stability of the power system using the heterogeneous model constructed in Example 1 of the present application, Figure 6As shown in the figure, an improved Epri36 node system simulation model is built in PSASP, where 1, 2, 4, 5, 6 are the bus numbers of thermal power generators, 3, 7 are the bus numbers of turbines, and 8 is replaced by a wind farm of a doubly fed asynchronous generator with an equal capacity of 300MW (wind power accounts for about 12.5% of the total system capacity). It is pointed out that the other numbers in the figure are also the numbers of the load buses of the corresponding devices. The generator is represented by a 6th-order synchronous machine model that considers the transient and sub-transient potential changes of the d and q axes. The generator excitation system adopts an externally excited conventional excitation system and a self-parallel excitation fast excitation system, and a general speed regulator model is adopted. Among them, DC transmission adopts a bipolar operation mode. When a short circuit fault occurs on the inverter side, the rectifier side is controlled by a constant current, and the inverter side is controlled by a fixed arc extinction angle. The failure of DC inverter commutation due to AC fault is a common fault type. When the AC voltage on the inverter side is reduced due to a fault, it will cause the inverter side of the DC transmission system to fail to commutate. In severe cases, it will cause bipolar locking, further aggravating the transient voltage stability problem of the system. The rated power of a single wind turbine in the wind farm in the example is 1.5MW, and the rated wind speed is 11.8m / s. All wind turbines operate in the maximum power point tracking MPPT mode and have reactive power control and low voltage ride-through control. If the voltage drops severely, the wind turbine will automatically disconnect from the grid.
[0071] A three-phase short circuit fault is set for the AC line of the improved Epri36 node system (0.1s fault start, simulation time 10s), 25%, 50%, 75% three fault positions are set for each line, 3 cycles to 8 cycles, a total of 6 fault removal times, the load model adopts a constant impedance + induction motor model, 50%, 60%, 70% three induction motor proportions are set, 0.8, 0.9, 1, 1.1, 1.2 five load levels are set, 5%, 12.5%, 20% three wind power proportions are set, the simulation frequency is 50Hz, the sampling frequency is two sampling points per cycle, and 16200 samples are obtained through batch simulation, including 11802 stable samples and 4398 unstable samples. The transient voltage instability criterion of the power system is stipulated in the Technical Specifications for Safety and Stability Calculation of Power Systems: In the transient process after the power system is disturbed, if the load bus voltage can recover to above 0.80pu within 10s after the fault, the bus transient voltage is considered stable.
[0072] Since voltage stability is related to the system's active power transmission capacity, reactive power level, and load dynamic characteristics, the fault characteristics select the three physical quantities of P, Q, and V of the system bus. Simulation detection is performed on 9 load buses, the AC bus on the inverter side of the DC transmission line, and the AC bus on the wind farm. The V, P, and Q characteristics of a total of 11 buses are derived. The samples obtained by simulation are divided into training sets and test sets in a ratio of 4:1, with 12,960 samples in the training set and 3,240 samples in the test set. Figure 1The semi-fixed and semi-sliding heterogeneous sample construction method shown in the figure is used to construct samples. After data preprocessing, the constructed samples are put into the deep residual network for offline training, and then the transient voltage stability is evaluated based on the heterogeneous samples constructed by the heterogeneous sample construction method. In the actual evaluation process, the stability result is output each time the sliding data window advances. Since the stability labels of the training set and test set samples are determined by the system stability at the next moment when the fault removal moment is equal to the end moment of the sliding data window, if the sample is unstable, the instability judgment time output by the model is at least one point before the fault removal, and emergency control measures are taken immediately after the system is judged to be unstable. If the sample is stable, the stability result is output each time the sliding data window advances until the voltage returns to stability. In order to measure the transient voltage stability evaluation effect of the deep learning algorithm, the confusion matrix is constructed to formulate the following four evaluation indicators:
[0073] Table 1 Confusion matrix table
[0074]
[0075] T s F is the number of samples that are predicted to be stable and have been verified to be stable; us F is the number of samples that are unstable in prediction and still stable after verification; s T is the number of samples that are predicted to be stable and are still unstable after verification; us To predict the number of unstable samples that are still unstable after verification. For the convenience of statistics, the following four variables are defined:
[0076] (1) Definition of accuracy ACC: The ratio of all correctly predicted samples to the total samples:
[0077]
[0078] (2) Define the stable sample prediction accuracy rate TSR, which is the ratio of the number of all correctly judged stable samples to all stable samples:
[0079]
[0080] (3) Define the prediction accuracy rate TUR of unstable samples, which is the ratio of the number of correctly judged unstable samples to the total number of unstable samples:
[0081]
[0082] (4) Define the geometric mean G-mean of the prediction accuracy of stable samples and the prediction accuracy of unstable samples:
[0083]
[0084] The semi-fixed and semi-sliding heterogeneous sample construction method was used to evaluate the stability of the 11 tested buses. The test results of 11×3240=35640 tested buses were statistically analyzed in the 3240 test set samples and are shown in the following table:
[0085] Table 2 Transient voltage stability test results of each detection node
[0086]
[0087] If one of the 11 detection buses in a sample is judged to be unstable, the entire system transient voltage is determined to be unstable. The binary evaluation performance of the transient voltage stability / instability of the system is shown in the following table:
[0088] Table 3 Test system stable / unstable transient voltage stability binary test results
[0089]
[0090]
[0091] It can be seen from Table 2 that the heterogeneous samples constructed by the semi-fixed and semi-sliding heterogeneous sample construction method disclosed in Example 1 are input into the deep residual network for training, and 11 detection buses are tested in each sample. The stability prediction accuracy of a total of 35,640 test buses reaches 96.33%, of which the prediction accuracy of stable samples is 96.19%, and the prediction accuracy of unstable samples is 97.21%. In a sample, if a detection node is determined to be unstable, the system transient voltage is determined to be unstable. Table 3 gives the binary classification prediction results, among which the prediction accuracy of the Resnet network is 97.62%, among which the prediction accuracy of the stable sample is 97.46%, and the prediction accuracy of the unstable sample is 98.02%. By comparison, it can be seen that the evaluation performance of the deep residual neural network (Resnet network) is significantly higher than that of Alexnet, CNN and other 4 machine learning models.
[0092] The present application also provides a method for evaluating the transient voltage stability of a power system, which evaluates the stability of the transient voltage of the power system based on heterogeneous samples determined by a heterogeneous sample construction method. The constructed heterogeneous samples include a fixed part and a sliding part, and thus can better reflect the current stability of the power system. Therefore, the technical solution provided in the embodiment of the present application can realize a rapid and accurate evaluation of the transient voltage stability of the power system.
[0093] Example 3
[0094] The present application also provides a heterogeneous sample construction system for evaluating transient voltage stability of a power system, see Figure 7 As shown, the system comprises:
[0095] The simulation module 71 is used to set different working condition information, perform offline time domain simulation on the target power system based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, and generate a preset number of simulation samples;
[0096] The sample fixed part determination module 72 is used for obtaining, for a synchronous phasor measurement unit (PMU) of the power system, a PMU section data group representing the steady-state power flow level of the current working condition before the fault occurs, and two PMU section data groups representing the fault impact degree when the fault occurs as the fixed part of each sample in the heterogeneous sample group after determining to start the transient voltage stability assessment of the power system based on the preset trigger condition;
[0097] The sample sliding part determination module 73 is used to set a preset time interval, and successively obtain a target number of PMU cross-section data groups at the preset time interval as a sliding part of a sample in the heterogeneous sample group;
[0098] A heterogeneous sample forming module 74 is used to combine the fixed part with the sliding part corresponding to each sample to form a heterogeneous sample, and to combine multiple samples together to form a heterogeneous sample group; the PMU section data group includes the voltage amplitude V, active power P and reactive power Q obtained by the power system synchronous phasor measurement device;
[0099] The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
[0100] The embodiment of the present application provides a heterogeneous sample construction method, which can construct a heterogeneous sample consisting of a fixed part and a sliding part, and then be used to accurately and efficiently evaluate the transient voltage stability of the power system.
[0101] Example 4
[0102] The present application also provides a power system transient voltage stability assessment system, which is based on heterogeneous samples and is used to assess the stability of the transient voltage of the power system based on the heterogeneous samples to be tested constructed by the method in Example 1, see Figure 8 As shown, the system comprises:
[0103] The acquisition module 81 is used to acquire the heterogeneous samples to be tested, and input the acquired heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable or not and the voltage stability result of the detection bus;
[0104] Processing module 82 is used to initiate preset emergency control measures if the transient voltage stability assessment result is unstable; it is also used to determine the assessment result as stable if the transient voltage stability assessment result is stable and the bus voltage of the PMU section data corresponding to a number of consecutive heterogeneous samples to be tested is greater than a preset voltage; wherein the preset voltage is the minimum value for the voltage to recover stability.
[0105] In summary, the present application also provides a power system transient voltage stability assessment system, which assesses the stability of the transient voltage of the power system based on heterogeneous samples determined by a heterogeneous sample construction method. The constructed heterogeneous samples include a fixed part and a sliding part, and thus can better reflect the current stability of the power system. Therefore, the technical solution provided in the embodiment of the present application can realize a fast and accurate assessment of the transient voltage stability of the power system.
[0106] It should be noted that the power system transient voltage stability assessment system for heterogeneous samples provided in the embodiment of the present application and the power system transient voltage stability assessment for heterogeneous samples provided in Example 2 belong to the same inventive concept. Similarly, the heterogeneous sample construction system provided in the embodiment of the present application and the heterogeneous sample construction method provided in Example 1 belong to the same inventive concept.
[0107] Fig. 9 : is a block diagram of a computer processing device provided by an embodiment of the present application. The computer processing device described in this embodiment may be a computing device such as a desktop computer, a laptop computer, a PDA, and a cloud server. The device may include, but is not limited to, a processor and a memory. The computer processing device described in this embodiment includes at least a processor and a memory. A computer program is stored on the memory. The computer program can be run on the processor. When the processor executes the computer program, the steps in Embodiment 1 or Embodiment 2 are implemented. Alternatively, when the processor executes the computer program, the functions of each module in the system embodiment in Embodiment 3 or Embodiment 4 are implemented.
[0108] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the power system transient voltage stability assessment system based on heterogeneous samples or the heterogeneous sample construction system. For example, the computer program may be divided into a simulation module, a sample fixed part determination module, a sample sliding part determination module, and a heterogeneous sample construction module, and the specific functions of each module are as follows:
[0109] A simulation module is used to set different working condition information, perform offline time domain simulation on the target power system based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, and generate a preset number of simulation samples;
[0110] A sample fixed part determination module is used to obtain, for a synchronous phasor measurement unit (PMU) of the power system, a PMU section data group representing the steady-state power flow level of the current working condition before the occurrence of a fault, and two PMU section data groups representing the degree of fault impact when the fault occurs as the fixed part of each sample in the heterogeneous sample group after determining to start the transient voltage stability assessment of the power system based on the preset trigger condition;
[0111] A sample sliding part determination module is used to set a preset time interval, and successively obtain a target number of PMU cross-section data groups at the preset time interval as a sliding part of a sample in the heterogeneous sample group;
[0112] A heterogeneous sample forming module, used for combining the fixed part with the sliding part corresponding to each sample to form a heterogeneous sample, and combining multiple samples together to form a heterogeneous sample group; the PMU section data group includes the voltage amplitude V, active power P and reactive power Q obtained by the power system synchronous phasor measurement device;
[0113] The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
[0114] Alternatively, the computer program may be divided into an acquisition module and a processing module, and the specific functions of each module are as follows:
[0115] An acquisition module is used to acquire the heterogeneous samples to be tested, and input the acquired heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable or not and the voltage stability result of the detection bus;
[0116] The processing module is used to start the preset emergency control measures if the transient voltage stability assessment result is unstable; it is also used to determine the assessment result as stable if the transient voltage stability assessment result is stable and the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than the preset voltage; wherein the preset voltage is the minimum value for the voltage to recover stability.
[0117] The processor may include one or more processing cores, such as a 4-core processor, a 6-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning. The processor is the control center of the computer processing device, and various interfaces and lines are used to connect the various parts of the entire computer processing device.
[0118] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the computer processing device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a memory device, or other volatile solid-state storage devices.
[0119] Those skilled in the art will appreciate that the device described in this embodiment is only an example of a computer processing device and does not constitute a limitation on the computer processing device. In other implementations, more or fewer components may be included, or certain components may be combined, or different components may be included. For example, the computer processing device may also include input and output devices, network access devices, buses, etc. The processor, memory, and peripheral device interface may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface via a bus, a signal line, or a circuit board. Schematically, the peripheral devices include, but are not limited to, a radio frequency circuit, a touch display, an audio circuit, and a power supply.
[0120] Of course, the computer processing device may also include fewer or more components, which is not limited in this embodiment.
[0121] Optionally, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it is used to implement the steps of the above-mentioned power system transient voltage stability assessment method or heterogeneous sample construction method.
[0122] Optionally, the present application also provides a computer product, which includes a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the steps of the above-mentioned power system transient voltage stability assessment method or heterogeneous sample construction method embodiment.
[0123] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0124] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A heterogeneous sample construction method for evaluating transient voltage stability of power systems, characterized in that: The method comprises: Set different working condition information, based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, perform offline time-domain simulation on the target power system, and generate a preset number of simulation samples; After the transient voltage stability assessment of the power system is started based on the preset trigger conditions, a PMU section data group representing the steady-state power flow level of the current working condition before the fault occurs and two PMU section data groups representing the fault impact degree when the fault occurs are obtained for the synchronous phasor measurement device of the power system as the fixed part of each sample in the heterogeneous sample group; A preset time interval is set, and a target number of PMU cross-section data groups are successively acquired at the preset time interval as sliding parts of a sample in the heterogeneous sample group; The fixed part is combined with the sliding part corresponding to each sample to form a heterogeneous sample, and a plurality of samples are combined to form a heterogeneous sample group; wherein the PMU section data group includes voltage amplitude, active power and reactive power obtained by the synchronous phasor measurement device of the power system; The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
2. The method according to claim 1, characterized in that The different operating conditions are different load levels, and / or different proportions of induction motors, and / or different proportions of wind power.
3. The method according to claim 1, characterized in that The preset trigger condition is that the difference between the voltage amplitudes in two adjacent acquired PMU section data groups is greater than a preset voltage difference.
4. A method for evaluating the transient voltage stability of a power system, for evaluating the stability of the transient voltage of a power system based on the heterogeneous samples to be tested constructed by the method described in any one of claims 1 to 3, characterized in that: The method comprises: Inputting the heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable and the voltage stability result of the monitoring bus; If the first output of the pre-trained deep residual network is that the transient voltage stability assessment result is unstable, the preset emergency control measures are initiated; If the first output of the pre-trained deep residual network is that the transient voltage stability assessment result is stable, and the second output is that the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than the preset voltage, then the assessment result is determined to be stable; wherein the preset voltage is the minimum value for the voltage to recover stability.
5. The method according to claim 4, characterized in that The pre-trained deep residual network includes: an input layer, a convolution layer, a batch normalization layer, an activation layer, several residual module layers, a global average pooling layer and a multi-label classification layer.
6. The method according to claim 4 or 5, characterized in that: In the method, the method of determining that the transient voltage assessment result is unstable includes: If it is determined according to the pre-trained deep residual network that the voltage of the load bus corresponding to the heterogeneous sample to be tested has not recovered to 0.8 pu within 10 seconds, then the first output of the pre-trained deep residual network is determined to be transient voltage instability of the power system.
7. A heterogeneous sample construction system for evaluating transient voltage stability of power systems, characterized in that: The system comprises: A simulation module is used to set different working condition information, perform offline time domain simulation on the target power system based on the preset AC transmission line fault, according to the shortest fault removal time and the longest fault removal time, and generate a preset number of simulation samples; A sample fixed part determination module is used to obtain, for a synchronous phasor measurement unit (PMU) of the power system, a PMU section data group representing the steady-state power flow level of the current working condition before the occurrence of a fault, and two PMU section data groups representing the degree of fault impact when the fault occurs as the fixed part of each sample in the heterogeneous sample group after determining to start the transient voltage stability assessment of the power system based on the preset trigger condition; A sample sliding part determination module is used to set a preset time interval, and successively obtain a target number of PMU cross-section data groups at the preset time interval as a sliding part of a sample in the heterogeneous sample group; A heterogeneous sample forming module, used for combining the fixed part with the sliding part corresponding to each sample to form a heterogeneous sample, and combining multiple samples together to form a heterogeneous sample group; the PMU section data group includes the voltage amplitude, active power and reactive power obtained by the power system synchronous phasor measurement device; The preset time interval is determined according to the target quantity and the time length, and the time length is the time difference between the time corresponding to the preset trigger condition and the longest fault removal time.
8. A power system transient voltage stability assessment system, used to assess the stability of a power system transient voltage based on a heterogeneous sample to be tested constructed by the method described in any one of claims 1 to 3, characterized in that: The system comprises: An acquisition module is used to acquire the heterogeneous samples to be tested, and input the acquired heterogeneous samples to be tested into a pre-trained deep residual network; the pre-trained deep residual network outputs whether the transient voltage is stable or not and the voltage stability result of the monitoring bus; The processing module is used to start the preset emergency control measures if the transient voltage stability assessment result is unstable; it is also used to determine the assessment result as stable if the transient voltage stability assessment result is stable and the bus voltage of the PMU section data corresponding to several consecutive heterogeneous samples to be tested is greater than the preset voltage; wherein the preset voltage is the minimum value for the voltage to recover stability.
9. A computer processing device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that: The computer program is loaded and executed by the processor to implement the heterogeneous sample construction method according to any one of claims 1 to 3, or the power system transient voltage stability assessment method according to any one of claims 4 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it is used to implement the heterogeneous sample construction method according to any one of claims 1 to 3, or the power system transient voltage stability assessment method according to any one of claims 4 to 8.
