Next Article in Journal
Semantic Segmentation of Satellite Images for Landslide Detection Using Foreground-Aware and Multi-Scale Convolutional Attention Mechanism
Previous Article in Journal
Overview of Vivaldi Antenna Selection for Through-Wall Radar Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ultra-Short-Term Wind Farm Power Prediction Considering Correlation of Wind Power Fluctuation

1
College of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350100, China
2
State Grid Fujian Electric Power Company, Fuzhou 350003, China
3
College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350108, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(20), 6538; https://doi.org/10.3390/s24206538
Submission received: 28 August 2024 / Revised: 25 September 2024 / Accepted: 29 September 2024 / Published: 10 October 2024
(This article belongs to the Section Electronic Sensors)

Abstract

:
Accurate ultra-short-term power prediction for wind farms is challenging under rapid wind speed fluctuations, complicating production planning and power balancing. This paper proposes a new method considering spatial and temporal correlations of wind fluctuations among adjacent wind farms. The method first calculates the time difference between power fluctuations based on wind speed, direction, and relative positions, determining the prior information period. The variational Bayesian model is then used to extract implicit relationships between power fluctuations of adjacent wind farms, enabling power prediction during the prior information period. Finally, the non-prior information period is predicted to complete the ultra-short-term power prediction. Using measured data from three wind farms in Fujian Province, compared to other models, the method demonstrates improved accuracy by effectively leveraging the power fluctuation characteristics of adjacent wind farms, and it has a certain amount of generalizability.

1. Introduction

As an intermittent power source, wind power’s inherent volatility brings great challenges to the real-time power balance of the power system. Accurate prediction of wind farm output is the basis of real-time supply and demand balance of the power grid and the prerequisite for safe and economic operation of the power grid [1,2].
At present, wind power prediction is a research focus in new power systems, which can be roughly divided into two categories: one is the physical method based on mechanistic portrayal and mathematical abstraction [3]; the other is the data-driven method based on data mining laws [4,5]. With the deepening and development of related research, the two methods have also shown a trend of integration. The ultra-short-term prediction model driven by the historical power data of wind farms gradually takes meteorological data into account [6]. For example, in Gu B et al. [7,8], by mining the correlation between meteorology and power in the historical data of wind farms, the meteorological prediction based on mechanistic construction is gradually integrated into the ultra-short-term power prediction of wind farms, which is used to improve the accuracy of power prediction. From the current research results, the research direction of ultra-short-term wind farm power prediction mainly focuses on how to effectively consider more power influencing factors, how to select efficient rule mining methods to improve the accuracy of prediction, and the convenience of model use.
With the intensive development of wind power resources, wind farms are increasingly showing spatial agglomeration [9]. The power fluctuations of wind farms in the same region are highly correlated. Many researchers have applied this factor to the power prediction of wind farms, thereby effectively improving the accuracy of power prediction [10,11]. Zhao Z et al. [12] simplified the relationship between the spatial relative position and the power of the wind farm into a linear relationship and used the vector autoregressive model to predict the power of the wind farm. The method presupposes the functional relationship between the power and the spatial position of the wind farm, and then uses the data-driven method to fit. Although the modeling problem of how the spatial position of the wind farm influences its power has been initially solved, the actual power of the wind farm is affected by many factors and contains complex nonlinear components. The above method is too hypothetical and limited. Therefore, the recent related research mainly focuses on how to mine implicit complex nonlinear relationship.
Zhang H et al. [13] used IDMDN to learn the nonlinear mapping relationship between NWP data and prediction results of multi-wind farms. Dong X et al. [14] used STCN to learn the characteristics of different scales and predict the power of wind farms. The nonlinear correlation between the power of different wind farms is implicitly fitted to improve the accuracy of power prediction. The above methods realize the extraction of the nonlinear correlation between the geographical location and the power of the wind farm to some extent.
However, the following problems still exist: (1) Due to the inherent ‘black box’ characteristics of machine learning algorithms, the model has poor generalization performance for scenarios that have not appeared in historical data. (2) Before the model training, the existing methods do not effectively simplify the relationship between the influencing factors based on physical laws such as meteorological processes, and cannot reduce the fitting function space, making model training difficult. (3) In the case of large fluctuations in wind farm power, it is impossible to capture the most effective key factors for predicting power through intuitive physical meaning. It is still difficult to effectively apply in the ultra-short-term power prediction of actual wind farms.
In view of the above research status, based on the spatial and temporal correlation of power fluctuations between wind farms, we propose a new method for ultra-short-term power prediction that considers the influence of power fluctuations of adjacent wind farms. The primary contributions here include the following:
(1) Based on the relative position of the wind farms and the real-time meteorological data, the adjacent wind farm with the power fluctuations prior to the target wind farm and the nearest distance is selected as the first wind farm. Its power fluctuations are considered as the prior information.
(2) The time difference between the power fluctuations of two wind farms caused by the same wind speed is estimated. The ultra-short-term prediction period of the target wind farm (4 h selected in this paper) is dynamically divided into prior information period and a non-prior information period.
(3) In the prior information period, the variational Bayesian model is used to comprehensively consider the relationship between historical power.
(4) Compared with the existing prediction methods, this method exhibits higher prediction accuracy and generalization, which can provide an important reference for the risk assessment of the power system.

2. Spatial–Temporal Correlation Analysis

In the ultra-short-term prediction of wind farm power, the amount of its power has a strong correlation with the strength of wind speed [15]. In the plains, ignoring the effect of topography, when the wind blows through an area, the power fluctuation caused by this gust should be similar for the different wind farms in the area. Due to the movement of the wind taking a certain time, a time difference results between the similar power fluctuations of wind farms [16]. Using this time difference can provide effective prior information for the power prediction of the target wind farm.

2.1. Selection of Prior Information Sources

Due to the gradual clustering of the spatial distribution of wind farms, there are multiple wind farms that may provide prior information for the target wind farm under the same wind direction. Therefore, how to select the prior information becomes a problem to be solved. We simplify this problem by adopting the approach of selecting the most directly associated adjacent wind farms.
Considering the way in which wind affects wind farm power, we presuppose that the wind farm closest to the target wind farm in the dominant wind direction is most likely to directly affect the target wind farm, and therefore this wind farm provides the most effective prior information. Based on this preset, we select the wind farm used for extracting the prior information based on the distance between the adjacent wind farms and the target wind farm, and the angle between the relative positional connecting line and the wind direction. This is shown in Formula (1):
W ( i ) = arg min ( d ( i ) + cos ( θ P ( i ) θ w ) )
where θw is the wind direction at the prediction time; W(i) is the i-th adjacent wind farm; θp(i) is the angle between the north direction and the line segment connecting the i-th adjacent wind farm starting from the target wind farm; and d(i) is the distance from the i-th adjacent wind farm to the target wind farm after normalizing the distance from the adjacent wind farms to the target wind farm.
After identifying the adjacent wind farm that can provide the prior information, which we refer to as the first wind farm of the target wind farm, the validity of the prior information is verified later in Section 5.2.

2.2. Dynamically Divide the Prediction Period

At the macroscale, adjacent wind farms usually have similar main wind directions, so that in most cases, it is possible to find wind farms that experience the wind power fluctuations earlier than the target wind farm. We attempt to improve the accuracy of ultra-short-term prediction for wind farms with large power fluctuations by effectively identifying this physical process. Therefore, after identifying the first wind farm that provides the prior information, it is necessary to calculate the time difference T that exists in the fluctuation-related power between it and the target wind farm.
With different wind speeds and directions, T will also change. Therefore, at each prediction time, T needs to be calculated based on the relative geographical location between wind farms and real-time wind speed and direction, as shown in Formula (2):
T = d v × cos ( θ P θ w )
where d is the distance between the target wind farm and the first wind farm; θp is the angle between the north direction and the line segment connecting the first wind farm starting from the target wind farm; and v is the wind speed at the prediction time.
The T before the prediction time of the first wind farm is τ1, and the T after the prediction time of the target wind farm is τ2, as shown in Figure 1. Because the fluctuation of power in τ1 is related to τ2 and the power in τ1 is known, it can provide prior information for the fluctuation of power in τ2. The correlation between power in τ1 and τ2 is verified in Section 5.2.
According to T calculated at each prediction time, the prediction period of the target wind farm is dynamically divided into a prior information period (τ2) and a non-prior information period, as shown in Figure 1. The calculation formula for the number of power points h in the prior information period is shown in Formula (3):
h = T T 0
where T0 is the sampling time interval of wind farm power.
We take into account both wind speed and wind direction around the wind farms when calculating T. The basic principle is to estimate the length of time for which the power fluctuation occurs in the first wind farm ahead of the target wind farm by using the information on wind speed and wind direction as well as the geographic location of the wind farm. Therefore, the calculation of T is premised on the following two aspects: firstly, the wind direction of the wind farms in the region basically does not change much within a few hours; secondly, the wind speed attenuation is not significant when the wind propagates between adjacent wind farms.
Through the selection of the first wind farm in each prediction period and the changes of T and h, the most direct prior information can be found for the target wind farm, and the changing spatiotemporal correlation between the wind farms can be fully expressed.

3. Basic Theories

There are two main factors affecting the power of the target wind farm with prior information: (1) the historical power data of the target wind farm; (2) the prior information provided by the first wind farm. To extract the influence of each factor on the power, we use the probability distribution sequence of the time series to describe the variation range of the power under the influence of each individual factor. The variational Bayesian model is used to fit the relationship between the combined influence of both factors and the predicted power. This approach allows for us to predict the power during the prior information period.

3.1. Probability Distribution Sequence Considering Only Single Factor Influence

In the prior information period, the prediction results of the two influencing factors are expressed by the probability distribution sequence Pa and ΔPf. Pa is the power sequence that only considers the influence of the historical power of the target wind farm, while ΔPf is the power fluctuation sequence that only considers the influence of prior information. The reason why ΔPf chooses the power fluctuation sequence instead of the power sequence is that it is difficult to classify the same power fluctuations in the first wind farm using the power sequence. This is not conducive to the calculation of the probability distribution corresponding to the target wind farm variation under the same conditions.
To reflect the possible variation range of the target wind farm output under the action of a single factor, this paper uses normal distribution to describe each point in the two probability distribution sequences of Pa and ΔPf, as shown in Formula (4).
P a = Π i = 1 h N ( μ P a , i , σ P a , i ) Δ P f = Π i = 1 h N ( μ Δ P f , i , σ Δ P f , i )
where μ P a , i and σ P a , i are the mean and variance of the i-th point in Pa; μ Δ P f , i and σ Δ P f , i are the mean and variance of the i-th point in ΔPf.
When calculating Pa, we use LSTM to fit the correlation between the power sequence of the prior information period and the historical power sequence. By inputting the power sequence before the prediction time of the target wind farm into the LSTM, the average value μ P a and variance sequence σ P a of the power in the prior information period are obtained.
In the prior information period of the target wind farm, the trend of change of prior information and power is similar, but there are still differences that are difficult to analyze. In the historical data, according to the magnitude of the prior information power fluctuations, the power fluctuations of the prior information period are segmented and counted. The distribution of power fluctuations in each section is obtained. Finally, at the prediction time, based on the obtained prior information, the distribution of each point in ΔPf is determined. The specific practices are as follows:
(1) In the historical data of the target wind farm, each prediction period is divided. Find the corresponding prior information for each prior information period. In chronological order, the order of time, the variation in prior information, and the variation in power in the prior information period are composed into two sequences, as shown in Formula (5).
Δ P F i r = [ Δ p 1 , 1 , 1 , , Δ p 1 , 1 , h 1 , , Δ p 1 , i , 1 , , Δ p 1 , i , h i ] Δ P A f t = [ Δ p 2 , 1 , 1 , , Δ p 2 , 1 , h 1 , , Δ p 2 , i , 1 , , Δ p 2 , i , h i ]
where ΔPFir is the variation sequence of prior information; ΔPAft is the variation sequence of power in the prior information period; hi is the number of power points of the prior information period in the i-th prediction period; Δ p 1 , i , h i and Δ p 2 , i , h i are the i-th power fluctuations of the prior information and the prior information period in the i-th prediction period.
(2) Each point in ΔPFir is sorted from small to large to obtain ΔP’Fir, which is divided into k intervals by quantile [17]. Using the corresponding relationship between the i-th point in ΔPFir and the i-th point in ΔPAft, the points in ΔPAft are classified into the corresponding intervals. The mean and variance of ΔPAft in each interval are calculated, as shown in Formula (6):
μ Δ P A f t = [ μ 1 , μ 2 , , μ k ] σ Δ P A f t = [ σ 1 , σ 2 , , σ k ]
where μ P a , i and σ P a , i are the mean and variance sequences of ΔPAft; μk and σk are the mean and variance of the power fluctuations in the target wind farm in the kth interval, respectively.
(3) The prior information is obtained at the prediction time, and the variation sequence is obtained. Through the interval corresponding to each point of the sequence, the μ Δ P f and σ Δ P f of ΔPf are determined. That is, when the i-th point of the prior information change sequence is in the j-th interval, the i-th point of μ Δ P f and σ Δ P f in the prior information period is μj and σj, respectively.
In practical applications, due to insufficient historical data or other reasons, a certain amount of change in the prior information may fall outside the range of ΔPFir. At this time, it will first be classified into the relatively closest interval, and the mean and variance of the interval are selected as the prediction results corresponding to the point. After the prediction is completed, the data in ΔPFir and ΔPAft are updated to make the contained range as comprehensive as possible.

3.2. Variational Bayesian Model Considering Two Factors Comprehensively

The calculation of Pa and ΔPf only considers a single influencing factor, while the actual power of the target wind farm is the result of the combined action of both factors. If only Pa and ΔPf are calculated, there will be a significant gap between the predicted power and the actual power. The variational Bayesian model, which is based on Bayesian theorem and variational inference, can optimize the probability distribution by minimizing the KL divergence and make it approximate the real distribution [18]. Therefore, we use KL divergence to characterize the distance between Pa and ΔPf and the real distribution and use the variational Bayesian model to modify Pa and ΔPf to make them continue approaching the real distribution. The target formula is shown in Formula (7).
arg min K L ( q ( ψ ) | | p ( ψ | y ) )
where ψ = {ΔPfPa} is the set of variables, p(ψ|y) is the real distribution of wind farm power under the combined action of two factors; y is the real value label of wind farm power corresponding to ψ; q(ψ) is the probability distribution sequence under the respective action of two factors.
However, the traditional variational Bayesian model requires a complex optimization process when approaching the real distribution. It takes a long time and can easily lead to inaccurate approximate inference [19]. Deep neural networks can quickly learn complex mapping relationships. Therefore, we use them to fit the relationship between the two probability distribution sequences considering a single influencing factor and the real power sequence of the wind farm, and approximate Pa and ΔPf.
BP has strong nonlinear fitting ability, while LSTM pays more attention to the dependencies in the data sequence and can learn the weights and biases at different time points. Therefore, we use BP and LSTM to approximate ΔPf and Pa in the deep inference model. The specific process is shown in Figure 2.
In Figure 2, after using the historical power data of the target wind farm and the prior information to obtain Pa and ΔPf, the respective mean and variance sequences are input into the corresponding neural network. The neural network is combined with ResNets in CNN. The structure of the ResNets is ‘Conv+ BN+ ReLU+ Conv+ BN’, and two output channels are set to output the mean and variance after approximation. By using Y, that is, the power of the change at the previous moment, the approximated power fluctuation sequences μ ^ Δ P f and σ ^ Δ P f are restored to the power sequence. It is weighted with the approximated power sequences μ ^ P a and σ ^ P a , and the power prediction result of the prior information period P considering the two influencing factors is obtained.
In the variational Bayesian model, we use two deep neural networks to evaluate the deviation between the power prediction results and the actual power. To construct a reasonable loss function, we combine the cross-entropy loss and the variational loss obtained from the objective function to train the model. The cross-entropy loss is used to measure the difference between the true value and the power results of the two considering the influence of single factor, while the variational loss is used to measure the difference between the probability distribution of the power and the true distribution. The combination of the two loss functions can make the model more robust and can better deal with the situation with large uncertainty.

3.3. Construction of Loss Function

The wind power prediction output sequence P and the real value sequence Pr are brought into Formula (7) for parameterization, and Formula (8) can be obtained.
arg min K L ( q ( ψ ) | | p ( ψ ) ) E q [ log p ( P , P r | ψ ) ] = arg min K L ( q ( ψ ) | | p ( ψ ) ) E q [ log p ( P | ψ ) ] E q [ log p ( P | P a ) ]
The first and second terms are the variational loss Lvar; the third term is the cross-entropy loss Lce. If the optimization goal of the model is set to minimize Formula (8), it will lead to an increase in Lce. Therefore, we focus on the minimization of Lvar and expand it to obtain Formula (9).
L var = K L ( q ( ψ ) | | p ( ψ ) ) E [ log p ( P | ψ ) ] = K L ( q ( Δ P f ) | | p ( Δ P f ) ) + K L ( q ( P a ) | | p ( P a ) ) E [ log p ( P | P a , Δ P f ) ]
Lvar can be summarized into three aspects: (1) the variational loss Lp of the power curve, which represents the loss between the actual value and the predicted value of the power; (2) the loss of ΔPf, which is composed of mean loss L μ ^ Δ P f and variance loss L σ ^ Δ P f ; and (3) the loss of Pa, which is composed of mean loss L μ ^ P a and variance loss L σ ^ P a . The specific calculation formula is as follows:
L var = L P + L μ ^ Δ P f + L σ ^ Δ P f + L μ ^ P a + L σ ^ P a
L P = 1 2 | | 2 P ( P a + Δ P f + Y ) | | L μ ^ Δ P f = 1 2 i = 1 h σ Δ P f , i μ ^ Δ P f , i 2 L σ ^ Δ P f = 1 2 i = 1 h ( σ Δ P f , i σ ^ Δ P f , i 2 ) < I , In ( σ ^ Δ P f 2 ) > L μ ^ P a = 1 2 i = 1 h σ P a , i μ ^ P a , i 2 L σ ^ P a = 1 2 i = 1 h ( σ P a , i , σ ^ P a , i 2 ) < I , In ( σ ^ P a 2 ) >
where μ ^ Δ P f , i and σ ^ Δ P f , i are the i-th point in μ ^ P a , i and σ ^ P a , i ; μ ^ P a , i and σ ^ P a , i are the i-th point in μ ^ P a and σ ^ P a .
Because we are carrying out ultra-short-term prediction, the prediction results of the interval are not significant. Therefore, the output channel of the residual block is set to 1, and the variational Bayesian model is simplified. Only the mean of the model is output, while the variance is used as the input feature of the model to assist in the approximation of the mean. The simplified variational loss Lvar is shown in Formula (12):
L var = L P + L μ ^ Δ P f + L μ ^ P a
Then, on the basis of minimizing Lvar, the loss function is constructed by the balance between Lce and Lvar, as shown in Formula (13):
min L c e + λ L var
where λ is the equilibrium weight, which we set to 50 after several attempts based on the calculus.

3.4. The Interpretability of Model

According to Zhang et al., the interpretability of the improved variational Bayesian model can be reflected in three dimensions [20]: (1) According to the number of power points that need to be predicted in the prior information period, different models are established. Active interpretability is reflected by selecting different models at each prediction time. (2) After obtaining the prediction results Pa and ΔPf that only consider the influence of a single factor, the balance of Lce and Lvar is used to approximate the real distribution. The prediction result of the two influencing factors is comprehensively considered. The interpretability focuses on the overall decision logic of the model, reflecting the global interpretability. (3) The physical meaning of variables in the variational Bayesian model is clear, enhancing the comprehensibility and interpretability of the model. For example, ΔPf represents the prediction result of power fluctuations only considering the influence of prior information, and Pa represents the prediction result of power only considering the influence of historical power of the target wind farm.
On this basis, the variational Bayesian model models the result statistics as a specific probability distribution and uses the distribution to contain the possibility of various changes. At the same time, the prediction period of the target wind farm is dynamically divided by combining the spatial position and real-time meteorological data. These measures can effectively analyze the correlation between wind farms, giving the variational Bayesian model the potential for generalization. We verify this generalization in Section 5.4.

4. Forecasting Process and Evaluation Indicators

To effectively utilize the known power fluctuations of the adjacent wind farms, we propose a new algorithm for ultra-short-term power prediction of wind farms based on the dynamic division of prediction period. Since the length of the prediction period for ultra-short-term power prediction of wind farms is fixed at 4 h, but the length of the prior information period is usually less than 4 h, this means that in the prediction period, in addition to the prior information period, there will be a non-prior information period that needs to be additionally predicted for power.
Because the length of the prior information period needs to be calculated from the wind speed and direction at each prediction moment, the length of the non-prior information period is not fixed. However, since the temporal resolution of the power is 15 min, after dividing the calculated length by 15 min and then rounding it up, the length of the non-prior information period is fixed. Therefore, we utilize TCN [21], which has a flexible structure and whose output length can be adjusted according to the needs, to train the prediction model for the non-prior information period.
Since it is necessary to calculate the time difference between the wind farm fluctuation-related power at the prediction moment to determine the length of the prior information period and the input lengths of the models. To reduce the time consumption of each prediction and to meet the demand of ultra-short-term prediction for computing speed, we construct the variational Bayesian model and TCN model with different input lengths for the two time periods in the train set. The overall prediction process diagram is shown in Figure 3.
The specific steps are as follows:
(1) Input the relative geographical location of the target wind farm and its adjacent wind farm, as well as the measured wind speed, wind direction and power data of each wind farm.
(2) The data are divided into train set and test set. In the train set, the length of the prior information period at each prediction time is calculated, and the prediction period is classified according to different lengths.
(3) The variational Bayesian model and TCN with different input lengths are trained to predict the prior information periods and the non-prior information periods.
(4) In the test set, the input lengths of the prior information period and the non-prior information period are calculated according to the first wind farm at the prediction time. After that, the corresponding model is selected according to different lengths, and the power predictions of the prior information period and non-prior information period are carried out. Finally, the ultra-short-term power prediction result of the target wind farm for the entire prediction period is obtained.
The comparison models used in this paper are TCN, LSTM, CNN-GRU, and CNN-LSTM. For the prediction results, we use the mean absolute percentage error (MAPE) and the root mean square error (RMSE) as evaluation criteria. The specific formulas are as follows:
R MAPE = 1 N i = 1 N y i y i P N × 100 %
R RMSE = 1 N i = 1 N ( y i y ) 2
where N is the number of predicted power points; y i is the i-th point in the predicted power sequence; yi is the actual power value of the wind farm corresponding to the i-th predicted point; PN is the rated capacity of the wind farm.

5. Case Analysis

5.1. Example Setup

The measured power data of three wind farms in southern China from 2022 to 2023 are used to validate the algorithm, with a time resolution of 15 min, 35,136 power data points for each wind farm, and a rated capacity of 90 MW. The dataset is divided into two parts: the train set and the test set in accordance with the ratio of 9:1. Taking FQ city as the starting point, the basic geographic location information of the three wind farms is shown in Table 1 and the relative location of each wind farm can be uniquely determined based on the relative latitude and longitude of the wind farms.

5.2. Example Analysis of Spatial-Temporal Correlation

To further verify that the power within τ1 of the first wind farm can provide effective prior information for the power prediction within τ2 of the target wind farm, we take the measured power data and meteorological data of two wind farms in southern China (W1 and W2) as an example for analysis. According to the measured data, it can be found that the prior information period of the wind farm is no more than two hours. Considering that the ultra-short-term prediction period of the wind farm is usually 15 min to 4 h, and the prediction period of the load is within 6 h, to make the prediction results provide a reference for maintaining the intra-day power balance, we set the ultra-short-term power prediction period to 4 h.
The measured data in W2 are divided into time periods of 4 h each. According to the method in Section 2.1, the time period of W1 as the first wind farm and W2 as the target wind farm is selected. The correlation between the power within τ1 and τ2 is verified by comparing the power within τ12 in the first wind farm (as shown in Figure 1).
In the i-th prediction period, the number of power points in the prior information period is calculated. Pτ1 and Pτ12 within τ1 and τ12 of the first wind farm and Pτ2 within τ2 of the target wind farm are determined. The Pτ1,I, Pτ12,i, and Pτ2,i of the i-th prediction period are as follows:
P τ 1 , i = [ p 1 , t i h i , p 1 , t i h i + 1 , , p 1 , t i 1 ] P τ 12 , i = [ p 1 , t i + 1 , p 1 , t i + 2 , , p 1 , t i + h i ] P τ 2 , i = [ p 2 , t i + 1 , p 2 , t i + 2 , , p 2 , t i + h i ]
where ti is the prediction time of the i-th prediction period; hi is the number of power points in the prior information period of the i-th prediction period; p 1 , t i + h i is the power point at t i + h i in W1; p 2 , t i + h i is the power point at t i + h i in W2.
Five prediction periods of W2 are selected, and the correlation between Pτ1 and Pτ2, Pτ12 and Pτ2 is calculated by Pearson correlation coefficient. The results are shown in Table 2.
It can be seen from the table above that, compared with the correlation between Pτ12 and Pτ2, the correlation between Pτ1 and Pτ2 is greater in each prediction period. This proves the rationality of using the power of the first wind farm within τ1 as the prior information of the target wind farm and the feasibility of using the prior information to predict the power of the target wind farm in the prior information period.

5.3. Comparative Analysis of Forecast Results for Wind Power

5.3.1. Determine the Number of Intervals of the First Wind Farm

To obtain the mean and variance sequence sum of ΔPf, it is necessary to divide the variation sequence ΔP′Fir. The number of intervals k has an important influence on the calculation of the mean and variance of the target wind farm variation ΔPAft in each interval. We select different values of k in the train set and divide the changes in the first wind farm into intervals by quartiles. The mean and variance sequences of the variation in the target wind farm in each interval are calculated. In the test set, the power change in the target wind farm is classified into the corresponding interval according to the prior information. The appropriate k value is selected by using the probability that the variation occurs in μ Δ P A f t ± σ Δ P A f t and μ Δ P A f t ± 0.5 σ Δ P A f t . The results are shown Figure 4.
It can be found from (a) that when the value of k is less than 15 or greater than 25, the variation set of the target wind farm cannot all appear in μ Δ P A f t ± σ Δ P A f t . This may be because the number of intervals will affect the number of discrete points contained in each interval, thus affecting the calculation of variance in ΔPf. Therefore, when the selection of k is too small or too large, the calculated variance is too large, resulting in the variation in the target wind farm not being concentrated. To further select k in the range of 15 to 25, so that the variation in the target wind farm is more concentrated in the vicinity, we calculate the probability of appearing in the range of μ Δ P A f t ± 0.5 σ Δ P A f t . It can be found from (b) that the probability is the highest when the value of k is 20, so we set k to 20.

5.3.2. Convolution Kernel Size and Number of Convolution Channels g

Due to the different number of power points to be predicted in the prior information period, the length of the input data for the variational Bayesian model is also different. The size of the convolution kernel in the convolution module is set to [1, 1]. The number g of convolution channels is set to different values to calculate the prediction error of the prior information period of a wind farm. The results are shown in Figure 5.
The optimization process of g is set to start from 8. In theory, a larger number of channels will increase the complexity and computational burden of the model, and also improve the learning ability of hidden information. However, it can be found from Figure 5 that when the number of channels increases to 32, RRMSE gradually decreases, and the error reaches the lowest value when g is 32. After further increasing g, the error increases. It can be found that g has a certain influence on the performance and effect of the neural network, but it is not a simple proportional relationship. If we do not consider the characteristics of the data, the needs of the task, and other factors, blindly increasing the number of convolution channels will increase the error.

5.3.3. Comparative Analysis of Forecast Results for Individual Wind Farm

The prediction results of different methods for W1 for two days are shown in Figure 6 and the error calculation results are shown in Table 3.
It can be seen from Figure 5 and Table 3 that the power prediction effect of our method is the best. The average improvement (Imp) is used to calculate the error reduction effect of our method compared with other methods. The following conclusions can be drawn: the prediction effect of LSTM is the worst, and the Imp of RMAPE reaches 5.25%. The prediction effect of CNN-LSTM and CNN-GRU is at least 1.9% higher than that of LSTM. The prediction effect of TCN model is about 1.25% higher than that of CNN-LSTM and CNN-GRU. However, since the number of wind farms in the example is limited, it cannot be guaranteed that the target wind farm has the first wind farm to provide effective data at each prediction time. Therefore, compared with TCN, the improvement effect of our method is not significant.
To better show the prediction effect of our method on wind power under fluctuating conditions, the peak–valley difference is greater than 0.1 PN and the first wind farm that can be found at the prediction time is taken as the index. Five prediction cycles with large fluctuations in wind power in the test set are selected for prediction. The average prediction error of each model is shown in Table 4.
It can be seen from Table 4 that the improvement effect of our method is more obvious when the wind power fluctuates greatly, and the target wind farm can find the first wind farm at the prediction time. Compared with Table 3, the Imp of RMAPE for TCN is increased by 4%. Taking a period with large fluctuations as an example, the prediction curves of different methods are shown in Figure 7.
It can be seen from Figure 6 that in the prior information period, LSTM only learns the time series features and has the worst prediction effect. After adding the CNN kernel that captures spatial features, the prediction effects of CNN-LSTM and CNN-GRU improve. However, it is still impossible to learn the fluctuations in the wind farm. TCN with multiple convolutional layers can learn the characteristics of different time scales and better fit the fluctuations of wind farms. However, the spatial and temporal correlation between wind farms is time-varying, and it still cannot adapt to a sudden change in power. Our method is not only to learn the historical power of the target wind farm, but also to directly use the power fluctuations that have occurred in the first wind farm as prior information to predict the power of the target wind farm in the period with prior information, which can reflect the sudden change in power caused by the change in wind speed in time. Therefore, it can reflect the sudden change in power caused by wind speed change in time.

5.3.4. Comparative Analysis of Forecast Results for Multiple Wind Farms

The total power of the three adjacent wind farms was predicted using a rolling approach over a two-day period. Figure 8 shows the rolling prediction curves from the different methods, with a 4 h prediction cycle repeated multiple times during the two days. The prediction errors are shown in Table 5.
Compared with Table 3, it can be seen that the prediction error of the total power of multiple wind farms by most methods is lower than that of a single wind farm. Among them, the prediction effect of our method still maintains strong robustness. The Imp for the other methods decreased compared to Table 3. The reason may be that the power fluctuations in multiple wind farms are not synchronized, and when they are integrated into a single power curve, they cancel each other out and the fluctuations are smoothed down. In addition, for multiple wind farms, not all of the wind farms have a first wind farm that can provide valid prior information about the changes in their forecasts. So, the improvement in our methodology is evenly distributed to the forecasts of the remaining wind farms.

5.4. Verification of Generalizability of Variational Bayesian Model

We verify the generalizability of the model by its prediction effect on unseen scenarios. In the train set and test set, the following designs were carried out: (1) In the train set, select the samples such that W1 is the first wind farm for W2 and exclude samples for which the wind direction is 193°~213° W. (2) In the test set, the samples with wind directions from 193° and 213° are selected for prediction. The prediction effect of the model is shown in Figure 9.
Figure 9 shows the comparison of the prediction results for the two prediction periods of the test set: the prior information; the historical power data of the target wind farm; the prediction results Pa and ΔPf only considering a single influencing factor; comparison of final prediction results in prior information period. It can be seen that, for scenarios that have not occurred, TCN cannot accurately determine the degree of contribution of adjacent wind farm, whereas the variational Bayesian model can still obtain the power prediction curve of the prior information period according to the prior information provided by the first wind farm and the historical data of the target wind farm. The prediction effect of our method is significantly better than that of TCN, which effectively proves the interpretability and generalizability of the variational Bayesian model.

6. Conclusions

We propose a new algorithm for the ultra-short-term prediction of wind farm power, considering the wind speed fluctuation in adjacent wind farms and dynamically dividing the period with or without prior information. Comparing the actual data with other methods, we draw the following conclusions:
(1) By using the relative geographical location between wind farms and real-time wind speed and direction, each prediction period of the target wind farm is dynamically divided. The prior information provided by the first wind farm is applied to the power prediction of the target wind farm during the prior information period, which can timelier reflect the power fluctuations caused by wind speed changes.
(2) The variational Bayesian model can effectively fit the relationship between the prediction results of a single influencing factor and the actual power sequence. Compared with other models, it is more interpretable and generalizable and can improve the accuracy of power prediction.
(3) In the case of adding adjacent wind farms, the variational Bayesian model does not need to be changed. It only needs to use the geographical location of the new wind farm to add it to the selection of the first wind farm, which has good engineering practicability.
(4) When different wind farms are considered first, different terrains between wind farms will lead to differences in the influence of prior information. Since the wind farms we use are in a relatively flat geographical location, this factor is not considered. The next step will be to study how to add this factor to the model to further improve its prediction accuracy.

Author Contributions

