Change search
Link to record
Permanent link

Direct link
Publications (9 of 9) Show all publications
Nammouchi, A. (2026). Intelligent Distributed Energy Systems: From Predictive Modeling to Explainable Decision-Making. (Doctoral dissertation). Karlstad: Karlstads universitet
Open this publication in new window or tab >>Intelligent Distributed Energy Systems: From Predictive Modeling to Explainable Decision-Making
2026 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

The growing scale and heterogeneity of distributed energy systems has increased the complexity of their operational energy management. These systems must operate reliably under limited data and exogenous uncertainty while satisfying technical, social, and economic constraints. Classical optimization provides strong theoretical guarantees but often relies on deterministic models and point forecasts. Conversely, learning-based methods offer adaptability and scalability but may lack explicit safety handling and explainability, which are critical for deployment in safety- and flexibility-critical energy infrastructures.

Consequently, this thesis establishes an uncertainty-aware Energy Management System (EMS) architecture that preserves feasibility across planning and execution while enabling safety-constrained and human-centric intelligent control. Within a unified layered EMS structure, we address (i) exogenous uncertainty in generation and load, (ii) epistemic uncertainty arising from limited data, and (iii) exploration-related uncertainty during policy learning while supporting prosumer-in-the-loop operation. We first develop robust optimization methods with flexible and asymmetric uncertainty sets to obtain less conservative schedules while maintaining feasibility guarantees and improving economic performance. We further establish a safety-constrained reinforcement learning framework and benchmarking environment that enable systematic evaluation of performance–safety trade-offs. Finally, building on the EMS planning layer, we introduce an explainability and interaction layer in which schedules are complemented with solver-grounded explanations and what-if analyses, supporting human-in-the-loop flexibility decisions.

By jointly advancing robustness, data-efficient forecasting, safety-constrained learning, and explainable decision support, this thesis contributes an integrated and trustworthy decision-making paradigm for decentralized energy systems.

Abstract [en]

As decentralized energy resources proliferate, energy management system (EMS) design needs to handle stochastic uncertainty, hard operational constraints, and stakeholder-oriented decision support. These requirements are often addressed in isolation, resulting in a lack of integrated approaches that jointly provide constraint satisfaction, scalable operation, and transparent decision rationales.This thesis advances a unified EMS design perspective spanning three coupled dimensions: (i) robustness to multi-dimensional uncertainty, (ii) constraint-aware adaptive control, and (iii) explainable, deployable decision support for prosumer engagement. Specifically, the thesis develops an end-to-end EMS stack combining edge–cloud coordination, uncertainty-aware scheduling, safe reinforcement learning, and generative-AI explanations grounded in the underlying optimization model. Validated across microgrid, building, and energy-community case studies, the thesis establishes an empirically grounded pathway toward trustworthy, intelligent energy systems capable of accelerating the energy transition.

