This paper presents the results of development and verifi cation of a digital model of an automated control system for an energy storage system (ESS) as part of an autonomous hybrid power plant (AHPP). The ESS control system performs smoothing of a rapidly varying load applied to a diesel generator (DG). The study considers the impact of the ESS control system on AHPP operating parameters. The control algorithm operabil- ity was validated on a STM32 microcontroller during hardware-in- the-loop (HIL) simulation on a real-time machine.