Frequency stability in an interconnected power system is fundamentally a balance between generated and consumed active power. In a conventional grid, synchronous machines provide immediate inertial response and then governor-based primary frequency regulation. As wind and solar generation displace synchronous units, the same load disturbance produces a higher rate of change of frequency (RoCoF), a deeper frequency nadir, and a longer recovery period. Battery energy storage can respond within milliseconds, but its energy reservoir is finite. For grid-scale energy battery storage, the control problem is therefore not simply to make the converter respond faster; it is to deliver the right mix of fast transient support and sustained frequency support without exhausting the state of charge (SOC).
A storage unit that supplies full inertial and droop power during every disturbance can reach its charge limit, exit frequency regulation, and cause a second frequency excursion. A conservative controller preserves SOC but may fail to arrest the first excursion. The design examined here addresses that trade-off through an SOC-adaptive combination of virtual inertia, virtual droop, and a separate SOC-recovery loop that operates inside the frequency deadband.

Reduced-order model of storage–grid interaction
For control design, the grid frequency response can be represented by a reduced-order swing equation. The frequency deviation ΔF(s) depends on conventional generation ΔPG(s), battery storage ΔPB(s), and load or renewable disturbance ΔPL(s):
$$\Delta F(s)=\frac{\Delta P_G(s)+\Delta P_B(s)-\Delta P_L(s)}{sM+D}$$
Here, M is system inertia, D is damping, and s is the Laplace operator. Conventional generation is modeled with a reheat steam turbine and governor transfer function:
$$\Delta P_G(s)=-K_G G_g(s)\Delta F(s)$$
$$G_g(s)=\frac{1+F_{HP}T_{RH}s}{(1+T_Gs)(1+T_{CH}s)(1+T_{RH}s)}$$
where KG is the conventional regulation gain, FHP is the reheat fraction, TG is the governor time constant, TCH is the turbine time constant, and TRH is the reheat time constant. The battery converter is represented by a first-order lag:
$$G_B(s)=\frac{1}{1+T_Bs}$$
$$\Delta P_B(s)=G_B(s)\left[\Delta P_{B1}(s)+\Delta P_{B2}(s)\right]$$
where TB is the storage response time constant, ΔPB1 is the inertial term, and ΔPB2 is the droop term. This structure preserves the essential control interaction: the storage output is filtered by converter dynamics, while the grid frequency is determined by the combined response of synchronous generation, storage, and load.
Deadband placement determines who responds first
Frequency deadbands are not a minor detail. They decide which resources act during small disturbances and how often storage is cycled. Consider two limiting cases. If the storage deadband equals the conventional-unit deadband, neither resource responds inside the deadband, and the frequency deviation is governed only by inertia and damping:
$$\Delta F_1(s)=-\frac{\Delta P_{L1}(s)}{sM+D}$$
If the storage deadband is narrower and placed inside the conventional deadband, conventional units remain inactive while storage responds. With an effective storage gain KB, the frequency deviation becomes:
$$\Delta F_2(s)=-\frac{\Delta P_{L2}(s)}{sM+D+K_BG_B(s)}$$
For the same load step, the second case has a larger effective damping denominator and therefore a smaller frequency deviation. A narrower storage deadband buys earlier support, but it also increases the number of charge–discharge events. In the simulated design, the conventional deadband was set to ±0.33 Hz and the storage deadband to 60% of that value, or approximately ±0.198 Hz. This is a deliberate reserve-allocation choice: storage acts before conventional units, but the SOC controller must prevent that advantage from becoming excessive cycling.
Adaptive allocation between inertia and droop
Virtual inertia responds to the derivative of frequency, while virtual droop responds to the frequency deviation itself:
$$\Delta P_{B1}=-M_E\frac{d\Delta f}{dt}$$
$$\Delta P_{B2}=-K_E\Delta f$$
Inertia is effective at limiting RoCoF and the initial frequency nadir. Droop is effective at reducing the steady-state frequency error. The two terms are not interchangeable. Inertial output can reverse after the frequency nadir and oppose recovery if it remains dominant. Droop cannot arrest the initial RoCoF, but it provides a sustained contribution that drives the frequency toward a new steady state. A fixed blend therefore cannot be optimal throughout the event.
The control law used here allocates output through time-varying weights:
$$\Delta P_B=\alpha_1\Delta P_{B1}+\alpha_2\Delta P_{B2},\qquad \alpha_1+\alpha_2=1$$
The weights α1 and α2 are adjusted from frequency deviation and RoCoF through a fuzzy rule base. The rule structure follows the physical phases of the disturbance rather than a fixed gain schedule:
| Frequency phase | Dominant term | Control objective |
|---|---|---|
| Early decline, before the nadir | Virtual inertia | Limit RoCoF and reduce the maximum frequency deviation |
| Approach to the nadir | Mixed inertia and droop | Avoid overshoot and premature reversal of storage output |
| Recovery toward steady state | Virtual droop | Reduce steady-state error and accelerate frequency restoration |
| Inside the deadband | SOC recovery | Return SOC toward its reference without unnecessary frequency cycling |
This phase-based allocation explains why the controller can outperform a fixed-gain strategy even when it does not produce the lowest nadir in every case. The objective is not a single metric but a combination of nadir, settling time, and SOC retention.
SOC recovery inside the deadband
Outside the deadband, frequency support has priority. Inside the deadband, the controller shifts to SOC management. The SOC range is divided into six zones bounded by SOCmin, SOC0, SOClow, SOChigh, SOC1, and SOCmax. Separate charge and discharge recovery coefficients are defined:
$$K_{d1}=K_{\max}f_d(SOC),\qquad K_{c1}=K_{\max}f_c(SOC)$$
The discharge coefficient Kd1 is reduced when SOC is low, and the charge coefficient Kc1 is reduced when SOC is high. The transition is smooth rather than a hard cut-off, so the storage unit does not abruptly withdraw from regulation at a threshold. The droop gain is selected according to the sign of the frequency deviation:
$$K_E=
\begin{cases}
K_{c2}, & \Delta f>0\\
K_{d2}, & \Delta f<0
\end{cases}$$
Outside the deadband, the charge and discharge gains are further shaped by the magnitude of the frequency deviation. Inside the deadband, a small restorative output charges or discharges the battery toward its reference SOC. That recovery term is intentionally gated by the deadband so that it does not compete with primary frequency response during a significant disturbance.
Simulation evidence
The control strategy was evaluated in a Matlab/Simulink model with a 1,000 MW system capacity, a 1 MW battery model, a 50 Hz base, and per-unit normalization. The conventional frequency deadband was ±0.33 Hz, and the storage deadband was 60% of the conventional value. The main simulation parameters are listed below.
| Parameter | Value |
|---|---|
| KG | 20 |
| TB | 0.05 s |
| FHP | 0.5 |
| TCH | 0.3 s |
| TG | 0.08 s |
| TRH | 10 s |
| D | 1 |
| M | 5 |
| Kmax | 20 |
Step disturbance
A 0.02 pu load step was applied with initial SOC values of 0.3 and 0.5. Four cases were compared: no storage, fixed droop gain, variable droop gain, and the SOC-adaptive inertial–droop strategy. The step-response metrics at initial SOC 0.3 are summarized below. Lower Δfmax and Δfss indicate better frequency containment; lower tm and ts indicate faster response.
| Control strategy | Δfmax / Hz | Δfss / Hz | tm / s | ts / s |
|---|---|---|---|---|
| No storage | 0.0837 | 0.0240 | 2.4 | 27.4 |
| Fixed K | 0.0739 | 0.0198 | 2.4 | 79.8 |
| Variable K | 0.0360 | 0.0238 | 1.9 | 260.0 |
| SOC-adaptive strategy | 0.0519 | 0.0221 | 2.2 | 129.8 |
The no-storage case has the deepest nadir, at 0.0837 Hz, but the shortest settling time because it has no stored-energy controller to recover. The variable-gain case achieves the lowest nadir, 0.0360 Hz, but takes 260 s to settle and draws heavily on stored energy. The SOC-adaptive strategy occupies an intermediate position: it does not produce the lowest nadir, but it reduces the nadir relative to fixed K and avoids the long settling tail of the aggressive variable-gain case.
The SOC behavior is more revealing than the frequency metrics alone. At an initial SOC of 0.5, the adaptive strategy and the variable-gain strategy produce similar storage output and similar SOC trajectories. At an initial SOC of 0.3, the adaptive strategy preserves more remaining capacity. A fixed-gain controller can drive SOC toward its lower limit at a nearly linear rate; if the limit is reached, the storage unit exits regulation and the frequency can suffer a secondary drop. The adaptive strategy reduces discharge gain as SOC falls, which sacrifices some initial frequency support but lowers the risk of forced withdrawal.
Continuous disturbance
Continuous disturbances were evaluated over 300 s and 1,800 s. Frequency performance was measured by the root-mean-square frequency deviation:
$$f_{RMS}=\sqrt{\frac{1}{N}\sum_{i=1}^{N}(f_i-f_{ref})^2}$$
SOC retention was measured by the root-mean-square SOC deviation:
$$SOC_{RMS}=\sqrt{\frac{1}{N}\sum_{i=1}^{N}(SOC_i-SOC_{ref})^2}$$
Lower values are better for both indices. The results are summarized below.
| Control strategy | fRMS, 5 min / Hz | SOCRMS, 5 min | fRMS, 30 min / Hz | SOCRMS, 30 min |
|---|---|---|---|---|
| No storage | 0.003541 | — | 0.00203 | — |
| Fixed K | 0.002818 | 0.205 | 0.00158 | 0.0513 |
| Variable K | 0.002822 | 0.0198 | 0.00137 | 0.0569 |
| SOC-adaptive strategy | 0.002759 | 0.1722 | 0.00154 | 0.0300 |
The continuous results do not support a simple claim that the adaptive strategy dominates every metric. Over 5 min, it produces the lowest frequency RMS, 0.002759 Hz, but its SOC RMS of 0.1722 is higher than the variable-gain value of 0.0198. Over 30 min, the adaptive strategy achieves the lowest SOC RMS, 0.0300, and a frequency RMS of 0.00154 Hz. That frequency result is slightly lower than fixed K at 0.00158 Hz but higher than variable K at 0.00137 Hz. The advantage is therefore strongest in long-duration SOC retention, not in every short-duration frequency metric.
What the results do and do not show
The evidence is simulation-based. It shows that an SOC-dependent allocation between inertia and droop can reduce the risk of overcharge or overdischarge while maintaining acceptable frequency containment. It does not establish field performance, converter-level limits, protection coordination, or battery degradation rates. SOC RMS is a control-level proxy for energy retention; it is not a direct measurement of capacity fade. A full degradation assessment would require cell temperature, cycle depth, charge–discharge rate, and electrochemical or semi-empirical aging models.
Several modeling choices also bound the conclusions. The deadband of ±0.33 Hz is specific to the simulated case and should not be treated as a universal grid-code setting. The fuzzy rule base is heuristic rather than provably optimal. The reported case uses a 1,000 MW system capacity and a 1 MW battery model, so the relative scaling of storage capacity should be checked before extrapolating the numerical results to a particular system. The controller also assumes that SOC is observable and that the converter can follow the requested power without violating current, voltage, or thermal limits.
Within those limits, the central design lesson is robust: a storage unit participating in primary frequency regulation needs at least two coordinated control layers. The first layer must provide fast active-power support during the disturbance. The second must manage energy inventory across the disturbance and the recovery period. Treating SOC as an after-the-fact limit is likely to produce either excessive cycling or an abrupt loss of regulation. Treating SOC as a continuous control variable allows the storage unit to trade a small amount of initial frequency support for a lower risk of exhaustion.
Design implications
For practical deployment, the deadband, gain schedule, and SOC zones should be tuned together. A storage deadband narrower than the conventional-unit deadband can improve early frequency support, but the added cycling must be valued against battery lifetime and round-trip efficiency. The inertial term should dominate only while the frequency is moving away from its reference; the droop term should take over as the frequency approaches its nadir and recovery phase. SOC recovery should remain a low-authority loop inside the deadband, not a competing primary-frequency controller.
Procurement and dispatch decisions should also avoid ranking controllers by a single frequency metric. The step results show that the lowest nadir can come with a long settling time and aggressive energy use. The continuous results show that short-window and long-window SOC behavior can rank controllers differently. A defensible evaluation should report frequency nadir, steady-state error, settling time, frequency RMS, and SOC RMS together, with the battery capacity and disturbance duration stated explicitly. That combination gives a clearer picture of whether a battery energy storage system is providing fast frequency support without compromising its available energy margin.
