International Journal of Advances in Applied Computational Intelligence cover
International Journal of Advances in Applied Computational Intelligence

Online ISSN 2833-5600

Full Length Article

Volume 3 • Issue 2 • PP: 48-57 • 2023

Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM)

Myvizhi M. 1* ,
Ahmed Abdel-Monem 2
1Department of Mathematics, KPR Institute of Engineering and Technology, Coimbatore, Tamilnadu, India
2Faculty of Computers and Informatics, Zagazig University, Zagazig 44519, Sharqiyah, Egypt
* Corresponding Author.
verified

Open Access & Copyright

© 2023 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

Accurate forecasting is essential for the long-term success of adding wind energy to the national power system. In this study, we look at forecasting wind turbine using a LSTM deep learning model. To forecast potential outcomes for a time series, it is sufficient to initially obtain pertinent details from past data. While many methods struggle with understanding the long-term dependencies encoded in data sets, LSTM options, an instance of the strategy in deep learning, show potential for efficiently overcoming this challenge. An overview of LSTM's architecture and forward propagation method is provided initially. LSTM network is applied to the wind turbine prediction dataset. This dataset has 9 features and 6575 records.  There are four performance matrices used to test the model. The four matrices are mean squared error (MSE), mean absolute error (MAE), mean absolute percentage error (MAPE), and root mean squared error (RMSE). MAPE obtained the least error.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. Introduction

Wind power is one of the most rapidly expanding sectors of the clean energy sector in recent years. In the following thirty years, wind turbines might account for 18% of worldwide energy production. Downstream wind turbines in a wind farm may experience significant power losses due to the wake effect, reducing the farm's total electricity output. The efficiency of converting wind power in a massive wind farm may be significantly increased by better knowledge and forecast of turbine wakes. Thus, wake forecasting is crucial for effectively implementing a turbine farm[1]–[3].

Rapid developments in the methods used for collecting clean energy, spurred in part by governmental expenditures as well as recognition of global warming, have led to a rising share of these forms of energy in comparison to traditional ones (like petroleum and coal). To be more precise, turbines may be located either onshore (on the ground) or offshore (in water) to harness the energy of the wind[4]–[6].

Offshore wind farms are becoming more common for a number of factors, such as the fact that wind conditions are better and more consistent at sea, the ease with which bigger units can be moved and erected, the reduced possibility for visual disruption and conflicts of fascination, and so on. Keeping wind turbines operating at peak efficiency during their expected 20-25 year lifespan, however, might cost as much as 25% of the total offshore construction price[7]– [9].

During condition monitoring (CM), modifications to a wind turbine's functioning that might indicate a potential problem are tracked and recorded. Reduced O&M expenses are to be expected as a direct result of improved fault prediction made possible by a more solid CM system[10], [11]. Motion analysis, strain evaluation, thermography, and noise measurement are only a few examples of the kinds of observations and operational details on which CM methods have traditionally depended. chances for incorporated and in-depth CM analysis, where numerous kinds of data may promote updated trustworthy, inexpensive, and strong making choices in CM, have risen up as a result of current advances in sensors and communication structures, big data management, machine learning (ML), and enhancements in computing power[12]–[14].

lately, deep learning has garnered a lot of interest owing to the increased capacity it provides in modeling complex systems, and it has emerged as one of the major study fields in forecasting thanks to the swift growth of current computer resources for greater computational effectiveness. DL is a kind of ML that takes its cues from the architecture of the human brain to automatically learn complex, hierarchical sequences. There are primarily four deep architectures: Auto-encoders are often employed in network pre-training because they are a basic neural network that can learn effective ways to represent the input data in an unsupervised way[15], [16].

A feed-forward neural network with numerous hidden layers, the Deep Belief Network (DBN) may unearth buried data patterns. A Restricted Boltzmann Machine (RBM) and a trained perceptron are the two main components. Studying the cerebral cortex of humans led to the development of convolutional neural networks. It is designed to use convolution and pooling as consecutive procedures for obtaining high-level features. One such deep design is the Recurrent Neural Network (RNN), which can remember recent input patterns. Another attempt to solve the issue of preserving long-term memory is the Long Short-Term Memory (LSTM) system[17], [18].

2. Wind Turbine

