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

Four people sit around a table with microphones and audio equipment, recording a podcast. They are engaged in conversation, with one man gesturing whilst speaking. The background features shelves with decor and a large photograph.

Researcher Anna Furberg featured in Ellevio podcast on AI, data centers, and the energy system – now on Spotify!

25/11/2025

Digital Futures researcher Anna Furberg is one of the featured guests in the latest episode...

A bald man wearing glasses and a dark shirt speaks on stage, holding a mobile phone and gesturing with his hand. Behind him is a vibrant, futuristic cityscape backdrop with blue tones and digital graphics. A glass of water is on the table beside him.

Physical AI can make Swedish companies global winners– when will Sweden get its first physical AI unicorn?

24/11/2025

“Our really big societal challenges require AI to be integrated with the physical world,” said...

A person with short light brown hair and round glasses, wearing a loose black top, speaks on stage holding a device, with a screen displaying text and buildings in the background.

Google’s XR boss: “We need to stop talking to AI”– when technology is faster than humans, new interaction is needed to take advantage of the opportunities

24/11/2025

At Digitalize in Stockholm, keynote speaker Mar Gonzalez-Franco said she believes that we have a...

A man in a suit, wearing glasses and a headset microphone, gestures while speaking on stage. He holds a mobile in one hand, with a presentation slide about mental health and AI visible in the background.

From VR operations to smart hospitals with 5G– Singapore and Ericsson are leading the way in the global healthcare revolution

21/11/2025

Autonomous AI was the focus of this year's Digitalize in Stockholm, with talks and discussions...