Distributed BESS Frequency Control

I present a coordinated frequency-control architecture for large-scale distributed battery energy storage systems (BESSs) in a smart grid with high renewable penetration. My starting point is a practical observation: as synchronous thermal generation declines, the power system loses inertia and primary frequency support, while wind and solar resources increase the net-load variability that the load frequency control (LFC) loop must absorb. A distributed BESS controller therefore has to do more than inject power. It must respect state-of-charge (SOC) limits, charging and discharging limits, communication delays, and the physical constraints of the conventional power plant (CPP). I formulate the problem as a robust distributed LFC problem in which a sparse communication network connects BESS aggregators to individual BESS controllers, and in which a two-tier model predictive control (MPC) layer produces the reference signal for each BESS controller. I then add a fuzzy coordination layer that adjusts the CPP when the BESS controller response is delayed. The result is a control structure that reduces the area control error (ACE), keeps the frequency and tie-line power deviations within acceptable bounds, and avoids the dangerous over-frequency or under-frequency conditions that can arise when a delayed BESS controller command is executed without coordination.

The physical scale of the storage assets I consider is illustrated below.

I use the following notation. The set of control areas is \( \mathcal{M} \). Area \( i \) contains one CPP, one wind farm, and one BESS aggregator. The aggregator manages \( N_i^{B} \) distributed BESS units. The BESS controller in area \( i \) receives an ACE-based command from the aggregator and returns a measured power response. The communication graph is sparse: each BESS controller exchanges information only with a small set of neighbors, which keeps the communication burden low while preserving distributed observability of the area-level error.

Symbols and Roles in the Proposed BESS Controller

Symbol Meaning Role in the BESS controller design
\( \Delta f_i \) Frequency deviation in area \( i \) Primary regulated output of the LFC loop
\( \Delta P_{\mathrm{tie},i} \) Tie-line power deviation of area \( i \) Second component of ACE
\( \mathrm{ACE}_i \) Area control error Signal distributed to the CPP and the BESS aggregator
\( \Delta P_{\mathrm{AG},i} \) Aggregator output power Sum of individual BESS controller outputs
\( U_i^{B} \) Command from the aggregator to the BESS controller Decision variable of the MPC layer
\( \mathrm{SOC}_{i,b} \) State of charge of BESS \( b \) in area \( i \) Hard operating constraint for the BESS controller
\( \tau_b(t) \) Communication delay for BESS \( b \) Uncertainty handled by the fuzzy coordination layer
\( \Delta P_{m,i} \) CPP mechanical power deviation Coordinated with the BESS controller through fuzzy logic

I model the aggregator output as the sum of the individual BESS controller outputs:

$$
\Delta P_{\mathrm{AG},i}(k)=\sum_{b=1}^{N_i^{B}}\Delta P_{B,i,b}(k),\qquad i\in\mathcal{M}.
$$

For area \( i \), the frequency deviation satisfies the swing equation with aggregated inertia and damping:

$$
\dot{\Delta f}_i
=
\frac{1}{2H_i}\left(
\Delta P_{m,i}
+
\Delta P_{w,i}
+
\Delta P_{\mathrm{AG},i}
–
\Delta P_{L,i}
–
\Delta P_{\mathrm{tie},i}
–
D_i\Delta f_i
\right),
$$

where \( H_i \) is the inertia constant, \( D_i \) is the load damping coefficient, \( \Delta P_{L,i} \) is the load change, \( \Delta P_{w,i} \) is the wind-power change, and \( \Delta P_{\mathrm{tie},i} \) is the total tie-line power deviation. The tie-line term is

$$
\Delta P_{\mathrm{tie},i}
=
2\pi\sum_{j\in\mathcal{M},\,j\neq i}
T_{ij}\left(\Delta f_i-\Delta f_j\right),
$$

with \( T_{ij} \) the synchronizing torque coefficient of the tie line between areas \( i \) and \( j \). The ACE is the weighted sum of the tie-line deviation and the frequency deviation:

$$
\mathrm{ACE}_i=\Delta P_{\mathrm{tie},i}+\beta_i\Delta f_i,
$$

where \( \beta_i \) is the frequency bias factor. I allocate the ACE between the CPP and the BESS aggregator:

$$
\mathrm{ACE}_{G,i}=\sigma_{G,i}\mathrm{ACE}_i,\qquad
\mathrm{ACE}_{B,i}=\sigma_{B,i}\mathrm{ACE}_i,\qquad
\sigma_{G,i}+\sigma_{B,i}=1.
$$

The BESS controller receives \( \mathrm{ACE}_{B,i} \). The first-order BESS response with charging and discharging gains is

$$
\Delta P_{B,i,b}(s)
=
\frac{K_{B,i,b}}{1+T_{B,i,b}s}U_{i,b}(s),
$$

where \( K_{B,i,b} \) and \( T_{B,i,b} \) are the charging/discharging coefficient and time constant, respectively. In discrete time, and before the communication delay is applied, the BESS controller state form is

$$
\Delta P_{B,i,b}(k+1)
=
\left(1-\frac{\Delta t}{T_{B,i,b}}\right)\Delta P_{B,i,b}(k)
+
\frac{K_{B,i,b}\Delta t}{T_{B,i,b}}U_{i,b}(k).
$$

The BESS controller must respect power and energy limits:

$$
-P_{i,b}^{r,\mathrm{ch}}
\leq
\Delta P_{B,i,b}(k)
\leq
P_{i,b}^{r,\mathrm{dis}},
$$

$$
\mathrm{SOC}_{i,b}^{\min}
\leq
\mathrm{SOC}_{i,b}(k)
\leq
\mathrm{SOC}_{i,b}^{\max},
$$

where \( P_{i,b}^{r,\mathrm{ch}} \) and \( P_{i,b}^{r,\mathrm{dis}} \) are the rated charging and discharging powers. In my design, the BESS controller is allowed to charge when \( \mathrm{ACE}_{B,i} \) exceeds its upper limit and to discharge when \( \mathrm{ACE}_{B,i} \) falls below its lower limit. The SOC bounds prevent the BESS controller from being driven into an unsafe operating region. The nominal state-space model used by the inner BESS controller is

$$
z_i(k+1)=A_i z_i(k)+B_i U_i^{B,\mathrm{nom}}(k)+F_i d_i(k),
$$

