Weather-integrated machine learning and deep learning framework for long-term solar photovoltaic forecasting in Oman
Accurate long-term solar photovoltaic (PV) power forecasting is essential for renewable energy planning, grid stability, and sustainable energy transition, particularly in regions with high solar potential and climatic variability. This study proposes a weather-integrated hybrid machine learning (ML) and deep learning (DL) framework for long-term solar PV forecasting in Oman using a decade-long daily meteorological dataset (2014–2024) collected from three geographically diverse locations: Izki, Muscat, and Sadah. The framework integrates meteorological variables, including solar radiation, temperature, humidity, rainfall, wind speed, vapor pressure, sunshine duration, and atmospheric pressure. Data preprocessing included missing-value imputation, anomaly correction, normalization, seasonal decomposition, stationarity testing, and cyclical feature engineering to improve forecasting robustness. Conventional statistical approaches (autoregressive integrated moving average, seasonal autoregressive integrated moving average, and exponential smoothing), ML algorithms, and hybrid DL architectures were comparatively evaluated. Results indicate that ensemble regression achieved superior ML performance with validation R2 = 0.96, root mean squared error = 38.60, and mean absolute percentage error = 6.16%, while the recursive long short-term memory + convolutional neural network model with residual correction demonstrated enhanced stability for long-term forecasting horizons. Explainability analysis using Shapley additive explanations and partial dependence plots identified latitude, seasonal encodings, sunshine duration, and atmospheric variables as dominant predictors. The proposed framework provides an interpretable and scalable forecasting solution for renewable energy planning in Oman and similar climatic regions.
Ahmad, M. W., Reynolds, J., & Rezgui, Y. (2018). Predictive modelling for solar thermal energy systems: A comparison of support vector regression, random forest, extra trees and regression trees. Journal of Cleaner Production, 203, 810–821. https://doi.org/10.1016/j.jclepro.2018.08.207
Ahmed, A., & Khalid, M. (2019). A review on the selected applications of forecasting models in renewable power systems. Renewable and Sustainable Energy Reviews, 100, 9–21. https://doi.org/10.1016/j.rser.2018.09.046
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, 124, 109792. https://doi.org/10.1016/j.rser.2020.109792
Akhter, M. N., Mekhilef, S., Mokhlis, H., & Shah, N. M. (2019). Review on forecasting of photovoltaic power generation based on machine learning and metaheuristic techniques. IET Renewable Power Generation, 13(7), 1009–1023. https://doi.org/10.1049/iet-rpg.2018.5649
Alizadeh, R., Soltanisehat, L., Lund, P. D., & Zamanisabzi, H. (2020). Improving renewable energy policy planning and decision-making through a hybrid MCDM method. Energy Policy, 137, 111174. https://doi.org/10.1016/j.enpol.2019.111174
Alotaibi, I., Abido, M. A., Khalid, M., & Savkin, A. V. (2020). A comprehensive review of recent advances in smart grids: A sustainable future with renewable energy resources. Energies, 13(23), 6269. https://doi.org/10.3390/en13236269
Alzahrani, A., Shamsi, P., Dagli, C., & Ferdowsi, M. (2017). Solar Irradiance Forecasting Using Deep Neural Networks. In D. C.H. (Ed.), Procedia Computer Science, 114, 304–313. https://doi.org/10.1016/j.procs.2017.09.045
Antonanzas, J., Osorio, N., Escobar, R., Urraca, R., Martinez-de-Pison, F. J., & Antonanzas-Torres, F. (2016). Review of photovoltaic power forecasting. Solar Energy, 136, 78–111. https://doi.org/10.1016/j.solener.2016.06.069
Assouline, D., Mohajeri, N., & Scartezzini, J.-L. (2017). Quantifying rooftop photovoltaic solar energy potential: A machine learning approach. Solar Energy, 141, 278–296. https://doi.org/10.1016/j.solener.2016.11.045
Azizi, N., Yaghoubirad, M., Farajollahi, M., & Ahmadi, A. (2023). Deep learning based long-term global solar irradiance and temperature forecasting using time series with multi-step multivariate output. Renewable Energy, 206, 135–147. https://doi.org/10.1016/j.renene.2023.01.102
Bajaj, M., & Singh, A. K. (2020). Grid integrated renewable DG systems: A review of power quality challenges and state-of-the-art mitigation techniques. International Journal of Energy Research, 44(1), 26–69. https://doi.org/10.1002/er.4847
Baloch, M., Honnurvali, M. S., Kabbani, A., Ahmed, T., & Chauhdary, S. T. (2025). Solar Energy Forecasting Framework Using Prophet Based Machine Learning Model : An Opportunity to Explore Solar Energy Potential in Muscat Oman. Energies, 18(1), 205. https://doi.org/10.3390/en18010205
Baloch, M., Honnurvali, M. S., Kabbani, A., Jumani, T. A., & Chauhdary, S. T. (2024). An Intelligent SARIMAX-Based Machine Learning Framework for Long-Term Solar Irradiance Forecasting at Muscat, Oman. Energies, 17(23), 6118. https://doi.org/10.3390/en17236118
Behera, M. K., Majumder, I., & Nayak, N. (2018). Solar photovoltaic power forecasting using optimized modified extreme learning machine technique. Engineering Science and Technology, an International Journal, 21(3), 428–438. https://doi.org/10.1016/j.jestch.2018.04.013
Carlak, H. F., & Karabanova, K. (2026). Integration of Machine-Learning Weather Forecasts into Photovoltaic Power Plant Modeling: Analysis of Forecast Accuracy and Energy Output Impact. Energies, 19(2), 318. https://doi.org/10.3390/en19020318
Das, U. K., Tey, K. S., Seyedmahmoudian, M., Mekhilef, S., Idris, M. Y. I., Van Deventer, W., Horan, B., & Stojcevski, A. (2018). Forecasting of photovoltaic power generation and model optimization: A review. Renewable and Sustainable Energy Reviews, 81, 912–928. https://doi.org/10.1016/j.rser.2017.08.017
Debnath, K. B., & Mourshed, M. (2018). Forecasting methods in energy planning models. Renewable and Sustainable Energy Reviews, 88, 297–325. https://doi.org/10.1016/j.rser.2018.02.002
Ghimire, S., Deo, R. C., Raj, N., & Mi, J. (2019). Deep solar radiation forecasting with convolutional neural network and long short-term memory network algorithms. Applied Energy, 253, 113541. https://doi.org/10.1016/j.apenergy.2019.113541
Golestaneh, F., Pinson, P., & Gooi, H. B. (2016). Very short-term nonparametric probabilistic forecasting of renewable energy generation - With application to solar energy. IEEE Transactions on Power Systems, 31(5), 3850–3863. https://doi.org/10.1109/TPWRS.2015.2502423
Haroun, H., Issa, J. S., & Rahme, P. (2025). Machine learning-based prediction of optimal tilt angles for monofacial and bifacial PV systems. Solar Energy, 301, 113924. https://doi.org/10.1016/j.solener.2025.113924
Hossain, M. A., Pota, H. R., Hossain, M. J., & Blaabjerg, F. (2019). Evolution of microgrids with converter-interfaced generations: Challenges and opportunities. International Journal of Electrical Power and Energy Systems, 109, 160–186. https://doi.org/10.1016/j.ijepes.2019.01.038
Huang, C.-J., & Kuo, P.-H. (2019). Multiple-Input Deep Convolutional Neural Network Model for Short-Term Photovoltaic Power Forecasting. IEEE Access, 7, 74822–74834. https://doi.org/10.1109/ACCESS.2019.2921238
Jung, Y., Jung, J., Kim, B., & Han, S. (2020). 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, 250, 119476. https://doi.org/10.1016/j.jclepro.2019.119476
Kabir, H. M. D., Khosravi, A., Hosen, M. A., & Nahavandi, S. (2018). Neural Network-Based Uncertainty Quantification: A Survey of Methodologies and Applications. IEEE Access, 6, 36218–36234. https://doi.org/10.1109/ACCESS.2018.2836917
Koprinska, I., Wu, D., & Wang, Z. (2018). Convolutional Neural Networks for Energy Time Series Forecasting. In: Proceedings of the International Joint Conference on Neural Networks, July 8-13, 2018, Rio de Janeiro, Brazil. 1-8. https://doi.org/10.1109/IJCNN.2018.8489399
Kumar, N. M., Chand, A. A., Malvoni, M., Prasad, K. A., Mamun, K. A., Islam, F. R., & Chopra, S. S. (2020). Distributed energy resources and the application of ai, iot, and blockchain in smart grids. Energies, 13(21), 5739. https://doi.org/10.3390/en13215739
Kushwaha, V., & Pindoriya, N. M. (2019). A SARIMA-RVFL hybrid model assisted by wavelet decomposition for very short-term solar PV power generation forecast. Renewable Energy, 140, 124–139. https://doi.org/10.1016/j.renene.2019.03.020
Le, L. T., Nguyen, H., Dou, J., & Zhou, J. (2019). A comparative study of PSO-ANN, GA-ANN, ICA-ANN, and ABC-ANN in estimating the heating load of buildings’ energy efficiency for smart city planning. Applied Sciences (Switzerland), 9(13), 2630. https://doi.org/10.3390/app9132630
Lee, Z. J., Li, T., & Low, S. H. (2019). ACN-Data: Analysis and applications of an open EV charging dataset. In: Proceedings of the 10th ACM International Conference on Future Energy Systems, June 25-28, 2019, Phoenix, AZ. 139–149. https://doi.org/10.1145/3307772.3328313
Li, K., Wang, F., Mi, Z., Fotuhi-Firuzabad, M., Duić, N., & Wang, T. (2019). Capacity and output power estimation approach of individual behind-the-meter distributed photovoltaic system for demand response baseline estimation. Applied Energy, 253, 113595. https://doi.org/10.1016/j.apenergy.2019.113595
Li, P., Zhou, K., Lu, X., & Yang, S. (2020). A hybrid deep learning model for short-term PV power forecasting. Applied Energy, 259, 114216. https://doi.org/10.1016/j.apenergy.2019.114216
Li, Y., Su, Y., & Shu, L. (2014). An ARMAX model for forecasting the power output of a grid connected photovoltaic system. Renewable Energy, 66, 78–89. https://doi.org/10.1016/j.renene.2013.11.067
Ma, W.-J., Wang, J., Gupta, V., & Chen, C. (2018). Distributed energy management for networked microgrids using online ADMM with regret. IEEE Transactions on Smart Grid, 9(2), 847–856. https://doi.org/10.1109/TSG.2016.2569604
Madeti, S. R., & Singh, S. N. (2017a). A comprehensive study on different types of faults and detection techniques for solar photovoltaic system. Solar Energy, 158, 161–185. https://doi.org/10.1016/j.solener.2017.08.069
Madeti, S. R., & Singh, S. N. (2017b). Monitoring system for photovoltaic plants: A review. Renewable and Sustainable Energy Reviews, 67, 1180–1207. https://doi.org/10.1016/j.rser.2016.09.088
Mellit, A., & Kalogirou, S. A. (2008). Artificial intelligence techniques for photovoltaic applications: A review. Progress in Energy and Combustion Science, 34(5), 574–632. https://doi.org/10.1016/j.pecs.2008.01.001
Mellit, A., Pavan, A. M., Ogliari, E., Leva, S., & Lughi, V. (2020). Advanced methods for photovoltaic output power forecasting: A review. Applied Sciences, 10(2), 487. https://doi.org/10.3390/app10020487
Motahhir, S., El Hammoumi, A., & El Ghzizal, A. (2020). The most used MPPT algorithms: Review and the suitable low-cost embedded board for each algorithm. Journal of Cleaner Production, 246, 118983. https://doi.org/10.1016/j.jclepro.2019.118983
Nishant, R., Kennedy, M., & Corbett, J. (2020). Artificial intelligence for sustainability: Challenges, opportunities, and a research agenda. International Journal of Information Management, 53, 102104. https://doi.org/10.1016/j.ijinfomgt.2020.102104
Nižetić, S., Djilali, N., Papadopoulos, A., & Rodrigues, J. J. P. C. (2019). Smart technologies for promotion of energy efficiency, utilization of sustainable resources and waste management. Journal of Cleaner Production, 231, 565–591. https://doi.org/10.1016/j.jclepro.2019.04.397
Notton, G., Nivet, M.-L., Voyant, C., Paoli, C., Darras, C., Motte, F., & Fouilloy, A. (2018). Intermittent and stochastic character of renewable energy sources: Consequences, cost of intermittence and benefit of forecasting. Renewable and Sustainable Energy Reviews, 87, 96–105. https://doi.org/10.1016/j.rser.2018.02.007
Pazikadin, A. R., Rifai, D., Ali, K., Malik, M. Z., Abdalla, A. N., & Faraj, M. A. (2020). Solar irradiance measurement instrumentation and power solar generation forecasting based on Artificial Neural Networks (ANN): A review of five years research trend. Science of the Total Environment, 715, 136848. https://doi.org/10.1016/j.scitotenv.2020.136848
Rajagukguk, R. A., Ramadhan, R. A. A., & Lee, H.-J. (2020). A review on deep learning models for forecasting time series data of solar irradiance and photovoltaic power. Energies, 13(24), 6623. https://doi.org/10.3390/en13246623
Raza, M. A., Karim, A., Altayeb, M., Masud, M. I., Faheem, M., Jumani, T. A., & Aman, M. (2026). Global solar energy potential forecasting through machine learning and deep learning models. Scientific Reports, 16(1), 10466. https://doi.org/10.1038/s41598-026-41357-x
Şen, Z. (2008). Solar energy fundamentals and modeling techniques: Atmosphere, environment, climate change and renewable energy. London, United Kingdom: Springer Science & Business Media. https://doi.org/10.1007/978-1-84800-134-3
Serban, A. C., & Lytras, M. D. (2020). Artificial intelligence for smart renewable energy sector in europe - Smart energy infrastructures for next generation smart cities. IEEE Access, 8, 77364–77377. https://doi.org/10.1109/ACCESS.2020.2990123
Seyedmahmoudian, M., Horan, B., Soon, T. K., Rahmani, R., Than Oo, A. M., Mekhilef, S., & Stojcevski, A. (2016). State of the art artificial intelligence-based MPPT techniques for mitigating partial shading effects on PV systems – A review. Renewable and Sustainable Energy Reviews, 64, 435–455. https://doi.org/10.1016/j.rser.2016.06.053
Shafiullah, M., Katranji, A. R., Hassan, M., Rahman, M. M., & Shezan, S. A. (2026). Advanced Multivariate Deep Learning Methodology for Forecasting Wind Speed and Solar Irradiation. Smart Cities, 9(4), 59. https://doi.org/10.3390/smartcities9040059
Shamshirband, S., Rabczuk, T., & Chau, K.-W. (2019). A Survey of Deep Learning Techniques: Application in Wind and Solar Energy Resources. IEEE Access, 7, 164650–164666. https://doi.org/10.1109/ACCESS.2019.2951750
Sheng, H., Xiao, J., Cheng, Y., Ni, Q., & Wang, S. (2018). Short-Term Solar Power Forecasting Based on Weighted Gaussian Process Regression. IEEE Transactions on Industrial Electronics, 65(1), 300–308. https://doi.org/10.1109/TIE.2017.2714127
Sobri, S., Koohi-Kamali, S., & Rahim, N. A. (2018). Solar photovoltaic generation forecasting methods: A review. Energy Conversion and Management, 156, 459–497. https://doi.org/10.1016/j.enconman.2017.11.019
Srivastava, S., & Lessmann, S. (2018). A comparative study of LSTM neural networks in forecasting day-ahead global horizontal irradiance with satellite data. Solar Energy, 162, 232–247. https://doi.org/10.1016/j.solener.2018.01.005
Theo, W. L., Lim, J. S., Ho, W. S., Hashim, H., & Lee, C. T. (2017). Review of distributed generation (DG) system planning and optimisation techniques: Comparison of numerical and mathematical modelling methods. Renewable and Sustainable Energy Reviews, 67, 531–573. https://doi.org/10.1016/j.rser.2016.09.063
van der Meer, D. W., Widén, J., & Munkhammar, J. (2018). Review on probabilistic forecasting of photovoltaic power production and electricity consumption. Renewable and Sustainable Energy Reviews, 81, 1484–1512. https://doi.org/10.1016/j.rser.2017.05.212
Vanegas Cantarero, M. M. (2020). Of renewable energy, energy democracy, and sustainable development: A roadmap to accelerate the energy transition in developing countries. Energy Research and Social Science, 70, 101716. https://doi.org/10.1016/j.erss.2020.101716
Voyant, C., Notton, G., Kalogirou, S., Nivet, M.-L., Paoli, C., Motte, F., & Fouilloy, A. (2017). Machine learning methods for solar radiation forecasting: A review. Renewable Energy, 105, 569–582. https://doi.org/10.1016/j.renene.2016.12.095
Wang, F., Xuan, Z., Zhen, Z., Li, K., Wang, T., & Shi, M. (2020). A day-ahead PV power forecasting method based on LSTM-RNN model and time correlation modification under partial daily pattern prediction framework. Energy Conversion and Management, 212, 112766. https://doi.org/10.1016/j.enconman.2020.112766
Wang, F., Zhang, Z., Liu, C., Yu, Y., Pang, S., Duić, N., Shafie-khah, M., & Catalão, J. P. S. (2019). Generative adversarial networks and convolutional neural networks based weather classification model for day ahead short-term photovoltaic power forecasting. Energy Conversion and Management, 181, 443–462. https://doi.org/10.1016/j.enconman.2018.11.074
Wang, H., Lei, Z., Zhang, X., Zhou, B., & Peng, J. (2019). A review of deep learning for renewable energy forecasting. Energy Conversion and Management, 198, 111799. https://doi.org/10.1016/j.enconman.2019.111799
Wang, H., Liu, Y., Zhou, B., Li, C., Cao, G., Voropai, N., & Barakhtenko, E. (2020). Taxonomy research of artificial intelligence for deterministic solar power forecasting. Energy Conversion and Management, 214, 112909. https://doi.org/10.1016/j.enconman.2020.112909
Yaghoubi, A. A., Gandomzadeh, M., Gholami, A., Gavagsaz-Ghoachani, R., & Zandi, M. (2025). Long-term comparative analysis of machine learning models: A deep dive into applications of artificial intelligence for enhancing photovoltaic performance prediction. International Journal of Electrical Power & Energy Systems, 170, 110866. https://doi.org/10.1016/j.ijepes.2025.110866
Yang, D., Kleissl, J., Gueymard, C. A., Pedro, H. T. C., & Coimbra, C. F. M. (2018). History and trends in solar irradiance and PV power forecasting: A preliminary assessment and review using text mining. Solar Energy, 168, 60–101. https://doi.org/10.1016/j.solener.2017.11.023
Yang, X.-S. (2021). Nature-Inspired Optimization Algorithms. London, United Kindom: Elsevier. https://doi.org/10.1016/B978-0-12-821986-7.00002-0
Yap, K. Y., Sarimuthu, C. R., & Lim, J. M.-Y. (2020). Artificial Intelligence Based MPPT Techniques for Solar Power System: A review. Journal of Modern Power Systems and Clean Energy, 8(6), 1043–1059. https://doi.org/10.35833/MPCE.2020.000159
Yu, Y., Cao, J., & Zhu, J. (2019). An LSTM Short-Term Solar Irradiance Forecasting under Complicated Weather Conditions. IEEE Access, 7, 145651–145666. https://doi.org/10.1109/ACCESS.2019.2946057
Zang, H., Cheng, L., Ding, T., Cheung, K. W., Wei, Z., & Sun, G. (2020). Day-ahead photovoltaic power forecasting approach based on deep convolutional neural networks and meta learning. International Journal of Electrical Power and Energy Systems, 118, 105790. https://doi.org/10.1016/j.ijepes.2019.105790
Zhou, Y., Zhou, N., Gong, L., & Jiang, M. (2020). Prediction of photovoltaic power output based on similar day analysis, genetic algorithm and extreme learning machine. Energy, 204, 117894. https://doi.org/10.1016/j.energy.2020.117894
