Rizk-Allah Rizk M, Abouelmagd Lobna M, Darwish Ashraf, Snasel Vaclav, Hassanien Aboul Ella
Department of Basic Engineering Science, Faculty of Engineering, Menoufia University, Shebin El-Kom, Egypt.
Faculty of Electrical Engineering and Computer Science, VSB-Technical University of Ostrava, Ostrava, Czech Republic.
PLoS One. 2024 Oct 2;19(10):e0308002. doi: 10.1371/journal.pone.0308002. eCollection 2024.
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.
本文提出了一种名为X-LSTM-EO的模型,该模型集成了可解释人工智能(XAI)、长短期记忆(LSTM)和均衡优化器(EO),以可靠地预测太阳能发电量。LSTM组件根据环境条件预测发电率,而EO组件通过训练优化LSTM模型的超参数。基于XAI的局部可解释且与模型无关的解释(LIME)被用于识别影响智能太阳能系统中发电预测模型准确性的关键因素。通过使用五个指标来评估所提出的X-LSTM-EO模型的有效性;决定系数(R2)、均方根误差(RMSE)、变异系数(COV)、平均绝对误差(MAE)和效率系数(EC)。所提出的模型在R2、RMSE、COV、MAE和EC方面分别获得了0.99、0.46、0.35、0.229和0.95的值。本文的结果提高了原始模型传统LSTM的性能,其提高率分别为:R2为148%,RMSE为21%,COV为27%,MAE为20%,EC为134%。将LSTM的性能与其他机器学习算法如决策树(DT)、线性回归(LR)和梯度提升进行了比较。结果表明,当进行结果比较时,LSTM模型的表现优于DT和LR。此外,采用粒子群优化器(PSO)代替EO优化器来验证结果,这进一步证明了EO优化器的有效性。实验结果和模拟表明,所提出的模型能够准确估计光伏发电量以应对发电模式的突然变化。此外,所提出的模型可能有助于优化光伏电源装置的运行。所提出的模型是在谷歌Colab环境中利用TensorFlow和Keras实现的。