$$
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k)=C_i z_i(k),
$$

where \( z_i(k) \) is the nominal state vector and \( U_i^{B,\mathrm{nom}}(k) \) is the nominal control signal. The actual system seen by the auxiliary BESS controller contains an additional uncertainty term:

$$
x_i(k+1)
=
A_i x_i(k)
+
B_i U_i^{B}(k)
+
F_i d_i(k)
+
L_i\Delta P_{w,i}(k),
$$

$$
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k)=C_i x_i(k).
$$

I treat the wind-power deviation as an additive disturbance. This is useful because the BESS controller does not need to know the exact wind-power realization; it only needs to keep the uncertain trajectory close to the nominal trajectory while satisfying the tightened constraints. The state vector includes the frequency deviation, the tie-line deviation, and the individual BESS controller outputs:

$$
x_i=
\begin{bmatrix}
\Delta f_i & \Delta P_{\mathrm{tie},i} & \Delta P_{B,i,1} & \cdots & \Delta P_{B,i,N_i^{B}}
\end{bmatrix}^{\mathsf{T}}.
$$

The system matrices have the following sparse structure:

$$
A_i=
\begin{bmatrix}
-\dfrac{D_i}{2H_i} & -\dfrac{1}{2H_i} & \dfrac{1}{2H_i} & \cdots & \dfrac{1}{2H_i}\\[6pt]
2\pi\displaystyle\sum_{j\in\mathcal{M},j\neq i}T_{ij} & 0 & 0 & \cdots & 0\\[6pt]
0 & 0 & 1-\dfrac{\Delta t}{T_{B,i,1}} & \cdots & 0\\[6pt]
\vdots & \vdots & \vdots & \ddots & \vdots\\[6pt]
0 & 0 & 0 & \cdots & 1-\dfrac{\Delta t}{T_{B,i,N_i^{B}}}
\end{bmatrix},
$$

$$
B_i=
\begin{bmatrix}
0 & 0 & \cdots & 0\\
0 & 0 & \cdots & 0\\
\dfrac{K_{B,i,1}\Delta t}{T_{B,i,1}} & 0 & \cdots & 0\\
0 & \dfrac{K_{B,i,2}\Delta t}{T_{B,i,2}} & \cdots & 0\\
\vdots & \vdots & \ddots & \vdots\\
0 & 0 & \cdots & \dfrac{K_{B,i,N_i^{B}}\Delta t}{T_{B,i,N_i^{B}}}
\end{bmatrix}.
$$

The output matrix \( C_i \) extracts the ACE components, and the disturbance matrix \( F_i \) maps the load and wind disturbances into the state equation. I keep these matrices sparse so that each local BESS controller solves a small optimization problem and the aggregator only needs neighbor information.

Two-Tier MPC Structure of the BESS Controller

I use a two-tier MPC structure. The inner tier is a nominal BESS controller. It predicts the nominal ACE and computes a nominal control sequence by minimizing

$$
\min_{U_i^{B,\mathrm{nom}}}
\sum_{k=0}^{p-1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{ref}}
\right]^{\mathsf{T}}
Q_{\mathrm{ACE},i,1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{ref}}
\right]
+
\sum_{k=0}^{c-1}
\left[\Delta U_i^{B,\mathrm{nom}}(k)\right]^{\mathsf{T}}
Q_{U,i,1}
\left[\Delta U_i^{B,\mathrm{nom}}(k)\right],
$$

subject to the tightened constraints

$$
U_i^{B,\min}+\alpha\delta_i
\leq
U_i^{B,\mathrm{nom}}(k)
\leq
U_i^{B,\max}-\alpha\delta_i,
$$

$$
\mathrm{ACE}_{i}^{B,\min}+\alpha\delta_i
\leq
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k)
\leq
\mathrm{ACE}_{i}^{B,\max}-\alpha\delta_i,
$$

$$
-P_{i,b}^{r,\mathrm{ch}}+\alpha\delta_i
\leq
\Delta P_{B,i,b}^{\mathrm{nom}}(k)
\leq
P_{i,b}^{r,\mathrm{dis}}-\alpha\delta_i,
$$

$$
\mathrm{SOC}_{i,b}^{\min}+\alpha\delta_i
\leq
\mathrm{SOC}_{i,b}^{\mathrm{nom}}(k)
\leq
\mathrm{SOC}_{i,b}^{\max}-\alpha\delta_i.
$$

Here \( \alpha\in(0,1) \) is a tightening factor, \( p \) is the prediction horizon, and \( c \) is the control horizon. The nominal BESS controller is intentionally conservative. It reserves margin so that the auxiliary BESS controller can correct the trajectory when the actual system deviates from the nominal model. The auxiliary tier minimizes the deviation between the actual ACE and the nominal ACE while penalizing the difference between the actual and nominal control signals:

$$
\min_{U_i^{B,\mathrm{act}}}
\sum_{k=0}^{p-1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]^{\mathsf{T}}
Q_{\mathrm{ACE},i,2}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]
+
\sum_{k=0}^{c-1}
\left[
U_i^{B,\mathrm{act}}(k)
–
U_i^{B,\mathrm{nom}}(k)
\right]^{\mathsf{T}}
Q_{U,i,2}
\left[
U_i^{B,\mathrm{act}}(k)
–
U_i^{B,\mathrm{nom}}(k)
\right],
$$

subject to the original constraints

$$
U_i^{B,\min}
\leq
U_i^{B,\mathrm{act}}(k)
\leq
U_i^{B,\max},
\qquad
\mathrm{ACE}_{i}^{B,\min}
\leq
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k)
\leq
\mathrm{ACE}_{i}^{B,\max},
$$

$$
-P_{i,b}^{r,\mathrm{ch}}
\leq
\Delta P_{B,i,b}^{\mathrm{act}}(k)
\leq
P_{i,b}^{r,\mathrm{dis}},
\qquad
\mathrm{SOC}_{i,b}^{\min}
\leq
\mathrm{SOC}_{i,b}^{\mathrm{act}}(k)
\leq
\mathrm{SOC}_{i,b}^{\max}.
$$

The auxiliary BESS controller is the part of the architecture that gives robustness. It does not try to erase the nominal trajectory. Instead, it computes a tube around the nominal trajectory and keeps the actual trajectory inside that tube while respecting the original constraints. The control sequence delivered to the plant is \( U_i^{B,\mathrm{act}} \). I express the aggregated objective used to tune both tiers as

