Autoregression-corrected LSTM intelligent wind farm ultra-short-term power forecasting method

By combining LSTM deep learning and autoregressive methods, future meteorological data are used for ultra-short-term power prediction of wind farms, and the prediction value is corrected by the actual power at the latest moment, which solves the prediction error and speed problems of traditional methods when wind speed changes, and achieves Greater forecast accuracy and speed.

CN114757427BActive Publication Date: 2024-09-06DALIAN UNIV OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210428891.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2024-09-06
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

In wind farms, traditional LSTM neural networks are difficult to accurately predict sudden changes in wind speed or severe power jitters caused by other factors in ultra-short-term wind power power prediction, and the prediction speed is slow.

Method used

A combination scheme based on the LSTM deep learning algorithm and the autoregressive method is used to make short-term power predictions using meteorological data in the next 24 hours, and corrected by the actual power trends at the latest moment to improve the accuracy and speed of ultra-short-term predictions.

Benefits of technology

It significantly improves the accuracy of ultra-short-term power prediction of wind farms, reduces prediction errors, speeds up prediction, and can provide more accurate prediction results when wind speed changes rapidly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757427B
    Figure CN114757427B
Patent Text Reader

Abstract

The present invention belongs to the field of data science and technology, and relates to an ultra-short-term power prediction method for an LSTM intelligent wind farm corrected by autoregression. The present invention predicts the power trend for the next 4 hours (16 time points) based on the actual power at the most recent moment, and uses the predicted value to correct the short-term power predicted by LSTM, realizing the feature combination of historical power data and meteorological data, improving the prediction accuracy in ultra-short-term prediction when the wind speed changes rapidly or the power fluctuates violently due to other factors, and speeding up the ultra-short-term prediction. The present invention implements an ultra-short-term power prediction method for an LSTM intelligent wind farm corrected by autoregression, combines deep learning, autoregression prediction and other technologies, and ultimately provides a theoretical basis and practical experience for wind farms in the field of ultra-short-term accurate prediction of wind power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of data science technology and relates to an autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method. Background Art

[0002] As the number of wind farms in my country increases and wind power generation technology matures, the proportion of wind power in my country's power system increases year by year. In daily power generation, power dispatching agencies need to plan future power generation based on daily loads to achieve a balance between power generation and power consumption and maintain the stability of the power grid. However, due to the volatility and intermittency of wind, wind power generation is extremely unstable and has high uncertainty. Today, with large-scale access to the power grid, the difficulty of dispatching agencies to formulate power generation plans has greatly increased, bringing a series of major challenges to the safe operation of the power system. According to the different time scales of the forecast, wind power forecasting can be divided into ultra-short-term forecasting, short-term forecasting and medium- and long-term forecasting. Among them, ultra-short-term forecasting can be used for real-time power dispatching, short-term forecasting can be used to formulate daily power generation plans, and medium- and long-term forecasting can help wind farms formulate annual maintenance plans. Therefore, accurate forecasting of ultra-short-term wind power can effectively alleviate the pressure of power dispatching, significantly improve the safety and stability of the power grid system operation, and bring significant economic benefits.

[0003] In the field of wind power prediction, traditional prediction methods include physical prediction methods and statistical and learning prediction methods. Among them, the physical prediction method calculates the actual power at future moments by introducing numerical weather forecast (NWP) data and combining the performance parameters of wind turbines. The calculation method is relatively complex, but the technical conditions of the wind farm are relatively low, and there is no need to use historical operation data. In the statistical and learning methods, there are time series extrapolation and artificial intelligence prediction methods. Among them, the time series extrapolation method does not need to use meteorological data, only uses actual power, and infers future power by exploring its historical sequence characteristics. The artificial intelligence prediction method predicts future power by learning the relationship between meteorological data and power at historical moments and using NWP data, which includes machine learning technologies such as artificial neural networks (ANN) and support vector machines (SVM). With the rapid development of artificial intelligence and the introduction of the concept of "smart" wind farms, prediction methods based on deep learning continue to emerge, and power prediction algorithms are shifting from machine learning to deep learning.

[0004] Since the long short-term memory neural network (LSTM) can learn multi-feature time series data, short-term power can be effectively predicted based on NWP data. However, in ultra-short-term prediction, it is impossible to accurately predict the violent power fluctuations caused by sudden changes in wind speed or other factors at a certain moment, and only the general trend can be predicted. In the ultra-short term in the future, the power size is closely related to the previous moments. Therefore, an effective way to solve this problem is to predict the trend of changes in the next few moments by the trend of the actual power at the most recent moment. Since the autoregressive method can predict the future value of the variable based on the historical sequence of a single variable, this feature can be used to correct the predicted value of the LSTM neural network using meteorological data, reduce the prediction error of LSTM for violent changes at a certain moment in the ultra-short-term prediction process, and effectively improve the accuracy of ultra-short-term prediction. At the same time, since the LSTM neural network has already predicted the short-term power for the next 24 hours in advance, there is no need to use LSTM again in the ultra-short-term prediction process of 4 hours, and only the autoregressive method needs to be used for correction, which has obvious advantages in prediction speed. It has great research significance and practical value. Summary of the invention

[0005] The problem solved by the present invention is how to use NWP data (with a time resolution of 15 minutes) to predict the short-term wind power in the next 24 hours (96 time points) using an LSTM deep learning algorithm, and use historical power data for autoregressive modeling, predict the power trend in the next 4 hours (16 time points) according to the actual power at the most recent moment, and use the predicted value to correct the short-term power predicted by LSTM, realize the feature combination of historical power data and meteorological data, improve the prediction accuracy in ultra-short-term prediction when the wind speed changes rapidly or the power fluctuates violently due to other factors, and speed up the ultra-short-term prediction. The present invention realizes an autoregressive-corrected LSTM intelligent wind farm ultra-short-term power prediction method, combines deep learning, autoregressive prediction and other technologies, and ultimately provides a theoretical basis and practical experience for wind farms in the field of ultra-short-term accurate prediction of wind power.

[0006] The technical solution of the present invention:

[0007] The autoregressive modified LSTM intelligent wind farm ultra-short-term power prediction method includes an ultra-short-term power prediction system based on LSTM deep learning algorithm and autoregressive algorithm. The specific steps are as follows:

[0008] Step 1: Obtain the historical NWP data, historical actual power data, and NWP data for the next 24 hours of the wind farm, and pre-process the data.

[0009] Step 2: Build an LSTM deep learning framework, use historical NWP data as features and the corresponding historical actual power data as labels, perform model training, and learn the corresponding relationship between NWP data and power.

[0010] Step 3: Based on the characteristics of the historical actual power, perform single-feature autoregressive modeling to find the connection between the power at future moments and the power at previous moments.

[0011] Step 4: Input the NWP data for the next 24 hours into the LSTM neural network to obtain the short-term predicted power for 24 hours. Use the autoregressive model constructed in step 3 to make a rolling prediction of the power change trend for the next 4 hours, correct the short-term predicted power in the corresponding period, and obtain the ultra-short-term predicted power.

[0012] Step 5: Calculate the accuracy of the ultra-short-term power forecast obtained in step 4 and upload it to the dispatching agency for real-time power dispatching.

[0013] The data preprocessing of step 1 is specifically performed as follows:

[0014] Step 1.1: Screen the NWP data and actual power data, find the missing data, average the complete values ​​before and after the missing data, fill in the missing position, and perform smoothing.

[0015] Step 1.2: Add new statistical features to the original NWP data at each moment, including the wind speed value at the previous point, the wind direction at the previous point, the maximum and average wind speeds at the last three points, to strengthen the historical information of the features. 1 ,x 2 ,x 3 ,...,x n}.

