A distributed new energy inertia online full-time domain estimation method and device

By employing a distributed online full-time domain estimation method for renewable energy inertia, and utilizing long short-term memory networks and wavelet transform channels to detect large disturbances, combined with elastic network regression and Tikhonov regularization, real-time inertia estimation is achieved under both large and small disturbance scenarios. This solves the problem that existing methods cannot be compatible with multiple scenarios and provides inertia information support across multiple time scales.

CN123183985APending Publication Date: 2026-11-27ZHONGSHAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611321923.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing inertia estimation methods cannot meet the requirements of online real-time estimation, are difficult to be compatible with large and small disturbance scenarios, and cannot accurately extract inertia information when the system is running normally or when there are only minor disturbances.

Method used

A distributed online full-time domain estimation method for renewable energy inertia is adopted. Large disturbance events are detected through long short-term memory network channels and wavelet transform channels. Combined with elastic network regression and Tikhonov regularization, the frequency and power time series vectors are updated in real time to achieve continuous online inertia estimation.

Benefits of technology

It can output inertia estimation results in real time under both large and small disturbance scenarios, provides inertia information support at multiple time scales, balances speed and accuracy, and supports multi-time scale control coordination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123183985A_ABST
    Figure CN123183985A_ABST
Patent Text Reader

Abstract

The application discloses a kind of distributed new energy inertia online full-time domain estimation method and device, whether the large disturbance event of new energy system occurs through long short-term memory network channel and wavelet transform channel dual-channel detection, through real-time updating frequency time sequence vector and power time sequence vector, new energy system inertia is continuously online estimated, can real-time output new energy system inertia estimation result, simultaneously can be applicable to large disturbance scene and small scene, solve the technical problems that existing inertia estimation method cannot satisfy online real-time estimation demand, difficult to compatible large disturbance scene and small disturbance scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system technology, and in particular to a method and apparatus for online full-time domain estimation of the inertia of distributed new energy sources. Background Technology

[0002] Power system inertia is a core physical quantity for maintaining grid frequency stability, reflecting the system's ability to resist frequency changes. In traditional power systems, inertia is primarily provided by the rotating mass of synchronous generators. When a power imbalance event occurs (such as generator tripping or sudden load changes), the kinetic energy stored in the rotating mass is spontaneously released, forming a natural resistance to frequency changes, thus limiting the rate of change of frequency (RoCoF) and delaying the frequency deviation from its rated value. With the large-scale grid integration of renewable energy, the inertia characteristics of power systems have undergone fundamental changes. After traditional fossil fuel generators are replaced by renewable energy sources connected to inverter interfaces, the number of rotating synchronous generators in the system has significantly decreased, leading to a substantial drop in the total stored kinetic energy of the system. Therefore, accurate, fast, and reliable inertia estimation is crucial for the safe operation of modern power systems with a high proportion of renewable energy, and is a key basis for dispatchers to grasp the real-time frequency security status of the system and formulate control strategies.

[0003] Existing inertia estimation methods employ offline estimation, utilizing historical data for post-event analysis only after a disturbance event occurs. The main drawback of offline methods is their inability to provide real-time inertia information before the disturbance, making them unsuitable for dynamic operating scenarios requiring immediate adjustments to maintain stability. The time resolution of offline estimation is typically only 30 to 60 minutes, completely failing to support real-time control decisions at the second or even sub-second level. Furthermore, existing inertia estimation methods are highly dependent on the system's operating environment, working reliably only under large disturbance conditions and almost unusable under small disturbances or normal operating conditions. Traditional analysis methods based on the rocking equation, such as the RoCoF method, polynomial fitting, and the second derivative of frequency method, essentially rely on significant frequency changes caused by the disturbance event to trigger estimation. These methods typically set a RoCoF threshold, activating the estimation process only when the absolute value of RoCoF exceeds this threshold. While the RoCoF method performs excellently in environments with significant disturbances, its accuracy is highly sensitive to the choice of threshold; an inappropriate threshold can lead to inaccurate results. In actual operation, the system is in normal operation or only experiences minor disturbances most of the time. At this time, the frequency change is weak, and the RoCoF signal is submerged in noise. The above method cannot accurately extract inertia information, which means that the "blind zone" of inertia estimation covers most of the period of normal system operation.

[0004] Therefore, providing a new energy inertia estimation method to address the shortcomings of existing inertia estimation methods, such as their inability to meet the requirements of online real-time estimation and their difficulty in being compatible with large and small disturbance scenarios, is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This invention provides a method and apparatus for online full-time domain estimation of distributed new energy inertia, which solves the technical problems that existing inertia estimation methods cannot meet the requirements of online real-time estimation and are difficult to be compatible with large and small disturbance scenarios.

[0006] In view of this, the first aspect of the present invention provides a method for assessing the severity of arc-type high-resistivity faults, comprising:

[0007] S1. Real-time acquisition of power, phase angle, frequency and current of the new energy system, and construction of power time-series vector, phase angle time-series vector, frequency time-series vector and current time-series vector respectively;

[0008] S2. Input the power timing vector, phase angle timing vector, frequency timing vector and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel. Perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively.

[0009] S3. Perform an OR operation on the first detection result of the Long Short-Term Memory Network channel and the second detection result of the Wavelet Transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, then proceed to step S4. If the large disturbance event detection result is that a large disturbance event has occurred, then proceed to step S5.

[0010] S4. A regularization method based on elastic network regression is adopted to continuously estimate the inertia of the new energy system online using real-time collected frequency time-series vectors and power time-series vectors.

[0011] S5. Based on the real-time acquired frequency time-series vector, the inertia of the new energy system is continuously estimated online through time-series data accumulation, autoregressive moving average calculation and Tikhonov regularization calculation.

[0012] Optionally, step S4 includes:

[0013] Based on the real-time acquired frequency and power time-series vectors, the frequency change rate and power imbalance of the new energy system are calculated respectively.

[0014] Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed.

[0015] Find the analytical solution for the elastic network regression with the objective function;

[0016] Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online.

[0017] Optionally, based on the analytical solution of the elastic network regression, the inertia of the new energy system is continuously estimated online, including:

[0018] Following a first-in-first-out (FIFO) mechanism, the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector are updated in real time to obtain the analytical solution of the elastic network regression at each sampling moment, thereby continuously estimating the inertia of the new energy system online.

[0019] Optionally, the central difference method can be used to calculate the rate of change of frequency.

[0020] Optionally, the objective function for elastic network regression is:

[0021] ;

[0022] in, Let N be the objective function of the elastic network regression, and N be the total number of aligned data points. Let i be the rate of change of the frequency of the i-th data point. Let be the power imbalance at the i-th data point, and k be the slope parameter to be estimated. and represents the regularization parameter for elastic network regression.

[0023] Optionally, step S5 includes:

