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 group of people in formal attire stand outside a building, smiling and holding a long blue and yellow ribbon for a ribbon-cutting ceremony. Two banners are displayed behind them.

Stockholm invigde ny AI-sandlåda för framtidens hållbara städer – Stockholm Digital Sandbox

29/05/2026

Den 29 maj invigdes Stockholm Digital Sandbox och Stockholm Urban Innovation Lab vid Kristinehovs Malmgård...

A person stands in front of a screen giving a presentation. The slide reads, Women don’t need more sympathy. We need more engineering. A laptop sits on a small stand nearby. The setting appears to be an indoor meeting room.

Breakfast seminar highlighted new technology for Home-based Hormone Diagnostics

28/05/2026

On Thursday 28 May, researchers, students and guests gathered at the Digital Futures hub for...

People are seated at tables in a modern conference room, attentively listening to a presentation titled digital futures displayed on a large screen at the front. The atmosphere is professional and collaborative.

Swedish Ministry of Finance visits Digital Futures to discuss public sector digitalization

26/05/2026

On 25 May, around 20 representatives from the Unit for Digitalization of Public Administration at...

Digital Futures Faculty Workshop explores entrepreneurship, innovation, and societal impact

26/05/2026

On 21 May 2026, around 70 researchers, innovators, entrepreneurs, and invited guests gathered at the...