Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • apa.csl
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Intelligent Distributed Energy Systems: From Predictive Modeling to Explainable Decision-Making
Karlstad University, Faculty of Health, Science and Technology (starting 2013), Department of Mathematics and Computer Science (from 2013). (DISCO)ORCID iD: 0000-0002-5276-1763
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. 57
Series
Karlstad University Studies, ISSN 1403-8099 ; 2026:17
Keywords [en]
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: urn:nbn:se:kau:diva-108842DOI: 10.59217/sobi3217ISBN: 978-91-7867-680-4 (print)ISBN: 978-91-7867-681-1 (electronic)OAI: oai:DiVA.org:kau-108842DiVA, id: diva2:2039907
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-06-11Bibliographically approved
List of papers
1. Integration of AI, IoT and Edge-Computing for Smart Microgrid Energy Management
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
2. Robust Operation of Energy Communities in the Italian Incentive System
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
3. Robust opportunistic optimal energy management of a mixed microgrid under asymmetrical uncertainties
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
4. Towards Explainable Renewable Energy Communities Operations Using Generative AI
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
5. Instance-Based Transfer Learning for Short-Term Load Forecasting in Data-Scarce Buildings
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
6. SafeCityLearn: A Benchmark for Safety-Constrained Reinforcement Learning in Distributed Energy Systems
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

Open Access in DiVA

fulltext(8608 kB)341 downloads
File information
File name FULLTEXT02.pdfFile size 8608 kBChecksum SHA-512
c3766963c1a27ec65c890ebd433e31afd2d9e80888573f21e3b5f146e3552734569b1c76f029a7875f666c1ced685a5ed0c9181e0efa222c4da5850cb50b904b
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Nammouchi, Amal

Search in DiVA

By author/editor
Nammouchi, Amal
By organisation
Department of Mathematics and Computer Science (from 2013)
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 341 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 7942 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • apa.csl
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf