Research center
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 group of about 25 people stand together on a wooden decking in sunlight, posing and smiling for a group photo. A rust-coloured metal wall and bright blue sky are in the background.

A summer of research and exchange: Steffen Leonhardt at Digital Futures

16/09/2026

This summer, Professor Steffen Leonhardt from RWTH Aachen University joined Digital Futures as a Scholar-in-Residence...

Aerial view of Shanghai at sunset, featuring the Oriental Pearl Tower in the foreground and modern skyscrapers, including the Shanghai Tower, in the background.

Shanghai AI research and innovation delegation visits Digital Futures

15/09/2026

On 15 September, Digital Futures welcomed a delegation from the Shanghai Artificial Intelligence Research Institute (SAIRI) and...

Swiss Federal Communications Commission visits Digital Futures

10/09/2026

On 10 September, Digital Futures welcomed a delegation from the Swiss Federal Communications Commission (ComCom) for a...

A large red-brick building with towers and a courtyard filled with people sitting on grass and benches. Text reads Welcome to CASPT & Transit Data 2027, 21–24 June in Stockholm.

CASPT/Transit Data 2027 to bring public transport researchers and practitioners to Stockholm: Call for papers – submit by 16 October

08/09/2026

From 21–24 June 2027, Stockholm will host the 17th International Conference on Advanced Systems in Public...