Baseline stability-oriented proximal policy optimization for energy storage in microgrids
Abstract
The increasing penetration of renewable energy in microgrids introduces power variability and supply-demand imbalance, making energy storage system (ESS) control important for stability-oriented operation. This study develops a reproducible baseline stability-oriented ESS control framework using proximal policy optimization (PPO) in a simplified PV, load, and ESS microgrid environment. The control problem is formulated as a continuous-action Markov decision process, where the agent observes load demand, PV generation, state of charge, net imbalance, and previous ESS command to generate bounded charge/discharge actions. The reward function penalizes residual power imbalance, SOC deviation, and abrupt command variation. The framework is implemented using MATLAB/Simulink and a function-based reinforcement learning environment, and a rule-based controller is included as a benchmark. Training results show that PPO improves episode reward from approximately -72.63 to an average reward of about -2.51 after 300 episodes. During evaluation, the simplified voltage-response indicator remained within 0.9985-1.0016 p.u, keeps SOC within 49.4830-50.0000%, and generates bounded ESS commands. Compared with the rule-based benchmark, PPO demonstrates feasible and bounded operation, although the rule-based controller achieves lower average residual imbalance in the simplified deterministic profile. These results establish a transparent baseline for future stability-oriented DRL-based ESS control studies.
Keywords
energy storage system; proximal policy optimization; reinforcement learning; rule-based benchmark; Stability-oriented dispatch; state-of-charge regulation
Full Text:
PDFDOI: http://doi.org/10.11591/ijpeds.v17.i4.pp2912-2923
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Citra Dewi, Ricky Maulana, Randi Purnama Putra

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.