Online estimation method, system and equipment for inertia center frequency of power system
By adopting a square root-based volume Kalman filtering algorithm in the power system, the problem of online calculation of inertia center frequency in large power systems is solved, the calculation speed and stability are improved, and the online monitoring and control of the frequency stability of the power system is realized.
Patent Information
- Application Number
- CN202410924110.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-12
Smart Images

Figure CN118940467A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of state monitoring of power systems, and in particular to an online estimation method, system and device for the inertial center frequency of a power system. Background Art
[0002] The integration of large-scale renewable energy is the only way to achieve green and low-carbon energy. It has brought profound changes to the traditional power grid, which is transforming into a new power system characterized by "high proportion of power electronic equipment" and "high proportion of renewable energy". This has reduced the inertia level of the power system and made the frequency stability problem increasingly prominent. Accurately estimating the inertia center frequency of the power system is crucial for frequency stability analysis and control strategy design.
[0003] In practical applications, the inertial center frequency is usually calculated during the dynamic simulation phase of the power system. For large systems, this is a time-consuming process and cannot be calculated online. Phasor Measurement Unit (PMU) makes it possible to calculate the inertial center frequency online. However, PMU is expensive and cannot cover all nodes.
[0004] At present, the dynamic state estimation (DSE) of power systems is mainly based on Kalman filter algorithms and derivative algorithms, such as Extended Kalman Filter (EKF), Unscented Kalman Filter (UKF), Cubic Kalman Filter (CKF), etc. However, in the face of high-order nonlinear power systems, EKF has large truncation errors, UKF has filter divergence, and CKF has non-positive definite or asymmetric covariance matrices, which obviously cannot meet the requirements of new power system DSE for the numerical stability of filtering algorithms. Summary of the invention
[0005] The purpose of this application is to provide a method, system and device for online estimation of the inertia center frequency of an electric power system, which can improve the calculation speed, accuracy and numerical stability of the inertia center frequency of the electric power system.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] In a first aspect, the present application provides an online method for estimating the inertia center frequency of an electric power system, wherein the electric power system includes a plurality of synchronous generators, and the online method for estimating the inertia center frequency of the electric power system includes:
[0008] Constructing a dynamic state estimation model of the power system and initializing state variables of the power system;
[0009] Within a preset estimation period, based on a dynamic state estimation model of the power system, real-time collection of operation data of the power system;
[0010] Based on the dynamic state estimation model of the power system, according to the operation data of the power system at each moment in the estimation period, a cubature Kalman filter algorithm based on square root is used to perform state prediction and measurement update on the power system;
[0011] The inertia center frequency of the power system is determined according to the state prediction result of the power system at the last moment in the estimation period.
[0012] In a second aspect, the present application provides an online estimation system for the inertial center frequency of a power system, comprising:
[0013] A dynamic state estimation model building module, used to build a dynamic state estimation model of the power system and initialize the state variables of the power system;
[0014] A measurement data acquisition module, connected to the dynamic state estimation model building module, for collecting the operation data of the power system in real time based on the dynamic state estimation model of the power system within a preset estimation period;
[0015] A dynamic state estimation module, connected to the measurement data acquisition module, for predicting the state of the power system and updating the measurement based on the dynamic state estimation model of the power system and the operation data of the power system at each moment in the estimation period, using a cubature Kalman filter algorithm based on square roots;
[0016] The inertia center frequency online calculation module is connected to the dynamic state estimation module and is used to determine the inertia center frequency of the power system according to the state prediction result of the power system at the last moment in the estimation period.
[0017] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-mentioned method for online estimation of the inertia center frequency of the power system.
[0018] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0019] The present application provides a method, system and device for online estimation of the inertia center frequency of an electric power system. By constructing a dynamic state estimation model of the electric power system and based on the operation data of the electric power system at each moment collected during an estimation period, a square root based cubature Kalman filter algorithm (Square Root Cubature KalmanFilter, SR-CKF) is used to predict the state of the electric power system and update the measurement. Compared with EKF, UKF and CKF for dynamic state estimation of the electric power system, the calculation speed, filtering accuracy and numerical stability are improved. Furthermore, based on the state prediction result at the last moment in the estimation period, online accurate estimation of the inertia center frequency of the electric power system is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 This is an application environment diagram of an on-line estimation method of the inertia center frequency of a power system in one embodiment of the present application;
[0022] Figure 2 A schematic diagram of a flow chart of an online method for estimating the inertia center frequency of a power system provided in one embodiment of the present application;
[0023] Figure 3 It is a schematic diagram of a power system with 3 machines and 9 nodes;
[0024] Figure 4 for Figure 2 Detailed flow chart of the state prediction and measurement update steps in the figure;
[0025] Figure 5 A schematic diagram of functional modules of an on-line estimation system for the inertia center frequency of a power system provided in one embodiment of the present application;
[0026] Figure 6 The schematic diagram of the rotor power angle estimation results of the first synchronous generator in a 3-machine 9-bus power system using different methods;
[0027] Figure 7 Schematic diagram of the angular velocity estimation results of the first synchronous generator in a 3-machine 9-bus power system using different methods;
[0028] Figure 8 The schematic diagram of the rotor power angle estimation results of the second synchronous generator in the 3-machine 9-bus power system using different methods;
[0029] Fig. 9 Schematic diagram of the angular velocity estimation results of the second synchronous generator in a 3-machine 9-bus power system using different methods;
[0030] Fig.10 The schematic diagram of the rotor power angle estimation results of the third synchronous generator in the 3-machine 9-bus power system using different methods;
[0031] Fig.11 The schematic diagram of the angular velocity estimation results of the third synchronous generator in a 3-machine 9-bus power system using different methods;
[0032] Fig.12 It is a schematic diagram of the estimation result of the inertial center frequency;
[0033] Fig.13 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0036] The method for online estimation of the inertia center frequency of a power system provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, or it can be integrated on the server 104, or it can be placed on the cloud or other servers. The terminal 102 can send an estimation instruction to the server 104, and after the server 104 receives the estimation instruction, it performs an online estimation of the inertia center frequency of the power system. The server 104 can feedback the online estimation result of the inertia center frequency to the terminal 102. In addition, in some embodiments, the online estimation method of the inertia center frequency of the power system can also be implemented separately by the server 104 or the terminal 102, such as the terminal 102 or the server 104 can directly perform the online estimation of the inertia center frequency of the power system.
[0037] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.
[0038] In an exemplary embodiment, Figure 2 As shown, a method for online estimation of the inertia center frequency of a power system is provided. The method is executed by a computer device, and can be executed by a computer device such as a terminal or a server alone, or by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used for explanation, including the following steps 10 to 13.
[0039] in:
[0040] Step 10: Construct a dynamic state estimation model of the power system and initialize the state variables of the power system.
[0041] Constructing the dynamic state estimation model in step 10 specifically includes: determining the variable category and establishing a mathematical model.
[0042] The variable categories are divided into state variables x, input variables u and measurement variables z:
[0043]
[0044] Where, δ is the rotor power angle of the synchronous generator, ω is the angular velocity of the synchronous generator, T m is the input mechanical torque of the synchronous generator, E fd is the stator excitation voltage, e R The voltage phasor E collected by the PMU at the synchronous generator end t The real part, e I is the imaginary part of the voltage phasor collected by the PMU at the synchronous generator end, and satisfies E t =e R +je I ,i R The current phasor I collected by the PMU at the synchronous generator end t The real part, i I The current phasor I collected by the PMU at the synchronous generator end t The imaginary part of t =i R +ji I , j is an imaginary number.
[0045] As a specific embodiment, according to Figure 3 The variable categories are determined for the power system with a 3-machine 9-node structure shown. The 3 machines are the 1st synchronous generator G1, the 2nd synchronous generator G2 and the 3rd synchronous generator G3, and the 9 nodes are the 1st node 1, the 2nd node 2, the 3rd node 3, the 4th node 4, the 5th node 5, the 6th node 6, the 7th node 7, the 8th node 8 and the 9th node 9.
[0046] The mathematical model of the power system includes network topology, equipment parameters and measurement configuration. The mathematical model is the dynamic state estimation model of the power system, which includes system equations and measurement equations. The system equations are a set of differential-algebraic equations that describe the dynamic behavior of the system according to the physical laws of the power system components. The measurement equations describe the relationship between the actual measurement values and the state variables.
[0047] The differential equations in the differential-algebraic equation system are used to describe the system state that changes continuously with time, such as the rotor motion of the generator, the dynamic response of the excitation system and the speed control system. The algebraic equations in the differential-algebraic equation system are used to describe the steady-state constraints of the system, such as the conservation of power flow at the node and the topological structure of the network.
[0048] The actual measured values in the measurement equation refer to the voltage phasor, current phasor, power, etc. provided by the PMU. The state variables in the measurement equation are a set of variables used to describe the state of the system at a specific point in time, such as the node voltage amplitude and phase angle, and the rotor angle of the generator.
[0049] The system equation is:
[0050] x k =f(x k-1 ,u k-1 )+ω k-1 ;
[0051] The measurement equation is:
[0052] z k =h(x k ,u k )+v k ;
[0053] Among them, x k is the state variable of the power system at time k, which belongs to the n×1-dimensional state vector, x k-1 is the state variable of the power system at time k-1, u k is the input variable of the power system at time k, u k-1 is the input variable of the power system at time k-1, z k is the measured variable of the power system at time k, representing the operating data of the power system at time k, and is an m×1-dimensional measurement vector.k-1 is the process noise of the power system at time k-1, v k is the measurement noise of the power system at time k, f(·) is the discrete nonlinear state transfer function with a dimension of n×n, h(·) is the discrete nonlinear measurement function with a dimension of m×n, n is the dimension of the state variable, which is 6 here, and m is the dimension of the measurement variable. The value of m depends on the number of PMUs at the machine end.
[0054] ω k and v k Satisfy mathematical statistical properties:
[0055]
[0056] Among them, Q k is the process noise covariance at time k, R k is the measurement noise covariance matrix at time k.
[0057] The system equation can use the second-order, fourth-order, and sixth-order dynamic equations of the synchronous generator. This application uses the second-order dynamic equation, and the specific expression of f(·) is:
[0058]
[0059] in, is the derivative of the rotor power angle of the i-th synchronous generator, ω0 is the synchronous speed of the synchronous generator, ω i is the angular velocity of the i-th synchronous generator, ω i The derivative of H i is the inertia time constant of the ith synchronous generator, T mi is the input mechanical torque of the ith synchronous generator, T ei is the output electromagnetic torque of the i-th synchronous generator, K Di is the damping coefficient of the i-th synchronous generator.
[0060] The specific expression of h(·) is:
[0061]
[0062] Among them, i Ri is the real part of the current phasor collected by the PMU at the i-th synchronous generator end, i Ii is the imaginary part of the current phasor collected by the PMU at the i-th synchronous generator, e Ri is the real part of the voltage phasor collected by the PMU at the i-th synchronous generator, e Ii is the imaginary part of the voltage phasor collected by the PMU at the i-th synchronous generator end, Represents the admittance matrix of the simplified network, Re() represents the real part of the calculation result, Im() represents the imaginary part of the calculation result, E' di is the direct-axis transient electromotive force of the ith synchronous generator, E' qi is the quadrature axis transient electromotive force of the i-th synchronous generator, treated as a constant, δ i is the rotor power angle of the ith synchronous generator, x' di is the direct-axis transient reactance of the ith synchronous generator, x' qi is the quadrature-axis transient reactance of the i-th synchronous generator, S B is the installed capacity of the synchronous generator, S Ni is the rated capacity of the i-th synchronous generator.
[0063] Furthermore, if Figure 4 As shown, the present application first initializes the parameter values and grid state of the DSE filtering algorithm, and sets time k = 1. The DSE filtering algorithm uses SR-CKF, and its initialization includes: the initial state variable mean The initial covariance matrix P0, the initial process noise covariance matrix Q0 and the initial measurement noise covariance matrix R0. Among them, the initial state quantity mean Taken from Figure 3 The steady-state operation data of the power system is shown. The steady-state operation state before the fault is used as the initial value of the state variable of the power system. The maximum estimation time t = 10s is set.
[0064] The initial covariance matrix P0 is set as follows:
[0065]
[0066] Among them, r δ is the rotor power angle constant, r δ =0.5π / 180, r ω is the angular velocity constant, r ω =10 -3 ×2πf, f is frequency, f=60Hz, I6 represents a 6×6 unit matrix.
[0067] The initial process noise covariance matrix Q0 is set as a diagonal matrix, whose elements are 0.01 times the maximum state quantity change value.
[0068] The initial measurement noise covariance matrix R0 is set to a diagonal matrix with constant values of 0.01. 2 .
[0069] Step 11: In a preset estimation period, based on the dynamic state estimation model of the power system, real-time acquisition of the operation data of the power system, including node voltage, line current, generator output power, etc.
[0070] The synchronous generator end PMU is used to obtain the measurement data at time k, k∈[0,10s].
[0071] The present application first determines the optimal position of the phasor measurement unit in the power system based on the determinant of the maximizing empirical observable row Gram matrix and the dynamic state estimation model of the power system. Then the phasor measurement unit is installed at the optimal position, and the operation data of the power system is collected in real time through the phasor measurement unit.
[0072] The process of determining the optimal position of the phasor measurement unit in the power system specifically includes:
[0073] (1) Determine the initial number and initial position of the phase measurement units.
[0074] (2) Based on the dynamic state estimation model of the power system, the initial number and initial position of the phasor measurement units, a measurement matrix and a measurement noise covariance matrix are determined.
[0075] (3) Calculate the Gram matrix based on the measurement matrix and the measurement noise covariance matrix. Specifically, the formula G = H T R -1 H calculates the Gram matrix. Where G is the Gram matrix, H is the measurement matrix, R is the measurement noise covariance matrix, and the superscript T represents the transpose operation.
[0076] (4) Calculate the determinant of the Gram matrix.
[0077] (5) With the goal of maximizing the determinant value of the Gram matrix and minimizing the number of phasor measurement units, an optimization algorithm is used to adjust the number and position of the phasor measurement units to determine the optimal position of the phasor measurement units in the power system. The optimization algorithm is a genetic algorithm, a particle swarm optimization algorithm, etc.
[0078] During the optimization process, the observable behavior of the system under new PMU placement configurations is analyzed until the optimal or satisfactory PMU placement solution is found.
[0079] If the determinant value of the Gram matrix is large, it indicates that the observability of the system is good, that is, the state estimation is more sensitive to the measurement data and the estimation result is more accurate.
[0080] The empirical observability determinant values of the 3-machine 9-bus power system under different PMU locations are shown in Table 1.
[0081] Table 1 Empirical observability determinant values at different PMU locations
[0082] PMU Location value PMU Location value 1 8.54 1,2 21.34 2 19.61 1,3 24.40 3 22.33 2,3 26.47
[0083] When the number of PMUs is the same, the determinant value under the optimal PMU arrangement is the largest, indicating that the observability of the power system is better, that is, the state estimation is more sensitive to the measured data and the estimation result is more accurate. Taking into account the economic factor, therefore, this application only places one PMU device on the third synchronous generator.
[0084] This application achieves the optimal configuration of the PMU equipment by maximizing the determinant of the empirically observable Gramian matrix, thereby greatly saving costs.
[0085] Step 12: Based on the dynamic state estimation model of the power system and according to the operating data of the power system at each moment in the estimation period, a square root-based cubature Kalman filter algorithm is used to perform state prediction and measurement update on the power system.
[0086] First, a starting point is provided for the filter. Before acquiring new measurement data, the system state is predicted according to the dynamic state estimation model. Then, the predicted state is corrected using the new measurement data to improve the accuracy of the estimation. The process of state prediction and measurement update is repeated to respond to new measurement data and estimate the state of the power system in real time.
[0087] In this application, the square root-based cubature Kalman filter algorithm uses the following formula to predict the state of the power system:
[0088]
[0089] Among them, X i,k|k is the state volume point of the i-th synchronous generator at time k, P k|k is the state error covariance matrix at time k, n is the dimension of the state variable, i is the serial number of the synchronous generator, is the estimated value of the state at time k, Form new points for the propagation volume points, u k is the input variable of the power system at time k, is the state prediction value at time k+1, S k+1|k is the square root of the state quantity prediction error covariance matrix at time k+1, is the intermediate state volume at time k+1, Q k is the process noise covariance at time k, chol(·) represents Cholesky decomposition and takes the upper triangular matrix, qr(·) represents QR decomposition and takes the upper triangular matrix, f1(·) represents the function of forming the new propagation volume point, [1] is the intermediate matrix,
[0090] The square root based cubature Kalman filter algorithm uses the following formula to measure and update the power system:
[0091]
[0092] Among them, X i,k+1|k is the predicted state volume point of the ith synchronous generator at time k+1, P k+1|k is the state error covariance matrix at time k+1, n is the dimension of the state variable, i is the serial number of the synchronous generator, is the state prediction value at time k+1, Z i,k+1|k is the value of the i-th synchronous generator at the measurement equation propagation volume point k+1, u k is the input variable of the power system at time k, is the predicted value of the measured variable at time k+1, S zz,k+1|k is the square root of the innovation covariance matrix at time k+1, P xz,k+1|k is the square root of the cross-covariance matrix of the measured and predicted values at time k+1, K k+1 is the Kalman gain at time k+1, is the state estimation result at time k+1, z k+1 is the measured variable of the power system at time k+1, S k+1|k+1 is the updated value of the square root of the state quantity prediction error covariance matrix at time k+1, R k+1 is the measurement noise covariance matrix at time k+1, S R,k+1 Represents the measurement noise covariance matrix R at time k+1 k+1 Do Cholesky decomposition and take the upper triangular matrix, η k+1|k is the first intermediate variable at time k+1, χ k+1|k is the second intermediate variable at time k+1, χ i,k+1|k is the second intermediate variable of the i-th synchronous generator at time k+1, chol(·) represents Cholesky decomposition and takes the upper triangular matrix, qr(·) represents QR decomposition and takes the upper triangular matrix, [1] is the intermediate matrix, The superscript T indicates a transpose operation.
[0093] If k+1>t, proceed to step 13, otherwise return to step 11.
[0094] This application applies the SR-CKF algorithm to the dynamic state estimation of the power system, which significantly improves the calculation speed, filtering accuracy and numerical stability.
[0095] Step 13: Determine the inertia center frequency of the power system according to the state prediction result of the power system at the last moment in the estimation period.
[0096] Specifically, the state prediction result of the power system includes an estimated value of the angular velocity of each synchronous generator.
[0097] The angular velocity of the state estimation result is weighted and summed to realize the online estimation of the inertia center frequency. The inertia center frequency of the power system is determined by the following formula:
[0098]
[0099] Among them, f coi is the inertia center frequency of the power system, N is the number of synchronous generators, is the estimated value of the angular velocity of the i-th synchronous generator, H i is the inertia constant of the ith synchronous generator, S i is the rated capacity of the i-th synchronous generator, H i,sys is the inertia intermediate parameter of the i-th synchronous generator.
[0100] This application performs weighted summation of the angular velocities resulting from state estimation to achieve online estimation of the center of inertia frequency, which is crucial for frequency stability analysis and control strategy design.
[0101] Furthermore, after the inertia center frequency of the power system is determined, the frequency stability of the power system can be analyzed based on the inertia center frequency, and a control strategy of the power system can be further constructed to improve the stability of the operation of the power system.
[0102] Based on the optimal configuration of PMU equipment, this application realizes the online estimation of the inertial center frequency of the power system, which plays an important role in saving costs, improving the stability of the power system, optimizing power grid operation and preventing power grid accidents.
[0103] The present application also provides an application scenario, which applies the above-mentioned method for online estimation of the inertia center frequency of the power system. Specifically: The method for online estimation of the inertia center frequency of the power system provided in this embodiment can be applied in the control strategy optimization scenario of the power system. During the control strategy optimization process of a certain power system, a dynamic state estimation model of the power system is constructed, and the online estimation of the inertia center frequency is performed. According to the online estimation result of the inertia center frequency, the control strategy of the power system is adjusted to improve the operating stability of the power system.
[0104] Based on the same inventive concept, the embodiment of the present application also provides an inertia center frequency online estimation system for implementing the inertia center frequency online estimation method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more inertia center frequency online estimation system embodiments provided below can refer to the limitations of the inertia center frequency online estimation method above, and will not be repeated here.
[0105] In an exemplary embodiment, Figure 5 As shown, a system for online estimation of the inertia center frequency of a power system is provided, comprising: a dynamic state estimation model building module 20, a measurement data acquisition module 21, a dynamic state estimation module 22 and an inertia center frequency online calculation module 23.
[0106] The dynamic state estimation model building module 20 is used to build a dynamic state estimation model of the power system and initialize the state variables of the power system.
[0107] The measurement data acquisition module 21 is connected to the dynamic state estimation model construction module 20, and the measurement data acquisition module 21 is used to collect the operation data of the power system in real time based on the dynamic state estimation model of the power system within a preset estimation period.
[0108] The dynamic state estimation module 22 is connected to the measurement data acquisition module 21. The dynamic state estimation module 22 is used to predict the state and update the measurement of the power system based on the dynamic state estimation model of the power system and the operating data of the power system at each moment in the estimation period, using a square root-based cubature Kalman filtering algorithm.
[0109] The inertia center frequency online calculation module 23 is connected to the dynamic state estimation module 22, and is used to determine the inertia center frequency of the power system according to the state prediction result of the power system at the last moment in the estimation period.
[0110] In order to verify the effectiveness of this application, the following simulation test is conducted on the online estimation process of the inertial center frequency. The data of 3 machines and 9 nodes are taken from the Power System Toolbox (PST), and the simulation experiment is run on MATLAB R2020b version and the computer configuration is Intel (R) Core (TM) i5-6400 CPU @ 2.70GHZ.
[0111] The result of PST power flow calculation is taken as the true value, Gaussian distribution noise is superimposed on the true value and the sampling frequency of PMU is set to 60 Hz to simulate the sampling data of on-site PMU.
[0112] The 8th node 8 and the 9th node 9 are busbars, which are branches with the largest line flow. At t=0, a three-phase metallic short circuit fault is applied near the 8th node 8, and the fault is cleared after 0.05s at the near end and 0.1s at the far end, respectively.
[0113] The EKF, UKF and CKF algorithms were selected for comparative analysis, and 50 Monte Carlo (MC) simulations were run.
[0114] The UKF algorithm adopts a proportionally corrected symmetric sampling strategy when selecting Sigma points, α=1, β=2, and κ=3-n.
[0115] like Figures 6 to 11 As shown in the figure, when the EKF algorithm is used to perform DSE on the power angle and angular velocity of the synchronous generator, the filtered curve has a large deviation from the true value, which will cause a large estimation error; while the UKF, CKF, and SR-CKF algorithms can better track the dynamic changes of the state quantity of the synchronous generator, with small estimation errors, and their convergence performance is better than that of EKF. When the angular velocity DSE is performed on the second and third synchronous generators, the starting point of the filtering algorithm is different from the true value because the initial value of the true value is taken from the state quantity of the steady state before the fault, and the initial value of the filtering algorithm is set to 377rad / s. Fig.12 It is the result of online estimation of the inertia center frequency of 3 machines and 9 nodes.
[0116] Furthermore, based on the L1 norm Figures 6 to 12 The quantitative analysis is shown in Table 2.
[0117]
[0118] Among them, e x is the index value, e δ is the rotor power angle index value, e ω is the angular velocity index value, e fcoi is the inertia center frequency index value, N MC Indicates the number of MC runs, T s is the sampling interval, is the true value of the i-th synchronous generator at time k, is the estimated state value of the i-th synchronous generator at time k.
[0119] Table 2 Estimation error and operation efficiency of state quantity of 3 machines and 9 nodes
[0120] Metrics EKF UKF CKF SR-CKF <![CDATA[e δ ]]> 0.0123 0.0088 0.0085 0.0078 <![CDATA[e ω ]]> 0.1360 0.0959 0.0948 0.0908 <![CDATA[e fcoi ]]> 0.0053 0.0041 0.0039 0.0036 Run time 0.9303 1.7802 1.7363 1.7255
[0121] Among them, in terms of the estimation error of the inertial center frequency, the filtering accuracy of the SR-CKF algorithm is 32.1% higher than that of the EKF algorithm, the filtering accuracy of the SR-CKF algorithm is 7.7% higher than that of the CKF algorithm, and the filtering accuracy of the SR-CKF algorithm is 12.2% higher than that of the UKF algorithm. From the running time of the inertial center frequency, it can be seen that the running time of the EKF algorithm is almost half of that of the other three algorithms, mainly because it does not require Sigma point selection and state covariance matrix calculation; the running time of the CKF algorithm is 2.5% lower than that of the UKF algorithm, mainly due to the reduction of sampling points and weighted summation of equal weights, thereby improving the calculation efficiency; the running time of the SR-CKF algorithm is 0.6% lower than that of the CKF algorithm.
[0122] In addition, the above-mentioned running time is implemented by MATLAB, and can also be implemented and further optimized by a more efficient method (such as based on C language).
[0123] In high-dimensional nonlinear systems, EKF cannot converge reliably, UKF filtering diverges, and CKF has numerical stability problems, while SR-CKF does not have the above problems.
[0124] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig.13 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store relevant data of the power system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an online estimation method for the inertia center frequency of a power system is implemented.
[0125] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0126] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0127] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0128] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0130] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0131] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0132] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.
[0133] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. An online estimation method for the inertia center frequency of an electric power system, wherein the electric power system comprises a plurality of synchronous generators, It is characterized in that The method for online estimating the inertia center frequency of the power system comprises: Constructing a dynamic state estimation model of the power system and initializing state variables of the power system; Within a preset estimation period, based on a dynamic state estimation model of the power system, real-time collection of operation data of the power system; Based on the dynamic state estimation model of the power system, according to the operation data of the power system at each moment in the estimation period, a cubature Kalman filter algorithm based on square root is used to perform state prediction and measurement update on the power system; The inertia center frequency of the power system is determined according to the state prediction result of the power system at the last moment in the estimation period.
2. The method for online estimation of the inertia center frequency of the power system according to claim 1, It is characterized in that The dynamic state estimation model of the power system includes system equations and measurement equations; The system equation is: x k =f(x k-1 ,u k-1 )+ω k-1 ; The measurement equation is: z k =h(x k ,u k )+v k ; Among them, x k is the state variable of the power system at time k, x k-1 is the state variable of the power system at time k-1, u k is the input variable of the power system at time k, u k-1 is the input variable of the power system at time k-1, z k is the measured variable of the power system at time k, representing the operating data of the power system at time k, ω k-1 is the process noise of the power system at time k-1, v k is the measurement noise of the power system at time k, f(·) is the nonlinear state transfer function in discrete form, and h(·) is the nonlinear measurement function in discrete form.
3. The method for online estimation of the inertia center frequency of the power system according to claim 1, It is characterized in that Based on the dynamic state estimation model of the power system, real-time collection of operation data of the power system specifically includes: Determining an optimal position of a phasor measurement unit in the power system based on a determinant of a maximizing empirically observable row Gram matrix and a dynamic state estimation model of the power system; A phasor measurement unit is installed at the optimal position, and operation data of the power system is collected in real time through the phasor measurement unit.
4. The method for online estimation of the inertia center frequency of the power system according to claim 3, It is characterized in that Based on the determinant of the maximizing empirical observable row Gram matrix and the dynamic state estimation model of the power system, determining the optimal position of the phasor measurement unit in the power system specifically includes: Determine the initial number and initial position of the phase measurement units; Determining a measurement matrix and a measurement noise covariance matrix based on a dynamic state estimation model of the power system, an initial number and an initial position of phasor measurement units; Calculating a Gram matrix according to the measurement matrix and the measurement noise covariance matrix; Calculating the determinant value of the Gram matrix; With the goal of maximizing the determinant value of the Gram matrix and minimizing the number of phasor measurement units, an optimization algorithm is used to adjust the number and position of the phasor measurement units to determine the optimal position of the phasor measurement units in the power system.
5. The method for online estimation of the inertia center frequency of the power system according to claim 4, It is characterized in that Using the formula G = H T R -1 H calculates the Gram matrix; where G is the Gram matrix, H is the measurement matrix, R is the measurement noise covariance matrix, and the superscript T represents the transpose operation.
6. The method for online estimation of the inertia center frequency of a power system according to claim 1, It is characterized in that The square root based cubature Kalman filter algorithm uses the following formula to predict the state of the power system: Among them, X i,k|k is the state volume point of the i-th synchronous generator at time k, P k|k is the state error covariance matrix at time k, n is the dimension of the state variable, i is the serial number of the synchronous generator, is the estimated value of the state at time k, Form new points for the propagation volume points, u k is the input variable of the power system at time k, is the state prediction value at time k+1, S k+1|k is the square root of the state quantity prediction error covariance matrix at time k+1, is the intermediate state volume at time k+1, Q k is the process noise covariance at time k, chol(·) represents Cholesky decomposition and takes the upper triangular matrix, qr(·) represents QR decomposition and takes the upper triangular matrix, f 1 (·) represents the function of forming a new propagation volume point, [1] is the intermediate matrix, 7. The method for online estimation of the inertia center frequency of a power system according to claim 1, It is characterized in that The square root based cubature Kalman filter algorithm uses the following formula to measure and update the power system: Among them, X i,k+1|k is the predicted state volume point of the ith synchronous generator at time k+1, P k+1|k is the state error covariance matrix at time k+1, n is the dimension of the state variable, i is the serial number of the synchronous generator, is the state prediction value at time k+1, Z i,k+1|k is the value of the i-th synchronous generator at the measurement equation propagation volume point k+1, u k is the input variable of the power system at time k, is the predicted value of the measured variable at time k+1, S zz,k+1|k is the square root of the innovation covariance matrix at time k+1, P xz,k+1|k is the square root of the cross-covariance matrix of the measured and predicted values at time k+1, K k+1 is the Kalman gain at time k+1, is the state estimation result at time k+1, z k+1 is the measured variable of the power system at time k+1, S k+1|k+1 is the updated value of the square root of the state quantity prediction error covariance matrix at time k+1, R k+1 is the measurement noise covariance matrix at time k+1, S R,k+1 Represents the measurement noise covariance matrix R at time k+1 k+1 Do Cholesky decomposition and take the upper triangular matrix, η k+1|k is the first intermediate variable at time k+1, χ k+1|k is the second intermediate variable at time k+1, χ i,k+1|k is the second intermediate variable of the i-th synchronous generator at time k+1, chol(·) represents Cholesky decomposition and takes the upper triangular matrix, qr(·) represents QR decomposition and takes the upper triangular matrix, [1] is the intermediate matrix, The superscript T indicates a transpose operation.
8. The method for online estimation of the inertia center frequency of a power system according to claim 1, It is characterized in that The state prediction result of the power system includes an estimated value of the angular velocity of each synchronous generator; The inertia center frequency of the power system is determined using the following formula: Among them, f coi is the inertia center frequency of the power system, N is the number of synchronous generators, is the estimated value of the angular velocity of the i-th synchronous generator, H i is the inertia constant of the ith synchronous generator, S i is the rated capacity of the i-th synchronous generator, H i,sys is the inertia intermediate parameter of the i-th synchronous generator.
9. An on-line estimation system for the inertia center frequency of an electric power system, applied to the on-line estimation method for the inertia center frequency of an electric power system according to any one of claims 1 to 8, It is characterized in that The inertia center frequency online estimation system of the power system comprises: A dynamic state estimation model building module, used to build a dynamic state estimation model of the power system and initialize the state variables of the power system; A measurement data acquisition module, connected to the dynamic state estimation model building module, for collecting the operation data of the power system in real time based on the dynamic state estimation model of the power system within a preset estimation period; A dynamic state estimation module, connected to the measurement data acquisition module, for predicting the state of the power system and updating the measurement based on the dynamic state estimation model of the power system and the operation data of the power system at each moment in the estimation period, using a cubature Kalman filter algorithm based on square roots; The inertia center frequency online calculation module is connected to the dynamic state estimation module and is used to determine the inertia center frequency of the power system according to the state prediction result of the power system at the last moment in the estimation period.
10. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for online estimation of the inertia center frequency of an electric power system according to any one of claims 1 to 8.
