Author
Listed:
- Mossab Batal
(Artificial Intelligence and Systems Laboratory (LIAS), FSBM, Hassan II University, Casablanca 20660, Morocco)
- Youness Tace
(Multidisciplinary Research and Innovation Laboratory (LPRI), EMSI Casablanca, Casablanca 20250, Morocco)
- Hassna Bensag
(Laboratory of Computer Science, Artificial Intelligence and Cyber Security (L2AICS), ENSET Mohammedia, Hassan II University, Casablanca 28830, Morocco)
- Sanaa El Filali
(Artificial Intelligence and Systems Laboratory (LIAS), FSBM, Hassan II University, Casablanca 20660, Morocco)
- Mohamed Tabaa
(Multidisciplinary Research and Innovation Laboratory (LPRI), EMSI Casablanca, Casablanca 20250, Morocco)
Abstract
A Smart campus increasingly operates on the basis of data-driven operations, but an increasing demand for energy puts their control over costs and sustainability at risk. This study addresses the challenge of anticipating and managing energy consumption peaks in multi-campus environments by proposing a hybrid framework that combines advanced time-series forecasting models with a large language model (LLM)-driven multi-agent system. Based on the UNICON dataset, LSTM, CNN, GRU, and a combination architecture are trained and compared in terms of MAE and RMSE. The hybrid configuration achieves the greatest forecasting results by returning the minimum loss values. For the identification of critical periods, we employed a strategy based on median thresholding, which offers a categorization into low, normal, and extreme category, allowing the targeting of peak mitigation actions. We also introduce a multi-agent system based on the LLM, including the data aggregator, the forecaster, and the policy advisor, which create actionable policies informed by context. We also compare LLMs (Qwen-2.5, Gemma-2, Phi-4, Mistral, Llama-3.3) in terms of context accuracy, response relevance, semantic similarity, and retrieval/recall accuracy and fidelity, with Llama-3.3 achieving the best overall results. This framework has shown great potential, not only for energy consumption forecasting but also for developing precise policies on how to effectively manage energy consumption peaks.
Suggested Citation
Mossab Batal & Youness Tace & Hassna Bensag & Sanaa El Filali & Mohamed Tabaa, 2026.
"Time-Series Modeling and LLM-Based Agents for Peak Energy Management in Smart Campus Environments,"
Sustainability, MDPI, vol. 18(2), pages 1-26, January.
Handle:
RePEc:gam:jsusta:v:18:y:2026:i:2:p:875-:d:1841029
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:18:y:2026:i:2:p:875-:d:1841029. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.