[0024] Define a first vector and a second vector with an initial value of zero, which are used to record the rate of change of power and the rate of change of angular frequency at each sampling moment starting from the moment the large disturbance event occurs;

[0025] Define the state transition rules under large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions;

[0026] Accumulate time-series data for the first and second vectors, and update the first and second vectors in real time.

[0027] Construct the first-order cumulative matrix and the second-order cumulative matrix based on the first vector and the second vector, respectively.

[0028] Autoregressive moving averages are performed on the first-order cumulative matrix and the second-order cumulative matrix respectively to obtain the denoised first-order cumulative matrix and the denoised second-order cumulative matrix.

[0029] Tikhonov regularization is performed on each row of the denoised first-order cumulative matrix and the denoised second-order cumulative matrix to solve for the inertia estimate.

[0030] The inertia of the new energy system is continuously estimated online based on the inertia estimate.

[0031] Optionally, the initialization condition is as follows: when the new energy system is currently in a large disturbance mode and was previously in a small disturbance mode, the new energy system enters the large disturbance mode for the first time, initializes the timer count to 0, and initializes the first vector and the second vector. The normal operation condition is as follows: when the timer count is less than the maximum timing threshold, the new energy system continues to execute the large disturbance inertia estimation process. The exit condition is as follows: when the timer count is not less than the maximum timing threshold, the new energy system exits the large disturbance mode and returns to step S4. The re-trigger condition is as follows: during the operation of the large disturbance mode, if a large disturbance event is detected again in step S3, the timer count is immediately reset to 0, and the first vector and the second vector are initialized.

[0032] A second aspect of the present invention provides a distributed new energy source inertia online full-time domain estimation device, comprising:

[0033] The data acquisition module is used to collect the power, phase angle, frequency and current of the new energy system in real time, and construct the power time series vector, phase angle time series vector, frequency time series vector and current time series vector respectively.

[0034] The dual-channel detection module is used to input the power timing vector, phase angle timing vector, frequency timing vector and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel, and perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively;

[0035] The result output module is used to perform an OR operation on the first detection result of the long short-term memory network channel and the second detection result of the wavelet transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, the first inertia estimation module is executed. If the large disturbance event detection result is that a large disturbance event has occurred, the second inertia estimation module is executed.

[0036] The first inertia estimation module is used to continuously estimate the inertia of the new energy system online by using a regularization method based on elastic network regression and real-time collected frequency time-series vectors and power time-series vectors.

[0037] The second inertia estimation module is used to continuously estimate the inertia of the new energy system online based on the real-time acquired frequency time-series vector, through time-series data accumulation, autoregressive moving average calculation, and Tikhonov regularization calculation.

[0038] Optionally, the first inertia estimation module is specifically used for:

[0039] Based on the real-time acquired frequency and power time-series vectors, the frequency change rate and power imbalance of the new energy system are calculated respectively.

[0040] Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed.

[0041] Find the analytical solution for the elastic network regression with the objective function;

[0042] Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online.

[0043] Optionally, the second inertia estimation module is specifically used for:

[0044] Define a first vector and a second vector with an initial value of zero, which are used to record the rate of change of power and the rate of change of angular frequency at each sampling moment starting from the moment the large disturbance event occurs;

[0045] Define the state transition rules under large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions;

[0046] Accumulate time-series data for the first and second vectors, and update the first and second vectors in real time.

[0047] Construct the first-order cumulative matrix and the second-order cumulative matrix based on the first vector and the second vector, respectively.

[0048] Autoregressive moving averages are performed on the first-order cumulative matrix and the second-order cumulative matrix respectively to obtain the denoised first-order cumulative matrix and the denoised second-order cumulative matrix.

[0049] Tikhonov regularization is performed on each row of the denoised first-order cumulative matrix and the denoised second-order cumulative matrix to solve for the inertia estimate.

[0050] The inertia of the new energy system is continuously estimated online based on the inertia estimate.

[0051] Optionally, based on the analytical solution of the elastic network regression, the inertia of the new energy system is continuously estimated online, including:

[0052] Following a first-in-first-out (FIFO) mechanism, the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector are updated in real time to obtain the analytical solution of the elastic network regression at each sampling moment, thereby continuously estimating the inertia of the new energy system online.

[0053] Optionally, the central difference method can be used to calculate the rate of change of frequency.

[0054] Optionally, the objective function for elastic network regression is:

[0055] ;

[0056] in, Let N be the objective function of the elastic network regression, and N be the total number of aligned data points. Let i be the rate of change of the frequency of the i-th data point. Let be the power imbalance at the i-th data point, and k be the slope parameter to be estimated. and represents the regularization parameter for elastic network regression.

[0057] As can be seen from the above technical solutions, the distributed new energy inertia online full-time domain estimation method provided by the present invention has the following advantages:

[0058] The distributed online full-time domain estimation method for renewable energy inertia provided by this invention detects whether a large disturbance event occurs in the renewable energy system through a dual-channel detection method using a long short-term memory network channel and a wavelet transform channel. It continuously estimates the inertia of the renewable energy system online by updating the frequency time-series vector and power time-series vector in real time, and can output the estimation result of the renewable energy system inertia in real time. At the same time, it is applicable to both large disturbance scenarios and small disturbance scenarios, which solves the technical problems of existing inertia estimation methods that cannot meet the requirements of online real-time estimation and are difficult to be compatible with large disturbance scenarios and small disturbance scenarios.

[0059] Meanwhile, the distributed new energy inertia online full-time domain estimation method provided by this invention creatively designs a time-series data accumulation and multi-precision inertia estimation vector generation method when detecting large disturbance events. It defines a first vector and a second vector to record the power change rate and angular frequency change rate at each sampling moment from the occurrence of the large disturbance event, defines state switching rules under the large disturbance mode, accumulates time-series data on the first and second vectors, updates the first and second vectors in real time, constructs a first-order cumulative matrix and a second-order cumulative matrix based on the first and second vectors, respectively, performs autoregressive moving average operations on the first and second-order cumulative matrices to obtain denoised first-order and second-order cumulative matrices, and performs Tikhonov regularization operations on each row of the denoised first-order and second-order cumulative matrices to solve the inertia problem. This method enables continuous online estimation of the inertia of new energy systems. The process yields inertia estimates at different time points. Newer estimates (with larger row numbers and less data) are calculated fastest and can be immediately used for rapid control response, but their accuracy is relatively low. Earlier estimates (with smaller row numbers and more data) utilize data from a longer time window, resulting in higher accuracy. These estimates can be used to subsequently correct and optimize previously executed control strategies. For the first time, this method achieves the simultaneous output of a hybrid-precision inertia estimation vector within the same inertia estimation framework, combining a "fast but less accurate estimate for the current moment" with a "slow but more accurate estimate for historical moments." This effectively solves the problems of existing methods that can only output a single scalar, cannot balance speed and accuracy, and cannot utilize subsequent data to refine historical estimates. This provides crucial inertia information support for multi-timescale control coordination. Attached Figure Description

