Research centre established by:

KTH, Stockholm University and RISE
A woman wearing glasses works with red and white cables connected to network equipment in a server room, reaching up to adjust or inspect a device on a rack.

AI-based self control for each distributed energy source

Researchers at KTH have developed an open-source artificial intelligence (AI) solution to counter the challenges posed by integrating renewable energy and electric vehicles (EVs) in power grids. The increasing reliance on variable sources like solar and wind, combined with the demand for charging EVs, creates voltage fluctuations and deviations, potentially leading to power grid failure. According to Qianwen Xu, Assistant Professor at KTH and a member of the Digital Futures Faculty, the inconsistency of wind power and solar radiation, coupled with unpredictable EV charging needs, introduces many uncertainties.

The team has introduced open-source deep reinforced learning (DRL) algorithms for power converters deep within the grid. These algorithms enable the coordination of energy sources on a large scale, optimizing the system’s performance in the face of fast fluctuations without real-time communication. The decentralized management approach of the solution ensures voltage levels are maintained within required limits, preventing detrimental effects on electrical equipment and overall grid stability.

The researchers have demonstrated the effectiveness of their solution in a real-world smart microgrid hardware platform at KTH. The open-source software package is available on GitHub, and the research paper has been published in the IEEE Transactions on Sustainable Energy. The work is part of Digital Futures collaborating with researchers from the University of California, Berkeley, and Stockholm University.

Learn more in this article on AI protects power grid from fluctuations caused by renewable power and EVs, by David Callahan at KTH.

Photo: Assistant Professor Qianwen Xu in her lab at the Department of Electric Power and Energy Systems, KTH Royal Institute of Technology (by David Callahan)

More news

A hand holds a mobile phone displaying a camera view of a presentation in a conference room.

Digital Futures Faculty Retreat focuses on research impact and the road ahead

25/11/2026

On 24–25 November, Digital Futures faculty gathered for a two-day retreat at Skogshem & Wijk...

Green circuit board with an ESP32-S3 microcontroller, two rotary knobs, four push-buttons, several indicator lights, and input/output ports.

From circuit board to classroom – Emil develops a low-cost platform for real-time signal processing

25/11/2026

How can advanced signal processing become more accessible to students and researchers? During the Digital...

A group of people sit at tables in a modern office space, with a presentation screen in the background displaying instructions for a workshop.

Helping postdocs shape their future careers

24/11/2026

Digital Futures brought together postdoctoral researchers from KTH and Stockholm University for a career development...

The European Commission building with a large vertical banner that reads DEMOCRACY and PROTECT WHAT MATTERS, featuring the EU flag stars.

Stockholm delegation brings vision for physical AI and urban innovation to Brussels

18/11/2026

How can European cities become large-scale testbeds for physical AI and urban innovation? This was...