The development of accurate energy forecasting models for smart grids is strongly dependent on the availability of high-quality and high-resolution datasets. However, in many developing regions, particularly in Morocco, such datasets remain scarce, incomplete, or non-public. This limitation significantly constrains the application of advanced machine learning and deep learning techniques for energy demand prediction and grid optimization. This paper proposes a novel hybrid synthetic energy data generation framework specifically designed for the Moroccan context. The proposed approach integrates temporal dynamics, climatic influences, and socio-cultural behavior into a unified mathematical model for hourly electricity consumption simulation. In particular, the model explicitly incorporates seasonal variations, temperature-dependent effects, and behavioral shifts induced by socio-cultural events, including Ramadan and weekend patterns.
Cite this paper
Marah, R. , Marah, R. and Chehayebat, A. (2026). A Hybrid Mathematical Framework for Synthetic Energy Data Generation in Morocco Smart Grids. Open Access Library Journal, 13, e15538. doi: http://dx.doi.org/10.4236/oalib.1115538.
Siano, P. (2014) Demand Response and Smart Grids—A Survey. <i>Renewable and Sustainable Energy Reviews</i>, 30, 461-478. <br>https://doi.org/10.1016/j.rser.2013.10.022
Hong, T. and Fan, S. (2016) Probabilistic Electric Load Forecasting: A Tutorial Review. <i>International Journal of Forecasting</i>, 32, 914-938. <br>https://doi.org/10.1016/j.ijforecast.2015.11.011
Rinaldi, A., Schweiker, M. and Iannone, F. (2018) On Uses of Energy in Buildings: Extracting Influencing Factors of Occupant Behaviour by Means of a Questionnaire Survey. <i>Energy and Buildings</i>, 168, 298-308. <br>https://doi.org/10.1016/j.enbuild.2018.03.045
Sweeney, C., Bessa, R.J., Browell, J. and Pinson, P. (2020) The Future of Forecasting for Renewable Energy. <i>WIREs Energy and Environment</i>, 9, e365. <br>https://doi.org/10.1002/wene.365
Asiri, M.M., Aldehim, G., Alotaibi, F.A., Alnfiai, M.M., Assiri, M. and Mahmud, A. (2024) Short-Term Load Forecasting in Smart Grids Using Hybrid Deep Learning. <i>IEEE Access</i>, 12, 23504-23513. <br>https://doi.org/10.1109/access.2024.3358182
Office National de l’Électricité et de l’Eau Potable (2022) Rapport d’activité 2022 [Rapport Annuel]. ONEE, Maroc. <br>https://www.one.org.ma/fr/pdf/Rapport%20arabe%202022%20Final.pdf
ACWA Power (2016) NOORo IV Ouarzazate 70 MW Photovoltaic Power Project: Stakeholder Engagement Plan [Rapport]. Moroccan Agency for Sustainable Energy (MASEN). <br>https://www.masen.ma/sites/default/files/documents_rapport/6.pdf
Marah, R. and El Hibaoui, A. (2018) Algorithms for Smart Grid Management. <i>Sustainable</i> <i>Cities</i> <i>and</i> <i>Society</i>, 38, 627-635. <br>https://doi.org/10.1016/j.scs.2018.01.041
Marah, R., El Guabassi, I., Bousalem, Z. and Haj, A. (2023) Smart Grid: A Communication Model and Security Challenges. In: <i>Lecture</i> <i>Notes</i> <i>in</i> <i>Networks</i> <i>and</i> <i>Systems</i>, Springer, 189-196. <br>https://doi.org/10.1007/978-3-031-29857-8_19.
Marah, R., Guabassi, I.E. and Yatimi, H. (2024) Moroccan Smart Grid’s Projection: Resource-Allocation Problem. In: <i>Lecture Notes in Networks and Systems</i>, Springer, 594-602. <br>https://doi.org/10.1007/978-3-031-54671-6_44
Al-Maamary, H.M.S., Kazem, H.A. and Chaichan, M.T. (2016) Changing the Energy Profile of the GCC States: A Review. <i>International Journal of Applied Engineering Research</i>, 11, 1980-1988.
Marah, R. and El-Hibaoui, A. (2016) Modelization of Smart Grid—Managing the Local Level. 2016 <i>International Renewable and Sustainable Energy Conference</i> (<i>IRSEC</i>), Marrakech, 14-17 November 2016, 1141-1145. <br>https://doi.org/10.1109/irsec.2016.7984046
Yakoub, H. (2024) What Is the Effect of Ramadan on Domestic Occupancy Patterns and Energy-Use in Muslim Households in London Compared to Pre-Ramadan. In: Gauthier, S., Nicol, F., Brotas, L. and Altamirano, H., 13<i>th Masters Conference</i>: <i>People and Buildings</i>, NCEUB, 1-6. <br>https://eprints.soton.ac.uk/494893/1/MC2024KT8001_Hanaa_Yakoub.pdf
Abdullabekov, I. and Sapaev, K. (2023) Un système de commande écoénergétique pour les unités de relevage d’eau de la station de pompage du Ramadan, basé sur des entraînements électriques à fréquence variable. <i>AIP Conference Proceedings</i>, 2552, Article 040023. (in English) <br>https://doi.org/10.1063/5.0130676
Fouad, M., Ragheb, M., Abdelbary, I. and Mohamed, A. (2025) Influence of Natural Parameters and Human Behaviour on Household Electricity Consumption: Analysis of Seasonal and Non-Seasonal Periods. <i>MSA</i>-<i>Management</i> <i>Sciences</i> <i>Journal</i>, 4, 78-104. <br>https://doi.org/10.21608/msamsj.2025.370150.1093
Alquthami, T. and Alaraishy, A. (2021) Comprehensive Energy and Cost Evaluation through Detailed Auditing and Modeling for Mosque in Saudi Arabia. <i>International Journal of Applied Engineering Research</i>, 16, 778-792.
Hor, C.L., Watson, S.J. and Majithia, S. (2005) Analyzing the Impact of Weather Variables on Monthly Electricity Demand. <i>IEEE Transactions on Power Systems</i>, 20, 2078-2085. <br>https://doi.org/10.1109/TPWRS.2005.857397
MASEN and EDF Renouvelables (2021) Projet de Repowering du parc éolien de Koudia Al Baida—Plan Cadre d’Acquisition des Terres (Réf. C 399/R505-03) [Rapport Technique].<br>https://www.masen.ma/sites/default/files/documents_rapport/Masen_Koudia_Baida_PAT.pdf
Office National de l’Électricité et de l’Eau Potable (2023) Rapport d’activités—Énergie électrique 2023 [Rapport Annuel]. ONEE, Maroc. <br>https://www.one.org.ma/fr/pdf/Rapport%20d'Activit%C3%A9s%202023%20VF.pdf