A Review on Employing Weather Forecasts for Microgrids to Predict Solar Energy Generation with IoT and Artificial Neural Networks

Md Monirul Islam, Mst. Tamanna Akter, H M Tahrim, Nafisa Sultana Elme, Md. Yakub Ali Khan


In this study, an artificial neural network (ANN) based approach is studied about the prediction of solar energy generation in a microgrid using weather forecasting. The ANN is trained using historical data of solar energy generation and weather forecast data. The input parameters for the ANN include weather variables such as temperature, humidity, wind speed, and solar irradiance. The output parameter is the solar energy generation in kilowatt-hour (kWh). The proposed approach is implemented and tested using real-world data from a microgrid. The results indicate that the ANN-based approach is effective in predicting the solar energy generation with high accuracy. The proposed approach can be used for optimizing the operation of microgrids and facilitating the integration of renewable energy sources into the power grid. This study proposes the use of an Artificial Neural Network (ANN) to predict the solar energy generation in a microgrid using weather forecast data. Weather forecasting has become more precise and dynamic with the integration of IoT data with advanced analytics and machine learning models. These models are quite accurate at predicting solar irradiance and analyzing patterns. The microgrid comprises of a photovoltaic (PV) system which generates solar energy and a battery storage system which stores and supplies the energy to the load. Accurate prediction of solar energy generation is crucial for optimizing management of the microgrid. The inputs to the ANN model include temperature, humidity, wind speed, cloud cover and solar irradiance, which are obtained from weather forecast data. The output of the model is the predicted solar energy generation. The performance of the ANN model is evaluated using various performance metrics such as Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Coefficient of Determination (R²). This study presents a practical approach for predicting solar energy generation in a microgrid using weather forecast data, which can be used for efficient management of the microgrid.


Microgrid, Prediction, IoT, Solar Energy, Artificial Neural Network, Weather Forecasting, Renewable Energy

Full Text:



F. M. Guangul and G. T. Chala, "Solar Energy as Renewable Energy Source: SWOT Analysis," 2019 4th MEC International Conference on Big Data and Smart City (ICBDSC), pp. 1-5, 2019, https://doi.org/10.11et 09/ICBDSC.2019.8645580.

A. Cagnano, E. D. Tuglie, P. Mancarella, “Microgrids: Overview and guidelines for practical implementations and operation,” Applied Energy, vol. 258, p. 114039, 2020, https://doi.org/10.1016/j.apenergy.2019.114039.

J. H. Yousif, H. A. Al-Balushi, H. A. Kazem, M. T. Chaichan, “Analysis and forecasting of weather conditions in Oman for renewable energy applications,” Case Studies in Thermal Engineering, vol. 13, p. 100355, 2019, https://doi.org/10.1016/j.csite.2018.11.006.

R. Ahmed, V. Sreeram, Y. Mishra, M. D. Arif, “A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization,” Renewable and Sustainable Energy Reviews, vol. 124, p. 109792, 2020, https://doi.org/10.1016/j.rser.2020.109792.

Y. Fan, W. Yang, “A backpropagation learning algorithm with graph regularization for feedforward neural networks,” Information Sciences, vol. 607, pp. 263-277, 2022, https://doi.org/10.1016/j.ins.2022.05.121.

X. Wang, Y. Liu, H. Xin, “Bond strength prediction of concrete-encased steel structures using hybrid machine learning method,” Structures, vol. 32, pp. 2279-2292, 2021, https://doi.org/10.1016/j.istruc.2021.04.018.

M. R. Zaman, M. A. Halim, M. Y. A. Khan, S. Ibrahim, A. Haque, “Integrating Micro and Smart Grid-Based Renewable Energy Sources with the National Grid in Bangladesh-A Case Study,” Control Systems and Optimization Letters, vol. 2, no. 1, pp. 75-81, 2024, https://doi.org/10.59247/csol.v2i1.76.

M. Madhiarasan, M. Louzazni, “Analysis of artificial neural network: architecture, types, and forecasting applications,” Journal of Electrical and Computer Engineering, vol. 2022, no. 1, pp. 1-23, 2022, https://doi.org/10.1155/2022/5416722.

G. Notton, C. Voyant, A. Fouilloy, J. L. Duchaud, M. L. Nivet, “Some applications of ANN to solar radiation estimation and forecasting for energy applications,” Applied Sciences, vol. 9, no. 1, p. 209, 2019, https://doi.org/10.3390/app9010209.

