IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0308002.html
   My bibliography  Save this article

Explainable AI and optimized solar power generation forecasting model based on environmental conditions

Author

Listed:
  • Rizk M Rizk-Allah
  • Lobna M Abouelmagd
  • Ashraf Darwish
  • Vaclav Snasel
  • Aboul Ella Hassanien

Abstract

This paper proposes a model called X-LSTM-EO, which integrates explainable artificial intelligence (XAI), long short-term memory (LSTM), and equilibrium optimizer (EO) to reliably forecast solar power generation. The LSTM component forecasts power generation rates based on environmental conditions, while the EO component optimizes the LSTM model’s hyper-parameters through training. The XAI-based Local Interpretable and Model-independent Explanation (LIME) is adapted to identify the critical factors that influence the accuracy of the power generation forecasts model in smart solar systems. The effectiveness of the proposed X-LSTM-EO model is evaluated through the use of five metrics; R-squared (R2), root mean square error (RMSE), coefficient of variation (COV), mean absolute error (MAE), and efficiency coefficient (EC). The proposed model gains values 0.99, 0.46, 0.35, 0.229, and 0.95, for R2, RMSE, COV, MAE, and EC respectively. The results of this paper improve the performance of the original model’s conventional LSTM, where the improvement rate is; 148%, 21%, 27%, 20%, 134% for R2, RMSE, COV, MAE, and EC respectively. The performance of LSTM is compared with other machine learning algorithm such as Decision tree (DT), Linear regression (LR) and Gradient Boosting. It was shown that the LSTM model worked better than DT and LR when the results were compared. Additionally, the PSO optimizer was employed instead of the EO optimizer to validate the outcomes, which further demonstrated the efficacy of the EO optimizer. The experimental results and simulations demonstrate that the proposed model can accurately estimate PV power generation in response to abrupt changes in power generation patterns. Moreover, the proposed model might assist in optimizing the operations of photovoltaic power units. The proposed model is implemented utilizing TensorFlow and Keras within the Google Collab environment.

Suggested Citation

  • Rizk M Rizk-Allah & Lobna M Abouelmagd & Ashraf Darwish & Vaclav Snasel & Aboul Ella Hassanien, 2024. "Explainable AI and optimized solar power generation forecasting model based on environmental conditions," PLOS ONE, Public Library of Science, vol. 19(10), pages 1-33, October.
  • Handle: RePEc:plo:pone00:0308002
    DOI: 10.1371/journal.pone.0308002
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0308002
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0308002&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0308002?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Ahmed, R. & Sreeram, V. & Mishra, Y. & Arif, M.D., 2020. "A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization," Renewable and Sustainable Energy Reviews, Elsevier, vol. 124(C).
    2. Zheng, Jianqin & Zhang, Haoran & Dai, Yuanhao & Wang, Bohong & Zheng, Taicheng & Liao, Qi & Liang, Yongtu & Zhang, Fengwei & Song, Xuan, 2020. "Time series prediction for output of multi-region solar power plants," Applied Energy, Elsevier, vol. 257(C).
    3. Zayed, Mohamed E. & Zhao, Jun & Li, Wenjia & Elsheikh, Ammar H. & Elaziz, Mohamed Abd, 2021. "A hybrid adaptive neuro-fuzzy inference system integrated with equilibrium optimizer algorithm for predicting the energetic performance of solar dish collector," Energy, Elsevier, vol. 235(C).
    4. Long, Huan & Zhang, Zijun & Su, Yan, 2014. "Analysis of daily solar power prediction with data-driven approaches," Applied Energy, Elsevier, vol. 126(C), pages 29-37.
    5. Gangqiang Li & Huaizhi Wang & Shengli Zhang & Jiantao Xin & Huichuan Liu, 2019. "Recurrent Neural Networks Based Photovoltaic Power Forecasting Approach," Energies, MDPI, vol. 12(13), pages 1-17, July.
    6. Wang, Kejun & Qi, Xiaoxia & Liu, Hongda, 2019. "Photovoltaic power forecasting based LSTM-Convolutional Network," Energy, Elsevier, vol. 189(C).
    7. Yin, Rumeng & He, Jiang, 2023. "Design of a photovoltaic electric bike battery-sharing system in public transit stations," Applied Energy, Elsevier, vol. 332(C).
    8. Khan, Zulfiqar Ahmad & Hussain, Tanveer & Baik, Sung Wook, 2023. "Dual stream network with attention mechanism for photovoltaic power forecasting," Applied Energy, Elsevier, vol. 338(C).
    9. Qing, Xiangyun & Niu, Yugang, 2018. "Hourly day-ahead solar irradiance prediction using weather forecasts by LSTM," Energy, Elsevier, vol. 148(C), pages 461-468.
    10. Umut Ugurlu & Ilkay Oksuz & Oktay Tas, 2018. "Electricity Price Forecasting Using Recurrent Neural Networks," Energies, MDPI, vol. 11(5), pages 1-23, May.
    11. Sunil Kumar & Ilyoung Chong, 2018. "Correlation Analysis to Identify the Effective Data in Machine Learning: Prediction of Depressive Disorder and Emotion States," IJERPH, MDPI, vol. 15(12), pages 1-24, December.
    12. Zhu, Xiwen & Li, Mingxue & Liu, Xiaoqiang & Zhang, Yufeng, 2024. "A backpropagation neural network-based hybrid energy recognition and management system," Energy, Elsevier, vol. 297(C).
    13. Liu, Wencheng & Mao, Zhizhong, 2024. "Short-term photovoltaic power forecasting with feature extraction and attention mechanisms," Renewable Energy, Elsevier, vol. 226(C).
    14. Wang, Kejun & Qi, Xiaoxia & Liu, Hongda, 2019. "A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network," Applied Energy, Elsevier, vol. 251(C), pages 1-1.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Tang, Yugui & Yang, Kuo & Zhang, Shujing & Zhang, Zhen, 2022. "Photovoltaic power forecasting: A hybrid deep learning model incorporating transfer learning strategy," Renewable and Sustainable Energy Reviews, Elsevier, vol. 162(C).
    2. Korkmaz, Deniz, 2021. "SolarNet: A hybrid reliable model based on convolutional neural network and variational mode decomposition for hourly photovoltaic power forecasting," Applied Energy, Elsevier, vol. 300(C).
    3. Zhen, Hao & Niu, Dongxiao & Wang, Keke & Shi, Yucheng & Ji, Zhengsen & Xu, Xiaomin, 2021. "Photovoltaic power forecasting based on GA improved Bi-LSTM in microgrid without meteorological information," Energy, Elsevier, vol. 231(C).
    4. Du, Bin & Lund, Peter D. & Wang, Jun, 2021. "Combining CFD and artificial neural network techniques to predict the thermal performance of all-glass straight evacuated tube solar collector," Energy, Elsevier, vol. 220(C).
    5. Rial A. Rajagukguk & Raden A. A. Ramadhan & Hyun-Jin Lee, 2020. "A Review on Deep Learning Models for Forecasting Time Series Data of Solar Irradiance and Photovoltaic Power," Energies, MDPI, vol. 13(24), pages 1-23, December.
    6. Khan, Waqas & Walker, Shalika & Zeiler, Wim, 2022. "Improved solar photovoltaic energy generation forecast using deep learning-based ensemble stacking approach," Energy, Elsevier, vol. 240(C).
    7. Yang, Yanru & Liu, Yu & Zhang, Yihang & Shu, Shaolong & Zheng, Junsheng, 2025. "DEST-GNN: A double-explored spatio-temporal graph neural network for multi-site intra-hour PV power forecasting," Applied Energy, Elsevier, vol. 378(PA).
    8. Pei, Jingyin & Dong, Yunxuan & Guo, Pinghui & Wu, Thomas & Hu, Jianming, 2024. "A Hybrid Dual Stream ProbSparse Self-Attention Network for spatial–temporal photovoltaic power forecasting," Energy, Elsevier, vol. 305(C).
    9. Wang, Xiaoyang & Sun, Yunlin & Luo, Duo & Peng, Jinqing, 2022. "Comparative study of machine learning approaches for predicting short-term photovoltaic power output based on weather type classification," Energy, Elsevier, vol. 240(C).
    10. Pedregal, Diego J. & Trapero, Juan R., 2021. "Adjusted combination of moving averages: A forecasting system for medium-term solar irradiance," Applied Energy, Elsevier, vol. 298(C).
    11. Fachrizal Aksan & Vishnu Suresh & Przemysław Janik & Tomasz Sikorski, 2023. "Load Forecasting for the Laser Metal Processing Industry Using VMD and Hybrid Deep Learning Models," Energies, MDPI, vol. 16(14), pages 1-24, July.
    12. Hao, Jianhua & Liu, Fangai & Zhang, Weiwei, 2024. "Multi-scale RWKV with 2-dimensional temporal convolutional network for short-term photovoltaic power forecasting," Energy, Elsevier, vol. 309(C).
    13. Huang, Xiaoqiao & Li, Qiong & Tai, Yonghang & Chen, Zaiqing & Liu, Jun & Shi, Junsheng & Liu, Wuming, 2022. "Time series forecasting for hourly photovoltaic power using conditional generative adversarial network and Bi-LSTM," Energy, Elsevier, vol. 246(C).
    14. Rodríguez, Fermín & Martín, Fernando & Fontán, Luis & Galarza, Ainhoa, 2021. "Ensemble of machine learning and spatiotemporal parameters to forecast very short-term solar irradiation to compute photovoltaic generators’ output power," Energy, Elsevier, vol. 229(C).
    15. Hao Zhen & Dongxiao Niu & Min Yu & Keke Wang & Yi Liang & Xiaomin Xu, 2020. "A Hybrid Deep Learning Model and Comparison for Wind Power Forecasting Considering Temporal-Spatial Feature Extraction," Sustainability, MDPI, vol. 12(22), pages 1-24, November.
    16. Khan, Zulfiqar Ahmad & Hussain, Tanveer & Baik, Sung Wook, 2023. "Dual stream network with attention mechanism for photovoltaic power forecasting," Applied Energy, Elsevier, vol. 338(C).
    17. Elham M. Al-Ali & Yassine Hajji & Yahia Said & Manel Hleili & Amal M. Alanzi & Ali H. Laatar & Mohamed Atri, 2023. "Solar Energy Production Forecasting Based on a Hybrid CNN-LSTM-Transformer Model," Mathematics, MDPI, vol. 11(3), pages 1-19, January.
    18. Soleimanzade, Mohammad Amin & Sadrzadeh, Mohtada, 2021. "Deep learning-based energy management of a hybrid photovoltaic-reverse osmosis-pressure retarded osmosis system," Applied Energy, Elsevier, vol. 293(C).
    19. Chen, Rujian & Liu, Gang & Cao, Yisheng & Xiao, Gang & Tang, Jianchao, 2024. "CGAformer: Multi-scale feature Transformer with MLP architecture for short-term photovoltaic power forecasting," Energy, Elsevier, vol. 312(C).
    20. Tserenpurev Chuluunsaikhan & Jeong-Hun Kim & Yoonsung Shin & Sanghyun Choi & Aziz Nasridinov, 2022. "Feasibility Study on the Influence of Data Partition Strategies on Ensemble Deep Learning: The Case of Forecasting Power Generation in South Korea," Energies, MDPI, vol. 15(20), pages 1-20, October.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0308002. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.