Place, publisher, year, edition, pages
Karlstad: Karlstads universitet, 2026. p. 80
Series
Karlstad University Studies, ISSN 1403-8099 ; 2026:17
Keywords
Smart Grid, Microgrids, Robust Optimisation, Energy Management Systems, Human-Centric EMS, Safe Deep Reinforcement Learning
National Category
Computer Systems
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-108842 (URN)10.59217/sobi3217 (DOI)978-91-7867-680-4 (ISBN)978-91-7867-681-1 (ISBN)
Public defence
2026-03-27, 1B 306 (Fryxell Lecture hall), Karlstad, 10:15 (English)
Opponent
Supervisors
Available from: 2026-03-05 Created: 2026-02-18 Last updated: 2026-03-05Bibliographically approved
Nammouchi, A., Kassler, A., Ramaswamy, A. & Theocharis, A. (2026). SafeCityLearn: A Benchmark for Safety-Constrained Reinforcement Learning in Distributed Energy Systems. In: Ana Paula Rocha, Mattias Wahde and H. Jaap van den Herik (Ed.), Proceedings of the 18th International Conference on Agents and Artificial Intelligence - (Volume 1): . Paper presented at 18th International Conference on Agents and Artificial Intelligence 2026 - ICAART (March 5-8, 2026, in Marbella, Spain) (pp. 141-151). SciTePress, 1
Open this publication in new window or tab >>SafeCityLearn: A Benchmark for Safety-Constrained Reinforcement Learning in Distributed Energy Systems
2026 (English)In: Proceedings of the 18th International Conference on Agents and Artificial Intelligence - (Volume 1) / [ed] Ana Paula Rocha, Mattias Wahde and H. Jaap van den Herik, SciTePress, 2026, Vol. 1, p. 141-151Conference paper, Published paper (Refereed)
Place, publisher, year, edition, pages
SciTePress, 2026
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-108760 (URN)10.5220/0014463300004052 (DOI)2-s2.0-105035620508 (Scopus ID)978-989-758-796-2 (ISBN)
Conference
18th International Conference on Agents and Artificial Intelligence 2026 - ICAART (March 5-8, 2026, in Marbella, Spain)
Available from: 2026-02-18 Created: 2026-02-18 Last updated: 2026-04-27Bibliographically approved
Nammouchi, A., Aupke, P., Al-Kamachy, I., Theocharis, A. & Kassler, A. (2025). Instance-Based Transfer Learning for Short-Term Load Forecasting in Data-Scarce Buildings. In: 2025 IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT Europe): . Paper presented at IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE) 2025, October 20th – 23rd 2025.
Open this publication in new window or tab >>Instance-Based Transfer Learning for Short-Term Load Forecasting in Data-Scarce Buildings
Show others...
2025 (English)In: 2025 IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT Europe), 2025Conference paper, Published paper (Refereed)
Abstract [en]

Accurate short-term load forecasting is essential for energy-efficient building operations, however, many buildings lack sufficient historical data to train reliable predictive models. This paper investigates the use of instance-based transfer learning to improve forecasting performance in data-scarce buildings by reusing models trained on similar, data-rich buildings. We cluster buildings of various types based on their energy consumption profiles using dynamic time warping and hierarchical clustering. Within each cluster, we fine-tune XGBoost and LSTM models pretrained on source buildings (with sufficient data) to forecast the consumption in target buildings (with limited data) with access to increasing percentage of their original limited data of 7, 14, 21, 28, ... , 245 days. Our evaluation compares the performance against models trained from scratch using the same limited data. Our results show that transfer learning significantly improves forecasting accuracy in highly data-constrained settings, reducing RMSE by up to 40%. However, as more training data becomes available, its benefits diminish, and baseline models eventually outperform transferred ones beyond an average threshold of 140–168 days.

Keywords
Transfer Learning, Load Forecasting, Energy consumption Prediction, Data Scarcity, Cold start
National Category
Computer and Information Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-106761 (URN)10.1109/ISGTEurope64741.2025.11305264 (DOI)001685173600032 ()2-s2.0-105032510611 (Scopus ID)
Conference
IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE) 2025, October 20th – 23rd 2025
Available from: 2025-09-03 Created: 2025-09-03 Last updated: 2026-03-27Bibliographically approved
Nammouchi, A., Cuadrado, N., Ramaswamy, A. & Kassler, A. (2024). Multi-Objective Microgrid Control Using Deep Reinforcement Learning.
Open this publication in new window or tab >>Multi-Objective Microgrid Control Using Deep Reinforcement Learning
2024 (English)Report (Other academic)
Abstract [en]

Optimizing renewable energy usage in smart microgrids that contain photovoltaic production and battery storage is important due to the potential to reduce overall CO2 emissions and thus lead to more environmental friendly energy systems. However, due to the complex nature of energy management in smart grids and the volatile nature of energy production from PV systems, the problem is complex to solve. In this work we aim to optimize the energy in a microgrid comprising six houses using a digital twin based approach based on Deep Reinforcement Learning. We develop a Soft Actor-Critic (SAC) agent to address this intricate challenge, with the aim to simultaneously reduce emissions, maintain user comfort, while maximizing grid efficiency and resiliency to cope with spurious grid outages. We propose and evaluate different reward functions that guide the agent in finding its optimal policy. Furthermore, we discuss the implications of our results and outline potential future steps, envisioning ongoing refinement and advancements in our pursuit of optimal solutions for the complex interplay of severaal objectives in microgrid management.

Keywords
Renewable Energy Communities, Deep Reinforcement Learning, Energy Management
National Category
Computer Sciences Energy Systems
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-100855 (URN)
Projects
AI4ENERGY
Funder
Swedish Energy Agency, 50246-1
Available from: 2024-07-01 Created: 2024-07-01 Last updated: 2026-02-12
Nammouchi, A., Chaabani, C., Theocharis, A. & Kassler, A. (2024). Towards Explainable Renewable Energy Communities Operations Using Generative AI. In: Proceedings of IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE): . Paper presented at PES Innovative Smart Grid Technologies Europe (ISGT EUROPE), Dubrovnik, Croatia, October 14-17, 2024. (pp. 1-5). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Towards Explainable Renewable Energy Communities Operations Using Generative AI
2024 (English)In: Proceedings of IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE), Institute of Electrical and Electronics Engineers (IEEE), 2024, p. 1-5Conference paper, Published paper (Refereed)
Abstract [en]

Renewable Energy Communities (RECs), characterized by localized energy generation and consumption, are a key enabler for enhancing renewable energy utilization, cost-efficient planning and clean energy transition. However, optimizing RECs operations is challenging due to the complex interplay of different stakeholders with conflicting requirements. The complexity of managing such systems often leads to a lack of transparent and reliable decision-making, creating barriers for actors within the community. This paper explores the integration of Generative AI into Renewable Energy Communities (RECs) to enhance the transparency, explainability and accessibility of energy management systems (EMSs) that depend on solving optimization problems. We propose a novel framework, Chat-SGP, which uses generative AI to synthesize optimization modeling code to provide actionable, explainable insights for managing the REC operations. Our approach allows us to interact with the EMS through natural language queries, enhancing the system’s accessibility and user-friendliness. Our evaluation shows that using GPT-4 with in-context learning performs 96.72% accuracy on average in generating correct answers.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
Renewable Energy Communities, Interactive Planning Systems, Generative AI, Large Language Models, Multi-Agent
National Category
Computer Sciences
Research subject
Computer Science; Electrical Engineering
Identifiers
urn:nbn:se:kau:diva-103621 (URN)10.1109/isgteurope62998.2024.10863790 (DOI)001451133800411 ()2-s2.0-86000019811 (Scopus ID)979-8-3503-9042-1 (ISBN)979-8-3503-9042-1 (ISBN)
Conference
PES Innovative Smart Grid Technologies Europe (ISGT EUROPE), Dubrovnik, Croatia, October 14-17, 2024.
Available from: 2025-03-24 Created: 2025-03-24 Last updated: 2026-02-18Bibliographically approved
Nammouchi, A., Kassler, A. & Theocharis, A. (2023). Quantum Machine Learning in Climate Change and Sustainability: A Short Review. In: Christopher Geib, Ron Petrick (Ed.), Proceedings of the 2023 AAAI Fall Symposia: . Paper presented at AAAI Fall Symposia, Arlington, VA, USA, October 25-27,2023. (pp. 107-114). , 2, Article ID 1.
Open this publication in new window or tab >>Quantum Machine Learning in Climate Change and Sustainability: A Short Review
2023 (English)In: Proceedings of the 2023 AAAI Fall Symposia / [ed] Christopher Geib, Ron Petrick, 2023, Vol. 2, p. 107-114, article id 1Conference paper, Published paper (Refereed)
Abstract [en]

