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

Certificate awarding the CPS-IoT Week 2026 Test of Time Award to Patricia Derler, Edward A. Lee, Stavros Tripakis, and Martin Törngren for work on Cyber-physical System Design Contracts. Logos and signatures are visible.

Influential cyber-physical systems paper earns ICCPS Test-of-Time Award for Martin Törngren and co-authors

22/05/2026

Digital Futures faculty member Martin Törngren has been awarded the prestigious ICCPS Test-of-Time Award for the paper “Cyber-physical...

Aerial view of eight people standing on a rocky, forested cliff near water, looking up at the camera. Several drone devices and equipment are arranged on the ground in front of the group.

ALARS and ADAPCOS projects conclude with final presentations at Djurönäset

21/05/2026

Building on the collaboration between Digital Futures, Purdue University, Saab AB and Saab Inc, researchers and industry partners gathered at Djurönäset this...

Two presenters stand at the front of a room speaking to an audience. Behind them, a large screen displays an agenda with event details. The room has wood panelling and large windows.

Students and global business leaders convene at Digital Futures to redesign the future of talent

20/05/2026

International students, senior business leaders, and academic representatives gathered Tuesday at KTH Campus for the “Emerging Leaders...

Several small drones hover indoors in a spacious room with large windows, while two people stand in the background, slightly out of focus, engaged in conversation.

Drone Gymnasium explores new relationships between humans and autonomous technology

19/05/2026

A new video released by the Digital Futures research project Drone Gymnasium offers a glimpse into an...