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 glasses and a black shirt stands smiling with arms crossed in front of a glass wall displaying the words digital fut. A chalkboard covered in drawings and writing is visible to the left.

Advancing Parkinson’s research: Satarupa Chakrabarti on brain-based diagnostics and her time in Sweden

08/05/2026

Diagnosing Parkinson’s disease has long relied on observable symptoms—despite the disease originating in the brain....

A man in a suit speaks at a lectern in front of a large screen displaying the words Open Research Day and a colourful abstract image, inside a modern conference room.

Digital Futures Open Research Day 2026 showcases cross-sector collaboration and real-world challenges

07/05/2026

On 6 May 2026, researchers, industry representatives, and public sector partners gathered for the Digital Futures...

Four wooden Scrabble tiles on a table spell out the word PROOF, with a blurred green and white background of plants.

Digital Futures Launches First Proof-of-Concept Project Grants Call for 2026

28/04/2026

Digital Futures announces its first-ever call for Proof-of-Concept project grant applications, opening on April 28,...

A man with dark hair and a beard, wearing a white shirt and grey checked blazer, smiles outdoors with greenery in the blurred background.

Digital Futures researcher Jan Kronqvist awarded €30,000 Prize from the Ruth and Nils-Erik Stenbäck Foundation

23/04/2026

We are proud to announce that Digital Futures faculty member, researcher and Doctor of Science...