[0016] Step 1.3: Normalize the meteorological characteristics X and actual power P, where the meteorological characteristics other than wind direction are normalized by Normalization is performed, where max(x), min(x) and avg(x) are the maximum, minimum and average values ​​of the non-wind direction meteorological characteristics of each dimension, respectively. wd ,use Normalize. * and All are normalized data.

[0017] The specific steps of step 2, construction and training of LSTM model, are as follows:

[0018] Step 2.1: Taking the tth time point as an example, first use the attention mechanism to input feature X t ={x1,t ,x 2,t ,x 3,t ,...,x n,t} to process the feature X t Pass it into the fully connected neural network and get an output with the same dimension as the input as the feature attention coefficient A t =σ(W a X t +b a ). Where W a is the learnable weight matrix, b a is the bias vector. σ is the Sigmoid activation function, A t ={a 1,t ,a 2,t ,a 3,t ,...,a n,t}. t Use the Softmax function for normalization and get Among them are The normalized attention weight matrix With input feature X t Perform inner product operation and get

[0019] Step 2.2: LSTM includes input layer, hidden layer and output layer. The hidden layer is LSTM unit cell, which includes three computing units: input gate, forget gate and output gate. The specific calculation method is as follows:

[0020] Forget gate: By calculation, we get f t =σ(W f ·[h t-1 ,X t ]+b f ) determines which information in the unit cells at the previous moment will be retained to the present moment.

[0021] Input gate: Through calculation, get i t =σ(W i ·[h t-1 ,X t ]+b i ), determine the current input X t Which information is saved to the unit cell. At the same time, the cell state is updated. First, the candidate cell state is calculated. Then calculate the new cell state

[0022] Output gate: through calculation, get o t =σ(W o ·[h t-1 ,X t ]+bo ), h t =o t *tanh(C t ), h t The calculated value and the cell state C are used as the output of the LSTM unit cell.

[0023] For the above calculation units, W f , W i , W C , W o is the learnable weight matrix, b f , b i , b C , b o is the bias vector. t is the hidden state at time t, C t is the cell state at time t. tanh is the hyperbolic tangent activation function.

[0024] The characteristic attention coefficient at time t Input into the LSTM model and obtain h through the above calculation t , C t .

[0025] Step 2.3: At time t+1, With h t , C t Input into LSTM and get h t+1 , C t+1 , repeat the above steps at time t+2 and t+3 to obtain h t+3 , C t+3 . t+3 The vector is input to the output layer, which is a fully connected neural network with an activation function tanh. The output dimension is 1, and the output means the power prediction value at time t+3.

[0026] Step 2.4: Calculate the mean square error (MSE) between the power prediction value obtained in step 2.3 and the actual power value, and back-propagate the network parameters through the neural network Adam optimizer.

[0027] Step 2.5: Slide a window of size 4 on the training set with a step size of 1. Set the first moment of the window as moment t and repeat steps 2.2-2.4. Each slide will be performed on h t , C t Initialize.

[0028] Step 2.6: After the window rolling is completed, return to the starting point of the training set and roll again until the mean square error between the power prediction value and the actual power value converges. At this point, a neural network model that can predict power based on NWP data is obtained.

[0029] The step 3 of performing autoregressive modeling based on historical power information is as follows:

[0030] Step 3.1: Obtain historical power data P = {p 1 ,p 2 ,p 3 ,...,p n}, perform a time series stationarity test (ADF) on it. If the result shows that the data is not stationary, it is necessary to perform d-order difference processing on the data until it passes the stationarity test. Generally speaking, the first-order difference sequence is a stationary sequence.

[0031] Step 3.2: Use the processed data P * Draw the autocorrelation graph (ACF) and the partial autocorrelation graph (PACF), and determine the autoregressive model based on the characteristics of the two graphs. If the ACF graph is tailed and the PACF graph is p-order truncated, the autoregressive model is an AR(p) model; if the ACF graph is q-order truncated and the PACF graph is tailed, it is an MA(q) model; if the ACF graph is q-order tailed and the PACF graph is p-order tailed, it is an ARIMA(p,d,q) model. If there are multiple values ​​for p and q, the best model is determined by calculating the Bayesian Information Content (BIC) of each model. BIC = ln(n)*k-2ln (L), where k is the number of model parameters, n is the number of samples, and L is the likelihood function. The smaller the BIC value, the better the model effect.