Climate change and its impact on global sustainability are critical challenges, demanding innovative solutions that combine cutting-edge technologies and scientific insights. Quantum machine learning (QML) has emerged as a promising paradigm that harnesses the power of quantum computing to address complex problems in various domains including climate change and sustainability. In this work, we survey existing literature that applies quantum machine learning to solve climate change and sustainability-related problems. We review promising QML methodologies that have the potential to accelerate decarbonization including energy systems, climate data forecasting, climate monitoring, and hazardous events predictions. We discuss the challenges and current limitations of quantum machine learning approaches and provide an overview of potential opportunities and future work to leverage QML-based methods in the important area of climate change research.

Keywords
Quantum Machine Learning, Climate Adaptation, Quantum Computing, Sustainability
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-99016 (URN)10.1609/aaaiss.v2i1.27657 (DOI)978-1-57735-885-5 (ISBN)
Conference
AAAI Fall Symposia, Arlington, VA, USA, October 25-27,2023.
Available from: 2024-03-25 Created: 2024-03-25 Last updated: 2026-02-12Bibliographically approved
Nammouchi, A., Stentati, M., Paoletti, S., Kassler, A. & Theocharis, A. (2023). Robust Operation of Energy Communities in the Italian Incentive System. In: 2023 IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE): . Paper presented at IEEE PES Innovative Smart Grid Technologies Europe, ISGT EUROPE, Grenoble, France, October 23-26, 2023.. Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Robust Operation of Energy Communities in the Italian Incentive System
Show others...
2023 (English)In: 2023 IEEE PES Innovative Smart Grid Technologies Europe (ISGT EUROPE), Institute of Electrical and Electronics Engineers (IEEE), 2023Conference paper, Published paper (Refereed)
Abstract [en]

In this paper, we address the optimal operation of energy communities, under energy production and consumption uncertainties. In the nominal case, the operational problem is formulated as the maximization of the profit of the community over a given time horizon. Inspired by the regulation adopted in Italy since 2020, the profit includes an incentive for the self-consumption realized at the community level in each time period. In the presence of uncertainties, we use a robust formulation aiming at maximizing the worst profit achievable when energy production and consumption deviate from their nominal values. The model results in a robust scheduling policy of battery charging/discharging, guaranteeing feasible operation of the community in all scenarios of the uncertainty set. On the other hand, numerical results show that the nominal scheduling policy may suffer from a high constraint violation probability.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2023
Keywords
Energy community, profit maximization, robust optimization
National Category
Electrical Engineering, Electronic Engineering, Information Engineering Computer Sciences
Research subject
Computer Science; Electrical Engineering
Identifiers
urn:nbn:se:kau:diva-99015 (URN)10.1109/ISGTEUROPE56780.2023.10408430 (DOI)2-s2.0-85187283866 (Scopus ID)979-8-3503-9678-2 (ISBN)979-8-3503-9679-9 (ISBN)
Conference
IEEE PES Innovative Smart Grid Technologies Europe, ISGT EUROPE, Grenoble, France, October 23-26, 2023.
Funder
Swedish Energy Agency, 50246-1
Available from: 2024-03-25 Created: 2024-03-25 Last updated: 2026-02-18Bibliographically approved
Nammouchi, A., Aupke, P., D’Andreagiovanni, F., Ghazzai, H., Theocharis, A. & Kassler, A. (2023). Robust opportunistic optimal energy management of a mixed microgrid under asymmetrical uncertainties. Sustainable Energy, Grids and Networks, 36, Article ID 101184.
Open this publication in new window or tab >>Robust opportunistic optimal energy management of a mixed microgrid under asymmetrical uncertainties
Show others...
2023 (English)In: Sustainable Energy, Grids and Networks, E-ISSN 2352-4677, Vol. 36, article id 101184Article in journal (Refereed) Published
Abstract [en]

Energy management within microgrids under the presence of large number of renewables such as photovoltaics is complicated due to uncertainties involved. Randomness in energy production and consumption make both the prediction and optimality of exchanges challenging. In this paper, we evaluate the impact of uncertainties on optimality of different robust energy exchange strategies. To address the problem, we present AIROBE, a data-driven system that uses machine-learning-based predictions of energy supply and demand as input to calculate robust energy exchange schedules using a multiband robust optimization approach to protect from deviations. AIROBE allows the decision maker to tradeoff robustness with stability of the system and energy costs. Our evaluation shows, how AIROBE can deal effectively with asymmetric deviations and how better prediction methods can reduce both the operational cost while at the same time may lead to increased operational stability of the system.

Place, publisher, year, edition, pages
Elsevier, 2023
Keywords
Decision making, Economics, Forecasting, Machine learning, Optimization, Smart power grids, System stability, Energy exchanges, Machine learning and AI, Machine-learning, Microgrid, Optimality, Renewable energies, Robust energy, Robust optimization, Smart grid, Uncertainty, Energy management
National Category
Energy Systems Energy Engineering Control Engineering
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-97466 (URN)10.1016/j.segan.2023.101184 (DOI)001098634800001 ()2-s2.0-85173811342 (Scopus ID)
Funder
Swedish Energy Agency, 50246-1SOLVE, 52693-1
Available from: 2023-11-22 Created: 2023-11-22 Last updated: 2026-04-30Bibliographically approved
Nammouchi, A., Aupke, P., Kassler, A., Theocharis, A., Raffa, V. & Di Felice, M. (2021). Integration of AI, IoT and Edge-Computing for Smart Microgrid Energy Management. In: Z, Leonowicz (Ed.), 2021 21St Ieee International Conference On Environment And Electrical Engineering And 2021 5Th Ieee Industrial And Commercial Power Systems Europe (Eeeic/I&Cps Europe): . Paper presented at 21st IEEE International Conference on Environment and Electrical Engineering / 5th IEEE Industrial and Commercial Power Systems Europe (EEEIC/I and CPS Europe), SEP 07-10, 2021, Politecnico Bari, Bari, ITALY. IEEE
Open this publication in new window or tab >>Integration of AI, IoT and Edge-Computing for Smart Microgrid Energy Management
Show others...
2021 (English)In: 2021 21St Ieee International Conference On Environment And Electrical Engineering And 2021 5Th Ieee Industrial And Commercial Power Systems Europe (Eeeic/I&Cps Europe) / [ed] Z, Leonowicz, IEEE, 2021Conference paper, Published paper (Refereed)
Abstract [en]

Towards zero CO2 emissions society, large shares of renewable energy sources and storage systems are integrated into microgrids as part of the electrical grids for energy exchange aiming to effectively reduce the stress from the transmission grid. However, energy management within and across microgrids is complicated due to many uncertainties such as imprecise knowledge on energy production and demand, which makes energy optimization challenging. In this paper, we present an open architecture that uses machine learning algorithms at the edge to predict energy consumption and production for energy management in smart microgrids. Such predictions are aggregated across different prosumers at a centralized marketplace in the Cloud using Kafka Streams and OpenSource IoT platforms. Using pluggable optimization algorithms, different microgrids can implement different strategies for real-time optimal energy schedules. The proposed architecture is evaluated in terms of scalability and accuracy of predictions. Our heuristics can effectively optimize medium-sized microgrids.

Place, publisher, year, edition, pages
IEEE, 2021
Keywords
artificial intelligence, internet of things, edge/cloud computing, machine learning, microgrids, smart grid, renewable energy, energy management systems
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:kau:diva-89811 (URN)10.1109/EEEIC/ICPSEurope51590.2021.9584756 (DOI)000784128100233 ()2-s2.0-85126480116 (Scopus ID)978-1-6654-3613-7 (ISBN)
Conference
21st IEEE International Conference on Environment and Electrical Engineering / 5th IEEE Industrial and Commercial Power Systems Europe (EEEIC/I and CPS Europe), SEP 07-10, 2021, Politecnico Bari, Bari, ITALY
Available from: 2022-05-18 Created: 2022-05-18 Last updated: 2026-04-30Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-5276-1763

Search in DiVA

Show all publications