Shaped MDPs for Safe Reinforcement Learning of Reactive-Current Injection During Voltage Sags in Inverter-Based Distributed Generation

Renewable energy sources (RESs) challenge grid stability due to their intermittency, particularly during transient disturbances. Voltage sags can rapidly degrade system performance, requiring prompt reactive-current injection to support voltage recovery. Fault ride-through strategies are therefore essential to maintain stable operation of inverter-based systems while complying with grid-code requirements. Traditional analytical and optimization-based methods rely on accurate models and adapt poorly to dynamic conditions. This study proposes a data-driven reinforcement learning (RL) controller, specifically Soft Actor–Critic, for voltage sags in three-phase inverter-based systems, without solving optimization problems. To satisfy grid-code requirements, the proposed method incorporates state-dependent constraints directly into the Markov decision process through transition-function shaping. This approach preserves the original RL algorithm and avoids tuning penalty coefficients. The RL controller follows the same trend as the optimization benchmark across different reference-power levels. The results show that under various severe voltage-sag conditions, the mean absolute error of the RL predictions relative to the optimization results remains below 0.5A. The controller also generalizes across a broader range of operating conditions and uses a simpler training structure than previous RL-based studies. In addition, laboratory experiments further demonstrate its effectiveness in supporting the grid during voltage sags.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-11-12
DOI
https://doi.org/10.3390/electronics15225247
Primary Topic
Microgrid Control and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Shaped MDPs for Safe Reinforcement Learning of Reactive-Current Injection During Voltage Sags in Inverter-Based Distributed Generation

Josué Duarte, Antonio Camacho, Cecilio Ángulo, Mohana Fathollahi
Electronics
Microgrid Control and Optimization
article

Shaped MDPs for Safe Reinforcement Learning of Reactive-Current Injection During Voltage Sags in Inverter-Based Distributed Generation

Josué Duarte, Antonio Camacho, Cecilio Ángulo, Mohana Fathollahi
article en

Abstract

Renewable energy sources (RESs) challenge grid stability due to their intermittency, particularly during transient disturbances. Voltage sags can rapidly degrade system performance, requiring prompt reactive-current injection to support voltage recovery. Fault ride-through strategies are therefore essential to maintain stable operation of inverter-based systems while complying with grid-code requirements. Traditional analytical and optimization-based methods rely on accurate models and adapt poorly to dynamic conditions. This study proposes a data-driven reinforcement learning (RL) controller, specifically Soft Actor–Critic, for voltage sags in three-phase inverter-based systems, without solving optimization problems. To satisfy grid-code requirements, the proposed method incorporates state-dependent constraints directly into the Markov decision process through transition-function shaping. This approach preserves the original RL algorithm and avoids tuning penalty coefficients. The RL controller follows the same trend as the optimization benchmark across different reference-power levels. The results show that under various severe voltage-sag conditions, the mean absolute error of the RL predictions relative to the optimization results remains below 0.5A. The controller also generalizes across a broader range of operating conditions and uses a simpler training structure than previous RL-based studies. In addition, laboratory experiments further demonstrate its effectiveness in supporting the grid during voltage sags.

ElectronicsVol. 15(22)
Universitat Politècnica de Catalunya (ES)
Affordable and clean energy, Industry, innovation and infrastructure
Microgrid Control and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon