A Forecasting Model of Wind Power Based on IPSO–LSTM and Classified Fusion
Abstract
:1. Introduction
2. Overall Framework of the Forecasting Model of Wind Power
- (1)
- In the pre-processing phase of the data, a three-level decomposition for the original time-series of wind speed is performed with the help of the WPD, and the eight sub-sequences of wind speed for different frequency bands are acquired;
- (2)
- There are eight predicting models on basis of the IPSO–LSTM that can be established in accordance with the eight sub-sequences of wind speed in step (1). The input of the predicting model is the sequence of wind speed for each frequency band and other meteorological data, and the output is the predicted value of wind power for eight sub-sequences;
- (3)
- The classification model of fusion pattern optimized by the framework of iterative optimization is used to select a fusion mode for the power time-series of each time period;
- (4)
- The fusion mode corresponding to step (3) is selected, and multiple predicted values of wind power in each period time are fused into one value, which is the final predicted value of wind power.
3. The Construction of the Forecasting Model Based on the IPSO–LSTM and Classified Fusion
3.1. The Pre-Processing of the Data
3.1.1. Normalization
3.1.2. The Pre-Processing of the Data Based on WPD
3.2. Construction of Predicting Model Based on IPSO–LSTM
3.2.1. The IPSO Algorithm
Algorithm 1: IPSO |
1: Do |
2: For each particle |
3: Calculate its fitness value; |
4: If (The fitness value Xi of is better than the historical best value Pi of the particle) |
5: Update historical best individual Pi with Xi: |
6: End |
7: Select the best particle in the current particle swarm |
8: If (The current best particle is better than the historical best particle of the swarm) |
9: Update the best particle of the swarm Pg with current swarm best particle |
10: For each particle |
11: Update the weight w according to Formula (2); |
12: Update particle velocity; |
13: Update particle position; |
14: Adaptive mutation according to Formula (3); |
15: End |
16: While the maximum number of iterations or the minimum error has not been reached |
3.2.2. The IPSO–LSTM Algorithm
- (1)
- Long short-term memory neural network
- (2)
- The LSTM optimized by the IPSO
3.3. Construction of the Classification Model of Fusion Pattern Based on SVM and Fusion Model
4. Algorithm of Mutual Iterative Optimization for Classified Fusion
- (1)
- Setting the value of k to 1, the predicting results of power for different frequency bands in each time period can be divided into n classes by the k-means algorithm, so as to obtain different labels of the fusion patterns;
- (2)
- The different labels of fusion modes obtained in step (1) are employed to train the different fusion models. All predicting results of power belonging to the fusion model can be taken as input, and the actual power can be taken as output;
- (3)
- The predicting results of all time periods are input into each fusion model. The fusion model that makes the fused results of each time period closest to the actual value is selected as the fusion pattern of this time period. The data is reclassified into different fusion patterns on the basis of the classified principle mentioned above;
- (4)
- The classification model may be trained with the classified results in step (3);
- (5)
- If the iteration continues, the classification model of the pattern can be used to reclassify the data of each time period and the value of k is increased by 1. In this way, the process will return to step (2) to continue to execute. If the iteration is terminated, the classification model of fusion pattern and its corresponding fusion model can be saved as the optimal model required by the study.
5. Case Studies
6. Conclusions
- (1)
- In the pretreatment stage, it is necessary to decompose wind speed before prediction, which can reduce the influence of the wind speed characteristics itself on the predicting accuracy;
- (2)
- The improvement of w in the PSO and the addition of mutation operation in the genetic algorithm result in a difference of six orders of magnitude in the search for the extreme value of the five-dimensional sphere function, which significantly improves the globally optimal ability of the PSO, and reduces the risk of particles falling into a locally optimal solution;
- (3)
- The LSTM optimized by the IPSO overcomes the shortcoming of the artificially determined parameters of the LSTM, which has a better predicting effect on wind power. Moreover, compared with PSO–LSTM, the RMSE and MAE of IPSO–LSTM are decreased by 0.8776 and 0.3969, respectively, and the R2 is increased by 0.0148 when using a mode of single fusion, which indicates that IPSO can obtain better parameters to optimize LSTM compared with the PSO;
- (4)
- The RMSE and MAE of the method of classified fusion to fuse the components of wind power decrease by 1.0460 and 0.5920, respectively, compared to those of the method of single fusion, and the R2 is increased by 0.0114, which indicates that the fused accuracy of the components for wind power can be improved with the help of the method of classified fusion, and can enhance the predicting accuracy;
- (5)
- Compared with the literature [18,22], the RMSE of the model in this paper is increased by 13.0525 and 14.9365, the MAE is increased 12.4613 and 12.6712, and the R is decreased by 0.0654 and 0.0520, respectively, which further verifies that the model in this paper greatly improves the prediction accuracy of wind power, and the proposed optimal framework of iterative can effectively acquire the best classification model of fusion pattern and corresponding fusion model.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhang, Y.; Sun, H.; Guo, Y. Wind Power Prediction Based on PSO-SVR and Grey Combination Model. IEEE Access 2019, 7, 136254–136267. [Google Scholar] [CrossRef]
- Zhu, A.; Zhao, Q.; Wang, X.; Zhou, L. Ultra-Short-Term Wind Power Combined Prediction Based on Complementary Ensemble Empirical Mode Decomposition, Whale Optimisation Algorithm, and Elman Network. Energies 2022, 15, 3055. [Google Scholar] [CrossRef]
- Liu, F.; Li, R.; Dreglea, A. Wind Speed and Power Ultra Short-Term Robust Forecasting Based on Takagi–Sugeno Fuzzy Model. Energies 2019, 12, 3551. [Google Scholar] [CrossRef] [Green Version]
- Blazakis, K.; Katsigiannis, Y.; Stavrakakis, G. One-Day-Ahead Solar Irradiation and Windspeed Forecasting with Advanced Deep Learning Techniques. Energies 2022, 15, 4361. [Google Scholar] [CrossRef]
- Liu, B.; Zhao, S.; Yu, X.; Zhang, L.; Wang, Q. A Novel Deep Learning Approach for Wind Power Forecasting Based on WD-LSTM Model. Energies 2020, 13, 4964. [Google Scholar] [CrossRef]
- Sun, Y.; Li, Z.; Yu, X.; Li, B.; Yang, M. Research on Ul-tra-Short-Term Wind Power Prediction Considering Source Relevance. IEEE Access 2020, 8, 147703–147710. [Google Scholar] [CrossRef]
- Bochenek, B.; Jurasz, J.; Jaczewski, A.; Stachura, G.; Sekuła, P.; Strzyżewski, T.; Wdowikowski, M.; Figurski, M. Day-Ahead Wind Power Forecasting in Poland Based on Numerical Weather Prediction. Energies 2021, 14, 2164. [Google Scholar] [CrossRef]
- He, X.; Nie, Y.; Guo, H.; Wang, J. Research on a Novel Combination System on the Basis of Deep Learning and Swarm Intelligence Optimization Algorithm for Wind Speed Forecasting. IEEE Access 2020, 8, 51482–51499. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhao, Y.; Gao, S. A Novel Hybrid Model for Wind Speed Prediction Based on VMD and Neural Network Considering Atmospheric Uncertainties. IEEE Access 2019, 7, 60322–60332. [Google Scholar] [CrossRef]
- Banik, A.; Behera, C.; Sarathkumar, T.V.; Goswami, A.K. Uncertain wind power forecasting using LSTM based prediction interval. IET Renew. Power Gener. 2020, 14, 2657–2667. [Google Scholar] [CrossRef]
- 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]
- Hu, T.; Wu, W.; Guo, Q.; Sun, H.; Shi, L.; Shen, X. Very short-term spatial and temporal wind power forecasting: A deep learning approach. CSEE J. Power Energy Syst. 2020, 6, 434–443. [Google Scholar]
- Xu, L.; Mao, J. Short-term wind power forecasting based on Elman neural network with particle swarm optimization. In Proceedings of the 2016 Chinese Control and Decision Conference (CCDC), Yinchuan, China, 28–30 May 2016; pp. 2678–2681. [Google Scholar]
- Lin, K.-P.; Pai, P.-F.; Ting, Y.-J. Deep Belief Networks with Genetic Algorithms in Forecasting Wind Speed. IEEE Access 2019, 7, 99244–99253. [Google Scholar] [CrossRef]
- An, G.; Jiang, Z.; Cao, X.; Liang, Y.; Zhao, Y.; Li, Z.; Dong, W.; Sun, H. Short-Term Wind Power Prediction Based on Particle Swarm Optimization-Extreme Learning Machine Model Combined with Adaboost Algorithm. IEEE Access 2021, 9, 94040–94052. [Google Scholar] [CrossRef]
- Saeed, A.; Li, C.; Danish, M.; Rubaiee, S.; Tang, G.; Gan, Z.; Ahmed, A. Hybrid Bidirectional LSTM Model for Short-Term Wind Speed Interval Prediction. IEEE Access 2020, 8, 182283–182294. [Google Scholar] [CrossRef]
- Li, A.; Cheng, L. Research on A Forecasting Model of Wind Power based on Recurrent Neural Network with Long Short-term Memory. In Proceedings of the 2019 22nd International Conference on Electrical Machines and Systems (ICEMS), Harbin, China, 11–14 August 2019; pp. 1–4. [Google Scholar]
- Sun, Z.; Zhao, S.; Zhang, J. Short-Term Wind Power Forecasting on Multiple Scales Using VMD Decomposition, K-Means Clustering and LSTM Principal Computing. IEEE Access 2019, 7, 166917–166929. [Google Scholar] [CrossRef]
- Sun, Z.; Zhao, M. Short-Term Wind Power Forecasting Based on VMD Decomposition, ConvLSTM Networks and Error Analysis. IEEE Access 2020, 8, 134422–134434. [Google Scholar] [CrossRef]
- Meng, A.; Ge, J.; Yin, H.; Chen, S. Wind speed forecasting based on wavelet packet decomposition and artificial neural networks trained by crisscross optimization algorithm. Energy Convers. Manag. 2016, 114, 75–88. [Google Scholar] [CrossRef]
- Wu, Z.; Wang, B. An Ensemble Neural Network Based on Variational Mode Decomposition and an Improved Sparrow Search Algorithm for Wind and Solar Power Forecasting. IEEE Access 2021, 9, 166709–166719. [Google Scholar] [CrossRef]
- Bo, H.; Niu, X.; Wang, J. Wind Speed Forecasting System Based on the Variational Mode Decomposition Strategy and Immune Selection Multi-Objective Dragonfly Optimization Algorithm. IEEE Access 2019, 7, 178063–178081. [Google Scholar] [CrossRef]
- Gu, D.; Chen, Z. Wind Power Prediction Based on VMD-Neural Network. In Proceedings of the 2019 12th International Conference on Intelligent Computation Technology and Automation (ICICTA), Xiangtan, China, 26–27 October 2019; pp. 162–165. [Google Scholar]
- Dong, W.; Sun, H.; Li, Z.; Zhang, J.; Yang, H. Short-Term Wind-Speed Forecasting Based on Multiscale Mathematical Morphological Decomposition, K-Means Clustering, and Stacked Denoising Autoencoders. IEEE Access 2020, 8, 146901–146914. [Google Scholar] [CrossRef]
- He, D.; Shen, S.; Wang, H.; He, Y.; Lin, Z. Wind Farm Combined Forecasting Method Based on Wavelet Packet Decomposition-new PSO-Elman Neural Network. In Proceedings of the 2019 IEEE 4th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chengdu, China, 20–22 December 2019; pp. 534–537. [Google Scholar]
- Zhang, S.; Zhen, Z.; Wang, F.; Li, K.; Qiu, G.; Li, Y. Ultra-Short-Term Wind Power Forecasting Model Based on Time-Section Fusion and Pattern Classification. In Proceedings of the 2020 IEEE/IAS Industrial and Commercial Power System Asia (I&CPS Asia), Weihai, China, 13–16 July 2020; pp. 1325–1333. [Google Scholar]
- Ye, R.; Guo, Z.; Liu, R.; Liu, J. Short-term wind speed forecasting method based on wavelet packet decomposition and improved Elman neural network. In Proceedings of the 2016 International Conference on Probabilistic Methods Applied to Power Systems (PMAPS), Beijing, China, 16–20 October 2016; pp. 1–6. [Google Scholar]
- Li, J.; Geng, D.; Zhang, P.; Meng, X.; Liang, Z.; Fan, G. Ultra-Short Term Wind Power Forecasting Based on LSTM Neural Network. In Proceedings of the 2019 IEEE 3rd International Electrical and Energy Conference (CIEEC), Beijing, China, 7–9 September 2019; pp. 1815–1818. [Google Scholar]
- Wang, S.; Chen, C. Short-Term Wind Power Prediction Based on DBSCAN Clustering and Support Vector Machine Regression. In Proceedings of the 2020 5th International Conference on Computer and Communication Systems (ICCCS), Shanghai, China, 15–18 May 2020; pp. 941–945. [Google Scholar]
- Makhloufi, S.; Debbache, M.; Boulahchiche, S. Long-term Forecasting of Intermittent Wind and Photovoltaic Resources by using Adaptive Neuro Fuzzy Inference System (ANFIS). In Proceedings of the 2018 International Conference on Wind Energy and Applications in Algeria (ICWEAA), Algiers, Algeria, 6–7 November 2018; pp. 1–4. [Google Scholar]
Time | Wind Speed (m/s) | Component Temperature | Environment Temperature | Air Pressure (hpa) | Relative Humidity | Actual Generating Power (MW) |
---|---|---|---|---|---|---|
1 January 2018 07:45 | 4.94 | 4.27 | 1.53 | 992.02 | 50 | 4.34 |
1 January 2018 08:00 | 3.87 | 6.03 | 1.84 | 992.21 | 51 | 7.43 |
1 January 2018 08:15 | 4.02 | 9.05 | 1.94 | 992.50 | 51 | 10.47 |
1 January 2018 08:30 | 4.18 | 9.57 | 2.24 | 992.70 | 52 | 13.51 |
1 January 2018 08:45 | 4.02 | 10.72 | 2.45 | 992.60 | 53 | 23.44 |
1 January 2018 09:00 | 4.18 | 12.38 | 2.86 | 992.70 | 54 | 33.77 |
1 January 2018 09:15 | 2.95 | 11.55 | 2.96 | 992.50 | 55 | 39.07 |
1 January 2018 09:30 | 3.41 | 12.17 | 3.47 | 992.50 | 55 | 45.58 |
1 January 2018 09:45 | 4.18 | 13.94 | 4.08 | 992.50 | 54 | 51.23 |
1 January 2018 10:00 | 3.87 | 13.32 | 4.39 | 992.31 | 55 | 55.76 |
1 January 2018 10:15 | 3.72 | 14.98 | 4.59 | 992.31 | 53 | 62.37 |
1 January 2018 10:30 | 3.56 | 16.54 | 5.10 | 992.31 | 54 | 66.62 |
1 January 2018 10:45 | 2.19 | 16.65 | 5.31 | 992.31 | 56 | 69.27 |
1 January 2018 11:00 | 2.34 | 17.06 | 5.82 | 992.41 | 56 | 72.16 |
1 January 2018 11:15 | 3.72 | 18.31 | 6.22 | 992.41 | 57 | 75.25 |
1 January 2018 11:30 | 2.8 | 18.10 | 6.63 | 992.50 | 57 | 77.03 |
1 January 2018 11:45 | 0.22 | 19.56 | 6.94 | 992.70 | 57 | 78.63 |
1 January 2018 12:00 | 2.12 | 18.94 | 7.35 | 992.80 | 57 | 80.17 |
1 January 2018 12:15 | 1.73 | 19.66 | 7.55 | 992.80 | 57 | 79.74 |
1 January 2018 12:30 | 0.6 | 19.77 | 7.86 | 992.80 | 58 | 77.13 |
1 January 2018 12:45 | 0.38 | 18.62 | 8.06 | 992.70 | 58 | 44.52 |
1 January 2018 13:00 | 1.57 | 19.46 | 8.16 | 992.60 | 59 | 41.77 |
1 January 2018 13:15 | 2.49 | 17.79 | 8.57 | 992.60 | 60 | 34.20 |
1 January 2018 13:30 | 2.95 | 18.73 | 8.57 | 992.60 | 61 | 27.11 |
1 January 2018 13:45 | 2.19 | 16.65 | 9.08 | 992.60 | 57 | 31.16 |
1 January 2018 14:00 | 3.72 | 18.62 | 9.29 | 992.89 | 56 | 32.51 |
Model | RMSE | MAE | R2 |
---|---|---|---|
Decomposed wind speed | 2.2842 | 1.4130 | 0.9838 |
Non-decomposed wind speed | 6.8863 | 3.8607 | 0.8527 |
Mode | RMSE | MAE | R2 |
---|---|---|---|
LSTM | 3.3790 | 2.0799 | 0.9646 |
PSO–LSTM | 3.1618 | 1.8099 | 0.9690 |
IPSO–LSTM | 2.2842 | 1.4130 | 0.9838 |
Fusion Pattern | RMSE | MAE | R2 |
---|---|---|---|
Single fusion | 2.2842 | 1.4130 | 0.9838 |
Classified fusion | 1.2382 | 0.8210 | 0.9952 |
Fusion Pattern | RMSE | MAE | R2 |
---|---|---|---|
Classified fusion | 2.2842 | 1.4130 | 0.9838 |
Introducing NWP | 10.8727 | 15.3512 | 0.9149 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Huang, Q.; Wang, X. A Forecasting Model of Wind Power Based on IPSO–LSTM and Classified Fusion. Energies 2022, 15, 5531. https://doi.org/10.3390/en15155531
Huang Q, Wang X. A Forecasting Model of Wind Power Based on IPSO–LSTM and Classified Fusion. Energies. 2022; 15(15):5531. https://doi.org/10.3390/en15155531
Chicago/Turabian StyleHuang, Qiuhong, and Xiao Wang. 2022. "A Forecasting Model of Wind Power Based on IPSO–LSTM and Classified Fusion" Energies 15, no. 15: 5531. https://doi.org/10.3390/en15155531
APA StyleHuang, Q., & Wang, X. (2022). A Forecasting Model of Wind Power Based on IPSO–LSTM and Classified Fusion. Energies, 15(15), 5531. https://doi.org/10.3390/en15155531