https://doi.org/10.1051/epjconf/202533003005
Prediction of electric power and load forcasting using LSTM technique for EMS
1 ST2I. ENSIAS, Mohammed V University, Rabat, Morocco
2 STIC Laboratory. Faculty of Sciences Chouaib Doukkali University, El Jadida, Morocco
3 High National School of Arts and Crafts (ENSAM), Mohammed V University, Rabat, Morocco
* e-mail: moustakim.medamine@gmail.com
** e-mail: tamou.nasser@ensias.um5.ac.ma
*** e-mail: elkamoun@gmail.com
**** e-mail: ahmed.essadki@ensam.um5.ac.ma
Published online: 30 June 2025
A designed electric load and energy forecasting is proposed for buildings. Two different forecasting models, one for electricity consumption (medium-term load forecasting MTLF) and another for electrical en- ergy (very short-term) are proposed, compared, and interpreted.
To feed those prediction models, and depending on dataset quality, two available online websites are chosen. Forecasting models are developed by PYTHON programming language, using various libraries dedicated to machine learning projects, such as ’TensorFlow’, ’Kiras’ and ’Scikit-learn’, and others for the visualization of results and data visualization like ’MatPlotLib’ and ’Seaborn’, and many other libraries. Because of the type of prediction based on time series, we used Long Short Term Memory (LSTM-type) neural network models.
The load forecasting model proposed in this study outperformed a previous engineering work on the same dataset. The proposed model achieved a minimal MAPE of 3.74% and a minimal RMSE that was approximately 20% lower than the engineer’s work. This article presents the proposed work and its results.
Simulation results are presented using Google collaboratory the hosted Jupyter Notebook service.
© The Authors, published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.