[0060] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0061] Figure 1 This is a flowchart illustrating a distributed new energy inertia online full-time domain estimation method provided in an embodiment of the present invention;

[0062] Figure 2 This is a schematic diagram of the dual-channel redundant detection principle for large disturbance events provided in an embodiment of the present invention;

[0063] Figure 3This is a schematic diagram of the data update process after a large disturbance event provided in an embodiment of the present invention;

[0064] Figure 4 This is a schematic diagram illustrating the process of performing ARMA denoising and Tikhonov regularization on the cumulative matrix provided in an embodiment of the present invention;

[0065] Figure 5 This is an overall logical block diagram of the distributed new energy inertia online full-time domain estimation method provided in this embodiment of the invention;

[0066] Figure 6 This is a schematic diagram of the structure of a distributed new energy inertia online full-time domain estimation device provided in an embodiment of the present invention. Detailed Implementation

[0067] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0068] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this application will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.

[0069] The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of these specific details, or other methods, components, materials, devices, etc. In these cases, well-known structures, methods, devices, implementations, materials, or operations will not be shown or described in detail.

[0070] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0071] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0072] For easier understanding, please refer to Figure 1 This invention provides an embodiment of a method for assessing the severity of arc-type high-resistance faults, comprising:

[0073] Step S1: Real-time acquisition of power, phase angle, frequency and current of the new energy system, and construction of power time sequence vector, phase angle time sequence vector, frequency time sequence vector and current time sequence vector respectively.

[0074] It should be noted that, in this embodiment of the invention, the power of the new energy system is acquired in real time from the phasor measurement unit (PMU) of the new energy system. Phase angle ,frequency and current There are four types of electrical quantity data, where t represents the current time. The collected electrical quantity data are constructed into four time-series vectors in chronological order: power time-series vector, phase angle time-series vector, frequency time-series vector, and current time-series vector, respectively represented as:

[0075] ;

[0076] in, It is a power timing vector. The phase angle timing vector, It is a frequency-time vector. This is the current timing vector.

[0077] The phasor measurement device has a sampling frequency of 100 frames per second. The elements in each time vector are arranged from earliest to latest, covering a time span of 10 seconds. Each time vector has a dimension of 1×1000, meaning it covers the historical data of the most recent 10 seconds.

[0078] The power timing vector, phase angle timing vector, frequency timing vector, and current timing vector are maintained using a first-in-first-out sliding window update mechanism. Specifically, when the phasor measurement device acquires new data at the next sampling time t+1... At that time, the power timing vector, phase timing vector, frequency timing vector, and current timing vector are updated as follows:

[0079] ;

[0080] That is, the earliest data. , , and The data at the latest moment is moved to the end of the time series vector, thus ensuring that each time series vector always stores 1000 consecutive sampling points within the last 10 seconds, providing a real-time updated time series data basis for subsequent disturbance detection and inertia estimation.

[0081] Step S2: Input the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel. Perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively.

[0082] It should be noted that the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector constructed in step S1 are input into the long short-term memory network channel, and the current timing vector is input into the wavelet transform channel. Large disturbance events are detected through both the long short-term memory network channel and the wavelet transform channel. The principle diagram of the dual-channel redundant detection of large disturbance events is shown below. Figure 2 As shown, the Long Short-Term Memory (LSTM) network, based on supervised learning using manually labeled historical training data, has the ability to identify features of large disturbance events from multi-dimensional time-series data; the output of the LTM network is a binary scalar. , This indicates that the Long Short-Term Memory (LSTM) network determines that a major disturbance event has occurred at the current moment. This indicates that the Long Short-Term Memory (LSTM) network has determined that no major disturbance event has occurred at the current moment.

[0083] Long Short-Term Memory (LSTM) networks are a special type of recurrent neural network that effectively solves the gradient vanishing and gradient exploding problems faced by traditional recurrent neural networks when processing long-term temporal data by introducing gating mechanisms and cell states. LSTM can capture long-term dependencies in temporal data. A standard LSTM unit consists of the following four core components:

[0084] 1. The forget gate determines which information is discarded from the cell's previous state;

[0085] 2. The input gate determines which new information is stored in the current cell state;

[0086] 3. Cellular state is the information transmission channel that runs through the entire time series and is the core memory unit of LSTM;

[0087] 4. The output gate determines which information in the cell state at the current moment is output as the hidden state.

[0088] The forward propagation calculation for an LSTM cell is as follows:

[0089] Forgotten Gate Represented as:

[0090] ;

[0091] in, It is the Sigmoid activation function. Here is the weight matrix for the forget gate. Let be the bias vector of the forget gate. This indicates that the previous state will be hidden. With current input splicing.

[0092] The input gate is represented as:

[0093] ;

[0094] ;

[0095] in, For the control signal of the input gate, Candidate cell state, Here is the weight matrix of the input gate. is the bias vector of the input gate.

[0096] The cell state update formula is:

[0097] ;

[0098] in, This represents element-wise multiplication. Let t represent the cell state at time t. This represents the cell state at time t-1.

[0099] The output gate is represented as:

[0100] ;

[0101] ;

[0102] in, For output gate, Let t be the hidden state at time t.

[0103] After all time steps, the hidden state of the LSTM network is taken from the last time step. (T=1000), the binary classification result is output through a fully connected layer and a sigmoid activation function:

[0104] ;

[0105] in, This is the weight matrix of the output gate. This is the bias vector for the output gate.

[0106] In this invention, the LSTM network is trained under supervision based on manually labeled historical phasor measurement device data. The training data includes power, phase angle, frequency, and current time series data before and after a large disturbance event, as well as corresponding manually labeled tags (1 indicates a large disturbance event, and 0 indicates normal operation or a small disturbance state). Through training, the LSTM learns the ability to identify the deep nonlinear characteristics of large disturbance events from multidimensional time series data, thereby enabling real-time disturbance discrimination of newly acquired phasor measurement device data in actual online operation.

[0107] The current time-series vector is input separately into a three-level wavelet transform channel for three-level discrete wavelet decomposition. Each level of decomposition separates the signal into low-frequency approximate components and high-frequency detail components. The high-frequency detail component of the j-th level is denoted as... After three-level wavelet decomposition, the high-frequency detail components of the third level are extracted. ,set up The set of elements in the sequence is N is the length of the component. Large disturbance events are judged according to the following rules:

[0108] 1. Calculate the average value of the third-order high-frequency detail components: ;

[0109] 2. Calculate the maximum value of the third-order high-frequency detail component: ;

