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 woman with curly hair and glasses kneels in tall grass by a pond, smiling and writing in a notebook. Trees and a building are visible in the background under an overcast sky.

New study reveals critical shortfalls in global precipitation monitoring networks

25/03/2026

A new international study co-authored by Georgia Destouni, Professor of Hydrology and Water Resources at Stockholm University,...

A group of ten people, some in medical scrubs and others in business or casual attire, pose together in a hospital or university corridor with a sign reading University Hospital on the wall behind them.

Digital Futures and Region Stockholm visit the Intervention Centre in Oslo

24/03/2026

Representatives from Digital Futures—Annika Szabo Portela, Executive Director, and Urban Forssell, Head of AI Strategy...

A woman wearing a green cap and black shirt stands indoors, bathed in warm yellow-orange light, with curved modern architecture and large windows in the background.

Exploring Emotion AI and Justice: A Conversation with Nazanin Andalibi

19/03/2026

Nazanin Andalibi, currently a Scholar-in-Residence at Digital Futures, is an Associate Professor at the University...

A smiling man with glasses and a beard stands at a round black table in front of a glass wall with partially visible text “digital future.” A blackboard and a hanging light are in the background.

How technology and identity shape each other: A conversation with Oliver L. Haimson

16/03/2026

Oliver L. Haimson is a leading scholar in social computing and human–computer interaction whose work...