[0032] Step 3.3: Use the determined model to analyze the historical power data P * Fitting is performed. Calculate the residual between the predicted value and the true value. The model residual is required to have no autocorrelation and the mean is 0, so the residual is required to be white noise. Perform a white noise test on the residual. If the model residual passes the test, it means that the model is valid.

[0033] The prediction process and correction process of step 4 are as follows:

[0034] Step 4.1: Obtain NWP data for the next 24 hours (with a time resolution of 15 minutes) and perform data preprocessing according to step 1.

[0035] Step 4.2: Input the NWP data for the next 24 hours into the LSTM neural network to obtain the short-term power forecast for the next 24 hours. Take out the power forecast for the next 4 hours, a total of 16 data

[0036] Step 4.3: Use the actual power sequence up to the current moment to input into the model obtained in step 3 for fitting and predict the power value at the next moment. Add the power value into the sequence, bring it back into the model for fitting, and predict the power value at the second moment in the future And add it to the sequence, and so on, for rolling prediction until the power value of the 16th moment in the future is predicted. A total of 16 data

[0037] Step 4.4: Using P ar P lstm Correction is performed to obtain the predicted power P pred . Among them, P pred =P lstm +(P ar -P lstm )*0.3.

[0038] Beneficial effects of the present invention:

[0039] The present invention uses the future meteorological data through the LSTM neural network to make a preliminary prediction of the 24-hour wind power, and then uses the actual power at the most recent moment through the autoregressive method to correct the preliminary predicted power for the next 4 hours, thereby realizing the accurate prediction of the ultra-short-term power of the wind farm in the next 4 hours. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a flow chart of the autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction algorithm of the present invention;

[0041] Figure 2 It is a data preprocessing flow chart of the present invention;

[0042] Figure 3 It is a detailed design diagram of the LSTM short-term power prediction algorithm based on the present invention;

[0043] Figure 4 It is a flow chart of the autoregressive model construction of the present invention. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the specific implementation modes of the present invention will be described in detail below with reference to the accompanying drawings.

[0045] Figure 1 The flowchart of the autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction algorithm of the present invention specifically includes the following steps:

[0046] Step 1: Obtain the historical NWP data, historical actual power data, and NWP data for the next 24 hours of the wind farm, and pre-process the data.

[0047] Step 2: Build an LSTM deep learning framework, use historical NWP data as features and the corresponding historical actual power data as labels, perform model training, and learn the corresponding relationship between NWP data and power.

[0048] Step 3: Based on the characteristics of the historical actual power, perform single-feature autoregressive modeling to find the connection between the power at future moments and the power at previous moments.

[0049] Step 4: Input the NWP data for the next 24 hours into the LSTM neural network to obtain the short-term predicted power for 24 hours. Use the autoregressive model constructed in step 3 to make a rolling prediction of the power change trend for the next 4 hours, correct the short-term predicted power in the corresponding period, and obtain the ultra-short-term predicted power.

[0050] Step 5: Calculate the accuracy of the ultra-short-term power forecast obtained in step 4 and upload it to the dispatching agency for real-time power dispatching.

[0051] Figure 2 It is a data preprocessing flow chart of the present invention, which specifically includes the following steps:

[0052] Step 1.1: Screen the NWP data and actual power data, find the missing data, average the complete values ​​before and after the missing data, fill in the missing position, and perform smoothing.

[0053] Step 1.2: Add new statistical features to the original NWP data at each moment, including the wind speed value at the previous point, the wind direction at the previous point, the maximum and average wind speeds at the last three points, to strengthen the historical information of the features. 1 ,x 2 ,x 3 ,...,x n}.

[0054] Step 1.3: Normalize the meteorological characteristics X and actual power P, where the meteorological characteristics other than wind direction are normalized by Normalization is performed, where max(x), min(x) and avg(x) are the maximum, minimum and average values ​​of the non-wind direction meteorological characteristics of each dimension, respectively. wd ,use Normalize. * and All are normalized data.

[0055] Figure 3 The present invention is based on the detailed design diagram of the LSTM short-term power prediction algorithm, which specifically includes the following steps:

[0056] Step 2.1: Taking the tth time point as an example, first use the attention mechanism to input feature X t ={x 1,t ,x 2,t ,x 3,t ,...,x n,t} to process the feature X t Pass it into the fully connected neural network and get an output with the same dimension as the input as the feature attention coefficient A t =σ(W a X t +b a ). Where W a is the learnable weight matrix, b a is the bias vector. σ is the Sigmoid activation function, A t ={a 1,t ,a 2,t ,a 3,t ,...,a n,t}. t Use the Softmax function for normalization and get Among them are The normalized attention weight matrix With input feature X t Perform inner product operation and get

[0057] Step 2.2: LSTM includes input layer, hidden layer and output layer. The hidden layer is LSTM unit cell, which includes three computing units: input gate, forget gate and output gate. The specific calculation method is as follows:

[0058] Forget gate: By calculation, we get f t =σ(W f ·[h t-1 ,X t ]+b f ) determines which information in the unit cells at the previous moment will be retained to the present moment.

[0059] Input gate: Through calculation, get i t =σ(W i ·[h t-1 ,X t ]+b i ), determine the current input X t Which information is saved to the unit cell. At the same time, the cell state is updated. First, the candidate cell state is calculated. Then calculate the new cell state

[0060] Output gate: through calculation, get o t=σ(W o ·[h t-1 ,X t ]+b o ), h t =o t *tanh(C t ), h t The calculated value and the cell state C are used as the output of the LSTM unit cell.

[0061] For the above calculation units, W f , W i , W C , W o is the learnable weight matrix, b f 、b i 、b C 、b o is the bias vector. t is the hidden state at time t, C t is the cell state at time t. tanh is the hyperbolic tangent activation function.

[0062] The characteristic attention coefficient at time t Input into the LSTM model and obtain h through the above calculation t , C t .

[0063] Step 2.3: At time t+1, With h t , C t Input into LSTM and get h t+1 , C t+1 , repeat the above steps at time t+2 and t+3 to obtain h t+3 , C t+3 . t+3 The vector is input to the output layer, which is a fully connected neural network with an activation function tanh. The output dimension is 1, and the output means the power prediction value at time t+3.

[0064] Step 2.4: Calculate the mean square error (MSE) between the power prediction value obtained in step 2.3 and the actual power value, and back-propagate the network parameters through the neural network Adam optimizer.

[0065] Step 2.5: Slide a window of size 4 on the training set with a step size of 1. Set the first moment of the window as moment t and repeat steps 2.2-2.4. Each slide will be performed on h t , C t Initialize.

[0066] Step 2.6: After the window rolling is completed, return to the starting point of the training set and roll again until the mean square error between the power prediction value and the actual power value converges. At this point, a neural network model that can predict power based on NWP data is obtained.

[0067] Figure 4 It is a flow chart of the autoregressive model construction of the present invention, which specifically includes the following steps:

[0068] Step 3.1: Obtain historical power data P = {p 1 ,p 2 ,p 3 ,...,p n}, perform a time series stationarity test (ADF) on it. If the result shows that the data is not stationary, it is necessary to perform d-order difference processing on the data until it passes the stationarity test. Generally speaking, the first-order difference sequence is a stationary sequence.

[0069] Step 3.2: Use the processed data P * Draw the autocorrelation graph (ACF) and the partial autocorrelation graph (PACF), and determine the autoregressive model based on the characteristics of the two graphs. If the ACF graph is tailed and the PACF graph is p-order truncated, the autoregressive model is an AR(p) model; if the ACF graph is q-order truncated and the PACF graph is tailed, it is an MA(q) model; if the ACF graph is q-order tailed and the PACF graph is p-order tailed, it is an ARIMA(p,d,q) model. If there are multiple values ​​for p and q, the best model is determined by calculating the Bayesian Information Content (BIC) of each model. BIC = ln(n)*k-2ln(L), where k is the number of model parameters, n is the number of samples, and L is the likelihood function. The smaller the BIC value, the better the model effect.

[0070] Step 3.3: Use the determined model to analyze the historical power data P * Fitting is performed. Calculate the residual between the predicted value and the true value. The model residual is required to have no autocorrelation and the mean is 0, so the residual is required to be white noise. Perform a white noise test on the residual. If the model residual passes the test, it means that the model is valid.

Claims

1. The autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method is characterized by: Here are the steps: Step 1: Obtain historical NWP data, historical actual power data, and NWP data for the next 24 hours of the wind farm, and pre-process the data; Step 2: Build an LSTM deep learning framework, use historical NWP data as features and the corresponding historical actual power data as labels, conduct model training, and learn the corresponding relationship between NWP data and power; Step 3: Based on the characteristics of historical actual power, perform single-feature autoregressive modeling to find the relationship between the power at the future moment and the power at the previous moment; Step 4: Input the NWP data for the next 24 hours into the LSTM neural network to obtain the short-term predicted power for 24 hours; use the autoregressive model constructed in step 3 to make a rolling prediction of the power change trend for the next 4 hours, correct the short-term predicted power in the corresponding period, and obtain the ultra-short-term predicted power; Step 5: Calculate the accuracy of the ultra-short-term power forecast obtained in step 4 and upload it to the dispatching agency for real-time power dispatching; The data preprocessing of step 1 is specifically performed as follows: Step 1.1: Screen the NWP data and actual power data, find the missing data, average the complete values ​​before and after the missing data, fill in the missing position, and perform smoothing; Step 1.2: Add new statistical features to the original NWP data at each moment, including the wind speed value at the previous point, the wind direction at the previous point, the maximum and average wind speeds at the last three points, to strengthen the historical information of the features; a total of n-dimensional meteorological features are obtained ; Step 1.3: Normalize the meteorological characteristics X and the actual power P, where the meteorological characteristics other than wind direction are normalized. Normalize, where are the maximum, minimum and average values ​​of the non-wind direction meteorological characteristics of each dimension; for the wind direction characteristics ,use Perform normalization; All are normalized data; The specific steps of step 2, construction and training of LSTM model, are as follows: Step 2.1: Taking the tth time point as an example, first use the attention mechanism to input features Processing, the features Pass it into the fully connected neural network and get an output with the same dimension as the input as the feature attention coefficient ;in is a learnable weight matrix, is the bias vector; is the Sigmoid activation function, ;right Use the Softmax function for normalization and get , among which ; The normalized attention weight matrix With input features Perform inner product operation and get ; Step 2.2: LSTM includes input layer, hidden layer and output layer; the hidden layer is LSTM unit cell, which includes three computing units: input gate, forget gate and output gate; Step 2.3: At time t+1, and , Input into LSTM and get , , repeat the above steps at time t+2 and t+3, and get , ;Will The vector is input to the output layer, which is a fully connected neural network with an activation function tanh. The output dimension is 1, and the output means the power prediction value at time t+3. Step 2.4: Calculate the mean square error (MSE) between the power prediction value obtained in step 2.3 and the actual power value, and back-propagate the network parameters through the neural network Adam optimizer; Step 2.5: Slide the window of size 4 on the training set with a step size of 1. Set the first moment of the window as moment t and repeat steps 2.2-2.

