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 stands next to a screen presenting on RED LINES about AI use that may harm women and gender minorities, with related news articles displayed. The room has wood panelling and empty chairs in front.

Designing Care, Refusing Harm: Feminist Perspectives on AI in Gendered Health

12/03/2026

Researchers and practitioners gathered at the Digital Futures hub on 10 March 2026 for the invitation-only workshop Designing...

A group of people stands and talks in a workshop filled with electronics, tools, and equipment on shelves and benches. Some listen attentively whilst others check their mobiles.

Greek Delegation visits Digital Futures to explore AI, cybersecurity and sustainable innovation

01/03/2026

On 20 February 2026, a delegation from the Greek Ministry of Data Governance visited Digital Futures for...

A man with a beard and short hair, wearing a grey zip-up jacket, stands smiling in front of a curtain covered with various handwritten mathematical symbols and equations.

Modelling the Digital – Climate Nexus: A Conversation with Charlie Wilson

12/02/2026

From January to March 2026, Digital Futures welcomes Charlie Wilson as Scholar in Residence, hosted...

A man in a grey shirt and jeans stands in a modern office corridor with wooden walls. A window labelled “digital future.” is visible beside him. Overhead lights and an emergency exit sign illuminate the space.

Paul Walton elected Foreign Member of the Royal Swedish Academy of Sciences

21/01/2026

Paul Walton, Scholar-in-Residence at Digital Futures from August to October 2025, has been elected Foreign Member...