This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:


trusted source


Researchers design open-source AI algorithms to protect power grid from fluctuations caused by renewables and EVs

AI protects power grid from fluctuations caused by renewables and EVs
The proposed embedded multi-agent DRL method. Credit: KTH Royal Institute of Technology

In order to prevent power grid failure in a society where electrification is supplied increasingly by variable sources like solar and wind, researchers in Sweden report the development of artificial intelligence algorithms intended to react swiftly when the network's voltage balance is threatened.

They may be better for the planet but when combined, renewable energy and may also destabilize power grids, setting in motion a range of problems from malfunctioning laptops to regional blackouts. That's because random variations in supply and demand place pressure on the network's capacity to maintain a steady voltage level.

It's this pressure that an AI solution was developed to address, says Qianwen Xu, a researcher at KTH Royal Institute of Technology in Stockholm.

"Wind power and are not consistent from hour to hour," Xu says. "And demand for charging EVs is based on people's personal needs and habits. So, you have a high level of stochastics and uncertainties. Their integration will lead to voltage fluctuations, deviations and even voltage security violation challenges."

The new open-source deep reinforced learning (DRL) algorithms are designed to solve this challenge by delivering intelligence for power converters deep in the grid, where they optimize large-scale coordination of energy sources safely under fast fluctuations without real-time communication, she says. The DRL provides a novel data synchronization strategy to deal with communication delay for data-driven algorithms.

"Centralized control is not cost-efficient or fast under continuous fluctuations of and electric vehicles," she says. "Our aim is an AI-based self control for each distributed energy source, which are interfaced by power converters."

AI protects power grid from fluctuations caused by renewables and EVs
Open-access AI algorithms have been developed to protect electrical grids from random fluctuations introduced by renewable energy and EVs. Pictured, Assistant Professor Qianwen Xu in her lab at the Department of Electric Power and Energy Systems, KTH Royal Institute of Technology. Credit: David Callahan CC by 2.0

The researchers demonstrated it in a real-world smart microgrid hardware platform at KTH. The open-source software package is published in GitHub, and the is reported in the journal IEEE Transactions on Sustainable Energy.

The solution's decentralized management approach would maintain voltage levels within certain required limits. Beyond that margin voltage fluctuations would risk a detrimental effect on the performance of electrical equipment as well as on the overall stability of the grid, Xu says.

Voltage deviations can lead to the inefficient operation of electrical devices, reduce their lifespan, and in extreme cases, cause damage to the grid infrastructure. More alarmingly, voltage security violations can lead to blackouts or the need for emergency interventions, such as load shedding or the use of reserve generators, to maintain grid stability, she says.

"Our purpose is to improve control strategies for , by making them more adaptive and intelligent in order to stabilize complex and changing ," Xu says.

This work is part of Digital Futures, a KTH-based research center that explores and develops digital technologies, along with researchers from University of California, Berkeley and Stockholm University.

More information: Mengfan Zhang et al, Data Driven Decentralized Control of Inverter based Renewable Energy Sources using Safe Guaranteed Multi-Agent Deep Reinforcement Learning, IEEE Transactions on Sustainable Energy (2023). DOI: 10.1109/TSTE.2023.3341632

Citation: Researchers design open-source AI algorithms to protect power grid from fluctuations caused by renewables and EVs (2024, February 28) retrieved 17 April 2024 from
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Smart devices to schedule electricity use may prevent blackouts


Feedback to editors