Genetic Algorithm-Based Optimization of Inverter Control Parameters for Grid-Connected Battery Energy Storage Systems
Background: Grid-connected battery energy storage systems (BESS) require current control that balances harmonic distortion and transient response across changing operating conditions. Aims: This study assessed whether genetic algorithm (GA) tuning of the dq-axis proportional–integral (PI) gains could improve inverter performance relative to conventional tuning. Methods: A 100 kW three-phase LCL-filtered inverter was modeled in MATLAB. Four PI gains were optimized on a combined active- and reactive-power step using a normalized objective comprising total harmonic distortion (THD), settling time, overshoot, and tracking error, with a constraint penalty. The best gains were evaluated across six scenarios (ten test cases); repeatability was assessed using 30 independent GA seeds. Two scenarios were cross-checked using a PWM voltage-source model in Simulink/Simscape Electrical. Results: At nominal conditions, THD decreased from 2.30% to 1.94%, settling time from 5.0 to 3.6 ms, and overshoot from 10.4% to 5.43% in the averaged model. THD decreased in all ten reported test cases, whereas settling time and overshoot improved in nine. However, during charge/discharge reversal, settling time increased from 4.2 to 24.7 ms and overshoot increased from 25.6% to 43.4%, revealing a substantial trade-off between harmonic reduction and transient performance. The Simscape cross-check reproduced the direction of THD and overshoot improvements but did not confirm the settling-time benefit. Conclusion: GA tuning improved current quality and most transient responses in the simulated system, but single-scenario tuning did not ensure satisfactory bidirectional transitions. Multi-scenario optimization and physical validation are needed before deployment.
Authors
- Priyadi Hartoko
- Erpan Sahiri
Institutions
- Sekolah Tinggi Teknologi Angkatan Laut (ID)
Publication Details
- Journal
- Journal of Renewable Energy and Smart Device
- Published
- 2026-11-26
- DOI
- https://doi.org/10.66314/joresd.v4i2.1829
- Primary Topic
- Microgrid Control and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00