[0110] 3. Determine if the conditions are met: That is, the maximum value of the third-order high-frequency detail component exceeds 20% of the average value;

[0111] If the above conditions are met, then the wavelet transform channel output... This indicates that a large disturbance event has been detected; otherwise, output... This indicates that no large disturbance event was detected, and the system is currently in small disturbance mode by default.

[0112] Wavelet transform is a multi-resolution time-frequency analysis method that expands a signal on a set of basis functions generated by scaling and translating a mother wavelet, enabling local analysis of the signal in both the time and frequency domains. Unlike Fourier transform, wavelet transform can capture the local abrupt changes in a signal, making it particularly suitable for detecting instantaneous abnormal changes in current signals caused by large disturbances in power systems.

[0113] For continuous signals Its continuous wavelet transform is defined as:

[0114] ;

[0115] in, For the mother wavelet function, b is the scaling factor, taking a positive real number; b is the translation factor, taking a positive real number. For complex conjugate, the coefficients Used for energy normalization.

[0116] In practical digital signal processing, discrete wavelet transform is used; in the... In the decomposition, the input signal (or the low-frequency approximation component of the previous stage) passes through a high-pass filter. and low-pass filter The high-frequency detail components of this level are obtained by downsampling (decimation factor of 2). and low-frequency approximate components :

[0117] ;

[0118] ;

[0119] in, The original input signal (in this invention, the current timing vector) ), filter coefficients and It is determined by the selected wavelet basis function.

[0120] After three levels of decomposition, the original signal is decomposed into:

[0121] ;

[0122] in, , , These are the first, second, and third level high-frequency detail components, respectively. It is the third-order low-frequency approximation component.

[0123] High-frequency detail components capture the abrupt changes in a signal at different frequency scales. Large disturbances can cause a significant increase in the energy of the current signal in the high-frequency components.

