Short-Term Photovoltaic Power Prediction Based on Extreme Learning Machine with Improved Dung Beetle Optimization Algorithm
Abstract
:1. Introduction
- The DBO algorithm has been improved. Introducing a spiral search during dung beetle breeding and foraging altered the search pattern, enhancing the exploratory capabilities. In the stealing stage, a combined dynamic weighting strategy and Levy flight mechanism balanced the search diversity and convergence accuracy, preventing local optima.
- The discussion extensively explored dynamic factors influencing PV power. Employing the Pearson correlation coefficient for feature selection not only ensures a more accurate alignment with real-world scenarios in specific experiments but also contributes to the advancement of the application and development of clean energy.
- To further improve the predictive performance of the ELM, ASDBO is employed to finely adjust the initial weights and thresholds. This approach eradicates randomness in parameter settings, ensuring subsequent sequence predictions are more dependable and precise.
- The ASDBO-ELM model was introduced to forecast short-term PV power under various conditions. The experimental results show that this study has the potential to enhance the accuracy of PV power predictions, thereby mitigating the energy wastage caused by inaccurate forecasts.
2. Theoretical Analysis
2.1. Extreme Learning Machine
2.2. Dung Beetle Optimization
2.2.1. Dung Beetle Ball Rolling
2.2.2. Dung Beetle Breeding
2.2.3. Dung Beetle Foraging
2.2.4. Dung Beetle Stealing
3. Proposed Method
3.1. Adaptive Spiral Dung Beetle Optimization
3.1.1. Path Diversity
3.1.2. Dynamic Update on Positions
3.1.3. Performance Analysis of the Algorithm
3.2. Establishment of the ASDBO-ELM Prediction Model
- The original PV dataset is partitioned into training and testing sets, followed by a correlation analysis on the samples to identify the input feature vectors.
- The parameters of the ASDBO algorithm are initialized, including the number of dung beetles, the maximum number of iterations, and the individual positions of the dung beetles.
- Based on the calculated objective function values for each individual dung beetle in the population, we obtain the global optimum position corresponding to the minimum objective function value and the worst position corresponding to the maximum objective function value.
- If the individual belongs to the rolling dung beetle category, the next behavior of this dung beetle is determined, whether it continues rolling or switches to dancing, through a probabilistic method. This process is then used to ascertain the current local optimal position.
- The positions of the other three sub-populations of dung beetles are updated. If an individual belongs to the breeding beetles category, its position is updated according to Equation (14). If the individual belongs to the foraging beetles category, its position is updated according to Equation (15). If the individual belongs to the stealing beetles category, its position is updated according to Equation (16).
- Based on the positional parameters of each dung beetle, the fitness of each individual is calculated by performing 5-fold cross-validation on the training sample set. The fitness value is determined by calculating the Mean Square Error (MSE) of the prediction results using Formula (20).
- It is determined if the iteration termination condition is met and output the optimal model value. Subsequently, we retrain the model with the optimized parameters, predict on the test dataset, and analyze and evaluate the results.
4. Influential Dynamic Factors on PV Power
4.1. Analysis of the Impact of Different Weather
4.2. Analysis of the Impact of Different Meteorological Factors
5. Case Study
5.1. Data Analysis and Evaluation Metrics
5.2. Model Performance Evaluation
5.3. Comparative Analysis of Different Prediction Methods
5.4. Error Analysis and Impact
6. Conclusions
- Incorporating different strategies into the DBO algorithm to address its shortcomings, the proposed ASDBO exhibits a superior global search capability compared to traditional DBO.
- Conducting a dynamic analysis of weather and meteorological factors that impact PV power, and selecting highly correlated variables as model inputs through variable correlation analysis, this approach not only reduces the computational costs but also enhances the efficiency of PV prediction under diverse conditions.
- The proposed model showcases formidable predictive capabilities, effectively functioning under diverse weather conditions and environmental scenarios. Through algorithm adjustments, the model ensures adaptability to different environmental factors, maintaining reliable performance across a variety of contexts. The introduction of cross-validation operations further fortifies the model’s reliability, confirming its predictive accuracy and enhancing its applicability in real-world environments.
- Accurate short-term photovoltaic predictions are crucial for improving the operational efficiency and management of PV power stations. Serving as guiding tools, these predictions aid decision-makers in identifying optimal power generation resources and configurations to meet future energy demands. This, in turn, propels the advancement of clean energy.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Nomenclature
PV | Photovoltaic |
ELM | Extreme Learning Machine |
SVM | Support Vector Machine |
DBO | Dung Beetle Optimization |
ASDBO | Adaptive Spiral Dung Beetle Optimization |
Connection Weight between Hidden Layer and Input Layer | |
Connection Weight between Hidden Layer and Output Layer | |
M | Samples |
G(•) | Activation Function |
Global Worst Position of DBO | |
Global Optimal Position of DBO | |
Local Optimal Position of DBO | |
w | Weight Factor of ASDBO |
z | Spiral Parameter of ASDBO |
k | Coefficient of Variation of ASDBO |
Correlation Coefficient | |
Mean Absolute Percentage Error | |
Mean Absolute Error | |
Root Mean Square Error | |
Decision Coefficient |
References
- Huang, G.B.; Zhou, H.; Ding, X.; Zhang, R. Extreme learning machine for regression and multiclass classification. IEEE Trans. Syst. Man Cybern. Part B 2011, 42, 513–529. [Google Scholar] [CrossRef] [PubMed]
- Sens, L.; Neuling, U.; Kaltschmitt, M. Capital expenditure and levelized cost of electricity of photovoltaic plants and wind turbines–Development by 2050. Renew. Energy 2022, 185, 525–537. [Google Scholar] [CrossRef]
- Menezes, E.J.N.; Araújo, A.M.; Da Silva, N.S.B. A review on wind turbine control and its associated methods. J. Clean. Prod. 2018, 174, 945–953. [Google Scholar] [CrossRef]
- Paul, A.; Vaidya, B.P. A Comparison Study of Extrapolation Models and Empirical Relations in Forecasting Solar Wind. Front. Media SA 2020, 7, 572084. [Google Scholar]
- Das, U.K.; Tey, K.S.; Seyedmahmoudian, M.; Mekhilef, S.; Idris, M.Y.I.; Van Deventer, W.; Horan, B.; Stojcevski, A. Forecasting of photovoltaic power generation and model optimization: A review. Renew. Sustain. Energy Rev. 2018, 81, 912–928. [Google Scholar] [CrossRef]
- Zazoum, B. Solar photovoltaic power prediction using different machine learning methods. Energy Rep. 2022, 8, 19–25. [Google Scholar] [CrossRef]
- Chai, M.K.; Xia, F.; Zhang, H.; Lu, J.F.; Cui, C.G.; Ma, B. Ultra-short-term prediction of self-identifying photovoltaic based on sky cloud chart. Power Syst. Technol. 2021, 45, 1023–1031. [Google Scholar]
- Wang, K.; Qi, X.; Liu, H. A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network. Appl. Energy 2019, 251, 113315. [Google Scholar] [CrossRef]
- Mandal, P.; Madhira, S.T.S.; Haque, A.U.; Meng, J.; Pineda, R.L. Forecasting power output of solar photovoltaic system using wavelet transform and artificial intelligence techniques. Procedia Comput. Sci. 2012, 12, 332–337. [Google Scholar] [CrossRef]
- Monteiro, C.; Fernandez-Jimenez, L.A.; Ramirez-Rosado, I.J.; Muñoz-Jimenez, A.; Lara-Santillan, P.M. Short-term forecasting models for photovoltaic plants: Analytical versus soft-computing techniques. Math. Probl. Eng. 2013, 2013, 767284. [Google Scholar] [CrossRef]
- Feng, J.; Wang, Z.; Zhang, P. Forecasting power generation of solar photovoltaic system based on the combination of grey model and weighted Markov chain. Power Syst. Prot. Control 2019, 47, 55–60. [Google Scholar]
- Ding, M.; Liu, Z.; Bi, R.; Zhu, W. Photovoltaic output prediction based on grey system correction-wavelet neural network. Power Syst. Technol. 2015, 39, 2438–2443. [Google Scholar]
- Kudo, M.; Takeuchi, A.; Nozaki, Y.; Endo, H.; Sumita, J. Forecasting electric power generation in a photovoltaic power system for an energy network. Electr. Eng. Jpn. 2009, 167, 16–23. [Google Scholar] [CrossRef]
- Sperati, S.; Alessandrini, S.; Delle Monache, L. An application of the ECMWF Ensemble Prediction System for short-term solar power forecasting. Sol. Energy 2016, 133, 437–450. [Google Scholar] [CrossRef]
- González-Castaño, C.; Marulanda, J.; Restrepo, C.; Kouro, S.; Alzate, A.; Rodriguez, J. Hardware-in-the-loop to test an MPPT technique of solar photovoltaic system: A support vector machine approach. Sustainability 2021, 13, 3000. [Google Scholar] [CrossRef]
- Snieder, E.; Shakir, R.; Khan, U.T. A comprehensive comparison of four input variable selection methods for artificial neural network flow forecasting models. J. Hydrol. 2020, 583, 124299. [Google Scholar] [CrossRef]
- Han, Y.; Wang, N.; Ma, M.; Zhou, H.; Dai, S.; Zhu, H. A PV power interval forecasting based on seasonal model and nonparametric estimation algorithm. Sol. Energy 2019, 184, 515–526. [Google Scholar] [CrossRef]
- Xu, M. Short-Term Photovoltaic Power Prediction Based on MA-SVM Method. Electr. Mach. Control Appl. 2022, 49, 104–111. [Google Scholar]
- Mellit, A.; Sağlam, S.; Kalogirou, S.A. Artificial neural network-based model for estimating the produced power of a photovoltaic module. Renew. Energy 2013, 60, 71–78. [Google Scholar] [CrossRef]
- Chen, H.; Chang, X. Photovoltaic power prediction of LSTM model based on Pearson feature selection. Energy Rep. 2021, 7, 1047–1054. [Google Scholar] [CrossRef]
- Gong, G.; An, X.; Chen, Z.; Zhang, S.; Wen, Y.; Wu, Q.; Su, C. Model of load forecasting of electric vehicle charging station based on SAE-ELM. Mod. Electr. Power 2019, 36, 9–15. [Google Scholar]
- Chen, J.; Zhang, N.; Liu, G.; Guo, L.; Li, J. Photovoltaic short-term output power forecasting based on EOSSA-ELM. Renew. Energy Resour. 2022, 40, 890–898. [Google Scholar]
- Meng, X.; Xu, A.; Zhao, W.; Wang, H.; Li, C.; Wang, H. A new PV generation power prediction model based on GA-BP neural network with artificial classification of history day. In Proceedings of the 2018 International Conference on Power System Technology (POWERCON), Guangzhou, China, 6–8 November 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1012–1017. [Google Scholar]
- Xie, S.; He, S.; Yan, X.; Zhang, Q. Short-term photovoltaic power prediction based on SSA-BP neural network. J. Zhejiang Univ. Technol. 2022, 50, 628–633. [Google Scholar]
- Wang, R.; Wang, C.; Lu, J. Short-term photovoltaic power prediction based on VMD-ICSA-LSSVM. Manuf. Autom. 2023, 45, 124–129. [Google Scholar]
- Xue, J.; Shen, B. Dung beetle optimizer: A new meta-heuristic algorithm for global optimization. J. Supercomput. 2023, 79, 7305–7336. [Google Scholar] [CrossRef]
- Pan, Z.; Bu, F. DV-Hop Localization Algorithm Optimized Based on Dung Beetle Optimizer. J. Electron. Meas. Instrum. 2023, 37, 33–41. [Google Scholar]
- Hu, T.; Zhang, H.; Zhou, J. Prediction of the Debonding Failure of Beams Strengthened with FRP through Machine Learning Models. Buildings 2023, 13, 608. [Google Scholar] [CrossRef]
- Dong, Y.; Yu, Z.; Hu, T.; He, C. Inversion of Rayleigh wave dispersion curve based on improved dung beetle optimizer algorithm. Pet. Geol. Recovery Effic. 2023, 30, 86–97. [Google Scholar]
- Nikoo, M.; Malekabadi, R.A.; Hafeez, G. Estimating the mechanical properties of Heat-Treated woods using Optimization Algorithms-Based ANN. Measurement 2023, 207, 112354. [Google Scholar] [CrossRef]
- Tao, X.; Guo, W.; Li, Q.; Ren, C.; Liu, R. Multiple scale self-adaptive cooperation mutation strategy-based particle swarm optimization. Appl. Soft Comput. 2020, 89, 106124. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
- Chegini, S.N.; Bagheri, A.; Najafi, F. PSOSCALF: A new hybrid PSO based on Sine Cosine Algorithm and Levy flight for solving optimization problems. Appl. Soft Comput. 2018, 73, 697–726. [Google Scholar] [CrossRef]
- Haklı, H.; Uğuz, H. A novel particle swarm optimization algorithm with Levy flight. Appl. Soft Comput. 2014, 23, 333–345. [Google Scholar] [CrossRef]
Function Expression | Interval | Min | |
---|---|---|---|
Sphere | 0 | ||
Schwfel2.22 | 0 | ||
Schwfel1.2 | 0 | ||
Schwfel2.1 | 0 | ||
Quartic | 0 | ||
Rastrigin | 0 | ||
Ackley | 0 | ||
Griewank | 0 |
Function | Algorithm | d = 30 | d = 50 | d = 100 | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Best | Aver | Std | Best | Aver | Std | Best | Aver | Std | ||
F1 | DBO | |||||||||
ASDBO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
F2 | DBO | |||||||||
ASDBO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
F3 | DBO | |||||||||
ASDBO | 0 | 0 | 0 | 0 | 0 | |||||
F4 | DBO | |||||||||
ASDBO | 0 | 0 | 0 | |||||||
F5 | DBO | |||||||||
ASDBO | ||||||||||
F6 | DBO | 0 | 0 | 0 | ||||||
ASDBO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
F7 | DBO | 0 | 0 | |||||||
ASDBO | 0 | 0 | 0 | |||||||
F8 | DBO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
ASDBO | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Degree of Association | |
---|---|
0.8∼1.0 | Exceedingly high association |
0.6∼0.8 | More association |
0.4∼0.6 | Moderate association |
0.2∼0.4 | Less association |
0.0∼0.2 | Exceedingly less or no association |
Weather | Models | Evaluation Index | |||
---|---|---|---|---|---|
(%) | MAE | RMSE | MAPE | ||
Sunny | BP | 92.37 | 4.425 | 6.714 | 3.351 |
LSTM | 94.36 | 3.341 | 4.534 | 2.461 | |
GRU | 95.07 | 3.073 | 3.431 | 2.387 | |
ELM | 96.17 | 2.417 | 3.347 | 2.314 | |
DBO-ELM | 98.41 | 1.741 | 2.168 | 2.067 | |
ASDBO-ELM | 98.65 | 1.543 | 1.963 | 1.851 | |
Cloudy | BP | 90.87 | 5.631 | 7.141 | 8.653 |
LSTM | 94.46 | 4.759 | 5.863 | 5.701 | |
GRU | 94.61 | 4.532 | 5.546 | 5.067 | |
ELM | 94.80 | 4.342 | 5.394 | 4.936 | |
DBO-ELM | 95.17 | 3.963 | 4.779 | 4.086 | |
ASDBO-ELM | 97.03 | 3.615 | 4.081 | 3.767 | |
Rainy | BP | 91.74 | 5.741 | 7.078 | 9.824 |
LSTM | 93.56 | 4.521 | 5.947 | 6.671 | |
GRU | 94.61 | 4.482 | 5.821 | 6.831 | |
ELM | 94.76 | 4.347 | 6.421 | 5.627 | |
DBO-ELM | 96.41 | 3.842 | 6.041 | 4.953 | |
ASDBO-ELM | 97.82 | 3.462 | 3.446 | 5.316 |
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. |
© 2024 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
Zhang, Y.; Li, T.; Ma, T.; Yang, D.; Sun, X. Short-Term Photovoltaic Power Prediction Based on Extreme Learning Machine with Improved Dung Beetle Optimization Algorithm. Energies 2024, 17, 960. https://doi.org/10.3390/en17040960
Zhang Y, Li T, Ma T, Yang D, Sun X. Short-Term Photovoltaic Power Prediction Based on Extreme Learning Machine with Improved Dung Beetle Optimization Algorithm. Energies. 2024; 17(4):960. https://doi.org/10.3390/en17040960
Chicago/Turabian StyleZhang, Yuhao, Ting Li, Tianyi Ma, Dongsheng Yang, and Xiaolong Sun. 2024. "Short-Term Photovoltaic Power Prediction Based on Extreme Learning Machine with Improved Dung Beetle Optimization Algorithm" Energies 17, no. 4: 960. https://doi.org/10.3390/en17040960
APA StyleZhang, Y., Li, T., Ma, T., Yang, D., & Sun, X. (2024). Short-Term Photovoltaic Power Prediction Based on Extreme Learning Machine with Improved Dung Beetle Optimization Algorithm. Energies, 17(4), 960. https://doi.org/10.3390/en17040960