Methodology, M.Z.; Formal analysis, C.L.; Investigation, H.N.; Writing—original draft, M.Z.; Writing—review & editing, C.L. and Y.Z.; Funding acquisition, Z.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Key R&D Program of China grant number [2022YFB2402800].

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Minghui Zhang and Ziyuan Yi were employed by the company State Grid Fujian Electric Power Company. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Li, Z.; Wu, W.; Shahidehpour, M.; Zhang, B. Adaptive Robust Tie-Line Scheduling Considering Wind Power Uncertainty for Interconnected Power Systems. IEEE Trans. Power Syst. 2016, 31, 2701–2713. [Google Scholar] [CrossRef]
  2. Zhang, X.; Chen, Y.; Wang, Y.; Ding, R.; Zheng, Y.; Wang, Y.; Zha, X.; Cheng, X. Reactive Voltage Partitioning Method for the Power Grid with Comprehensive Consideration of Wind Power Fluctuation and Uncertainty. IEEE Access 2020, 8, 124514–124525. [Google Scholar] [CrossRef]
  3. Landberg, L. A Mathematical Look at a Physical Power Prediction Model. Wind Energy 1998, 1, 23–28. [Google Scholar] [CrossRef]
  4. Wang, K.; Zhang, Y.; Lin, F.; Wang, J.; Zhu, M. Nonparametric Probabilistic Forecasting for Wind Power Generation Using Quadratic Spline Quantile Function and Autoregressive Recurrent Neural Network. IEEE Trans. Sustain. Energy 2022, 13, 1930–1943. [Google Scholar] [CrossRef]
  5. Lu, W.; Duan, J.; Wang, P.; Ma, W.; Fang, S. Short-term wind power forecasting using the hybrid model of improved variational mode decomposition and maximum mixture correntropy long short-term memory neural network. Int. J. Electr. Power Energy Syst. 2023, 144, 108552. [Google Scholar] [CrossRef]
  6. Sheng, A.; Xie, L.; Zhou, Y.; Wang, Z.; Liu, Y. A Hybrid Model Based on Complete Ensemble Empirical Mode Decomposition with Adaptive Noise, GRU Network and Whale Optimization Algorithm for Wind Power Prediction. IEEE Access 2023, 11, 62840–62854. [Google Scholar] [CrossRef]
  7. Gu, B.; Hu, H.; Zhao, J.; Zhang, H.; Liu, X. Short-term wind power forecasting and uncertainty analysis based on FCM–WOA–ELM–GMM. Energy Rep. 2023, 9, 807–819. [Google Scholar] [CrossRef]
  8. Medina, S.V.; Ajenjo, U.P. Performance Improvement of Artificial Neural Network Model in Short-term Forecasting of Wind Farm Power Output. J. Mod. Power Syst. Clean Energy 2020, 8, 484–490. [Google Scholar] [CrossRef]
  9. Tu, Q.; Miao, S.; Yao, F.; Li, Y.; Yin, H.; Han, J.; Zhang, D.; Yang, W. Forecasting Scenario Generation for Multiple Wind Farms Considering Time-series Characteristics and Spatial-temporal Correlation. J. Mod. Power Syst. Clean Energy 2021, 9, 837–848. [Google Scholar] [CrossRef]
  10. Zhao, Z.; Yun, S.; Jia, L.; Guo, J.; Meng, Y.; He, N.; Li, X.; Shi, J.; Yang, L. Hybrid VMD-CNN-GRU-based Model for Short-term Forecasting of Wind Power Considering Spatio-temporal Features. Eng. Appl. Artif. Intell. 2023, 121, 105982. [Google Scholar] [CrossRef]
  11. Qu, K.; Si, G.; Huang, Y.; Li, C. A Novel Wind Power Time Series Modeling Method for Multiple Wind Farms Based on Copulas. In Proceedings of the 2019 Chinese Control and Decision Conference, Nanchang, China, 3–5 June 2019; pp. 2248–2253. [Google Scholar]
  12. Zhao, Y.; Li, Z.; Ye, L.; Pei, M.; Song, X.; Luo, Y.; Yu, Y. A Very Short-Term Adapt Wind Power Forecast Method Based Spatio-Temporal Correlation. Power Syst. Prot. Control 2023, 51, 94–105. [Google Scholar]
  13. Zhang, H.; Liu, Y.; Yan, J.; Han, S.; Li, L.; Long, Q. Improved Deep Mixture Density Network for Regional Wind Power Probabilistic Forecasting. IEEE Trans. Power Syst. 2020, 35, 2549–2560. [Google Scholar] [CrossRef]
  14. Dong, X.; Sun, Y.; Li, Y.; Wang, X.; Pu, T. Spatio-temporal Convolutional Network Based Power Forecasting of Multiple Wind Farms. J. Mod. Power Syst. Clean Energy 2022, 10, 388–398. [Google Scholar] [CrossRef]
  15. Mu, G.; Yang, M.; Wang, D.; Yan, G.; Qi, Y. Spatial Dispersion of Wind Speeds and Its Influence on The Forecasting Error of Wind Power in A Wind Farm. J. Mod. Power Syst. Clean Energy 2016, 4, 265–274. [Google Scholar] [CrossRef]
  16. Ye, L.; Zhao, J.; Lu, P.; Pei, M. Combined Prediction of Short-term Wind Power Considering Correlation of Meteorological Features and Fluctuation Process. Autom. Electr. Power Syst. 2021, 45, 54–62. [Google Scholar]
  17. Liu, B.; Nowotarski, J.; Hong, T.; Weron, R. Probabilistic Load Forecasting via Quantile Regression Averaging on Sister Forecasts. IEEE Trans. Smart Grid 2017, 8, 730–737. [Google Scholar] [CrossRef]
  18. Everitt, N.; Bottegal, G.; Hjalmarsson, H. An Empirical Bayes Approach to Identification of Modules in Dynamic Networks. Automatica 2018, 91, 144–151. [Google Scholar] [CrossRef]
  19. Blei, D.; Kucukelbir, A.; Mcauliffe, J. Variational Inference: A Review for Statisticians. J. Am. Stat. Assoc. 2016, 112, 859–877. [Google Scholar] [CrossRef]
  20. Zhang, Y.; Tiňo, P.; Leonardis, A.; Tang, K. A Survey on Neural Network Interpretability. IEEE Trans. Emerg. Top. Comput. Intell. 2021, 5, 726–742. [Google Scholar] [CrossRef]
  21. Li, Y.; Song, L.; Zhang, S.; Kraus, L.; Adcox, T.; Willardson, R.; Komandur, A.; Lu, N. A TCN-Based Hybrid Forecasting Framework for Hours-Ahead Utility-Scale PV Forecasting. IEEE Trans. Smart Grid 2023, 14, 4073–4085. [Google Scholar] [CrossRef]
Figure 1. The relative geographical location and prediction period diagram of wind farms.
Figure 1. The relative geographical location and prediction period diagram of wind farms.
Sensors 24 06538 g001
Figure 2. The variational Bayesian model based on a deep neural network.
Figure 2. The variational Bayesian model based on a deep neural network.
Sensors 24 06538 g002
Figure 3. Overall prediction process diagram.
Figure 3. Overall prediction process diagram.
Sensors 24 06538 g003
Figure 4. Probabilities for different values of k: (a) probability in the range of μ Δ P A f t ± σ Δ P A f t ; (b) probability in the range of μ Δ P A f t ± 0.5 σ Δ P A f t .
Figure 4. Probabilities for different values of k: (a) probability in the range of μ Δ P A f t ± σ Δ P A f t ; (b) probability in the range of μ Δ P A f t ± 0.5 σ Δ P A f t .
Sensors 24 06538 g004
Figure 5. The prediction error for different values of g.
Figure 5. The prediction error for different values of g.
Sensors 24 06538 g005
Figure 6. Comparison of W1 power prediction curves under different methods.
Figure 6. Comparison of W1 power prediction curves under different methods.
Sensors 24 06538 g006
Figure 7. Comparison of predicted power curves of W1 under different methods (h = 6).
Figure 7. Comparison of predicted power curves of W1 under different methods (h = 6).
Sensors 24 06538 g007
Figure 8. Comparison of the total power prediction curves of multiple wind farms under different methods.
Figure 8. Comparison of the total power prediction curves of multiple wind farms under different methods.
Sensors 24 06538 g008
Figure 9. Prediction effect of time difference period for unseen scenes.
Figure 9. Prediction effect of time difference period for unseen scenes.
Sensors 24 06538 g009
Table 1. Basic geographic location information of wind farm.
Table 1. Basic geographic location information of wind farm.
Wind FarmRelative LongitudeRelative Latitude
W10.51° E0.20° N
W20.33° E0.15° N
W30.30° E0.16° N
Table 2. The correlation between wind farm power sequences in different prediction periods.
Table 2. The correlation between wind farm power sequences in different prediction periods.
Forecast Period12345
Pτ1 and Pτ20.88410.86270.85340.89540.9237
Pτ12 and Pτ20.82970.80520.81310.79040.9086
Table 3. Comparison of W1 power prediction error under different methods.
Table 3. Comparison of W1 power prediction error under different methods.
Different MethodsRMAPERRMSE
Average/%ImpAverage/MWImp
LSTM11.525.2514.046.84
CNN-GRU8.822.5411.324.12
CNN-LSTM8.802.5210.833.63
TCN7.561.289.542.34
Method of this paper6.28-7.20-
Table 4. Comparison of prediction errors of different methods when the output fluctuates greatly.
Table 4. Comparison of prediction errors of different methods when the output fluctuates greatly.
Different MethodsRMAPERRMSE
Average/%ImpAverage/MWImp
LSTM12.5610.2314.7112.04
CNN-GRU10.698.3612.019.34
CNN-LSTM10.458.1211.969.29
TCN7.615.288.025.35
Method of this paper2.33-2.67-
Table 5. Comparison of total power prediction errors of multiple wind farms under different methods.
Table 5. Comparison of total power prediction errors of multiple wind farms under different methods.
Different MethodsRMAPERRMSE
Average/%ImpAverage/MWImp
LSTM10.594.8744.9321.98
CNN-GRU8.242.5231.488.53
CNN-LSTM8.102.3831.078.12
TCN6.851.1325.682.73
Method of this paper 5.72-22.95-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, C.; Zhang, M.; Zhang, Y.; Yi, Z.; Niu, H. Ultra-Short-Term Wind Farm Power Prediction Considering Correlation of Wind Power Fluctuation. Sensors 2024, 24, 6538. https://doi.org/10.3390/s24206538

AMA Style

Li C, Zhang M, Zhang Y, Yi Z, Niu H. Ultra-Short-Term Wind Farm Power Prediction Considering Correlation of Wind Power Fluctuation. Sensors. 2024; 24(20):6538. https://doi.org/10.3390/s24206538

Chicago/Turabian Style

Li, Chuandong, Minghui Zhang, Yi Zhang, Ziyuan Yi, and Huaqing Niu. 2024. "Ultra-Short-Term Wind Farm Power Prediction Considering Correlation of Wind Power Fluctuation" Sensors 24, no. 20: 6538. https://doi.org/10.3390/s24206538

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop