ORIGINAL RESEARCH article

Front. Energy Res., 08 September 2023

Sec. Wind Energy

Volume 11 - 2023 | https://doi.org/10.3389/fenrg.2023.1194010

Accuracy of wind speed forecasting based on joint probability prediction of the parameters of the Weibull probability density function

  • College of Engineering and Technology, University of Science and Technology of Fujairah, Fujairah, United Arab Emirates

Abstract

This work aims to evaluate different error estimations of the shape and scale parameters of the Weibull probability density function of wind speed measured at the Fujairah site over a 1-year period. This study estimates trends in the variation of Weibull parameters using moving averages and Markov series methods. The focus is on the scale and shape factors, which are evaluated by mapping monthly mean wind speeds into a Weibull probability distribution function. Due to the imprecise nature of these factors, multiple data simulations are used to predict Weibull factors based on data measuring interpolations. A procedural algorithm is proposed to select the overall best forecast based on several estimation methods that evaluate raised prediction errors. A probabilistic analysis is followed to predict future wind speed and wind energy based on variations in the scale and shape factors. This study focuses on the scale factor variation as it is found to be more dominant than the Weibull shape factor. The forecasted wind speed is checked with the measured value in future months and found to be within trend values. The results suggest that the proposed algorithm provides an accurate and reliable method for predicting future wind speed and energy output.

1 Introduction

Wind energy is a rapidly growing industry that requires accurate forecasting of wind speed for effective power generation and grid management. The accuracy of wind speed forecasting is crucial for ensuring efficient utilization of wind energy resources and minimizing costs associated with power generation. The traditional method of wind speed forecasting relies on deterministic models that are based on historical data and do not account for the uncertainty associated with wind speed prediction. To address this limitation, recent research has focused on developing probabilistic models that estimate the uncertainty in wind speed prediction. One such approach is based on error estimation and joint probability prediction of the parameters of the Weibull probability density function (PDF). The Weibull PDF is widely used to model wind speed distribution and has been shown to provide accurate predictions of wind speed. In this approach, the error in wind speed forecasting is estimated using past forecast errors and is used to adjust the Weibull parameters. The joint probability of the parameters is then predicted using a Bayesian framework, which incorporates the uncertainty associated with parameter estimation. The resulting probabilistic forecast provides a range of possible wind speed outcomes and their associated probabilities, which can be used for decision making in wind energy management. Deterministic and probabilistic forecasting models have been covered over the last decades for the prediction of wind power generation. Given a set of measurement data, deterministic forecasting models are used to provide prediction series of the wind power output. Users can estimate the closest expectation of output wind generating, depending on the evaluation of the model used and its estimation errors. Several deterministic forecasting models have been developed to predict the wind power output as accurately as possible ().

Probabilistic forecasting methods, on the other hand, are nowadays the interest of attention for researchers because, unlike deterministic forecasting, probabilistic forecasts can provide further information about the uncertainty of forecasting. While deterministic methods provide an overall expectation of wind power generation, probabilistic methods offer wider future information for possible wind power generation, with prediction intervals and distribution patterns. Probabilistic forecasts could be used effectively in several applications, such as wind power trading in electricity markets (), the optimal flow of power generation and distribution (), and stochastic programs for unit uncertainty commitments (). In brief, ) categorized deterministic forecasting methods into four types, each with different characteristics, whereas ) presented an overview of the implemented benchmark techniques and uncertainty analysis. ) classified deterministic forecasting methods with time scale horizons, whereas ) presented further reviews of power forecasting models. ) reviewed the forecasting accuracy of the models based on the variable factors, whereas ) reviewed overall probabilistic forecasting models and presented their possible evaluations. Similarly, ) presented fundamental concepts of probabilistic methodologies, whereas ) focused on the principles and features of wind power forecasting uncertainty analysis PDFs, such as Gaussian, Raleigh, and Rician distributions, which are widely used distributions of the wind speed characteristic, except in cases where parameters such as shape and scale factors in Weibull distribution are unreasonable or when specific distributions cannot be applied. On the other hand, there are cases where the predictive error distribution varies depending on the time scale, such as very short-term, short-term, mid-term, and long-term scales (). ) and ) proposed a modified generalized normal distribution function of the wind regime. ) argued that wind power output should not be considered a single variable of the Gaussian distribution, but rather it should be considered as a double-bound variable. ) used a hybrid model consisting of versatile probability distribution for economic power dispatch. Figure 1 displays different classifications and categories of methods and technologies () that have been applied and implemented to improve wind power forecasting and reduce any error estimations. Therefore, it is important to consider the advantages and disadvantages of each method and where to use it.

FIGURE 1

).

It can be noted from Figure 1 () that there exist many related and interconnected methods for solving forecasting problems, but they are mainly categorized into deterministic and probabilistic approaches. Probabilistic forecasting is important not only for energy market operation but also in decision making in power systems for proper power supply.

Spatial–temporal forecasting is recently employed as an interaction between wind parks (; ), which focuses on increasing the accuracy of predictions by sharing information from neighboring wind farms as important predictor indicators and tools. Machine learning, deep learning, and artificial intelligence techniques are all being implemented too, which prove to be important future methodologies (; ). One aspect that has been focused on is ramp events, which pose a threat to power systems as wind power penetrates the global power system more (; ) due to their dependency on factors such as weather conditions, different time scales, input data accuracy, and multiple nearby locations.

Overall, this approach has shown promising results in improving the accuracy of wind speed forecasting and reducing the associated uncertainty. It has the potential to enhance the performance of wind energy systems, increase energy production, and reduce costs. This work demonstrates how to use a procedural algorithm using measured wind speed data to forecast extracted energy by predicting the shape and scale factors of the Weibull PDF of wind characteristics at the site. As forecasting cannot be predicted accurately, an algorithmized scheme is intended to implement four different methods for future prediction of the wind speed and to estimate any error of each method using four different estimators, as well as a joint probability evaluator of both shape and scale factors to determine variations in the extracted energy forecast.

2 Procedural algorithm

The mean long-term fluctuation of the wind speed is estimated to be within 10%, whereas the short-term fluctuation over the first 4 months of the logged period is more than 20%. The wind direction changes seasonally from southeastern in summer to northwestern in winter. The site wind speed pattern is largely Weibull, with a mean wind speed of around 4 mph. In this work, a combination of deterministic and probabilistic methods is implemented to secure accurate forecasting. The first step of this work is to collect annual wind speed data using a logger. Table 1 lists site data at Fujairah, located NE of the Emirates, on Oman’s gulf coastline.

TABLE 1

ParameterValue
Latitude (deg N)25,007′N
Longitude56,018′E
Mean wind speed at 10 m4.072664 mph
Mean wind direction182.46510
Average temperature280°C
Mean pressure900–1100 m bar
Relative humidity50%–100%
Air density1.188 kg/m3
TerrainFlat land
ObstaclesHills
Surface roughness class0.5 Sa

Wind site characteristics at the Fujairah site.

The annual mean wind speed and direction are measured every 10 s with the wind speed sensor located at 10 m above ground level. Data are logged and recorded together with other meteorological parameters, such as temperature, pressure, humidity, and solar, on the SD card. Figure 2 shows the annual wind speed measured every 10 s, but due to the calm nature of wind speed, signal data were averaged over a day. Hence, less occasionally, sporadic gusts that are blown a few times a year, each lasting for a couple of hours, are eliminated and can be considered noise. It can be noted that wind speed is maximum during the November–March period with maximum fluctuations, whereas much calmer periods are recorded during summer. In general, the site is affected dominantly by western winds in winter and eastern winds in summer.

FIGURE 2

The first 11 months starting on 20 February 2020, as day 1, are used for the different methods which are applied for forecasting future wind speed, taken to be month 12, as a reference for comparing the different methods used.

The fluctuating nature of the site wind is highly random and difficult to predict in time and spatial domains, yet by focusing on windy periods, a comparative study is focused on the inherent nature of wind speed and direction. The average annual wind speed is 4.0726 mph, with a maximum speed of 14.8175 mph during this confined period. It can be noticed that the wind speed is concentrated at around 2–5 mph, whereas the wind direction is mostly southern to be in the range of 18°C–21°C, with a spike at around 300°, which is NW in direction. The annual statistics of wind speed measurements are shown in Figure 3 with both a histogram and cumulative histogram.

FIGURE 3

Figure 4 demonstrates the procedures that are carried out on measured data to predict the characteristics of the wind speed regime by determining the scale and shape factors of the wind speed Weibull PDF.

FIGURE 4

As shown, four different methods are used to determine the average of the Weibull shape parameter K and Weibull scale parameter C: monthly average, moving forward average, moving backward average, and the Markov series. In addition, four different estimators are used to check for errors in the methods: maximum likelihood estimation (MLE), maximum A posteriori (MAP), minimum mean square error (MMSE), and linear minimum mean square error (LMMSE). Finally, a procedure is implemented to determine the joint Gaussian probability of K and C and variations in their nominal values. It is to declare here that the abovementioned raw wind speed data are duplicated from a previous research work by the author and used as a base foundation for this work here.

Table 2 summarizes the assessment of wind speed residuals, using FFT and wavelet decomposition functions in MATLAB, in which the average values of the synthesized and original signals are found to be equal with the normalized error between them at level 1, found to be 4.9175e-14. The synthesized signal is reconstructed from the decompositions of the original signal, according to wavelet type name and levels.

TABLE 2

ParameterValue
Mean9.531 e−05
Median−0.1781
Mode−0.2372
Maximum5.77
Minimum−3.190
Range8.966
Standard deviation1.287
Median absolute deviation0.6037
Mean absolute deviation0.912
L1 norm334.7
L2 norm24.63
Maximum norm5.77

Wind speed residual assessment.

2.1 Prediction of K and C parameters

Prediction of Weibull PDF factors K and C is determined by invoking several MATLAB functions, such as wblfit (), wblrnd (), wblstat (), and wblplot (),, on the logged data that have been measured over a 1-year period.

2.2 Monthly average

Monthly averages of data are used to find K and C values as depicted in Table 3, in which the first 11 months are used for prediction and month 12 is for checking the prediction. This is plotted in Figure 5 for parameters K and C, respectively, together with the trend curves according to 2nd-order polynomials relating K and C with the number of months m, and R is the square root error, which is displayed in the plots as well.

TABLE 3

MonthPeriodCK
120/2/20–20/35.59061.7672
220/3–20/45.52872.1135
320/4–20/55.37992.8555
420/5–20/64.41563.7129
520/6–20/74.42284.5645
620/7–20/84.22045.0579
720/8–20/94.04773.3730
820/9–20/103.19927.3857
920/10–20/113.53033.4115
1020/11–20/124.55893.5535
1120/12–20/15.12103.5978
1220/1/21–20/24.07721.6639

Wind speed residual assessment.

FIGURE 5

It is seen that the forecast for the 12th month is C = 3.95, whereas it is measured to be 4.0772. The error is negligible.

For the K constant, it is forecasted to be 2.4, whereas it is measured to be 1.6639. The error is large and not in line with our expectations due to the abnormal measured value of K in the 12th month, which is not in line with all previous measurements in the first 11 months. From the graph, a value in the range of 2–3 is more appropriate.

2.3 Forward-moving monthly average

In this method, the accumulated averages of the forward-moving months are used for the forecasting of K and C values for the 12th month, to be C = 4.3 and K = 2.3, whereas their values are 4.0772 and 1.6639, respectively. As mentioned, the last measured value of K is not consistent due to the probable sporadic nature of the measured value. Table 4 depicts the monthly measured values of K and C over the first 11 months, with Figure 6 showing the variations of K and C, together with their trends according to 2nd-order polynomials. It can be noted that in this method, both K and C are nearly constant C, and their expectations are within measured values.

TABLE 4

MonthPeriodCK
120/2/20–20/2/214.59082.3547
220/3–20/2/214.48452.5665
320/4–20/2/214.36682.7904
420/5–20/2/214.24492.8601
520/6–20/2/214.22312.7891
620/7–20/2/214.18572.6832
720/8–20/2/214.15952.5457
820/9–20/2/214.17072.4542
920/10–20/2/214.36082.4002
1020/11–20/2/214.63692.3853
1120/12–20/2/214.63802.1451
1220/1/21–20/2/214.07721.6639

Wind speed residual assessment.

FIGURE 6

2.4 Backward-moving monthly average

Similarly, the values of K and C for the first 11 months are listed in Table 5, with their forecasted values for the 12th month to be C = 4.6 and K = 2.4, compared with their measured values for the first 11 months to be 4.5908 and K = 2.3547. Figure 7 displays the variations of both K and C, together with their trends based on the 2nd-order polynomials. It can be noticed that the error is negligible between the forecasted and measured values, and they vary almost linearly with the months.

TABLE 5

MonthPeriodCK
120/2/20–20/35.59061.7672
220/2/20–20/45.61891.9340
320/2/20–20/55.56652.0973
420/2/20–20/65.30632.1878
520/2/20–20/75.14752.2709
620/2/20–20/85.01402.3418
720/2/20–20/94.88422.3663
820/2/20–20/104.70422.3528
920/2/20–20/114.57852.3502
1020/2/20–20/124.57522.3967
1120/2/20–20/1/20214.63172.4492
1220/2/20–20/2/20214.59082.3547

Wind speed residual assessment.

FIGURE 7

2.5 Markov series

For the value of factor C of the Weibull PDF, a Markov series is selected with states {3 4 5 6}, which corresponds to percentage probabilities of {0.16 0.22 0.28 0.33}, obtained by rounding the values in Table 3 and then calculating probability percentages. Hence, the following transition probability matrix TM is formed:and the next states are evaluated to be {0.055 0.3 0.47 0.165}. Therefore, the maximum probability is estimated to be 0.47, corresponding to a value of factor C equal to 5, with the nominal expected total value found to be 4.715 compared with 4.0772. A similar Markov series for the K value is formed with states {2 3 4 5 7} corresponding to percentage probabilities of {0.1 0.14 0.2 0.24 0.3}. Hence, the transition probability matrix iswith forecasted states {0.05 0.54 0.035 0.32 0.07}, and the maximum probability is 0.54, corresponding to the nominal value of 3, compared with the expected total value of 3.9. It can be noted that forecasting errors are minimum.

3 Estimation errors of the forecasted K and C values

MAP, MLE, MMSE, and LMMSE () will be used here to estimate errors by selecting the most probable value for a given observation. Following the previous four measurements, Table 6 displays the four forecasted values of K and C. Table 7 displays the estimated errors in K and C using the four aforementioned methods.

TABLE 6

Measured valuesMonthly averageForward-moving averageBackward-moving averageMarkov series
K(1.6639)2.62.32.43.9
C4.07723.954.34.64.72

Four forecasted values of K and C.

The error in the K value (shown in bracket) is performed according to a more likely measured value of K to be in the range of 2–3.

TABLE 7

XErrorErrorErrorError
K2.80.040.250.16(1.96)
C3.40.30250.811.441.7424

Four forecasted values of K and C.

The table shows K in the first row and C in the second. X is the estimated value. The error in the K value (shown in bracket) is performed according to a more likely measured value of K to be in the range of 2–3. It can be deduced that the values of K and C are indeed the average values of 2.6 and 3.95, respectively.

The observations and detection of K and C values give a correct value plus an error, which is needed to provide their best-estimated values. In this case, it is assumed that for series X = [K1, K2, K3, K4] or [C1, C2, C3, C4], there exists value Y to be the maximum likelihood (ML) of either K or C. As previously mentioned in the monthly averages method, the value of measured K is not likely valid, whereas a value between 2 and 3 is more in line within expectation.

3.1.Maximum likelihood

In general, for any length (N) of observations (X), it is required to maximize the conditional PDF of X with Y; (x|y). For the MLE, it is assumed that each X is an independent Gaussian random variable with mean Y and variance , and hence, it is possible to determine as ()

For the maximum likelihood estimation, Y is modeled to be of a uniform distribution of constant value; i.e., does not depend on y since it is constant over all allowable values of y values, and hence, it is needed to maximize only . That is, there is no prior knowledge about the distribution of Y. Differentiating with respect to y and setting the value equal to zero requires that , and hence, the MLE estimator is given bywhich is merely the average value; that is, KML = 2.8 and CML = 3.4.

3.2 Maximum A posteriori

It is required to find Y that maximizes (Y and X are jointly Gaussian variables of a normal PDF), which can be expressed as

The denominator of (3) is not a function of Y, so it is needed only to maximize the numerator.Differentiating with respect to Y and setting the result equal to zero for maximum value yields the MAP estimator.

It is of note that is the average of all observations. Therefore, the MAP estimator can be considered equal to the average, skewed by prior knowledge of wind speed PDF. In our example, the number of methods used to predict wind speed, N = 4, and μK is the mean of measured values, K = 2.8. Assuming a Gaussian variance of K, , to be 20% of the K range = 0.15 and for the Gaussian error, , to be 10% of the nominal value = 0.28, the result obtained is as follows:

Similarly for C, N = 4, μC = 3.4, , and .

3.3 Minimum mean square error

A third estimation to be used is the MMSE to minimize the square mean error E [(yi-ym)^2], where operator E [] is the mean operator, yi is the true value, and ym is the estimated value. In our case, the estimated values of K and C are the averages of the four implemented methods as 2.8 and 3.4, respectively.

3.4 Linear minimum mean square error

This estimation is similar to MMSE but with ] replaced by ], which leads to

Substituting the same values used in MAP, i.e., N = 4, μK is the mean of measured values of K = 2.8. The Gaussian variance of K, , is assumed to be 20% of the K range = 0.15 (ignoring the last value), and the Gaussian error, , is assumed to be 10% of the nominal value = 0.28. Hence,

Similarly for C, N = 4, μC = 3.4, , and .

It can be deduced that the estimated values of K and C using the four different types of estimation are indeed within the range of their evaluations by the four implemented methods.

4 Prediction of the joint probability of K and C

The probability of wind speed occurrence P (as a percentage of hours/year per mph) is normally expressed by the Weibull distribution function () as

As the logged wind speed resembles a sharp Weibull pattern, a value of K is chosen. The scale parameter C can be estimated by integrating (7) over the whole range of wind speeds.

It can be assumed that both K and C are defined each with a value plus an error that is modeled as a Gaussian random variable with zero mean and with a defined variance, and hence, they themselves are Gaussian variables with a PDF equal to

Substituting values related to K and C from previous interpretations, with mean values of 2.6 and 3.95 and variances of approximately and , respectively, yields

On the other hand, the joint probability of N independent the PDF’s for random variables is expressed as

Hence, for random variables K and C, it yields

K and C are correlated with some correlation factor ρ; hence, (13) is modified with an assumed value of = 0.5 intoand substituting the mean and variance values of K and C leads to. It is of note that

It would be useful here to check variations in the probability of wind speed in the response of any variation in C according to its Gaussian PDF (). Hence, , which can be reduced to

Figure 8 depicts probabilities of wind speed at different values of scale factor C, when it is varied by ± 20% around its Gaussian PDF nominal mean with a range of values of 2–4, keeping the shape factor K constant, since variations of scale factor are more dominant than the shape factor (). When the variation of the Weibull shape factor K is inconsistent, then the joint probability depicted in (14) should be used, since determining both factors as accurately as possible is important to forecast wind speed probability and, hence, the extracted wind energy.

FIGURE 8

5 Conclusion

An algorithm was proposed to estimate the scale and shape parameters of the Weibull probability density function (PDF) that characterizes the wind regime at the Fujairah site. This was performed by averaging the results from four simulation methods. To evaluate the accuracy of the analysis, different error estimation techniques, such as ML, MAP, MMSE, and LMMSE, were employed. The accuracy of the analysis was verified using the Markov series method. To predict the effects of variations in the Weibull PDF scale factor on wind speed forecasting and wind energy production, a detailed joint probability analysis was conducted. It was observed that a 20% variation in the Weibull PDF scale factor has a significant impact on wind speed forecasting. Therefore, this factor was identified as the major factor to be varied.

Statements

Data availability statement

The raw data supporting the conclusion of this article will be made available by the author, without undue reservation.

Author contributions

The author confirms being the sole contributor of this work and has approved it for publication.

Conflict of interest

The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fenrg.2023.1194010/full#supplementary-material

References

Summary

Keywords

index term detection, error estimation, measurement methods, simulation algorithm, wind speed prediction, Weibull parameters

Citation

Abdul Majid A (2023) Accuracy of wind speed forecasting based on joint probability prediction of the parameters of the Weibull probability density function. Front. Energy Res. 11:1194010. doi: 10.3389/fenrg.2023.1194010

Received

26 March 2023

Accepted

14 August 2023

Published

08 September 2023

Volume

11 - 2023

Edited by

Mircea Neagoe, Transilvania University of Brașov, Romania

Reviewed by

Mao Yang, Northeast Electric Power University, China

Ahmed Nafidi, Hassan first university, Morocco

Updates

Copyright

*Correspondence: Amir Abdul Majid,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics