This paper presents a coordinated control of an ESS with a generator for analyzing and stabilizing a power plant by controlling the grid frequency deviation, ESS output power response, equipment active power, and state of charge (SoC) limitation of the ESS in a. This paper presents a coordinated control of an ESS with a generator for analyzing and stabilizing a power plant by controlling the grid frequency deviation, ESS output power response, equipment active power, and state of charge (SoC) limitation of the ESS in a. This study presents the use of a Battery Energy Storage System (BESS) and a thermal power plant to enhance Primary Frequency Regulation (PFR) in a power system. This integration seeks to mitigate operational challenges, such as the reduction in system inertia and frequency regulation, which are. Considering the controllability and high responsiveness of an energy storage system (ESS) to changes in frequency, the inertial response (IR) and primary frequency response (PFR) enable its application in frequency regulation (FR) when system contingency occurs. This paper presents a coordinated. Frequency regulation is the process of maintaining the stability of electrical frequency in power systems. It ensures that supply matches demand, preventing fluctuations.