M. Chen, U. Challita, W. Saad, C. Yin and M. Debbah, "Artificial Neural Networks-Based Machine Learning for Wireless Networks: A Tutorial," IEEE Communications Surveys & Tutorials, vol. 21, no. 4, pp. 3039-3071, 2019, https://doi.org/10.1109/COMST.2019.2926625.

M. Zareef et al., “An overview on the applications of typical non-linear algorithms coupled with NIR spectroscopy in food analysis,” Food Engineering Reviews, vol. 12, pp. 173-190, 2020, https://doi.org/10.1007/s12393-020-09210-7.

A. Itani, “Comparison of Adversarial Robustness of ANN and SNN towards Blackbox Attacks,” Southern Illinois University at Carbondale, 2021, https://opensiuc.lib.siu.edu/theses/2864/.

H. Ji, Y. Chen, G. Fang, Z. Li, W. Duan, Q. Zhang, “Adaptability of machine learning methods and hydrological models to discharge simulations in data-sparse glaciated watersheds,” Journal of Arid Land, vol. 13, pp. 549-567, 2021, https://doi.org/10.1007/s40333-021-0066-5.

Y. Wu, J. Feng, “Development and application of artificial neural network,” Wireless Personal Communications, vol. 102, pp. 1645-1656, 2018, https://doi.org/10.1007/s11277-017-5224-x.

A. Abbaspour, K. K. Yen, P. Forouzannezhad and A. Sargolzaei, "A Neural Adaptive Approach for Active Fault-Tolerant Control Design in UAV," IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 50, no. 9, pp. 3401-3411, 2020, https://doi.org/10.1109/TSMC.2018.2850701.

A. Mugnini, G. Coccia, F. Polonara, A. Arteconi, “Performance assessment of data-driven and physical-based models to predict building energy demand in model predictive controls,” Energies, vol. 13, no. 12, p. 3125, 2020, https://doi.org/10.3390/en13123125.

B. Hajimirzaei, N. J. Navimipour, “Intrusion detection for cloud computing using neural networks and artificial bee colony optimization algorithm,” ICT Express, vol. 5, no. 1, pp. 56-59, 2019, https://doi.org/10.1016/j.icte.2018.01.014.

Y. Jung, J. Jung, B. Kim, S. Han, “Long short-term memory recurrent neural network for modeling temporal patterns in long-term power forecasting for solar PV facilities: Case study of South Korea,” Journal of Cleaner Production, vol. 250, p. 119476, 2020, https://doi.org/10.1016/j.jclepro.2019.119476.

G. D. Franco, M. Santurro, “Machine learning, artificial neural networks and social research,” Quality & quantity, vol. 55, no. 3, pp. 1007-1025, 2021, https://doi.org/10.1007/s11135-020-01037-y.

J. Valtl, J. Mendez, G. Mauro, A. Cabrera and V. Issakov, "Investigation for the Need of Traditional Data-Preprocessing when Applying Artificial Neural Networks to FMCW-Radar Data," 2022 29th International Conference on Systems, Signals and Image Processing (IWSSIP), pp. 1-4, 2022, https://doi.org/10.1109/IWSSIP55020.2022.9854472.

T. Yin, H. P. Zhu, “An efficient algorithm for architecture design of Bayesian neural network in structural model updating,” Computer‐Aided Civil and Infrastructure Engineering, vol. 35, no. 4, pp. 354-372, 2020, https://doi.org/10.1111/mice.12492.

A. Massaro, I. Manfredonia, A. Galiano and B. Xhahysa, "Advanced Process Defect Monitoring Model and Prediction Improvement by Artificial Neural Network in Kitchen Manufacturing Industry: A Case of Study," 2019 II Workshop on Metrology for Industry 4.0 and IoT (MetroInd4.0&IoT), pp. 64-67, 2019, https://doi.org/10.1109/METROI4.2019.8792872.

F. Rodríguez, A. Fleetwood, A. Galarza, L. Fontán, “Predicting solar energy generation through artificial neural networks using weather forecasts for microgrid control,” Renewable energy, vol. 126, pp. 855-864, 2018, https://doi.org/10.1016/j.renene.2018.03.070.

M. M. Hossain, M. Y. A. Khan, M. A. Halim, N. S. Elme, M. N. Hussain, “A review on stability challenges and probable solution of perovskite–silicon tandem solar cells,” Signal and Image Processing Letters, vol. 5, no. 1, pp. 62-71, 2023, https://doi.org/10.31763/simple.v5i1.58.

M. G. M. Abdolrasol et al., “Artificial neural networks based optimization techniques: A review,” Electronics, vol. 10, no. 21, p. 2689, 2021, https://doi.org/10.3390/electronics10212689.

M. A. Halim, M. M. Hossain, M. J. Nahar, “Development of a Nonlinear Harvesting Mechanism from Wide Band Vibrations,” International Journal of Robotics and Control Systems, vol. 2, no. 3, pp. 467-476, 2022, https://doi.org/10.31763/ijrcs.v2i3.524.

C. Finck, R. Li, W. Zeiler, “Economic model predictive control for demand flexibility of a residential building,” Energy, vol. 176, pp. 365-379, 2019, https://doi.org/10.1016/j.energy.2019.03.171.

H. Lin, K. Sun, Z. H. Tan, C. Liu, J. M. Guerrero, J. C. Vasquez, “Adaptive protection combined with machine learning for microgrids,” IET Generation, Transmission & Distribution, vol. 13, no. 6, pp. 770-779, 2019, https://doi.org/10.1049/iet-gtd.2018.6230.

A. Haque, M. N. Hussain, M. S. Ali, M. Y. A. Khan, M. A. Halim, “Technical and Economic Challenges and Future Prospects of a Smart Grid-A Case Study,” Control Systems and Optimization Letters, vol. 1, no. 3, pp. 186-193, 2023, https://doi.org/10.59247/csol.v1i3.57.

D. Niu, K. Wang, L. Sun, J. Wu, X. Xu, “Short-term photovoltaic power generation forecasting based on random forest feature selection and CEEMD: A case study,” Applied soft computing, vol. 93, p. 106389, 2020, https://doi.org/10.1016/j.asoc.2020.106389.

P. Hewage et al., “Temporal convolutional neural (TCN) network for an effective weather forecasting using time-series data from the local weather station,” Soft Computing, vol. 24, pp. 16453-16482, 2020, https://doi.org/10.1007/s00500-020-04954-0.

A. B. Nassif, I. Shahin, I. Attili, M. Azzeh and K. Shaalan, "Speech Recognition Using Deep Neural Networks: A Systematic Review," IEEE Access, vol. 7, pp. 19143-19165, 2019, https://doi.org/10.1109/ACCESS.2019.2896880.

M. Fathi, M. H. Kashani, S. M. Jameii, E. Mahdipour, “Big data analytics in weather forecasting: A systematic review,” Archives of Computational Methods in Engineering, vol. 29, no. 2, pp. 1247-1275, 2022, https://doi.org/10.1007/s11831-021-09616-4.

A. Golder and F. Bouffard, "Microgrid Sizing and Operation," 2021 IEEE Electrical Power and Energy Conference (EPEC), pp. 69-74, 2021, https://doi.org/10.1109/EPEC52095.2021.9621352.

T. Dinku, “Challenges with availability and quality of climate data in Africa,” Extreme hydrology and climate variability, pp. 71-80, 2019, https://doi.org/10.1016/B978-0-12-815998-9.00007-5.

L. Schmidt et al., “Training and validation of a novel 4-miRNA ratio model (MiCaP) for prediction of postoperative outcome in prostate cancer patients,” Annals of oncology, vol. 29, no. 9, pp. 2003-2009, 2018, https://doi.org/10.1093/annonc/mdy243.

M. N. Hussain, M. A. Halim, M. Y. A. Khan, S. Ibrahim, A. Haque, “A Comprehensive Review on Techniques and Challenges of Energy Harvesting from Distributed Renewable Energy Sources for Wireless Sensor Networks,” Control Systems and Optimization Letters, vol. 2, no. 1, pp. 15-22, 2024, https://doi.org/10.59247/csol.v2i1.60.

DOI: https://doi.org/10.59247/csol.v2i2.108


  • There are currently no refbacks.

Copyright (c) 2024 Md Rakibur Zaman


Control Systems and Optimization Letters
ISSN: 2985-6116
Website: https://ejournal.csol.or.id/index.php/csol
Email: alfian_maarif@ieee.org
Publisher: Peneliti Teknologi Teknik Indonesia
Address: Jl. Empu Sedah No. 12, Pringwulung, Condongcatur, Kec. Depok, Kabupaten Sleman, Daerah Istimewa Yogyakarta 55281, Indonesia