Environmental concerns have shifted the energy revolution's focus towards renewable sources like wind and solar power. The use of solar power has expanded considerably in recent years. Since it has more resources and uses more efficient power generating technologies, wind power has garnered a lot of interest. According to the 2019 Global Wind Energy Development Report, the total installed capacity of wind turbines throughout the world will increase to 60,4 GW this year. Large-scale unmanaged wind power, due to the unpredictability and uncertainty of the wind, might impair the stability of the power system, when linked to the grid. Wind farm dispatch techniques, which are mostly based on average distribution and proportional distribution, are needed to meet the grid's power demand. Nonetheless, the wind collected by wind turbines varies at various sites in big wind farms due to the topography impact, wake effect, turbulence severity, and other influencing variables. Each wind turbine's power distribution in a wind farm has to be established according to its individual operating parameters, which necessitates the power forecast for each wind turbine, to prevent the instability of the power grid [1,4].

Both the physical method, which involves measuring and analyzing the physical quantity to obtain the wind speed data, and the statistical method, which involves gathering historical data from the Supervisory Control and Data Acquisition system of wind farms and fitting curves, have been used to predict wind power in the past. Few studies attempt to estimate the power of several wind turbines, whereas many concentrate on projecting the overall output of a wind farm or a single wind turbine.

3. Long Short Term Memory (LSTM) Networks

All recurrent neural networks (RNNs), which include LSTM networks, have an "underlying architecture of interneuronal interactions includes at least one cycle," as defined by the researchers. Hochreiter and Schmidhuber developed them, and other authors like Gers and Schmidhuber developed them. Long short-term memory (LSTM) networks are optimized for learning long-term dependencies and have the ability to circumvent the shortcomings of RNNs, such as disappearing and ballooning gradients[19]–[22].

A long short-term memory (LSTM) network has three levels: an input level, a hidden level(s), and an output level(s). Equivalent to the number of parameters that explain (feature area), the count of neurons in the input layer. The quantity of neurons in the output layer corresponds to the dimensions of the output space; here, we have two neurons that indicate whether or not a stock's performance is better than the cross-sectional midpoint. The so-called memory cells that make up the LSTM networks' hidden layer(s) are the systems' defining features. Every memory cell contains a forget gate (𝑓𝑡), an input gate (𝑖𝑡), and an output gate (𝑜𝑡) that work together to keep the condition of the cell st stable. In Figure 1 we see a schematic of a memory cell and its internal workings[23], [24].

Every one of the 3 gates receives the output ℎ𝑡 of the memory neurons at the prior timestep in addition to the input 𝑥𝑡 (one member of the input series) at every phase t. In this way, the gates serve as filters for their respective functions:

The forget gate controls what parts of the cell state are forgotten. The input gate determines what data is appended to the current state of the cell. The output gate controls what data of the cell condition is sent.

Figure 1. The design of the LSTM network.
Figure 1. The design of the LSTM network.

There are equations to update the memory cell as:

𝑎𝑡   𝑖𝑠 𝑎𝑛 𝑖𝑛𝑝𝑢𝑡 𝑎𝑡 𝑡 𝑡𝑖𝑚𝑒 𝐸𝑐,𝑎, 𝐸𝑐,𝑑, 𝐸𝑣,𝑑 𝑎𝑟𝑒 𝑤𝑒𝑖𝑔ℎ𝑡 𝑘𝑓, 𝑘𝑣𝑎𝑛𝑑 𝑘0 𝑎𝑟𝑒 𝑏𝑖𝑎𝑠 𝑣𝑡   𝑖𝑠 𝑎𝑛 𝑠𝑡𝑎𝑡𝑒 𝑑𝑡   𝑖𝑠 𝑎 ℎ𝑖𝑑𝑑𝑒𝑛 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑢𝑡   𝑖𝑠 𝑎 𝑜𝑢𝑡𝑝𝑢𝑡 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛) (

The following are steps of the LSTM:

1. Initially the LSTM layer decides what data should be omitted from the stored properties of the preceding cells 𝑣𝑡

𝐶𝑡= 𝐺(𝐸𝑐,𝑎, 𝑎𝑡+ 𝐸𝑐,𝑎, 𝐷𝑡−1 + 𝐾𝐶)                                                                                                 (1)

Where G is a sigmoid function

2. Compute information to be added in the state 𝑣𝑡

𝑀𝑡= tanh(𝐸𝑀,𝑎𝑎𝑡+ 𝐸𝑀,𝑑𝑑𝑡−1 + 𝑘𝑀)                                                                                             (2)
𝑃𝑡= 𝐺(𝐸𝑃,𝑎, 𝑎𝑡+ 𝐸𝑃,𝑎, 𝐷𝑡−1 + 𝐾𝑃)                                                                                                 (3)

3. Compute the new state based on previous two steps as:

𝑣𝑡= 𝑐𝑡∘𝑣𝑡−1 + 𝑃𝑡∘𝑀𝑡                                                                                                                    (4)

4. Compute the output of the memory

𝑢𝑡= 𝐺(𝐸𝑜,𝑎, 𝑎𝑡+ 𝐸𝑜,𝑎, 𝐷𝑡−1 + 𝐾𝑜)                                                                                                 (5)
𝑑𝑡= 𝑢𝑡tanh(𝑣𝑡)                                                                                                                             (6)

4. Results

This section discusses the results of the LSTM network for wind turbine prediction. First we gathered the wind turbine dataset from Kaggle website. The dataset contains 6575 rows and 9 columns. The features are date, wind, IND, rain, ind.1, ind.2, T.MAX, T.MIN, and T.MIN. G. the sample of the dataset is presented in Table 1. Where WTP1 is a feature 1 and WTA1 is the row 1. The first column refers to the Date. This column is transformed to timestamp.

Table 1. The wind turbine prediction dataset.
Table 1. The wind turbine prediction dataset.

Then we show some representation of dataset into graph. We plot the date with the wind feature as shown in Figure 2.

Figure 2. The plot between date and wind features.
Figure 2. The plot between date and wind features.

Then we compute the correlation between features. So, we obtain the heatmap to show connection between variables and target variable.

Figure 3. The correlation between features.
Figure 3. The correlation between features.

We plot the data between all variables as shown in Figure 4.

Figure 4. The distribution of the dataset.
Figure 4. The distribution of the dataset.

Then we applied the proposed method into a dataset. Figure 5 shows the proposed method. We gather dataset, then we divided into a train and test. Then we used the LSTM networks to predict win turbine. We used the input layer and LSTM with 100 neurons, then follows by repeat vector. Then follows by double LSTM layer with 100 neurons. Then we used the time distributed. The we compiled the model with Adam optimizer and four evaluation matrices. These matrices are mean squared error, mean absolute error, mean absolute percentage error, and root mean squared error. Then fit model with 25 epochs and 32 batch size. Then we tested model to obtain the value of evaluation matrices as shown in Table 2.

Figure 5. The proposed method.
Figure 5. The proposed method.

We compared the proposed mole with four evaluation errors. We obtained the errors for nine features with five days.

Table 2. The evaluation variables.
Table 2. The evaluation variables.

Day 4 0.983681 2.322604 1.71E+15 1.524009 Day 5 0.979864 2.330806 1.69E+15 1.526698 Rain Day 1 2.286896 16.93971 3.11E+15 4.115787 Day 2 2.352189 16.54526 3.55E+15 4.067587 Day 3 2.238121 16.62578 3.11E+15 4.077472 Day 4 2.219989 16.69864 3.06E+15 4.086396 Day 5 2.240599 16.85335 3.14E+15 4.105283 IND.1 Day 1 0.073322 0.03337 3.01E+14 0.182674 Day 2 0.046535 0.027985 1.81E+14 0.167288 Day 3 0.034772 0.026235 1.29E+14 0.161972 Day 4 0.03352 0.026156 1.23E+14 0.161729 Day 5 0.037072 0.026533 1.39E+14 0.162891 T.MAX Day 1 1.83998 5.549303 6.77E+13 2.355696 Day 2 2.139851 7.569695 8.04E+13 2.751308 Day 3 2.309808 8.874737 8.65E+13 2.97905 Day 4 2.455787 9.958146 8.75E+13 3.155653 Day 5 2.555354 10.76593 8.68E+13 3.281148 IND.2 Day 1 0.144412 0.074042 3.99E+14 0.272107 Day 2 0.130761 0.096468 2.4E+14 0.310592 Day 3 0.136466 0.107299 2.4E+14 0.327566 Day 4 0.134704 0.1106 2.25E+14 0.332565 Day 5 0.135858 0.114466 2.26E+14 0.338328 T.MIN Day 1 2.185105 7.026884 4.63E+13 2.650827 Day 2 2.391581 8.577144 5.53E+13 2.928676 Day 3 2.542674 9.91301 9.43E+13 3.148493 Day 4 2.632571 10.76092 9.88E+13 3.280384 Day 5 2.720196 11.50994 1.04E+14 3.39263 T.MIN.G Day 1 3.216003 15.99248 6.4E+14 3.999059 Day 2 3.771514 22.03585 7.08E+14 4.694236 Day 3 4.02282 25.13053 7.62E+14 5.013036 Day 4 4.161328 27.02828 8.05E+14 5.198873 Day 5 4.270921 28.48946 8.23E+14 5.337552

5. Conclusion

Only a forecasting system that produces a valid forecast error and is sufficiently effective to calculate the forecasts in a reasonable amount of time will allow wind power to be incorporated into the electrical system. This paper proposed the LSTM for wind turbine prediction.

In order to monitor the efficiency of fluid systems and forecast their RUL outputs, a deep learning-based method is presented. In particular, LSTM is studied to monitor system deterioration since it is a typical deep learning architecture effective at uncovering the discrepancy pattern underneath time series. A bidirectional LSTM network is designed to smooth the tracking and forecasting of results in the face of uncertainty caused by functional disruptions in the environment.

This paper applied the dataset into nine features and 6575 records. This paper presented four performance matrices like MSE, MAE, MAPE, RMSE.

References

[1]        P. J. Schubel and R. J. Crossley, “Wind turbine blade design,” Energies, vol. 5, no. 9, pp. 3425–3449, 2012.

[2]        S. Mujeeb, T. A. Alghamdi, S. Ullah, A. Fatima, N. Javaid, and T. Saba, “Exploiting deep learning for wind power forecasting based on big data analytics,” Appl. Sci., vol. 9, no. 20, p. 4417, 2019.

[3]        A. Clifton, L. Kilcher, J. K. Lundquist, and P. Fleming, “Using machine learning to predict wind turbine power output,” Environ. Res. Lett., vol. 8, no. 2, p. 24009, 2013.

[4]        A. Khosravi, L. Machado, and R. O. Nunes, “Time-series prediction of wind speed using machine learning algorithms: A case study Osorio wind farm, Brazil,” Appl. Energy, vol. 224, pp. 550–566, 2018.

[5]        M. Optis and J. Perr-Sauer, “The importance of atmospheric turbulence and stability in machine-learning models of wind farm power production,” Renew. Sustain. Energy Rev., vol. 112, pp. 27–41, 2019.

[6]        Karam M. Sallam, Ali Wagdy Mohamed, Neutrosophic MCDM Methodology for Evaluation Onshore Wind for Electricity Generation and Sustainability Ecological, Neutrosophic Systems with Applications, vol.4, (2023): pp. 53–61

[7]        X. Deng, H. Shao, C. Hu, D. Jiang, and Y. Jiang, “Wind power forecasting methods based on deep learning: A survey,” Comput. Model. Eng. Sci., vol. 122, no. 1, p. 273, 2020.

[8]        A. Alkesaiberi, F. Harrou, and Y. Sun, “Efficient wind power prediction using machine learning methods: A comparative study,” Energies, vol. 15, no. 7, p. 2327, 2022.

[9]        Z. Ti, X. W. Deng, and H. Yang, “Wake modeling of wind turbines using machine learning,” Appl. Energy, vol. 257, p. 114025, 2020.

[10]      H. Wang, G. Li, G. Wang, J. Peng, H. Jiang, and Y. Liu, “Deep learning based ensemble approach for probabilistic wind power forecasting,” Appl. Energy, vol. 188, pp. 56–70, 2017.

[11]      H. Demolli, A. S. Dokuz, A. Ecemis, and M. Gokcek, “Wind power forecasting based on daily wind speed data using machine learning algorithms,” Energy Convers. Manag., vol. 198, p. 111823, 2019.

[12]      Z. Lin and X. Liu, “Wind power forecasting of an offshore wind turbine based on high-frequency SCADA data and deep learning neural network,” Energy, vol. 201, p. 117693, 2020.

[13]      A. Stetco et al., “Machine learning methods for wind turbine condition monitoring: A review,” Renew. energy, vol. 133, pp. 620–635, 2019.

[14]      J. Heinermann and O. Kramer, “Machine learning ensembles for wind power prediction,” Renew. Energy, vol. 89, pp. 671–679, 2016.

[15]      A. Taylor, S. Leblanc, and N. Japkowicz, “Anomaly detection in automobile control network data with long short-term memory networks,” in 2016 IEEE International Conference on Data Science and Advanced Analytics (DSAA), IEEE, 2016, pp. 130–139.

[16]      P. Zhou et al., “Attention-based bidirectional long short-term memory networks for relation classification,” in Proceedings of the 54th annual meeting of the association for computational linguistics (volume 2: Short papers), 2016, pp. 207–212.

[17]      G. S. Alsoruji, A. M. Sadoun, M. Abd Elaziz, M. A. Al-Betar, A. W. Abdallah, and A. Fathy, “On the prediction of the mechanical properties of ultrafine grain Al-TiO2 nanocomposites using a modified long-short term memory model with beluga whale optimizer,” J. Mater. Res. Technol., vol. 23, pp. 4075–4088, 2023.

[18]      M. Alizamir et al., “Improving the accuracy of daily solar radiation prediction by climatic data using an efficient hybrid deep learning model: Long short-term memory (LSTM) network coupled with wavelet transform,” Eng. Appl. Artif. Intell., vol. 123, p. 106199, 2023.

[19]      C. Hu, Q. Wu, H. Li, S. Jian, N. Li, and Z. Lou, “Deep learning with a long short-term memory networks approach for rainfall-runoff simulation,” Water, vol. 10, no. 11, p. 1543, 2018.

[20]      Y. Xu, L. Mou, G. Li, Y. Chen, H. Peng, and Z. Jin, “Classifying relations via long short term memory networks along shortest dependency paths,” in Proceedings of the 2015 conference on empirical methods in natural language processing, 2015, pp. 1785–1794.

[21]      S. Zhou et al., “Constructing a health indicator based on long short-term memory and using an extreme inflection point with a slope model to enhance monotonicity,” J. Brazilian Soc. Mech. Sci. Eng., vol. 45, no. 3, p. 175, 2023.

[22]      K. S. Tai, R. Socher, and C. D. Manning, “Improved semantic representations from tree-structured long short-term memory networks,” arXiv Prepr. arXiv1503.00075, 2015.

[23]      Khder Alakkari,Mostafa Abotaleb,Amr Badr,Ammar Kadi,A. M. Ghazi Al khatib,Bayan Mohamad Alshaib,El-Sayed M. El-kenawy, Modelling Weather Conditions Using Encoder-Decoder and Attention Based on LSTM Deep Regression Model, International Journal of Advances in Applied Computational Intelligence, Vol. 1 , No. 2 , (2022) : 08-29 (Doi   :  https://doi.org/10.54216/IJAACI.010201)

[24]      Y. Yi et al., “Digital twin-long short-term memory (LSTM) neural network based real-time temperature prediction and degradation model analysis for lithium-ion battery,” J. Energy Storage, vol. 64, p. 107203, 2023.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
M., Myvizhi, and Ahmed Abdel-Monem. “Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM).” International Journal of Advances in Applied Computational Intelligence, vol. 3, no. 2, 2023, pp. 48–57. https://doi.org/10.54216/IJAACI.030205.
M., M., & Abdel-Monem, A. (2023). Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM). International Journal of Advances in Applied Computational Intelligence, 3(2), 48–57. https://doi.org/10.54216/IJAACI.030205
M., Myvizhi and Ahmed Abdel-Monem. “Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM).” International Journal of Advances in Applied Computational Intelligence 3, no. 2 (2023): 48–57. https://doi.org/10.54216/IJAACI.030205.
M., M. and Abdel-Monem, A. (2023) ‘Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM)’, International Journal of Advances in Applied Computational Intelligence, 3(2), pp. 48–57. Available at: https://doi.org/10.54216/IJAACI.030205.
M. M, Abdel-Monem A. Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM). International Journal of Advances in Applied Computational Intelligence. 2023;3(2):48-57. doi:10.54216/IJAACI.030205
M. M. and A. Abdel-Monem, “Wind Turbine Prediction using Deep Learning and Long Short Term Memory (LSTM),” International Journal of Advances in Applied Computational Intelligence, vol. 3, no. 2, pp. 48–57, 2023, doi: 10.54216/IJAACI.030205.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready