Time-Series Modeling and LLM-Based Agents for Peak Energy Management in Smart Campus Environments
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.
Authors
- Mohamed Tabaa (ORCID: https://orcid.org/0000-0003-3938-3566)
- Hassna Bensag
- Mossab Batal
- Youness Tace
- Sanaa El Filali
Institutions
- École Marocaine des Sciences de l'Ingénieur (MA)
- Université Hassan II Mohammedia (MA)
- University of Hassan II Casablanca (MA)
Publication Details
- Journal
- Sustainability
- Published
- 2026-01-15
- DOI
- https://doi.org/10.3390/su18020875
- Primary Topic
- Building Energy and Comfort Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00