4. , Initialize; Step 2.6: After the window rolling is completed, return to the starting point of the training set and roll again until the mean square error between the power prediction value and the actual power value converges; thus, a neural network model that can predict power based on NWP data is obtained; The step 3 of performing autoregressive modeling based on historical power information is as follows: Step 3.1: Get historical power data , perform a time series stationarity test (ADF) on it. When the result shows that the data is not stationary, it is necessary to perform d-order difference processing on the data until it passes the stationarity test; Step 3.2: Use the processed data Draw the autocorrelation diagram (ACF) and partial autocorrelation diagram (PACF), and determine the autoregressive model based on the characteristics of the two diagrams; Step 3.3: Use the determined model to analyze the historical power data Perform the fitting.

2. The autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method according to claim 1, characterized in that: The specific calculation method of step 2.2 is as follows: Forget gate: By calculation, we get , determines which information in the unit cells at the previous moment will be retained to the present moment; Input gate: By calculation, we get , determines the current input Which information is saved to the unit cell; at the same time, the cell state is updated, and the candidate cell state is calculated first , and then calculate the new cell state ; Output gate: By calculation, we get , , The calculated value and the cell state C are used as the output of the LSTM unit cell; For the above calculation units, , , , is a learnable weight matrix, , , , is the bias vector; is the hidden state at time t, is the cell state at time t; tanh is the hyperbolic tangent activation function; The characteristic attention coefficient at time t Input into the LSTM model, and through the above calculation, we get , .

3. The autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method according to claim 1 or 2, characterized in that: The specific steps of the step 4 are as follows: Step 4.1: Obtain NWP data for the next 24 hours with a time resolution of 15 minutes and perform data preprocessing according to step 1; Step 4.2: Input the NWP data for the next 24 hours into the LSTM neural network to obtain the short-term power forecast value for the next 24 hours; extract the power forecast value for the next 4 hours, a total of 16 data Step 4.3: Use the actual power sequence up to the current moment to input into the model obtained in step 3 for fitting and predict the power value at the next moment. , add the power value into the sequence, bring it back into the model for fitting, and predict the power value at the second moment in the future , and add it to the sequence, and so on, for rolling prediction until the power value of the 16th moment in the future is predicted; a total of 16 data ; Step 4.4: Exploitation right Correction is made to obtain the predicted power ;in .

4. The autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method according to claim 1 or 2, characterized in that: The step 3.2 is as follows: when the ACF graph is tailed and the PACF graph is p-order truncated, the autoregressive model is an AR(p) model; when the ACF graph is q-order truncated and the PACF graph is tailed, it is an MA(q) model; when the ACF graph is q-order tailed and the PACF graph is p-order tailed, it is an ARIMA(p,d,q) model; if there are multiple values ​​of p and q, the best model is determined by calculating the Bayesian Information Content (BIC) of each model; , where k is the number of model parameters, n is the number of samples, and L is the likelihood function.

5. The autoregressive corrected LSTM intelligent wind farm ultra-short-term power prediction method according to claim 3, characterized in that:The step 3.2 is as follows: when the ACF graph is tailed and the PACF graph is p-order truncated, the autoregressive model is an AR(p) model; when the ACF graph is q-order truncated and the PACF graph is tailed, it is an MA(q) model; when the ACF graph is q-order tailed and the PACF graph is p-order tailed, it is an ARIMA(p,d,q) model; if there are multiple values ​​of p and q, the best model is determined by calculating the Bayesian Information Content (BIC) of each model; , where k is the number of model parameters, n is the number of samples, and L is the likelihood function.

Citation Information

Patent Citations

  • An ultra-short-term wind power forecasting method based on small wavelength short-term memory network

    CN109214575A

  • wind power ultra-short-term prediction method based on principal component analysis and machine learning

    CN109523084A

  • Wind power prediction model based on CNN + LSTM

    CN110443725A

  • Ultra-short-term wind power plant power prediction method combined with meteorological factors

    CN112733462A

  • KR20200119923A