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 person with wavy hair stands with arms folded in front of a blue and yellow racing car on a sunny day at a racetrack, with garages and empty grandstands in the background.

From KTH to the racetrack: Filippo takes autonomous racing to the next level at UC Berkeley

31/08/2026

This summer, KTH student Filippo Di Fiore has gained first-hand experience of cutting-edge autonomous racing...

Poster for Nordic AI Cup (17-20 Sept 2026). Open to Bachelors, Masters, and PhD students. Includes a QR code and logos for Ambolt AI and WASP. Text encourages building AI, competing, and networking.

The Nordic AI Cup

28/08/2026

The Nordic AI Cup aims to inspire the next generation of AI talent by giving students...

A woman with curly blonde hair, glasses, and a sleeveless grey top is standing in front of red curtains, looking at the camera and smiling slightly.

Gia Destouni elected Fellow of the International Academy of Artificial Intelligence Sciences

27/08/2026

Georgia (Gia) Destouni, Professor of Hydrology and Water Resources at Stockholm University and Guest Professor...

Four people stand on stage holding certificates in front of a screen displaying IFAC Foundation Kwon Award. The background includes event logos and blue lighting. All are dressed in business attire and smiling at the camera.

Angela Fontan and Karl H. Johansson receive IFAC Foundation Kwon Award

27/08/2026

Digital Futures researchers and faculty members Angela Fontan and Karl H. Johansson (KTH Royal Institute of...