$$
\min_{Q_{\mathrm{ACE},i,r},Q_{U,i,r}}
\int_{0}^{T_f}
\left[\Delta f_i(t)\right]^2dt
+
\int_{0}^{T_p}
\left[\Delta P_{\mathrm{tie},i}(t)\right]^2dt,
$$

subject to

$$
Q_{\mathrm{ACE},i,r}^{\min}
\leq
Q_{\mathrm{ACE},i,r}
\leq
Q_{\mathrm{ACE},i,r}^{\max},
\qquad
Q_{U,i,r}^{\min}
\leq
Q_{U,i,r}
\leq
Q_{U,i,r}^{\max},
\qquad r\in\{1,2\}.
$$

I solve this tuning problem offline with a sine-cosine search. The search finds weights that reduce the frequency deviation and the tie-line power deviation without making the BESS controller aggressive enough to violate the SOC or power constraints. The following table summarizes representative weights I use in the simulation study.

Weighting Coefficients Used by the Nominal and Auxiliary BESS Controller

Tier \( Q_{\mathrm{ACE}} \) \( Q_{U} \) Purpose
Nominal, area 1 0.7065 0.8441 Track the nominal ACE reference with moderate control effort
Nominal, area 2 1.0025 0.6937 Increase ACE penalty where the BESS aggregator is more responsive
Nominal, area 3 0.5008 1.1170 Limit control chattering in the smaller BESS aggregator
Auxiliary, area 1 0.8320 0.4322 Correct the actual trajectory with low control deviation penalty
Auxiliary, area 2 1.2036 0.6312 Suppress the effect of wind-power uncertainty
Auxiliary, area 3 0.7955 0.4637 Preserve SOC margin while tracking the nominal trajectory

The two-tier MPC law can be written compactly as a composite BESS controller:

$$
U_i^{B}(k)
=
\Psi_{\mathrm{MPC}}
\left(
z_i(k),x_i(k),\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k),\mathrm{ACE}_{i}^{B,\mathrm{act}}(k),
\mathcal{U}_i,\mathcal{X}_i
\right),
$$

where \( \Psi_{\mathrm{MPC}} \) denotes the solution map of the nominal and auxiliary optimization problems, \( \mathcal{U}_i \) is the admissible control set, and \( \mathcal{X}_i \) is the admissible state set. In this way, the BESS controller combines constraint satisfaction with disturbance rejection. Each BESS controller solves its own local problem, and the aggregator only coordinates the ACE allocation and the sparse neighbor exchange.

Sparse Communication and Robust LFC

I organize the BESS controllers over a sparse graph \( \mathcal{G}=(\mathcal{V},\mathcal{E}) \). The vertex set \( \mathcal{V} \) contains the aggregator and the distributed BESS controllers. The edge set \( \mathcal{E} \) contains only the communication links that are necessary for the distributed LFC loop. Let \( \mathcal{N}_i \) be the neighbor set of the BESS controller in area \( i \). I use a weighted consensus variable \( \hat{\mathrm{ACE}}_i \) to estimate the area-level error:

$$
\hat{\mathrm{ACE}}_i(k+1)
=
\hat{\mathrm{ACE}}_i(k)
+
\epsilon
\sum_{j\in\mathcal{N}_i}
a_{ij}
\left[
\hat{\mathrm{ACE}}_j(k)
–
\hat{\mathrm{ACE}}_i(k)
\right]
+
\epsilon
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k)
–
\hat{\mathrm{ACE}}_i(k)
\right],
$$

where \( a_{ij} \) is the adjacency weight and \( \epsilon>0 \) is the consensus step size. The Laplacian matrix \( \mathcal{L} \) is defined by

$$
\mathcal{L}_{ij}
=
\begin{cases}
\displaystyle\sum_{j\in\mathcal{N}_i}a_{ij}, & i=j,\\[6pt]
-a_{ij}, & j\in\mathcal{N}_i,\\[6pt]
0, & \text{otherwise}.
\end{cases}
$$

For a connected and undirected sparse graph, the consensus error decays if \( 0<\epsilon<1/\lambda_{\max}(\mathcal{L}) \). This condition is important for the BESS controller because the ACE estimate is the input to the MPC layer. If the consensus step is too large, the distributed estimate oscillates and the BESS controller reacts to a spurious ACE. If the step is too small, the BESS controller responds too slowly. I choose \( \epsilon \) from the graph spectrum and verify the closed-loop damping in simulation.

Communication delay enters the BESS controller through the delayed command

$$
U_{i,b}^{\mathrm{delay}}(k)
=
U_{i,b}^{B}\left(k-\tau_b(k)\right),
$$

where \( \tau_b(k) \) is a bounded time-varying delay. I assume

$$
0\leq\tau_b(k)\leq\tau_{\max},
\qquad
\left|\tau_b(k+1)-\tau_b(k)\right|\leq\Delta\tau_{\max}.
$$

The delayed command can create a mismatch between the ACE that the BESS controller intended to correct and the ACE that the grid actually experiences. In the worst case, the BESS controller continues to discharge when the frequency has already recovered, or it continues to charge when the frequency has already fallen below the lower limit. The two-tier MPC layer suppresses this mismatch, but it cannot remove the effect of a long delay by itself. For that reason, I add the fuzzy coordination layer described next.

Fuzzy Coordination Between the BESS Controller and the CPP

The fuzzy coordinator monitors the BESS aggregator output \( \Delta P_{\mathrm{AG},i} \) and the CPP ACE command \( \mathrm{ACE}_{G,i} \). It adjusts the proportional and integral gains of the CPP controller. The aim is not to replace the BESS controller. The aim is to prevent the CPP from over-reacting when the BESS controller is delayed. When the delay is short, the BESS controller handles most of the fast ACE component and the fuzzy coordinator keeps the CPP gain close to its nominal value. When the delay is long, the fuzzy coordinator increases the CPP contribution carefully so that the frequency does not drift outside the acceptable band. The PI control law for the CPP is

$$
\Delta P_{m,i}(k)
=
k_{p,i}(k)\mathrm{ACE}_{G,i}(k)
+
k_{i,i}(k)\sum_{h=0}^{k}\mathrm{ACE}_{G,i}(h)\Delta t,
$$

where \( k_{p,i}(k) \) and \( k_{i,i}(k) \) are adjusted online. I define the normalized fuzzy inputs

$$
e_{1,i}(k)=k_1\Delta P_{\mathrm{AG},i}(k),
\qquad
e_{2,i}(k)=k_2\mathrm{ACE}_{G,i}(k),
\qquad
e_{3,i}(k)=k_3\left[\mathrm{ACE}_{G,i}(k)-\mathrm{ACE}_{G,i}(k-1)\right].
$$

The input membership functions are negative (N), zero (Z), and positive (P). The output membership functions are large negative (LN), small negative (SN), zero (ZR), small positive (SP), and large positive (LP). The scaling factors \( k_1,k_2,k_3 \) map the physical signals into the normalized fuzzy universe, and the de-normalization factors \( k_4,k_5 \) map the fuzzy output back to the gain adjustment. I use a rule base of the form:

$$
\text{If } e_{1,i}\text{ is }A_1\text{ and }e_{2,i}\text{ is }A_2\text{ and }e_{3,i}\text{ is }A_3
\text{ then }\Delta k_{p,i}\text{ is }B_1\text{ and }\Delta k_{i,i}\text{ is }B_2.
$$

The rule base is designed so that a large BESS aggregator output with a small CPP ACE keeps the CPP gain low, whereas a small BESS aggregator output with a large CPP ACE increases the CPP gain. When the BESS controller is late, the CPP ACE can remain large even though the BESS aggregator has already received a command. The fuzzy coordinator detects this mismatch and raises the CPP gain only enough to preserve frequency support. Representative rules are shown in the following table.

Representative Fuzzy Rules for Coordinating the BESS Controller and the CPP

\( e_{1,i} \) \( e_{2,i} \) \( e_{3,i} \) \( \Delta k_{p,i} \) \( \Delta k_{i,i} \)
N N N SN SN
N Z Z ZR ZR
N P P SP SP
Z N Z SN ZR
Z Z N ZR SN
Z P P ZR SP
P N N SP ZR
P Z Z SP SP
P P P LP LP

The remaining rules follow the same monotone logic: as the CPP ACE and its rate of change increase while the BESS aggregator output is insufficient, the fuzzy output moves toward SP or LP. As the BESS aggregator output becomes large and the CPP ACE becomes small, the fuzzy output moves toward SN or ZR. The rule surface is smooth, which avoids gain chattering. In my tuning, the best performance is obtained with \( k_1=0.41 \), \( k_2=0.65 \), \( k_3=0.29 \), \( k_4=0.37 \), and \( k_5=0.84 \). The fuzzy coordinator produces the gain corrections

$$
k_{p,i}(k)=k_{p,i}^{0}+k_4\Delta k_{p,i}(k),
\qquad
k_{i,i}(k)=k_{i,i}^{0}+k_5\Delta k_{i,i}(k),
$$

where \( k_{p,i}^{0} \) and \( k_{i,i}^{0} \) are the nominal PI gains. The CPP command is then computed from the adjusted PI law. This is the key coordination mechanism: the BESS controller remains the fast device, but the CPP is allowed to help when the BESS controller is delayed.

Simulation Setup and Parameter Summary

I test the architecture on a modified IEEE 39-node system with three control areas. Each area contains a wind farm and a BESS aggregator. Area 1 and area 2 contain two aggregators with capacities of 4.68 MW·h and 5.25 MW·h, and each aggregator manages five distributed BESS controllers. The individual BESS rating is 500 kW for charging and 500 kW for discharging. The ACE allocation is \( \sigma_{G,i}=0.6 \) and \( \sigma_{B,i}=0.4 \). The ACE deadband is 0.01 p.u. The MPC prediction horizon is 20 steps, the control horizon is 2 steps, and the sampling interval is 0.1 s. The nominal BESS controller uses constraints tightened to 80% of the original admissible set. I initialize the SOC between 49% and 75% so that the BESS controller has room to charge and discharge during the load-step events.

Distributed BESS Parameters Used in the Study

Area BESS \( K_{B}^{\mathrm{ch}} \) \( K_{B}^{\mathrm{dis}} \) \( T_{B} \) (s) Initial SOC Capacity (MW·h)
1 1 25.00 0.5 1.00 60% 1.00
1 2 22.50 0.4 0.88 60% 0.88
1 3 24.50 0.9 0.81 58% 0.81
1 4 28.00 0.7 0.99 50% 0.99
1 5 27.00 0.8 0.96 70% 0.96
2 6 23.75 0.2 0.93 62% 0.93
2 7 30.00 0.6 1.16 49% 1.16
2 8 28.75 0.5 1.17 53% 1.17
2 9 21.25 0.7 0.99 68% 0.99
2 10 20.00 0.3 0.96 75% 0.96

I use three performance indices. The root-mean-square frequency deviation is

$$
\mathrm{RMS}(\Delta f_i)
=
\sqrt{
\frac{1}{T_s}\int_{0}^{T_s}\left[\Delta f_i(t)\right]^2dt
},
$$

the root-mean-square tie-line deviation is

$$
\mathrm{RMS}(\Delta P_{\mathrm{tie},i})
=
\sqrt{
\frac{1}{T_s}\int_{0}^{T_s}\left[\Delta P_{\mathrm{tie},i}(t)\right]^2dt
},
$$

and the integral of time-weighted squared error is

$$
\mathrm{ITSE}
=
\int_{0}^{T_s}
t\left[
\left(\Delta f_i(t)\right)^2
+
\left(\Delta P_{\mathrm{tie},i}(t)\right)^2
\right]dt.
$$

I compare three cases: the auxiliary MPC with the fuzzy coordinator, the auxiliary MPC without the fuzzy coordinator, and conventional single-layer MPC. The first case uses the full BESS controller architecture. The second case isolates the effect of the two-tier MPC. The third case is the benchmark. I apply a 10 MW load increase in area 1 at 10 s and a 10 MW load decrease in area 2 at 30 s. I then repeat the study with a 20 MW load increase in area 1 and a 20 MW load increase in area 2 under communication delays of 0 s, 0.5 s, 1.0 s, and 1.5 s. The following table summarizes the delay sensitivity.

Performance Indices Under Variable Communication Delay

Method \( \tau \) (s) RMS \( \Delta f_1 \) (Hz) RMS \( \Delta f_2 \) (Hz) RMS \( \Delta f_3 \) (Hz) RMS \( \Delta P_{\mathrm{tie},1} \) (p.u.) RMS \( \Delta P_{\mathrm{tie},2} \) (p.u.) RMS \( \Delta P_{\mathrm{tie},3} \) (p.u.) ITSE
Auxiliary MPC + fuzzy coordinator 0 0.0350 0.0375 0.0380 0.0261 0.0133 0.0130 0.6600
Auxiliary MPC + fuzzy coordinator 0.5 0.0386 0.0400 0.0382 0.0271 0.0142 0.0139 0.7530
Auxiliary MPC + fuzzy coordinator 1.0 0.0430 0.0460 0.0440 0.0310 0.0171 0.0160 0.8394
Auxiliary MPC + fuzzy coordinator 1.5 0.0450 0.0490 0.0480 0.0340 0.0180 0.0170 0.9300
Auxiliary MPC 0 0.0438 0.0528 0.0530 0.0360 0.0220 0.0170 1.0120
Auxiliary MPC 0.5 0.0440 0.0542 0.0553 0.0360 0.0210 0.0160 1.0320
Auxiliary MPC 1.0 0.0460 0.0560 0.0568 0.0373 0.0225 0.0161 1.0800
Auxiliary MPC 1.5 0.0481 0.0580 0.0581 0.0384 0.0233 0.0166 1.1135
Conventional MPC 0 0.0573 0.0608 0.0592 0.0410 0.0231 0.0215 1.6800
Conventional MPC 0.5 0.0591 0.0621 0.0594 0.0452 0.0227 0.0232 1.8797
Conventional MPC 1.0 0.0650 0.0694 0.0678 0.0476 0.0260 0.0236 1.9800
Conventional MPC 1.5 0.0661 0.0695 0.0681 0.0485 0.0256 0.0257 2.2100

The results show a consistent pattern. The auxiliary MPC with the fuzzy coordinator gives the lowest RMS frequency deviation and the lowest tie-line power deviation in every area and at every delay. The auxiliary MPC alone is better than conventional MPC, which confirms that the two-tier BESS controller is useful even without coordination. The fuzzy coordinator adds another improvement, especially at delays of 1.0 s and 1.5 s. At a delay of 1.5 s, the RMS frequency deviation in area 1 is 0.0450 Hz with the fuzzy coordinator, compared with 0.0481 Hz for the auxiliary MPC alone and 0.0661 Hz for conventional MPC. The ITSE falls from 2.2100 in the conventional case to 0.9300 in the coordinated case. This is a substantial reduction in the time-weighted error, which means that the coordinated BESS controller recovers the frequency faster and with fewer oscillations.

I also examine the aggregator output power. The proposed BESS controller responds faster and reaches a higher power level without exceeding the rated charging or discharging power. Conventional MPC is more conservative, but it is also slower. The BESS controller with the two-tier structure uses the available headroom more effectively, so the aggregator can provide more energy during the transient and recover the SOC afterward. The individual BESS controllers do not all contribute equally. Units with a higher charging/discharging coefficient and a lower time constant respond more strongly. Units with a higher time constant and a lower charging/discharging coefficient contribute less. This is desirable because the aggregator can distribute the ACE among heterogeneous BESS controllers according to their dynamic capability.

I further test the response to a 20 MW load increase in area 2 with a 1 s communication delay. The conventional MPC exhibits a larger overshoot and a longer settling time. The auxiliary MPC reduces the overshoot but still has a visible mismatch between the actual ACE and the nominal ACE. The auxiliary MPC with the fuzzy coordinator reduces both the overshoot and the mismatch. The CPP output is increased only when the BESS aggregator output is insufficient, so the coordinated response avoids the case in which the CPP and the BESS controller both over-react. I observe the same behavior when the delay is increased to 10 s for a stress test. The fuzzy coordinator keeps the frequency deviation within a narrower band than the uncoordinated case. The BESS controller still contributes, but the CPP assumes a larger share of the slow ACE component. This division of labor is exactly what the coordination layer is designed to achieve.

Robustness to Wind and Tie-Line Uncertainty

I model wind-power uncertainty and tie-line uncertainty as bounded additive disturbances. The uncertainty bound is set to 2% of the absolute value of the corresponding signal. I apply a 10 MW load increase in area 1 and compare the frequency deviation and tie-line power deviation under the proposed BESS controller and conventional MPC. The proposed BESS controller keeps the actual trajectory close to the nominal trajectory. The auxiliary tier corrects the trajectory when the disturbance pushes the state toward the constraint boundary. Conventional MPC has no explicit tube and therefore reacts later. The robust margin of the proposed BESS controller is visible in the reduced peak deviation and the shorter recovery time. The SOC constraint is never violated, and the charging/discharging power remains within the rated limits. This confirms that the tube-based BESS controller can handle bounded wind and tie-line uncertainty without sacrificing constraint satisfaction.

I summarize the comparison in the following table. The table is qualitative in the first columns and quantitative in the last columns.

Comparison of the Proposed BESS Controller With Benchmark Controllers

Controller Constraint handling Disturbance rejection Delay coordination Frequency RMS Tie-line RMS SOC safety
Conventional single-layer MPC Yes, but no tube margin Limited No explicit coordination Highest Highest Yes, but conservative
Auxiliary MPC without fuzzy coordination Yes, with tightened nominal constraints Good Partial Moderate Moderate Yes
Auxiliary MPC with fuzzy coordination Yes, with tube margin and online CPP adjustment Best Explicit Lowest Lowest Yes, with more useful headroom

The quantitative results support the qualitative comparison. For the 1.5 s delay case, the coordinated BESS controller reduces the area 1 frequency RMS by about 32% relative to conventional MPC and by about 6.4% relative to the auxiliary MPC alone. The area 2 frequency RMS is reduced by about 29% relative to conventional MPC. The tie-line RMS in area 1 is reduced by about 30% relative to conventional MPC. The ITSE is reduced by more than 50% relative to conventional MPC. These improvements are not obtained by making the BESS controller more aggressive in an unconstrained way. They are obtained by tightening the nominal constraints, correcting the actual trajectory with the auxiliary tier, and coordinating the CPP through the fuzzy layer.

Implementation Details of the BESS Controller

At each sampling instant, the aggregator computes the area ACE and broadcasts the BESS share \( \mathrm{ACE}_{B,i} \) to the distributed BESS controllers. Each BESS controller updates its local state estimate and solves the nominal and auxiliary optimization problems. The nominal problem produces a reference trajectory. The auxiliary problem produces the actual command. The command is delayed by the communication network and then applied to the BESS plant. The BESS controller measures the actual output power and SOC and sends the measurement back to the aggregator. The aggregator updates the sparse consensus estimate and repeats the procedure. The fuzzy coordinator runs at the CPP side. It receives the BESS aggregator output and the CPP ACE and adjusts the CPP PI gains. The CPP then produces the mechanical power command. The two loops are coupled through the ACE allocation, but they operate at different time scales. The BESS controller is fast and handles the transient ACE. The CPP is slower and handles the sustained ACE. The fuzzy coordinator prevents the slow loop from over-compensating when the fast loop is delayed.

The computational burden of the BESS controller is modest because each local problem contains only the states of one area and the local BESS units. The nominal and auxiliary problems are quadratic programs with linear constraints. The prediction horizon is 20 and the control horizon is 2, so the number of decision variables is small. The sparse communication graph further reduces the communication burden: each BESS controller exchanges information only with its neighbors, not with every BESS controller in the system. This is important for large-scale deployment because a fully connected communication network would be expensive and fragile. The sparse consensus layer provides a scalable way to estimate the ACE and coordinate the BESS controllers.

Constraint Tightening and Feasibility

The tightening factor \( \alpha \) is a design parameter. If \( \alpha \) is too small, the nominal BESS controller uses almost the entire admissible set and the auxiliary BESS controller has little room to correct the trajectory. If \( \alpha \) is too large, the nominal BESS controller becomes overly conservative and the BESS aggregator does not use its available power. I choose \( \alpha=0.2 \), which means that the nominal constraints are tightened to 80% of the original admissible set. This choice preserves feasibility under the bounded disturbances I consider and leaves enough headroom for the auxiliary BESS controller. The tightened constraints are

$$
\mathcal{U}_i^{\mathrm{nom}}
=
\left\{
U_i:
U_i^{\min}+\alpha\Delta U_i
\leq U_i\leq U_i^{\max}-\alpha\Delta U_i
\right\},
$$

$$
\mathcal{X}_i^{\mathrm{nom}}
=
\left\{
x_i:
x_i^{\min}+\alpha\Delta x_i
\leq x_i\leq x_i^{\max}-\alpha\Delta x_i
\right\}.
$$

The auxiliary BESS controller uses the original constraints:

$$
\mathcal{U}_i^{\mathrm{act}}
=
\left\{
U_i:
U_i^{\min}\leq U_i\leq U_i^{\max}
\right\},
\qquad
\mathcal{X}_i^{\mathrm{act}}
=
\left\{
x_i:
x_i^{\min}\leq x_i\leq x_i^{\max}
\right\}.
$$

Because the nominal set is a subset of the actual set, the auxiliary BESS controller can always find a feasible correction if the disturbance is within the assumed bound and the nominal problem is feasible. This is the practical justification for the two-tier design. The nominal BESS controller provides a feasible reference, and the auxiliary BESS controller preserves feasibility while reducing the tracking error.

SOC Management and Heterogeneous BESS Participation

The SOC of each BESS is updated by

$$
\mathrm{SOC}_{i,b}(k+1)
=
\mathrm{SOC}_{i,b}(k)
–
\frac{\eta_{i,b}\Delta t}{E_{i,b}}\Delta P_{B,i,b}(k),
$$

where \( \eta_{i,b} \) is the charging/discharging efficiency and \( E_{i,b} \) is the energy capacity. The sign convention is positive for discharging and negative for charging. The BESS controller enforces the SOC bounds as hard constraints. If a BESS reaches its upper SOC limit while charging, the BESS controller reduces the charging command and redistributes the remaining ACE to other BESS controllers. If a BESS reaches its lower SOC limit while discharging, the BESS controller reduces the discharging command and redistributes the remaining ACE. This redistribution is performed through the aggregator. The aggregator solves a small allocation problem:

$$
\min_{\Delta P_{B,i,b}}
\sum_{b=1}^{N_i^{B}}
w_{i,b}
\left[
\Delta P_{B,i,b}-\Delta P_{B,i,b}^{\mathrm{ref}}
\right]^2,
$$

subject to

$$
\sum_{b=1}^{N_i^{B}}\Delta P_{B,i,b}
=
\Delta P_{\mathrm{AG},i}^{\mathrm{ref}},
\qquad
-P_{i,b}^{r,\mathrm{ch}}
\leq
\Delta P_{B,i,b}
\leq
P_{i,b}^{r,\mathrm{dis}},
\qquad
\mathrm{SOC}_{i,b}^{\min}
\leq
\mathrm{SOC}_{i,b}
\leq
\mathrm{SOC}_{i,b}^{\max}.
$$

The weights \( w_{i,b} \) reflect the dynamic capability of each BESS controller. A BESS with a higher charging/discharging coefficient and a lower time constant receives a larger weight. A BESS with a high SOC and a high discharging coefficient is allowed to discharge more. A BESS with a low SOC is protected. This is how the BESS controller maintains heterogeneity while still satisfying the area-level ACE requirement.

Fuzzy Rule Surface and Stability

The fuzzy coordinator does not change the structural stability of the LFC loop. It changes the PI gains within a bounded range:

$$
k_{p,i}^{\min}\leq k_{p,i}(k)\leq k_{p,i}^{\max},
\qquad
k_{i,i}^{\min}\leq k_{i,i}(k)\leq k_{i,i}^{\max}.
$$

I choose the range so that the closed-loop poles remain in the stable region for the expected delay interval. The fuzzy surface is monotone and bounded, so the gain adjustment is continuous. The PI controller with bounded gains preserves the passivity of the CPP loop. The BESS controller remains the dominant fast actuator, and the fuzzy coordinator only modulates the slow actuator. This separation of time scales is important for stability. If the fuzzy coordinator changed the CPP gain too quickly, it could interact with the BESS controller and create a limit cycle. I avoid this by using a small rule surface and a rate limiter on the gain adjustment:

$$
\left|k_{p,i}(k)-k_{p,i}(k-1)\right|\leq\Delta k_{p}^{\max},
\qquad
\left|k_{i,i}(k)-k_{i,i}(k-1)\right|\leq\Delta k_{i}^{\max}.
$$

The rate limiter is especially useful when the communication delay changes abruptly. It prevents the CPP from receiving a large gain step at the same instant that the BESS controller receives a delayed command. The result is a smoother coordinated response.

Discussion of the Results

The main lesson I draw from the study is that a distributed BESS controller should not be designed as a stand-alone fast actuator. It should be designed as part of a hierarchy. The inner BESS controller handles the local power and SOC constraints. The aggregator handles the ACE allocation and the sparse coordination. The auxiliary MPC handles the uncertainty. The fuzzy coordinator handles the delay. Each layer has a clear role, and none of the layers tries to do everything. This separation is what makes the architecture scalable. A large number of BESS controllers can be added without changing the structure of the local optimization problem. The aggregator only needs the area ACE and the sparse neighbor estimates. The fuzzy coordinator only needs the BESS aggregator output and the CPP ACE. The communication burden grows slowly with the number of BESS controllers.

The second lesson is that constraint tightening is not a conservative add-on. It is a functional part of the BESS controller. Without tightening, the nominal BESS controller would use the entire admissible set and the auxiliary BESS controller would have no room to correct the trajectory. With tightening, the nominal BESS controller reserves margin and the auxiliary BESS controller uses that margin to reject disturbances. The simulation results show that this reserve does not reduce the useful response. On the contrary, the coordinated BESS controller delivers more power during the transient because it avoids saturation and recovers faster. The SOC constraints are respected, and the power constraints are respected. The reserve is used intelligently.

The third lesson is that communication delay must be treated as a control problem, not as a communication problem alone. A longer delay cannot be fixed by simply increasing the BESS controller gain. A higher gain can make the delayed response worse. The fuzzy coordinator solves the delay problem by reallocating the ACE between the fast BESS controller and the slow CPP. When the BESS controller is late, the CPP takes more responsibility. When the BESS controller is on time, the CPP takes less responsibility. This reallocation is smooth and bounded. The result is a smaller frequency deviation and a smaller tie-line deviation at every delay I tested.

Practical Deployment Considerations

In a practical deployment, the BESS controller would be implemented on a local processor at each BESS site. The aggregator would run on a substation controller or a cloud edge node. The sparse communication network would use a publish-subscribe protocol with time stamps. The time stamps are important because the BESS controller needs to know the age of the ACE command. If the command is older than a threshold, the BESS controller can switch to a local fallback mode. The fallback mode uses the local frequency measurement and the local SOC to produce a safe response. The fuzzy coordinator would run at the CPP plant controller. It would receive the BESS aggregator output through the same communication network and adjust the PI gains locally. This distribution of functions avoids a single point of failure. The BESS controller can continue to operate even if the aggregator is temporarily unavailable, and the CPP can continue to operate even if the BESS aggregator output measurement is delayed.

The cyber-security aspect is also relevant. The BESS controller should authenticate the ACE command and the SOC measurement. The sparse communication graph reduces the attack surface because each BESS controller only accepts messages from its neighbors. The aggregator should validate the consensus estimate against the local ACE measurement. If the two differ by more than a threshold, the aggregator should reject the consensus update and use the local measurement. This is a simple but effective safeguard. The fuzzy coordinator should also validate the BESS aggregator output. If the output is missing or stale, the coordinator should revert to the nominal PI gains. These safeguards do not change the control design, but they make the BESS controller more robust in an operational environment.

Summary of the Proposed Architecture

I summarize the architecture as follows. The BESS controller receives the area ACE share and solves a nominal MPC problem with tightened constraints. The nominal MPC produces a reference trajectory. The auxiliary MPC problem uses the actual ACE and the nominal trajectory to compute a correction. The correction is applied to the BESS plant. The sparse consensus layer estimates the area ACE from neighbor information. The fuzzy coordinator adjusts the CPP PI gains based on the BESS aggregator output and the CPP ACE. The CPP and the BESS controller share the ACE according to fixed allocation coefficients, but the fuzzy coordinator modifies the effective CPP response when the BESS controller is delayed. The constraints on power and SOC are enforced at every step. The result is a BESS controller that is fast, robust, and constraint-aware.

The following table summarizes the control actions at each layer.

Layer-by-Layer Control Actions

Layer Input Decision Output Time scale
Local BESS controller Local ACE share, SOC, power measurement Nominal and auxiliary MPC BESS power command Fast, 0.1 s sampling
Aggregator Area ACE, BESS measurements, neighbor estimates Sparse consensus and ACE allocation ACE share for each BESS controller Fast, 0.1 s to 0.5 s
Fuzzy coordinator BESS aggregator output, CPP ACE PI gain adjustment CPP power command Slow, 0.5 s to 1 s
CPP Adjusted ACE, mechanical power limits PI control with rate limits Mechanical power Slow, 1 s to 10 s

I also note that the BESS controller design is compatible with different BESS technologies. The charging/discharging coefficient and the time constant can be identified from field tests. The SOC limits can be set according to the battery chemistry and warranty conditions. The power limits can be set according to the converter rating. The MPC formulation does not require a specific battery model beyond the first-order response and the SOC update. This makes the BESS controller portable across different vendors. The aggregator can mix BESS units with different capacities and different response speeds. The allocation weights handle the heterogeneity, and the constraints protect each unit.

Further Observations on Delay and Coordination

I tested a long-delay case in which the BESS command is delayed by 10 s. Without coordination, the CPP continues to respond to the ACE while the BESS controller is still acting on an old command. This can produce a double-counting effect: the CPP and the BESS controller both inject power for the same disturbance, and then both withdraw power when the ACE changes sign. The result is a larger frequency overshoot and a longer settling time. With the fuzzy coordinator, the CPP gain is reduced when the BESS aggregator output is already large, and it is increased when the BESS aggregator output is small. This prevents the double-counting effect. The frequency deviation is smaller, and the tie-line power deviation is smaller. The BESS controller still provides the fast response, but the CPP provides the sustained response. The coordination layer does not need to know the exact delay. It only needs to observe the mismatch between the BESS aggregator output and the CPP ACE. This is a practical advantage because the exact delay may be unknown or time-varying.

The fuzzy coordinator also improves the response when the BESS aggregator is limited by SOC. If the BESS controller cannot deliver the requested power because the SOC is near its lower limit, the BESS aggregator output is smaller than expected. The fuzzy coordinator detects this condition and increases the CPP contribution. The result is a graceful degradation of the BESS controller. The frequency is still controlled, but the CPP takes more of the burden. This is preferable to a hard saturation of the BESS controller, which would leave the ACE uncorrected. The SOC limits are respected, and the CPP is used only as much as necessary.

Conclusion of the Study

I have presented a two-tier MPC architecture for distributed BESS frequency control in a smart grid. The nominal BESS controller solves a constrained MPC problem with tightened constraints. The auxiliary BESS controller corrects the actual trajectory and rejects bounded wind and tie-line disturbances. The sparse consensus layer estimates the area ACE and reduces the communication burden. The fuzzy coordinator adjusts the CPP PI gains when the BESS controller is delayed. The simulation results show that the proposed BESS controller reduces the frequency deviation, the tie-line power deviation, and the ITSE relative to conventional MPC. The improvement is consistent across different BESS capacities, rated powers, charging/discharging coefficients, SOC levels, and time constants. The BESS controller respects the power and SOC constraints, and the coordinated CPP response prevents over-frequency and under-frequency conditions under long communication delays.

The main contribution is not a single controller but a hierarchy. The local BESS controller, the aggregator, the auxiliary MPC, and the fuzzy coordinator each solve a specific problem. The hierarchy is scalable because the local problems are small and the communication graph is sparse. The hierarchy is robust because the nominal BESS controller reserves margin and the auxiliary BESS controller uses that margin. The hierarchy is practical because the fuzzy coordinator only needs the BESS aggregator output and the CPP ACE. I expect that this structure can be extended to other storage technologies and to mixed portfolios of storage and flexible loads. The next step I would take is to study coordination among different types of storage systems, including batteries, flywheels, and flexible demand, with the same two-tier BESS controller structure and a shared ACE allocation layer.

Key Equations in Compact Form

For reference, the core equations of the proposed BESS controller are collected below. The area frequency dynamics are

$$
\dot{\Delta f}_i
=
\frac{1}{2H_i}
\left(
\Delta P_{m,i}+\Delta P_{w,i}+\Delta P_{\mathrm{AG},i}
-\Delta P_{L,i}-\Delta P_{\mathrm{tie},i}-D_i\Delta f_i
\right),
$$

the tie-line deviation is

$$
\Delta P_{\mathrm{tie},i}
=
2\pi\sum_{j\in\mathcal{M},j\neq i}T_{ij}\left(\Delta f_i-\Delta f_j\right),
$$

the ACE is

$$
\mathrm{ACE}_i=\Delta P_{\mathrm{tie},i}+\beta_i\Delta f_i,
$$

the ACE allocation is

$$
\mathrm{ACE}_{G,i}=\sigma_{G,i}\mathrm{ACE}_i,
\qquad
\mathrm{ACE}_{B,i}=\sigma_{B,i}\mathrm{ACE}_i,
\qquad
\sigma_{G,i}+\sigma_{B,i}=1,
$$

the BESS controller dynamics are

$$
\Delta P_{B,i,b}(k+1)
=
\left(1-\frac{\Delta t}{T_{B,i,b}}\right)\Delta P_{B,i,b}(k)
+
\frac{K_{B,i,b}\Delta t}{T_{B,i,b}}U_{i,b}(k),
$$

the nominal MPC problem is

$$
\min_{U_i^{B,\mathrm{nom}}}
\sum_{k=0}^{p-1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]^{\mathsf{T}}
Q_{\mathrm{ACE},i,1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]
+
\sum_{k=0}^{c-1}
\left[\Delta U_i^{B,\mathrm{nom}}(k)\right]^{\mathsf{T}}
Q_{U,i,1}
\left[\Delta U_i^{B,\mathrm{nom}}(k)\right],
$$

the auxiliary MPC problem is

$$
\min_{U_i^{B,\mathrm{act}}}
\sum_{k=0}^{p-1}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]^{\mathsf{T}}
Q_{\mathrm{ACE},i,2}
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k+1)
–
\mathrm{ACE}_{i}^{B,\mathrm{nom}}(k+1)
\right]
+
\sum_{k=0}^{c-1}
\left[
U_i^{B,\mathrm{act}}(k)
–
U_i^{B,\mathrm{nom}}(k)
\right]^{\mathsf{T}}
Q_{U,i,2}
\left[
U_i^{B,\mathrm{act}}(k)
–
U_i^{B,\mathrm{nom}}(k)
\right],
$$

the SOC update is

$$
\mathrm{SOC}_{i,b}(k+1)
=
\mathrm{SOC}_{i,b}(k)
–
\frac{\eta_{i,b}\Delta t}{E_{i,b}}\Delta P_{B,i,b}(k),
$$

the sparse consensus update is

$$
\hat{\mathrm{ACE}}_i(k+1)
=
\hat{\mathrm{ACE}}_i(k)
+
\epsilon
\sum_{j\in\mathcal{N}_i}
a_{ij}
\left[
\hat{\mathrm{ACE}}_j(k)
–
\hat{\mathrm{ACE}}_i(k)
\right]
+
\epsilon
\left[
\mathrm{ACE}_{i}^{B,\mathrm{act}}(k)
–
\hat{\mathrm{ACE}}_i(k)
\right],
$$

the fuzzy PI gains are

$$
k_{p,i}(k)=k_{p,i}^{0}+k_4\Delta k_{p,i}(k),
\qquad
k_{i,i}(k)=k_{i,i}^{0}+k_5\Delta k_{i,i}(k),
$$

and the CPP command is

$$
\Delta P_{m,i}(k)
=
k_{p,i}(k)\mathrm{ACE}_{G,i}(k)
+
k_{i,i}(k)\sum_{h=0}^{k}\mathrm{ACE}_{G,i}(h)\Delta t.
$$

These equations define the BESS controller, the aggregator, and the coordinator in a form that can be implemented directly in a digital control platform. The BESS controller solves the nominal and auxiliary problems at each sampling instant, the aggregator updates the sparse ACE estimate, and the fuzzy coordinator updates the CPP gains. The constraints are enforced at every step, and the delay is handled through coordination rather than through an unconstrained increase in gain. The resulting closed-loop response is faster, smoother, and more reliable than the conventional MPC benchmark.

Scroll to Top