[0124] In this invention, the wavelet transform channel is applied to the current time-series vector. A three-level discrete wavelet decomposition is performed to extract high-frequency detail components at each level. Because large disturbances cause drastic instantaneous jumps in the current signal, which manifest as a sharp increase in high-frequency energy in the frequency domain, the third-level high-frequency detail components are extracted. And detect whether its maximum amplitude significantly exceeds the average level (i.e. This allows for quick identification of whether a major disturbance has occurred.

[0125] Unlike the LSTM channel, the wavelet transform channel is a non-parametric method based on signal processing theory. It does not rely on any training data or annotation information, but only on the time-frequency energy distribution of the signal itself. This characteristic enables the wavelet transform channel to effectively make up for the LSTM channel's strong dependence on training data, and improves the overall system's robustness and generalization ability in detecting large disturbances.

[0126] Step S3: Perform an OR operation on the first detection result of the Long Short-Term Memory Network channel and the second detection result of the Wavelet Transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, proceed to step S4. If the large disturbance event detection result is that a large disturbance event has occurred, proceed to step S5.

[0127] It should be noted that the outputs of the Long Short-Term Memory (LSTM) network channel and the wavelet transform channel are combined using a logical OR operation to obtain the final disturbance event detection result. :

[0128] ;

[0129] in, For OR operation.

[0130] When any channel detects a large disturbance event, the system determines that a large disturbance event has occurred at that moment. This dual-channel parallel redundant detection design has the following characteristics:

[0131] 1. Long Short-Term Memory (LSTM) network channels are based on a data-driven approach, learning perturbation features through a large amount of labeled data, and are able to identify perturbation events in complex patterns;

[0132] 2. The wavelet transform channel is based on signal processing and uses the energy distribution characteristics of the current signal in the time and frequency domain to detect disturbances. It does not rely on training data and effectively makes up for the shortcomings of the long short-term memory network channel, which is highly dependent on labeled data and may contain unlearned samples.

[0133] 3. The OR operation makes the two channels complement and back each other up, which significantly improves the reliability and robustness of large disturbance event detection;

[0134] Disturbance detection results This will serve as the control signal for switching inertia estimation modes in subsequent steps, when... When the system operates in a small disturbance state or a normal state, the inertia estimation mode is used; when At that time, the system switches to the inertia estimation mode under large disturbance conditions.

[0135] Step S4: Using a regularization method based on elastic network regression, the inertia of the new energy system is continuously estimated online using the frequency time-series vector and power time-series vector collected in real time.

[0136] It should be noted that if the dual-channel integrated judgment result of step S3 is This step is executed when the system is under small disturbance or normal operation, and no large disturbance event is detected. The step employs a regularization method based on elastic network regression, utilizing real-time data collected by the phasor measurement device to analyze the system inertia. Perform continuous online estimation.

[0137] First, based on the real-time acquired frequency and power time-series vectors and their corresponding inertia in the new energy system, the rate of frequency change and power imbalance are calculated respectively. That is, based on the frequency time-series vectors... and power timing vector The rate of frequency change and power imbalance are calculated separately. The central difference method is used to calculate the rate of frequency change. The frequency change rate at the i-th sampling time is:

[0138] ;

[0139] in, For the time change, The value is 0.01 seconds, corresponding to a sampling frequency of 100Hz.

[0140] Because the difference operation will lose one data point at the beginning and one at the end, the calculated frequency change rate time vector The dimension is Its elements are related to the original frequency vector. The 2nd to 999th elements correspond to, that is:

[0141] .

[0142] The power imbalance is defined as the difference between mechanical power and electromagnetic power. Under normal operating conditions, the steady-state power before the disturbance can be approximated as the reference standard, then the... Power imbalance at each sampling time for:

[0143] ;

[0144] in, This is the steady-state power reference value before the disturbance occurs. For the first The power at each sampling time.

[0145] Power imbalance time vector The dimension is , and the vector of rate of change of frequency Dimensional alignment; power imbalance time vector for:

[0146] .

[0147] Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed. The constructed objective function for elastic network regression is:

[0148] ;

[0149] in, Let N be the objective function of the elastic network regression, and N be the total number of aligned data points. Let i be the rate of change of the frequency of the i-th data point. , Let i be the power imbalance at the i-th data point. , where k is the slope parameter to be estimated, according to the rotor motion equation, With system inertia Theoretical relationship between them ,in The system's rated frequency, The result is obtained through elastic network regression. The estimated value Afterwards, by Calculate the estimated value of inertia. and represents the regularization parameter for elastic network regression.

[0150] Elastic network regression combines the advantages of both Lasso regression and ridge regression. It possesses the sparsity and feature selection capabilities of Lasso, which can effectively filter noise and avoid overfitting in environments with small perturbations, while retaining the population stability and anti-collinearity capabilities of ridge regression, ensuring the smoothness and robustness of the estimation results.

[0151] Find the analytical solution for the elastic network regression with the objective function. For the objective function... about Taking the partial derivative and setting it to zero yields the analytical solution for elastic network regression. :

[0152] .

[0153] Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online. The analytical solution of elastic network regression is obtained. Then, substituting into the inertia calculation formula, we obtain the inertia of the new energy system:

[0154] ;

[0155] in, For the current moment The estimated system inertia.

[0156] With the phasor measurement device at each sampling time Acquire new data, update the four time-series vectors according to the first-in-first-out mechanism described in step S1, and then update synchronously. and The system repeats the steps "constructing the objective function of the elastic network regression based on the rate of change of frequency and the power imbalance" and "finding the analytical solution of the elastic network regression of the objective function". Through this sliding update mechanism, the system can output an inertia estimate at each sampling time. This enables online continuous inertia monitoring.

[0157] Step S5: Based on the real-time acquired frequency time-series vector, the inertia of the new energy system is continuously estimated online through time-series data accumulation, autoregressive moving average calculation, and Tikhonov regularization calculation.

[0158] It should be noted that when the dual-channel integrated judgment result of step S3 is When a large disturbance event is detected, the system switches to the inertia estimation mode under the large disturbance scenario. This step outputs a hybrid inertia estimation vector containing multiple time scales and multiple precision levels by accumulating time series data, performing Auto-Regressive Moving Average (ARMA) operations, ARMA denoising, and Tikhonov regularization operations.

[0159] Define a first vector with an initial value of zero. Second vector These are used to record the rate of change of power and the rate of change of angular frequency at each sampling time starting from the moment the large disturbance event occurs. The first vector... Second vector All dimensions are ,Right now , The maximum timing threshold is determined by the real-time updated frequency time-series vector. Extract the frequency value at the current time. Calculate the rate of change of frequency , Simultaneously, extract the power value at the current moment. The power at the current moment and frequency change rate The input is a proportional-integral (PI) filter, which performs smoothing and differentiation processing respectively, and outputs the filtered power change rate. and rate of change of angular frequency .

[0160] The functions of a proportional-integral (PI) filter include:

[0161] 1. Smooth the input signal by filtering to suppress PMU measurement noise and high-frequency interference;

[0162] 2. Extract the differential information of the signal, where The rate of change of angular frequency, This represents the rate of change of power over time.

[0163] Define the state transition rules under the large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions. Define the large disturbance scenario timer variable. The initial value is 0; this variable records the number of calculation steps the system has taken since entering the large disturbance mode (in units of the phasor measurement device sampling period, i.e., 0.01 seconds per step), and defines the maximum timing threshold. This corresponds to a 5-second time window. The system's state switching rules under large disturbance mode are as follows:

[0164] 1. Initialization conditions: When Furthermore, when the system was previously in small disturbance mode, it entered large disturbance mode for the first time and initialized the timer. And initialize the large disturbance data vector (i.e., the first vector and the second vector);

[0165] 2. Normal operating conditions: When During this time, the system continuously executes the large disturbance inertia estimation process, and after each step is completed... ;

[0166] 3. Exit Conditions: When When the system exits the large disturbance mode, it is considered that the system has entered a new steady state and switches back to the small disturbance mode (step S4).

[0167] 4. Re-triggering condition: During operation in large disturbance mode If the dual-channel detection in step S3 outputs again That is, if a new large disturbance event is detected again, the timer will be reset immediately. And reinitialize the relevant data vectors (i.e., the first vector and the second vector).

[0168] Accumulate time-series data for the first and second vectors, and update them in real time. Calculate the power change rate output by the PI filter at the current moment. and rate of change of angular frequency Fill in the vectors in chronological order. and The specific filling method is as follows:

[0169] Step 0 ( (i.e., immediately after a large disturbance occurs)

[0170] ;

[0171] ;

[0172] Step 1 ( ):

[0173] ;

[0174] ;

[0175] Generally, the first step( ):

[0176] ;

[0177] ;

[0178] That is, the first vector Each element represents accumulated historical data, followed by... Each element remains zero. The data update process after a large disturbance event is as follows: Figure 3 As shown.

[0179] Based on the first and second vectors, construct the first-order cumulative matrix and the second-order cumulative matrix respectively. Construct the cumulative matrix (Hankel matrix truncation form); let the current step number be... ( Large perturbation data vector and The elements in the middle are denoted as:

[0180] ;

[0181] in, , , The remaining elements ( The value is 0.

[0182] Based on respectively and Constructing the echelon cumulative matrix and Each matrix has a dimension of 1. ;by For example, its element is defined as:

[0183] ;

[0184] Written in explicit matrix form:

[0185] .

[0186] Autoregressive moving averages are performed on the first-order and second-order cumulative matrices respectively to obtain the denoised first-order and second-order cumulative matrices. For the matrices... and Each row is processed using an Auto-Regressive Moving Average (ARMA) to eliminate measurement noise and high-frequency interference in the PMU data.

[0187] The general form of an ARMA model is:

[0188] ;

[0189] in, These are the autoregressive coefficients. The moving average coefficient is... For the first The white noise term of the step, For the first The white noise term of the step, where P is the autoregressive order and Q is the moving average order. For the first row of the ladder cumulative matrix The element value at each position (i.e., the sampled value of the timing signal after zero-padding). For the first The element value at each position (i.e.) (Sampling values ​​of timing signals before the step).

[0190] After ARMA filtering, the first-order cumulative matrix after noise reduction is obtained. and the second-order cumulative matrix after noise reduction Its dimension is the same as the original matrix (both are...). However, the noise components in the time-series data of each row have been effectively suppressed, and the signal-to-noise ratio of the signal has been significantly improved.

[0191] For the first-order cumulative matrix after noise reduction and the second-order cumulative matrix after noise reduction Perform Tikhonov regularization on each row to obtain the inertia estimate. Based on the rotor motion equations, for the... The data sequence corresponding to the row (i.e., from the first row) The cumulative data starting from each time point includes:

[0192] ;

[0193] in, For the first-order cumulative matrix The subvector formed by the non-zero elements in the i-th row. For the second-order cumulative matrix The subvector formed by the non-zero elements in the i-th row.

[0194] The objective function of Tikhonov regularization is:

[0195] ;

[0196] in, For regularization parameters, Let H be the estimated value of the i-th system inertia, and H be the system inertia to be estimated (i.e., the optimization variable).

[0197] Continuous online estimation of the inertia of the new energy system is performed based on the inertia estimate. The objective function with Tikhonov regularization has an analytical solution:

[0198] ;

[0199] For each row of the matrix ( Solving sequentially, we obtain the inertia estimation vector:

[0200] .

[0201] The process of performing ARMA denoising and Tikhonov regularization on the cumulative matrix is ​​as follows: Figure 4 As shown.

[0202] Output inertia estimation vector Then, set the timer. Increase by 1, that is Waiting for the next phasor measurement device to collect data, we continue inertia estimation under large disturbance scenarios until... The large disturbance mode is exited at that time. The overall logic block diagram of the distributed new energy inertia online full-time domain estimation method provided by this invention is as follows: Figure 5 As shown.

[0203] The distributed online full-time domain estimation method for renewable energy inertia provided by this invention detects whether a large disturbance event occurs in the renewable energy system through a dual-channel detection method using a long short-term memory network channel and a wavelet transform channel. It continuously estimates the inertia of the renewable energy system online by updating the frequency time-series vector and power time-series vector in real time, and can output the estimation result of the renewable energy system inertia in real time. At the same time, it is applicable to both large disturbance scenarios and small disturbance scenarios, which solves the technical problems of existing inertia estimation methods that cannot meet the requirements of online real-time estimation and are difficult to be compatible with large disturbance scenarios and small disturbance scenarios.

[0204] Meanwhile, the distributed new energy inertia online full-time domain estimation method provided by this invention creatively designs a time-series data accumulation and multi-precision inertia estimation vector generation method when detecting large disturbance events. It defines a first vector and a second vector to record the power change rate and angular frequency change rate at each sampling moment from the occurrence of the large disturbance event, defines state switching rules under the large disturbance mode, accumulates time-series data on the first and second vectors, updates the first and second vectors in real time, constructs a first-order cumulative matrix and a second-order cumulative matrix based on the first and second vectors, respectively, performs autoregressive moving average operations on the first and second-order cumulative matrices to obtain denoised first-order and second-order cumulative matrices, and performs Tikhonov regularization operations on each row of the denoised first-order and second-order cumulative matrices to solve the inertia problem. This method enables continuous online estimation of the inertia of new energy systems. The process yields inertia estimates at different time points. Newer estimates (with larger row numbers and less data) are calculated fastest and can be immediately used for rapid control response, but their accuracy is relatively low. Earlier estimates (with smaller row numbers and more data) utilize data from a longer time window, resulting in higher accuracy. These estimates can be used to subsequently correct and optimize previously executed control strategies. For the first time, this method achieves the simultaneous output of a hybrid-precision inertia estimation vector within the same inertia estimation framework, combining a "fast but less accurate estimate for the current moment" with a "slow but more accurate estimate for historical moments." This effectively solves the problems of existing methods that can only output a single scalar, cannot balance speed and accuracy, and cannot utilize subsequent data to refine historical estimates. This provides crucial inertia information support for multi-timescale control coordination.

[0205] In summary, the distributed renewable energy inertia online full-time domain estimation method provided in this invention has the following advantages:

[0206] (i) It realizes fast online continuous inertia estimation at the field station level, effectively solving the problems of slow estimation speed and inability to run online in real time in existing methods:

[0207] (1) Real-time performance of dual-channel disturbance detection: The computation time of a single forward propagation in the inference phase of the LSTM network is only in milliseconds. The three-level decomposition of wavelet transform can be completed in microseconds based on Mallat (which means that different wavelet basis functions can be replaced to achieve detection). The two are run in parallel and fused through OR operation, which ensures the instantaneous detection of large disturbance events without introducing substantial delay.

[0208] (2) Rolling estimation mechanism under small disturbance scenario: Under normal operation or small disturbance state, the present invention adopts a regularization method based on elastic network regression, and continuously maintains the time series data of frequency change rate and power imbalance through FIFO (first in first out) sliding window mechanism. The inertia estimate is updated in a rolling manner with a step size of 0.01 seconds per sampling period, realizing continuous online monitoring with an update rate of 100Hz, which is better than the 30 to 60 minutes resolution of existing methods.

[0209] (3) Rapid response under large disturbance scenarios: When a large disturbance event is detected, the system immediately switches to the large disturbance inertia estimation mode and starts to output the inertia estimation vector from the first data point collected. It can provide inertia values ​​that can be used for real-time control without waiting for the complete data window to be filled, providing rapid inertia information input for field-level control (such as virtual inertia emergency adjustment).

[0210] (4) Lightweight design for station-level deployment: The computational complexity of the method of this invention is controllable. Elastic network regression has analytical or efficient numerical solutions in single-variable scenarios. The analytical solution of Tikhonov regularization is a matrix-vector operation, which does not require high-performance GPU hardware support and can be directly deployed on the local embedded controller or edge computing device of the new energy station.

[0211] (ii) It possesses inertial sensing capabilities across all scenarios and time domains, effectively solving the problem that existing methods are only applicable to scenarios with large disturbances and are difficult to apply to scenarios with small disturbances:

[0212] (1) Dual-channel redundant detection enables reliable scene identification. The LSTM channel learns deep temporal features of disturbance events based on a large amount of historical labeled data, and has a strong ability to identify complex disturbance patterns; the wavelet transform channel is based on the signal time-frequency energy distribution theory and uses the high sensitivity response of Morlet wavelets to the sudden change features of current signals for detection, without relying on any training data. The two are combined through an OR operation to form a redundant detection mechanism. LSTM makes up for the limitation of wavelet transform in terms of insufficient sensitivity to gradual disturbances, and wavelet transform makes up for the deficiency of LSTM in terms of potential missed detection of new disturbances not appearing in the training data. The two channels serve as backups for each other and complement each other's advantages, which significantly improves the robustness and generalization ability of scene identification.

[0213] (2) Small Perturbation Scenarios: Elastic Network Regression Ensures Stable Estimation. Under small perturbation or normal operation conditions, this invention uses elastic network regression for inertia fitting. The elastic network simultaneously introduces L1 regularization (Lasso) and L2 regularization (Ridge): L1 regularization imposes sparsity constraints, which can compress spurious correlations caused by noise to zero under low signal-to-noise ratio conditions, effectively avoiding overfitting; L2 regularization provides parameter shrinkage and smoothing effects, preventing the estimated value from drastically changing due to small data fluctuations. The synergistic effect of the two enables this invention to output stable and reliable inertia estimates even under small perturbation environments with weak frequency change rate signals and low signal-to-noise ratios, fundamentally eliminating the inertia sensing "blind spot" of existing methods.

[0214] (3) Large disturbance scenario: Time series accumulation and regularized estimation ensure high accuracy. When a large disturbance event is detected, the system automatically switches to a multi-precision inertia estimation mode based on time series accumulation, ARMA denoising and Tikhonov regularization, making full use of the rich dynamic information provided by the large disturbance event for inertia identification, avoiding the problem of a single method failing to address both scenarios.

[0215] (4) Universality of any node in the power grid. The method of the present invention only requires local measurement data (power, phase angle, frequency, current) of the PMU of the target node. It does not depend on the parameters of the whole network model, the load model, or the location and type of disturbance. Therefore, it can be deployed at any node in the power grid that is equipped with a PMU to realize online monitoring of inertia of stations at different locations and voltage levels. It has good universality and scalability.

[0216] (III) For the first time, a hybrid precision inertia estimation vector output was achieved, effectively solving the problem that existing methods can only output a single scalar value and cannot simultaneously consider velocity and accuracy:

[0217] (1) Multi-resolution construction of the step accumulation matrix. In the case of large disturbance, this invention constructs the time-accumulated power rate change vector and angular frequency rate change vector into step accumulation matrices (Hankel truncated form). and The first of the matrix OK( ) by vector number Starting with an element, take subsequent elements in sequence and pad with zeros at the end to form the structure. In the... Walking time ( ), in the vector One element is a non-zero valid value, and the rest are zero. Therefore, the first row of the matrix contains all values ​​from the moment the large disturbance occurred. The first valid data point (largest data volume) corresponds to the earliest time and has the highest estimation accuracy; the second... OK( ) contains from the first From the moment The data point; the first Each row contains only one data point at the current time (the smallest amount of data), corresponding to the latest time and having the lowest estimation accuracy. In this matrix, the smaller the row number, the earlier the starting time, the longer the data length, and the higher the accuracy; the larger the row number, the later the starting time, the shorter the data length, and the lower the accuracy. This matrix construction method explicitly encodes the relationship that "different starting times correspond to different data lengths, and different data volumes correspond to different accuracies" into a unified data structure.

[0218] (2) Row-by-row processing of ARMA denoising and Tikhonov regularization. ARMA denoising and Tikhonov regularization are performed on each row of the echelon cumulative matrix, and an inertia estimate is output for each row independently. This ultimately forms an inertia estimation vector that includes estimates at multiple time scales and levels of precision. .

[0219] (3) Differentiation accuracy characteristics of vector elements. Inertia estimation vector In the middle, the earlier the time (index) The smaller the index, the more accumulated data it utilizes, resulting in higher estimation accuracy; the newer the time (index)... The closer The less data used, the lower the estimation accuracy, but the fastest computation speed. This characteristic brings the following significant advantages:

[0220] 1. Real-time control: The latest estimate in the vector. Based on the minimum amount of data obtained, the calculation speed is the fastest, and it can be directly used for rapid control decisions at the current moment (such as emergency adjustment of virtual inertia), meeting the requirements of rapid control response timeliness;

[0221] 2. Stepwise refinement: As new data arrives, the estimates from previous time points are refined. As more subsequent data is accumulated, the system is continuously refined, and its accuracy gradually improves. It can be used to retrospectively correct and optimize the executed control strategies (such as primary frequency regulation parameter correction and inertia backup optimization), meeting the high accuracy requirements of slow control.

[0222] 3. Multi-timescale coordination: The vector output at the same moment simultaneously contains both "high speed and low precision" and "low speed and high precision" inertia estimates, realizing direct support for the progressive control strategy of "first fast control, then precise correction" within a single framework. This is a capability that no existing inertia estimation method possesses.

[0223] For easier understanding, please refer to Figure 6This invention provides an embodiment of a distributed new energy source inertia online full-time domain estimation device, comprising:

[0224] The data acquisition module is used to collect the power, phase angle, frequency and current of the new energy system in real time, and construct the power time series vector, phase angle time series vector, frequency time series vector and current time series vector respectively.

[0225] The dual-channel detection module is used to input the power timing vector, phase angle timing vector, frequency timing vector and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel, and perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively;

[0226] The result output module is used to perform an OR operation on the first detection result of the long short-term memory network channel and the second detection result of the wavelet transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, the first inertia estimation module is executed. If the large disturbance event detection result is that a large disturbance event has occurred, the second inertia estimation module is executed.

[0227] The first inertia estimation module is used to continuously estimate the inertia of the new energy system online by using a regularization method based on elastic network regression and real-time collected frequency time-series vectors and power time-series vectors.

[0228] The second inertia estimation module is used to continuously estimate the inertia of the new energy system online based on the real-time acquired frequency time-series vector, through time-series data accumulation, autoregressive moving average calculation, and Tikhonov regularization calculation.

[0229] In one embodiment, the first inertia estimation module is specifically used for:

[0230] Based on the real-time acquired frequency and power time-series vectors, the frequency change rate and power imbalance of the new energy system are calculated respectively.

[0231] Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed.

[0232] Find the analytical solution for the elastic network regression with the objective function;

[0233] Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online.

[0234] In one embodiment, the inertia of the new energy system is continuously estimated online based on the analytical solution of the elastic network regression, including:

[0235] Following a first-in-first-out (FIFO) mechanism, the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector are updated in real time to obtain the analytical solution of the elastic network regression at each sampling moment, thereby continuously estimating the inertia of the new energy system online.

[0236] In one embodiment, the central difference method is used to calculate the rate of change of frequency.

[0237] In one embodiment, the objective function for resilient network regression is:

[0238] ;

[0239] in, Let N be the objective function of the elastic network regression, and N be the total number of aligned data points. Let i be the rate of change of the frequency of the i-th data point. Let be the power imbalance at the i-th data point, and k be the slope parameter to be estimated. and represents the regularization parameter for elastic network regression.

[0240] In one embodiment, the second inertia estimation module is specifically used for:

[0241] Define a first vector and a second vector with an initial value of zero, which are used to record the rate of change of power and the rate of change of angular frequency at each sampling moment starting from the moment the large disturbance event occurs;

[0242] Define the state transition rules under large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions;

[0243] Accumulate time-series data for the first and second vectors, and update the first and second vectors in real time.

[0244] Construct the first-order cumulative matrix and the second-order cumulative matrix based on the first vector and the second vector, respectively.

[0245] Autoregressive moving averages are performed on the first-order cumulative matrix and the second-order cumulative matrix respectively to obtain the denoised first-order cumulative matrix and the denoised second-order cumulative matrix.

[0246] Tikhonov regularization is performed on each row of the denoised first-order cumulative matrix and the denoised second-order cumulative matrix to solve for the inertia estimate.

[0247] The inertia of the new energy system is continuously estimated online based on the inertia estimate.

[0248] In one embodiment, the initialization condition is as follows: when the new energy system is currently in a large disturbance mode and was previously in a small disturbance mode, the new energy system enters the large disturbance mode for the first time, initializes the timer count to 0, and initializes the first vector and the second vector. The normal operation condition is as follows: when the timer count is less than the maximum timing threshold, the new energy system continues to execute the large disturbance inertia estimation process. The exit condition is as follows: when the timer count is not less than the maximum timing threshold, the new energy system exits the large disturbance mode and returns to step S4. The re-trigger condition is as follows: during the operation of the large disturbance mode, if a large disturbance event is detected again in step S3, the timer count is immediately reset to 0, and the first vector and the second vector are initialized.

[0249] The distributed new energy inertia online full-time domain estimation device provided in this embodiment of the invention has the same principle and technical effect as the distributed new energy inertia online full-time domain estimation method provided in this invention, and will not be described again here.

[0250] The terms “first,” “second,” “third,” etc., used in this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0251] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.

[0252] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0253] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0254] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0255] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for online full-time domain estimation of the inertia of distributed renewable energy sources, characterized in that, include: S1. Real-time acquisition of power, phase angle, frequency and current of the new energy system, and construction of power time-series vector, phase angle time-series vector, frequency time-series vector and current time-series vector respectively; S2. Input the power timing vector, phase angle timing vector, frequency timing vector and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel. Perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively. S3. Perform an OR operation on the first detection result of the Long Short-Term Memory Network channel and the second detection result of the Wavelet Transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, then proceed to step S4. If the large disturbance event detection result is that a large disturbance event has occurred, then proceed to step S5. S4. A regularization method based on elastic network regression is adopted to continuously estimate the inertia of the new energy system online using real-time collected frequency time-series vectors and power time-series vectors. S5. Based on the real-time acquired frequency time-series vector, the inertia of the new energy system is continuously estimated online through time-series data accumulation, autoregressive moving average calculation and Tikhonov regularization calculation.

2. The distributed new energy inertia online full-time domain estimation method according to claim 1, characterized in that, Step S4 includes: Based on the real-time acquired frequency and power time-series vectors, the frequency change rate and power imbalance of the new energy system are calculated respectively. Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed. Find the analytical solution for the elastic network regression with the objective function; Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online.

3. The distributed new energy inertia online full-time domain estimation method according to claim 2, characterized in that, Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online, including: Following a first-in-first-out (FIFO) mechanism, the power timing vector, phase angle timing vector, frequency timing vector, and current timing vector are updated in real time to obtain the analytical solution of the elastic network regression at each sampling moment, thereby continuously estimating the inertia of the new energy system online.

4. The distributed new energy inertia online full-time domain estimation method according to claim 2, characterized in that, The rate of change of frequency is calculated using the central difference method.

5. The distributed new energy inertia online full-time domain estimation method according to claim 2, characterized in that, The objective function for elastic network regression is: ; in, Let N be the objective function of the elastic network regression, and N be the total number of aligned data points. Let i be the rate of change of the frequency of the i-th data point. Let be the power imbalance at the i-th data point, and k be the slope parameter to be estimated. and represents the regularization parameter for elastic network regression.

6. The distributed new energy inertia online full-time domain estimation method according to claim 1, characterized in that, Step S5 includes: Define a first vector and a second vector with an initial value of zero, which are used to record the rate of change of power and the rate of change of angular frequency at each sampling moment starting from the moment the large disturbance event occurs; Define the state transition rules under large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions; Accumulate time-series data for the first and second vectors, and update the first and second vectors in real time. Construct the first-order cumulative matrix and the second-order cumulative matrix based on the first vector and the second vector, respectively. Autoregressive moving averages are performed on the first-order cumulative matrix and the second-order cumulative matrix respectively to obtain the denoised first-order cumulative matrix and the denoised second-order cumulative matrix. Tikhonov regularization is performed on each row of the denoised first-order cumulative matrix and the denoised second-order cumulative matrix to solve for the inertia estimate. The inertia of the new energy system is continuously estimated online based on the inertia estimate.

7. The distributed new energy inertia online full-time domain estimation method according to claim 6, characterized in that, The initialization conditions are as follows: When the new energy system is currently in a large disturbance mode and was previously in a small disturbance mode, the new energy system enters the large disturbance mode for the first time, initializes the timer count to 0, and initializes the first vector and the second vector. The normal operation conditions are as follows: When the timer count is less than the maximum timing threshold, the new energy system continues to execute the large disturbance inertia estimation process. The exit condition is as follows: When the timer count is not less than the maximum timing threshold, the new energy system exits the large disturbance mode and returns to step S4. The re-trigger condition is as follows: During the operation of the large disturbance mode, if a large disturbance event is detected again in step S3, the timer count is immediately reset to 0, and the first vector and the second vector are initialized.

8. A distributed new energy source inertia online full-time domain estimation device, characterized in that, include: The data acquisition module is used to collect the power, phase angle, frequency and current of the new energy system in real time, and construct the power time series vector, phase angle time series vector, frequency time series vector and current time series vector respectively. The dual-channel detection module is used to input the power timing vector, phase angle timing vector, frequency timing vector and current timing vector into the long short-term memory network channel, and input the current timing vector into the wavelet transform channel, and perform large disturbance event detection through the long short-term memory network channel and the wavelet transform channel respectively; The result output module is used to perform an OR operation on the first detection result of the long short-term memory network channel and the second detection result of the wavelet transform channel to obtain the large disturbance event detection result. If the large disturbance event detection result is that no large disturbance event has occurred, the first inertia estimation module is executed. If the large disturbance event detection result is that a large disturbance event has occurred, the second inertia estimation module is executed. The first inertia estimation module is used to continuously estimate the inertia of the new energy system online by using a regularization method based on elastic network regression and real-time collected frequency time-series vectors and power time-series vectors. The second inertia estimation module is used to continuously estimate the inertia of the new energy system online based on the real-time acquired frequency time-series vector, through time-series data accumulation, autoregressive moving average calculation, and Tikhonov regularization calculation.

9. The distributed new energy inertia online full-time domain estimation device according to claim 8, characterized in that, The first inertia estimation module is specifically used for: Based on the real-time acquired frequency and power time-series vectors, the frequency change rate and power imbalance of the new energy system are calculated respectively. Based on the rate of change of frequency and the power imbalance, an objective function for elastic network regression is constructed. Find the analytical solution for the elastic network regression with the objective function; Based on the analytical solution of elastic network regression, the inertia of the new energy system is continuously estimated online.

10. The distributed new energy inertia online full-time domain estimation device according to claim 8, characterized in that, The second inertia estimation module is specifically used for: Define a first vector and a second vector with an initial value of zero, which are used to record the rate of change of power and the rate of change of angular frequency at each sampling moment starting from the moment the large disturbance event occurs; Define the state transition rules under large disturbance mode, including initialization conditions, normal operation conditions, exit conditions, and re-trigger conditions; Accumulate time-series data for the first and second vectors, and update the first and second vectors in real time. Construct the first-order cumulative matrix and the second-order cumulative matrix based on the first vector and the second vector, respectively. Autoregressive moving averages are performed on the first-order cumulative matrix and the second-order cumulative matrix respectively to obtain the denoised first-order cumulative matrix and the denoised second-order cumulative matrix. Tikhonov regularization is performed on each row of the denoised first-order cumulative matrix and the denoised second-order cumulative matrix to solve for the inertia estimate. The inertia of the new energy system is continuously estimated online based on the inertia estimate.