Skip to Content
  • Article
  • Open Access

2 December 2026

19 Pages

Frequency Restoration Under Delayed Measurements in an Aggregate Scalar Model of Islanded Battery Microgrids: A Reproducible Control Benchmark

,
and
1
Edgecom Energy Inc., Toronto, ON M2M 4J1, Canada
2
Department of Electrical and Computer Engineering, University of Waterloo, Waterloo, ON N2L 3G1, Canada
3
New York Power Authority, White Plains, NY 10601, USA
*
Author to whom correspondence should be addressed.

Abstract

Delayed telemetry and finite battery reserves constrain secondary frequency restoration. This paper presents a reproducible benchmark on an aggregate scalar frequency model, rather than a new controller or a validated inverter-network architecture. Predictor proportional–integral (PI) control and observer model predictive control (MPC) use the same causal frequency reconstruction and disturbance estimate; a reserve penalty and an augmented-state Kalman estimator are evaluated as separate variants. An expanded common design protocol precedes 120 paired trials with randomized steps, ramps and stochastic fluctuations. Mean integral absolute error (IAE) is 2.7164 Hz s for predictor PI and 2.6019 Hz s for observer MPC. The paired difference is −0.11456 Hz s, with a 95% bias-corrected and accelerated bootstrap interval of [−0.24088, −0.02505]; the corresponding Holm-adjusted test gives p = 0.109 . Observer MPC worsens IAE in all 40 ramp trials. Reserve MPC minus observer MPC gives +0.00437 Hz s [+0.00339, +0.00548]. Command delay, delayed and noisy battery reports, correlated losses, and battery-model perturbations expose limits that nominal frequency-telemetry tests miss. Resource-shortage cases distinguish device protection from the ability to maintain nominal frequency. Convexity and a scalar boundedness argument do not establish recursive feasibility, asymptotic regulation or inverter-network stability. All performance conclusions are conditional on the stated aggregate model and sampling distributions.

1. Introduction and Research Positioning

Islanded microgrids require immediate power balancing and slower restoration of nominal frequency. Batteries can provide both services only while their power, ramp and stored-energy limits permit. Hierarchical control separates local response, secondary restoration and supervisory scheduling [1,2]. The relevant question here is how delayed information and limited resources affect a transparent secondary-control comparison.
The contribution is a reproducible benchmarking framework and a conditional numerical comparison of established methods. No new class of model predictive control (MPC), observer, reserve-management algorithm or microgrid stability theorem is claimed. The framework separates four mechanisms: timestamped state reconstruction, disturbance estimation, constrained predictive allocation, and local physical protection. It includes direct paired comparisons, failure diagnostics and intentionally inadequate-resource cases. The convexity and energy-accounting results are supporting properties of the formulation, not independent originality claims.

1.1. Closest Estimation and Constrained-Control Studies

Zhao, Zhang and Zhong [3] already combine secondary-frequency MPC, unknown-input observation and constrained restorative power in a microgrid with deloaded virtual synchronous generators (VSGs). Thus, combining MPC with disturbance estimation is established prior art. Zhong et al. [4] further use a two-layer moving-horizon estimation observer. Our finite-window estimator is deliberately simpler, and its persistence assumption is tested explicitly; this paper does not claim that it supersedes those observers.
Zhao et al. [5] address delayed and noisy neighbor signals using Kalman reconstruction within consensus-based secondary control. Their study includes simulations and experiments on a modified IEEE 33-bus microgrid. This is closer evidence for networked state estimation than a comparison with unfiltered stale measurements alone. Our augmented-state Kalman baseline tests an alternative estimator on the same scalar plant; it does not reproduce their consensus protocol or network validation.
Gomez Anccas, Hans and Schulz [6] describe experimentally fitted, state-of-charge (SoC)-dependent storage power constraints represented by convex polytopes in microgrid operation MPC. Their constraints capture capability beyond a constant nameplate limit. Our one-step energy envelope and separate cumulative energy budgets do not reproduce that empirical battery map. The reserve-dependent cost changes allocation within the admissible set; it cannot substitute for a measured capability map or expand the available reserve.
Faragalla et al. [7] combine SoC-dependent battery frequency support with adaptive, gain-scheduled secondary proportional–integral (PI) control and report MATLAB and hardware-in-the-loop evaluation. Their treatment of battery participation and SoC recovery shows that competitive non-MPC control also depends on available energy. Here, reserve weighting only redistributes an optimization penalty inside imposed battery limits; it is not a recovery controller or a substitute for coordinated resource replenishment.
An augmented-state Kalman-filter MPC baseline is added on the same scalar plant to test whether the finite-window estimator is competitive against a conventional alternative. It is an explicitly specified adaptation of the established disturbance-state approach, not an exact reproduction of Zhao et al.’s VSG model or of the two-layer observer. A faithful published-controller reproduction on a common inverter-network plant remains outstanding.

1.2. Recent Predictive-Control Developments (2025–2026)

Najafi and Toulabi [8] combine centralized MPC and delay compensation for parallel virtual synchronous generators and a synchronous generator, with filter, grid and load dynamics. Qi et al. [9] embed delayed virtual-power-plant response in distributed predictive frequency regulation for interconnected areas. These studies establish that delay compensation within predictive frequency control is not new. They also distinguish actuator/resource-response delay from measurement age, motivating our separate command-path and telemetry tests. Their network coordination mechanisms are not represented by the single coherent-frequency state used here.
An et al. [10] study event-triggered tube MPC for a four-region system with hybrid storage and derive a robust stability criterion using invariant sets. That construction addresses bounded uncertainty and communication effort through ingredients absent from our nominal quadratic program (QP). Torkan et al. [11] coordinate electric vehicle (EV) aggregators and conventional generation using an augmented-output MPC objective containing frequency deviation and rate of change of frequency. Our battery-only comparison does not include governor cooperation or a rate-of-change penalty, so it cannot establish superiority over that broader resource-control problem. Table 1 summarizes the boundary between the present benchmark and the closest studies.
Table 1. Scope relative to the closest research. No numerical superiority over published network implementations is claimed.
At the converter layer, Malik et al. [12] simulate coordinated finite-control-set MPC for photovoltaic (PV), wind and battery converters in a hybrid AC/DC microgrid. Wang et al. [13] investigate a neural-network approximation of hybrid multi-vector MPC with two-step prediction for computational-delay compensation in a simulated high-voltage islanded microgrid. These studies address switching, voltage/current behavior and computational demands that an aggregate power-command benchmark omits. They motivate subsequent converter/network validation; citing them does not supply such validation for the present controllers.

1.3. Connection to Slower Scheduling and Resource Coupling

The two-stage EV scheduling study by Meng et al. [14] coordinates active-power scheduling and subsequent reactive-power optimization. Their park-level integrated-energy study [15] includes multiple energy forms and inter-temporal resource coupling. These functions complement a 0.2-s battery-reference update: a slower scheduler could provide reserve targets, available capacity and a feasible operating region to the fast controller. Neither scheduling algorithm is a direct frequency-controller baseline. Conversely, this scalar benchmark does not optimize generation commitment, EV availability, reactive power, network losses or multi-energy conversion.

2. General Model and Information Structure

2.1. Coherent-Frequency Approximation and Exact Discretization

The island is represented by a coherent frequency deviation f = f abs − 60 Hz:
M f ˙ ( t ) = 1 T p ( t ) + d ( t ) − D f ( t ) .
p = [ p 1 , … , p n ] T ∈ R n contains battery powers in MW and 1 ∈ R n is the all-ones column vector. Thus 1 T p = ∑ i = 1 n p i is a scalar dot product; the superscript T denotes transpose. Positive p i is discharge; positive d is net generation surplus. Negative d represents a generation deficit or load increase.
M > 0 is an equivalent aggregate inertia coefficient, in MW s/Hz: multiplying it by f ˙ , in Hz/s, produces MW. D > 0 is a frequency-sensitive power coefficient in MW/Hz. A negative deviation gives a positive restoring term − D f . This is a linear aggregate load/generation response, not an implemented load-shedding command. Neither coefficient identifies a particular converter or mechanical rotor.
For a constant u k = 1 T p k + d k over one sample, divide Equation (1) by M and multiply by e D t / M . Integration from t k to t k + Δ t gives
f ( t k + Δ t ) = e − D Δ t / M f ( t k ) + u k M ∫ 0 Δ t e − D ( Δ t − v ) / M d v .
Evaluating the integral yields the exact zero-order-hold scalar update
f k + 1 = a f k + b ( 1 T p k + d k ) , a = e − D Δ t / M , b = 1 − a D .
Here a is dimensionless and b has units Hz/MW. For D → 0 , b → Δ t / M , although the boundedness argument below requires strictly positive damping. Exact discretization removes held-input integration error; it does not remove model-reduction error.

2.2. Battery Energy and Protection

Let s i be fractional SoC and E i nominal energy in MWh. With Δ t in seconds,
s i , k + 1 = s i , k − Δ t 3600 E i p i , k + η d − η c p i , k − , p + = max ( p , 0 ) , p − = max ( − p , 0 ) .
All controllers pass through common protection. The local lower and upper power bounds intersect nameplate capability with one-step charge/discharge energy limits. The bounds are further intersected with p i , k − 1 ± r i Δ t . If that intersection is empty after a derating or at an energy boundary, capability and energy protection take precedence over ramp continuity. Each affected battery-sample is an override; actual ramp excess is recorded rather than discarded. Physical SoC is integrated without clipping.
There are two projections in the extended implementation. The coordinator projects a request using its reported or estimated battery state, producing an issued command. After command delivery and any actuator lag, the local protection layer projects against the true simulated device state. Stored traces distinguish requested, issued, estimated-applied and actually applied powers. The reported local-projection count refers to the second projection; request-to-issued changes can be reconstructed separately from the stored arrays. Zero physical SoC violations therefore demonstrate the combined controller/protection simulation, not an MPC-only safety guarantee.

2.3. Causal Frequency Reconstruction

A frequency packet generated at j carries y j = f j + v j and its timestamp. It arrives after a nonnegative sample-quantized delay or is lost. Only timestamps newer than the latest accepted one update the estimator. The accepted-sample age is τ k = ( k − j k ) Δ t . Random jitter, losses and noise are drawn before each run and shared across paired controllers.
For two received samples at r < j , let L = j − r . Under a locally constant disturbance, the estimate is
d ˜ j = y j − a L y r − b ∑ q = r j − 1 a j − 1 − q 1 T p q b ∑ q = 0 L − 1 a q .
The historical sample nearest j − L 0 is selected; the nominal target L 0 = 5 corresponds to 1 s. The filtered disturbance is d ^ j = ( 1 − α d ) d ^ old + α d clip ( d ˜ j , − c d , c d ) , nominally α d = 0.5 and c d = 3 MW. These are transparent heuristics: the interval suppresses differencing noise, filtering smooths jumps and clipping limits extreme innovations. They are not identified optimal parameters or probabilistic confidence bounds.
Starting from the newest accepted measurement, Equation (2) is replayed to the present using available applied-power history and the current d ^ k . The future disturbance forecast is persistence, d ^ k + q | k = d ^ k . During missing data, no unseen event is inferred. The controller never receives the scenario function or future event schedule. Sensitivity varies L 0 ∈ { 2 , 5 , 10 } , α d ∈ { 0.2 , 0.5 , 0.8 } and c d ∈ { 1 , 3 , 6 } MW.

2.4. Battery Reports and Command Delivery

The nominal benchmark deliberately isolates delayed frequency: battery state, capability and applied-power acknowledgement are immediate. This asymmetry is a reference condition, not a practical network claim. Additional tests delay commands by 0.2 or 0.6 s, and battery reports by 1 s with SoC noise of standard deviation 0.01 in fractional SoC (one percentage point). A combined test uses 0.4-s command delay and a common burst-loss process for frequency and battery packets. The burst model enters a bad state with probability 0.08 per sample and leaves it with probability 0.25; all packets are dropped in that state. Initial state is good.
A timestamped battery report includes SoC, capability and the applied-power log up to that timestamp. After the report, the coordinator propagates SoC with nominal efficiencies and its believed command history. Unacknowledged power is estimated from the issued command pipeline, so local clipping is not known until reported. Known command delay is implemented in delivery, but the nominal MPC prediction is not augmented with delay states; the tests quantify this mismatch. At the device, the simulated local battery management system (BMS) retains accurate SoC and capability. Thus noisy coordinator telemetry is tested, while an inaccurate local safety measurement is not.
The 10-s outage in S6 and the 20-s estimator stress suppress new frequency and battery reports; in-flight packets may still arrive. This extends the original frequency-only blackout. In the joint battery test, SoC propagation also uses nominal energy despite reduced physical capacity. These restrictions prevent silent access to true delayed states.

3. Controllers and Dimensionless Optimization

3.1. Prediction, Cost and Hard Constraints

Stack the H predicted frequency deviations in F and powers in U. Their dependence is affine: F = A f ^ k + B U + E d ^ k , where A q = a q + 1 , B q , j = b a q − j 1 T for j ≤ q (zero otherwise), and E q = ( 1 − a q + 1 ) / D . Let T form successive power differences and e ( p k − 1 ) insert the previous applied-power estimate.
Define explicit reference scales f ★ = 1 Hz and P ★ = 1 MW, and normalized variables F ¯ = F / f ★ , U ¯ = U / P ★ , Z ¯ ± = Z ± / P ★ , p ¯ = p / P ★ and P ¯ i = P ¯ i / P ★ . The dimensionless objective is
J = q f ∥ F ¯ ∥ 2 2 + U ¯ T R ¯ k U ¯ + q Δ ∥ T U ¯ − e ( p ¯ k − 1 ) ∥ 2 2 + ϵ 1 1 T ( Z ¯ + + Z ¯ − ) + ϵ 2 ∥ ( Z ¯ + , Z ¯ − ) ∥ 2 2 .
All coefficients are dimensionless, including ϵ 1 = 10 − 5 and ϵ 2 = 5 × 10 − 8 . R ¯ k = I H ⊗ diag ( w i / P ¯ i 2 ) . The executable MW/Hz coordinates are numerically identical to this normalization because both reference scales have numerical value one in those units. Changing measurement units without transforming the normalization would not be equivalent. No terminal equality or terminal invariant set is included.
Ordinary observer MPC uses w i = 1 . Reserve MPC instead uses
w i = min { c w , 1 + α w / max ( m i , 0.001 ) } ,
where m i = s i − s min under an estimated deficit and m i = s max − s i under a surplus. α w and the fractional margin are dimensionless, as is c w . Nominal values are 0.035 and 30. Weights are frozen in each QP, preserving convexity. The floor and cap avoid an unbounded numerical penalty near a boundary. They are heuristic regularizers; a 4 × 3 sensitivity grid tests α w ∈ { 0 , 0.01 , 0.035 , 0.1 } and c w ∈ { 3 , 10 , 30 } . Setting α w = 0 exactly recovers ordinary observer MPC.
At every predicted step, | p i , k + q | k |   ≤ p ¯ i , k and | p i , k + q | k − p i , k + q − 1 | k |   ≤ r i Δ t . Capability is held at its latest reported value through the horizon. Nonnegative auxiliaries satisfy z i + ≥ p i and z i − ≥ − p i . For each prefix,
Δ t 3600 η d ∑ j = 0 q z i , k + j | k + ≤ E i ( s i , k − s min ) ,
η c Δ t 3600 ∑ j = 0 q z i , k + j | k − ≤ E i ( s max − s i , k ) .
The budgets conservatively do not credit future charging against discharge or vice versa. They constrain signed net battery power through auxiliaries, not two independently operating charge/discharge converters.

3.2. PI, Stale-State MPC and the Estimator Baseline

Delayed PI (D-PI) uses P k = − K p y j k + I k . Predictor PI (P-PI) uses P k = − d ^ k − K p f ^ k + I k . Their total request is allocated in proportion to reported capability times the relevant SoC headroom. With back-calculation anti-windup [16],
I k + 1 = clip I k + Δ t [ − K i e k + k aw ( P k issued − P k ) ] , − 3 MW , 3 MW .
Here I and P are MW, e is Hz, K p is MW/Hz, K i is MW/(Hz s), and k aw = 0.6 s−1. In nominal immediate acknowledgement, issued and locally applied powers coincide except for numerical projection details. In delayed-command/telemetry stresses, back-calculation uses the causal issued command; it cannot use an unreceived future acknowledgement. The integrator cap is a design choice, not an energy reserve.
Stale MPC(S-MPC) supplies the newest delayed frequency directly as its initial state but retains the same disturbance estimate and QP. Observer MPC (O-MPC) uses reconstructed current frequency. Reserve MPC (R-MPC) changes only w i . Thus P-PI versus O-MPC holds reconstruction and disturbance estimation fixed; S-MPC versus O-MPC isolates replay within MPC; R-MPC versus O-MPC isolates reserve weighting. The PI/MPC comparison still includes different multi-battery allocation laws, so it cannot be attributed to optimization alone.
Kalman-filter MPC (KF-MPC) uses the augmented state x = [ f , d ] T , with
x k + 1 = a b 0 1 x k + b 0 1 T p k + w k , y k = [ 1 0 ] x k + v k .
Between received timestamps, its state and covariance are propagated through the available command history. At an accepted timestamp, the usual Kalman innovation update is applied; the updated frequency and disturbance are then replayed to the current time. In coordinates Hz and MW, Q = diag ( 10 − 6 Hz 2 , 10 − 3 MW 2 ) per step, R = 4 × 10 − 6 Hz 2 , and P 0 = diag ( 0.01 Hz 2 , 1 MW 2 ) . Covariance uses the Joseph update. These disclosed heuristic settings are fixed, not tuned on the evaluation trials. KF-MPC uses ordinary MPC weights. Its comparison with O-MPC changes the estimator, so it is not evidence for a different optimizer.

3.3. QP Acceptance and Fallback

OSQP [17] solves a 9 H -variable problem (135 variables for H = 15 ). Absolute and relative tolerances are 10 − 5 and the iteration limit is 5000. Matrix construction is repeated each sample; the previous solution initializes the next attempt. Accepted statuses are “solved” and “solved inaccurate”, followed by an independent inequality check with maximum residual 2 × 10 − 3 in stored constraint coordinates. This residual is not a universal physical-unit safety margin: the rows include power and cumulative-power quantities. Local physical protection is applied after acceptance.
A rejected or infeasible solve triggers local rating-allocated droop using instantaneous frequency, then the same device protection. This fallback has local information unavailable to the remote coordinator, an explicit architectural assumption. Status, iterations, primal/dual residuals, independently checked residual where a candidate is available, packet age and active-inequality counts are saved per attempt. A count of zero active inequalities after an infeasibility certificate means no accepted candidate was counted, not an unconstrained solution.

4. What Can and Cannot Be Guaranteed

For fixed estimates and frozen positive reserve weights, prediction is affine, constraints are linear, and the power cost is strictly convex. A feasible problem therefore has a unique optimal signed-power vector. If the exact nominal battery model and initial SoC are correct, Equation (7) is sufficient for every predicted prefix to remain inside the SoC interval: z + ≥ p + bounds discharge losses while ignoring charging is conservative, and the corresponding statement holds for charging. This is a conditional finite-horizon accounting property.
Neither statement establishes recursive feasibility. For example, an abrupt capability reduction can place the preceding command outside the new envelope, making its intersection with the next ramp interval empty. No terminal condition, invariant backup set or certified tightening is supplied. The local override resolves physical priority but does not repair the original QP feasible set. Standard MPC closed-loop stability results need additional assumptions [18]. The invariant-set analysis used in recent event-triggered tube MPC [10] illustrates a stronger construction; the present scalar boundedness argument supplies neither that tube nor its event-triggering conditions.
A limited boundedness statement is available for this damped scalar plant. If physical protection ensures ∑ i | p i , k | ≤ P Σ , | d k |   ≤ d max , and the actual constants satisfy M > 0 , D > 0 , then 0 < a < 1 and
| f k | ≤ a k | f 0 | + P Σ + d max D ( 1 − a k ) .
This follows by applying the triangle inequality to the iterated discrete equation and summing the geometric series. It holds for arbitrary estimation errors and delayed or failed commands provided local protection still bounds delivered power. A sudden downward derating does not invalidate the original nameplate upper bound. It proves bounded scalar frequency for bounded disturbances; the bound may be operationally unacceptable, and it proves neither convergence to zero nor inverter-network stability. Gaussian frequency noise is not deterministically bounded, but applied power remains bounded by protection. The generated physical disturbances in these experiments are bounded.
With exact nominal coefficients and correct applied-power history, reconstruction over L = k − j samples satisfies
f ^ k − f k = a L v j + b ∑ q = j k − 1 a k − 1 − q ( d ^ k − d q ) .
If | v j |   ≤ v ¯ and | d ^ k − d q |   ≤ δ ¯ , the magnitude is at most a L v ¯ + ( 1 − a L ) δ ¯ / D . Delayed or inaccurate power acknowledgements add b ∑ a k − 1 − q 1 T ( p ^ q − p q ) . Parameter mismatch adds another propagation term. Since Gaussian noise has no deterministic finite bound, this conditional inequality is an interpretation, not a certified uncertainty tube for the trials.

5. Synthetic Test Case and Evaluation Protocol

5.1. Parameter Choices and Adequacy Cases

Only now is the general formulation instantiated with three synthetic battery energy storage systems (BESSs) (Table 2). Their aggregate energy is 1.60 MWh and nameplate power 1.85 MW; differing SoCs deliberately test allocation. The choices are illustrative, not measurements from a feeder. Nominal M = 0.6 MW s/Hz and D = 0.8 MW/Hz imply time constant M / D = 0.75 s, resolvable at Δ t = 0.2 s. On a 2-MW reference base at 60 Hz, M = 2 H eq S b / f 0 gives H eq = 9 s. This algebraic equivalent is not a claim that a battery has 9 s of mechanical inertia. The base does not supply additional power. Randomized multipliers [ 0.75 , 1.25 ] quantify a limited coefficient sensitivity; they do not identify realistic parameter distributions.
Table 2. Synthetic three-battery test case, separate from the general methodology.
The ten deterministic cases are defined in Table 3. S1–S6 and S9 test ordinary regulation, telemetry or capability changes. S7 (energy depletion), S8 (power overload) and S10 (charge saturation) are adequacy tests, reported separately from ordinary regulation. In S7, exported reserve is η d ∑ i E i ( s i , 0 − s min ) = 10.5504 kWh, whereas 0.52 MW over 228 s requires 32.933 kWh at nominal frequency. After exhaustion, the scalar model tends to d / D = − 0.65 Hz. S8 demands 2.1 MW against 1.85 MW of nameplate discharge. S10 has 14.75 kWh of stored-energy headroom, corresponding to 15.69 kWh imported at η c = 0.94 , against approximately 17.11 kWh of scheduled surplus.
Table 3. Deterministic cases; nominal duration is 80 s, delay 0.6 ± 0.3 s, and no independent loss/noise unless stated.
There is no additional generator, reserve purchase, controlled load shedding, curtailment or demand-service model. Residual power imbalance changes frequency and the linear frequency-sensitive term; “unserved imbalance” is not simulated as a separately quantified energy-not-served signal. Large-deviation equilibria are consequences of extending the scalar damping law outside its validated range. They must not be interpreted as acceptable physical operating points or evidence of controller-caused energy shortage.

5.2. Common Tuning Protocol and Separation from Evaluation

All tuning candidates use four 52-s design signals: smooth signed Gaussian bumps; a negative pulse at 9–21 s followed by a positive pulse at 30–40 s; a sinusoid plus an 8-s descending ramp; and a negative pulse at 7–23 s followed by a positive Gaussian bump. Their delays are 0.2, 0.9, 0.6 and 1.2 s, with disclosed jitter/noise/loss and limited model mismatch. Design random seeds are 900–903. Their exact equations and configurations are in the executable script; none is an evaluation profile.
The shared dimensionless score sums IAE / ( 1 Hz s ) + 10 peak / ( 1 Hz ) , where IAE is the integral absolute error. Candidates with design QP rejections or physical SoC/power violations above 10 − 9 are excluded. Each PI family searches K p ∈ { 0.25 , 0.5 , 1 , 2 , 3 , 5 , 8 , 12 , 20 , 32 } and K i ∈ { 0 , 0.1 , 0.3 , 0.6 , 1.2 , 2.4 , 4.8 , 9.6 , 19.2 , 38.4 } in the units above. MPC searches q f ∈ { 25 , 100 , 250 , 1000 , 4000 , 16000 , 64000 } and q Δ ∈ { 0 , 0.002 , 0.02 , 0.2 , 2 , 20 } . This gives 968 design trajectories.
To avoid choosing arbitrarily aggressive values on a nearly flat design optimum, configurations within 1% of each family’s best score are eligible. PI selects the smallest K p , then smallest K i ; MPC selects the smallest q f , then largest q Δ . These are disclosed regularization preferences, not global optimality claims. The selected values appear in Table 4; all MPC variants share those weights and H = 15 . Reserve weights are tested as an ablation, not optimized on the test set.
Table 4. Selected design parameters (within 1% of the best family score). PI gains use MW/Hz and MW/(Hz s); MPC weights are dimensionless.
An exploratory smooth-only design produced poor gain transfer and motivated the final multi-profile design protocol. The final randomized evaluation uses new seeds 120–239 and new disturbance/parameter seeds. This development history is archived; the study is not preregistered. No subsequent tuning uses these final evaluation outcomes.

5.3. Randomized Evaluation and Inference

There are 120 independent seed-level paired trials, 40 each for steps, ramps and stochastic fluctuations, each lasting 70 s. Delays are uniform on [ 0.2 , 1.4 ] s; jitter is ± 0.3 s, independent frequency loss is 20%, and frequency noise standard deviation is 0.002 Hz. Actual M / M 0 and D / D 0 are independently uniform on [ 0.75 , 1.25 ] ; controller coefficients remain nominal. Disturbance event times are uniform on [ 8 , 14 ] , [ 26 , 34 ] , and [ 48 , 56 ] s. Plateau magnitudes are drawn from [ − 0.85 , − 0.35 ] , [ − 0.3 , 0.2 ] , and [ 0.05 , 0.45 ] MW. Ramps interpolate independently drawn levels with variable transition times. The stochastic family adds a first-order autoregressive, AR(1), component with coefficient 0.90, innovation standard deviation 0.035 MW, and clipping at ± 1.2 MW. Configurations and complete traces are saved.
IAE is Δ t ∑ k = 1 N | f k | and peak is max 1 ≤ k ≤ N | f k | . Complete paired seeds, not correlated time samples, are the resampling unit. We use 10,000 bias-corrected and accelerated (BCa) bootstrap resamples [19]. Paired effect size is d z = Δ ¯ / s Δ . Two-sided paired t tests of the mean difference use Holm correction [20] over six contrasts: O-MPC minus P-PI, R-MPC minus O-MPC, and KF-MPC minus O-MPC for each of two metrics. The tests use independent seeds and approximate sampling inference for a mean; no real-world randomization or distribution-free guarantee is implied. Family-specific intervals are descriptive, not multiplicity-adjusted simultaneous intervals. The pooled bootstrap resamples all 120 paired differences; the family counts may vary across resamples, so it describes an equal-mixture sampling interpretation rather than a fixed-stratum design. The pooled result concerns this equal mixture of three simulated families, not all disturbances.

5.4. Additional Sensitivities and Model Boundaries

The reserve sweep has 24 runs (12 settings each on S2 and S7). The estimator sweep has 54 runs: 27 parameter combinations on the same fast stochastic profile under ordinary noise and under fivefold noise plus a 20-s blackout. A further 60 runs combine ten communication/battery conditions, two cases (S2 and S7), and P-PI/O-MPC/R-MPC.
Battery sensitivity reduces physical capacity to 0.8 E i while the coordinator retains nominal energy; reduces available power to 0.7 P ¯ i as a temperature/capability proxy; inserts a first-order power lag with time constant 0.4 s; or uses η d ( p ) = 0.96 − 0.06 ( | p | / P ¯ i ) 2 and η c ( p ) = 0.94 − 0.04 ( | p | / P ¯ i ) 2 . The local discharge envelope uses the conservative efficiency 0.90 in that test, while the charge envelope uses 0.94. A combined battery stress applies these changes with 1-s noisy telemetry. These are bounded perturbations, not a thermal state model, electrochemical model, identified state-of-health (SoH) evolution or degradation validation. The local BMS retains the true reduced capacity. No lifetime benefit is claimed.
No bus admittances, line impedances, voltage dynamics, inner current loops, switching states or voltage-dependent current limits are simulated. A first-order power lag is not an inverter-network model. The title, abstract and conclusions are restricted accordingly. Higher-fidelity validation is necessary before network stability, protection coordination or practical deployment can be established [21,22].

6. Results and Interpretation

6.1. Secondary Restoration and a Separate Primary Reference

Table 5 and Figure 1 report secondary controllers. Local droop is shown separately in Table 6; it uses instantaneous frequency and rating-based allocation with gain 2.2 MW/Hz. Its sustained offset and immediate sensing mean that it is not a fair direct rank against delayed restoration controllers. The study does not simulate a parallel common primary-droop layer. A full hierarchy combining primary and secondary action remains a necessary extension. All secondary curves within each panel share axes, and the six ordinary-response panels also use common frequency limits.
Table 5. Secondary-controller IAE (Hz s). S7, S8 and S10 are resource-adequacy tests, not a controller ranking.
Figure 1. Secondary responses with common frequency axes in S1–S6. Overlapping O-MPC/R-MPC traces are expected. S-MPC uses stale initial frequency.
Table 6. Instantaneous local-droop reference reported separately; its information and restoration objective differ from the secondary controllers.

6.2. Paired Comparisons and Practical Scale

The randomized baseline means are 2.7164 Hz s IAE and 0.3363 Hz peak for P-PI; O-MPC means are 2.6019 Hz s and 0.3384 Hz. The O-MPC minus P-PI mean IAE difference is −0.11456 Hz s, BCa interval [−0.24088, −0.02505], with lower IAE in 62 of 120 seeds. The relative change of pooled mean IAE is −4.22%. The peak difference is +0.00215 Hz [−0.00007, +0.00416]. Table 7, Table 8 and Table 9 and Figure 2 show both absolute and paired quantities.
Table 7. Randomized means for 120 paired seeds (40 per disturbance family).
Table 8. Paired effects: negative favors the first controller. IAE is in Hz s and peak in Hz. BCa intervals use 10,000 seed-level resamples; p H applies Holm correction to the six paired t tests.
Table 9. Observer MPC minus predictor PI by disturbance family; descriptive intervals are not simultaneous confidence intervals.
Figure 2. Final 120-seed paired effects. Points represent seeds; diamonds and intervals show means and 95% BCa intervals. Negative favors the first method.
The reserve comparison is direct, not inferred by comparing two intervals against PI: R-MPC minus O-MPC gives +0.00437 Hz s [+0.00339, +0.00548] and −0.00003 Hz [−0.00008, +0.00002]. This measures the incremental reserve penalty with the estimator and hard constraints fixed. A statistically resolvable tiny difference is not automatically useful regulation improvement. The sweep in Table 10 defines the tested weight range; no claim is made that every possible reserve objective is ineffective.
Table 10. Reserve-weight sweep: coefficient α w ∈ { 0 , 0.01 , 0.035 , 0.1 } and cap c w ∈ { 3 , 10 , 30 } . α w = 0 reproduces ordinary observer MPC.
KF-MPC minus O-MPC gives −0.31477 Hz s [−0.38165, −0.24590] for IAE and −0.00886 Hz [−0.01379, −0.00325] for peak. These results directly qualify any claim that the finite-window reconstruction is itself a superior observer. They also show why estimator choice and predictive optimization must be evaluated separately.
The family-specific results are central to interpretation. A persistence forecast is poorly matched to an ongoing ramp or fast innovation, and a PI integral can correct sustained errors differently from a finite-horizon allocation. A pooled advantage does not imply per-seed or per-family dominance. O-MPC reduces pooled mean IAE by 4.22%, but its Holm-adjusted p = 0.109 does not establish an advantage at the 5% familywise level. Its unadjusted BCa interval excludes zero; these are different inferential criteria and neither is concealed. For ramps, O-MPC increases IAE by 0.34686 Hz s and peak by 0.01002 Hz, with no wins among the 40 ramp seeds. Step and stochastic mean IAE differences are − 0.43017 and − 0.26036 Hz s. The reserve penalty increases mean IAE by only 0.00437 Hz s, about 0.17% of O-MPC mean IAE; this is statistically detectable but small. The output statistics are conditional on the final tuning signals, gain grids, sampling period and modeled distributions. The protection layer is shared; safe device limits cannot be credited exclusively to MPC. Comparisons with stale MPC include the benefit of replay, while P-PI/O-MPC still differ in allocation as well as prediction.

6.3. Audit of the Original Unfavorable Seeds

The original 20-seed experiment is retained separately rather than combined with the fresh evaluation. Its P-PI baseline mean was 1.87294 Hz s IAE and 0.513884 Hz peak; O-MPC means were 1.71318 Hz s and 0.514680 Hz. The original 0.15976-Hz s mean reduction corresponds to about 8.53% of that baseline, while its peak interval crossed zero. Those figures belong to the original gains and one disturbance family, and are superseded as headline evidence.
Original seeds 0, 5 and 14 had O-MPC minus P-PI IAE differences +0.03792, +0.00571 and +0.12450 Hz s. Re-execution reproduces those differences to numerical precision. Segment attribution in Table 11 localizes seed 0 mainly to the first step and final sign change, seed 5 to the 42-s step reduction, and seed 14 to all three transitions. Benefits during quieter intervals partly offset those losses. These traces support a transient-estimation/allocation explanation; they do not identify inertia or delay alone as a causal predictor from only three observations. The full seed-level parameters and interval decomposition are archived.
Table 11. The original three non-improving seeds, retained as a separate audit of the superseded 20-seed experiment. Segment differences are replayed O-MPC minus P-PI IAE.

6.4. Communication and Battery Sensitivities

The estimator ranges in Table 12 quantify the noise/lag trade-off rather than assuming that the nominal window and filter are optimal. Combining increased noise and a longer blackout increases reconstruction error and changes regulation. These two stresses are combined in that sweep, so their individual effects are not separately identified. Clipping thresholds above the encountered innovations can yield identical outcomes; absence of sensitivity there is not evidence for arbitrarily large disturbances.
Table 12. Estimator sensitivity on a fast stochastic profile; ranges across 27 ( L 0 , α d , c d ) settings per stress condition. Est. RMSE: root-mean-square estimation error.
Table 13 shows command, report and battery perturbations. Delayed noisy reports near an energy boundary can produce a misleading estimated SoC and preceding-power pair: a feasible local physical state does not imply that the coordinator’s QP is feasible. Repeated solver rejection and local protection therefore need to be considered in practical architecture design. Deterministic stress results use one common seed and should be read as mechanism demonstrations, not failure probabilities.
Table 13. Extended stress tests: IAE (Hz s) in S2 and energy-limited S7. These are single-seed sensitivity cases, not population estimates.

6.5. Failure Diagnosis, Constraints and Runtime

Figure 3 juxtaposes frequency, applied total command, reconstruction error, sample age, primal residual and active-constraint count. Full per-battery requests and powers, issued commands, dual residuals, iterations and acceptance statuses are included in the traces. Under the final lower frequency weight, stale MPC has zero rejected QPs in the ten deterministic cases, while its oscillatory behavior remains. The four rejections reported in the original manuscript are audited separately with the original weights; their status and constraint evidence are given in Table 14 and Figure 4. They are not silently transferred to the revised configuration.
Figure 3. Stale and observer MPC diagnostics. Shared axes within each panel support direct comparison; gray secondary axes show packet age. Residual plots use a symmetric logarithmic scale. Infeasible solves have no accepted active-set count.
Table 14. Original stale-MPC S10 failure audit ( q f = 250 , q Δ = 2 ). Positive stopping-budget excess proves a conflict with the conservative horizon energy budget.
Figure 4. Original S10 stale-MPC audit with original weights. Red vertical markers locate rejected solves. This is a provenance diagnostic, separate from the revised tuning.
With stale initial frequency, the optimizer repeatedly reacts to an old deviation and can reverse or sustain a command after the current state has moved. Near charge saturation, energy headroom can be too small to ramp the preceding charging command toward zero inside the conservative future budgets. The preceding-power stopping budget and local-override logs are used to distinguish that structural conflict from a numerical residual rejection. The original rejected solves occur at 92.2, 117.4, 153.4 and 164.6 s. Their maximum stopping-budget excesses range from only 2.10 × 10 − 4 to 2.64 × 10 − 4 MW samples, below the 2 × 10 − 3 acceptance threshold used on previous candidate solutions. Thus finite numerical tolerance near the energy boundary can seed a subsequent ramp/energy infeasibility. These small defects are distinct from gross energy inadequacy. Stale-state oscillations and boundary rejections have related but different mechanisms.
Table 15 reports local protection and QP accounting across final deterministic, randomized and sensitivity runs. SoC and instantaneous capability violations are zero in the recorded trajectories; nonzero ramp excess accompanies local overrides and is retained in the CSVs. The extended noisy-telemetry tests produce many more rejected QPs than the nominal benchmark, so the original zero-failure statement for observer MPC is not retained as a general claim.
Table 15. Accounting across revised evaluation and sensitivity runs (excluding design and legacy replay). Timing includes construction and solve under three-worker execution. KF-MPC and S-MPC were not run in the communication/battery stress tests, where most rejections occur, so their counts are not directly comparable.
Measurements were made on an Apple M4 Pro with macOS 26.5.2 (arm64), Python 3.12.14, NumPy 2.5.3, SciPy 1.18.1 and OSQP 1.1.3. Three experiment workers ran concurrently with BLAS/OpenMP thread limits of one. Timing includes matrix assembly and solving but excludes physical communications and embedded I/O. Both maximum observed solve time and the largest trajectory-level 95th percentile are reported. Neither is a worst-case execution-time bound. A deployment would need scheduling/deadline tests, known communication budgets, watchdogs and a validated local fallback. Communication latency adds to sensing-to-actuation age even when a solve takes less than the 200-ms sample interval.

7. Conclusions and Validation Boundary

This work contributes a documented aggregate-model benchmark rather than a new control architecture. Common tuning, matched causal information and explicit physical protection make controller differences more interpretable. Observer MPC has a 4.22% lower pooled mean IAE, with 62 wins in 120 trials, but the Holm-adjusted test does not establish an overall IAE advantage. Predictor PI performs better on all 40 ramp trials; its peak comparison with observer MPC remains inconclusive in the pooled sample. The Kalman baseline reduces mean IAE by 0.31477 Hz s relative to the finite-window observer MPC. Direct reserve-MPC comparisons and coefficient/cap sweeps do not justify a general reserve-weighting advantage. The separate Kalman baseline prevents state reconstruction from being treated as an unchallenged source of novelty.
Power and energy inadequacy remain distinct from regulation quality. Delayed battery reports and command delivery can undermine coordinator feasibility even while accurate local protection keeps physical batteries within limits. The scalar boundedness result does not establish restoration, recursive QP feasibility, AC network stability or real-time readiness. The next validation stage must include a common local primary layer, converter/network dynamics, voltage-dependent current limits, calibrated battery capability and independently checked hardware or high-fidelity simulations. The present results cannot substitute for that stage.

Author Contributions

Conceptualization, M.P., W.Z. and F.F.; methodology, M.P., W.Z. and F.F.; software, M.P., W.Z. and F.F.; validation, M.P., W.Z. and F.F.; formal analysis, M.P., W.Z. and F.F.; investigation, M.P., W.Z. and F.F.; resources, M.P., W.Z. and F.F.; data curation, M.P., W.Z. and F.F.; writing—original draft preparation, M.P., W.Z. and F.F.; writing—review and editing, M.P., W.Z. and F.F.; visualization, M.P., W.Z. and F.F.; supervision, M.P., W.Z. and F.F.; project administration, M.P., W.Z. and F.F.; funding acquisition, W.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by a research grant from the Natural Sciences and Engineering Research Council of Canada (NSERC).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The numerical results supporting the findings of this study are presented in the article. The underlying simulation datasets and source code are not publicly available.

Acknowledgments

The authors thank the editor and reviewers for their helpful feedback.

Conflicts of Interest

The authors declare no conflicts of interest. This work originates from doctoral research at the University of Waterloo. Edgecom Energy Inc. and the New York Power Authority, the authors’ current employers, had no role in the design of the study; in the collection, analysis, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Guerrero, J.M.; Vasquez, J.C.; Matas, J.; de Vicuna, L.G.; Castilla, M. Hierarchical Control of Droop-Controlled AC and DC Microgrids—A General Approach Toward Standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef] [Scilit]
  2. Bidram, A.; Davoudi, A. Hierarchical Structure of Microgrids Control System. IEEE Trans. Smart Grid 2012, 3, 1963–1976. [Google Scholar] [CrossRef] [Scilit]
  3. Zhao, Z.; Zhang, X.; Zhong, C. Model Predictive Secondary Frequency Control for Islanded Microgrid under Wind and Solar Stochastics. Electronics 2023, 12, 3972. [Google Scholar] [CrossRef] [Scilit]
  4. Zhong, C.; Zhao, H.; Liu, Y.; Liu, C. Model predictive secondary frequency control of island microgrid based on two-layer moving-horizon estimation observer. Appl. Energy 2024, 372, 123721. [Google Scholar] [CrossRef] [Scilit]
  5. Zhao, Q.; Zhang, W.; Zhang, T.; Chen, J.; Ye, H. Robust Consensus-Based Secondary Control for Microgrids Considering Communication Delay and Noises: A Kalman Filter-Based Approach. IEEE Trans. Smart Grid 2025, 16, 2791–2802. [Google Scholar] [CrossRef] [Scilit]
  6. Gomez Anccas, E.D.; Hans, C.A.; Schulz, D. Microgrid Operation Control with State-of-Charge-Dependent Storage Power Constraints. In Proceedings of the 2025 IEEE Kiel PowerTech, Kiel, Germany, 29 June–3 July 2025; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  7. Faragalla, A.; Abouzeid, S.I.; Abdel-Rahim, O.; Orabi, M.; Abdelhameed, E.H. Adaptive and coordinated load frequency control for isolated microgrids considering battery state of charge dynamics. J. Energy Storage 2025, 112, 115467. [Google Scholar] [CrossRef] [Scilit]
  8. Najafi, M.; Toulabi, M. Model predictive control with delay compensation for enhanced frequency regulation in hybrid virtual synchronous generators-synchronous generator microgrids. Results Eng. 2025, 27, 106748. [Google Scholar] [CrossRef] [Scilit]
  9. Qi, J.; Ying, A.; Zhang, B.; Zhou, D.; Weng, G. Distributed Frequency Regulation Method for Power Grids Considering the Delayed Response of Virtual Power Plants. Energies 2025, 18, 1361. [Google Scholar] [CrossRef] [Scilit]
  10. An, Z.; Liu, X.; Xiao, G.; Kang, Y.; Wang, P. Load frequency control of multi-region interconnected power systems with HESS: An event-triggered tube MPC strategy. Appl. Math. Comput. 2026, 519, 129937. [Google Scholar] [CrossRef] [Scilit]
  11. Torkan, R.; Wang, Z.; Tang, Y. Coordinated augmented-output model predictive control for frequency regulation using electric vehicles in low-inertia power systems. Appl. Energy 2026, 409, 127474. [Google Scholar] [CrossRef] [Scilit]
  12. Malik, M.N.; Zhao, Q.; Wang, S. A Finite Control Set–Model Predictive Control Method for Hybrid AC/DC Microgrid Operation with PV, Wind Generation, and Energy Storage System. Energies 2026, 19, 754. [Google Scholar] [CrossRef] [Scilit]
  13. Wang, X.; Zhang, M.; Guo, J.; He, C. ANN control of high-voltage islanded microgrid based on hybrid multi-vector MPC. Electr. Power Syst. Res. 2026, 254, 112712. [Google Scholar] [CrossRef] [Scilit]
  14. Meng, Q.; Gao, Y.; Wang, S.; Hu, X.; Zhao, L.; She, Q.; Wan, S.; Wang, H.; Zhao, J.; Yao, W.; et al. Two-stage scheduling of electric vehicle flexible load regulation and generation-grid–load–storage resources in new-type power systems. Energy Rep. 2026, 15, 109090. [Google Scholar] [CrossRef] [Scilit]
  15. Meng, Q.; Zhao, L.; She, Q.; Guo, Q.; Guo, L.; Chen, P.; Zhao, J.; Yao, W.; Gao, Y.; Wang, S.; et al. Generation–grid–load–storage coordination for a park-level integrated energy microgrid under new-type power systems. Energy Rep. 2026, 15, 108924. [Google Scholar] [CrossRef] [Scilit]
  16. Åström, K.J.; Rundqwist, L. Integrator Windup and How to Avoid It. In Proceedings of the 1989 American Control Conference, Pittsburgh, PA, USA, 21–23 June 1989; pp. 1693–1698. [Google Scholar] [CrossRef] [Scilit]
  17. Stellato, B.; Banjac, G.; Goulart, P.; Bemporad, A.; Boyd, S. OSQP: An operator splitting solver for quadratic programs. Math. Program. Comput. 2020, 12, 637–672. [Google Scholar] [CrossRef] [Scilit]
  18. Mayne, D.Q.; Rawlings, J.B.; Rao, C.V.; Scokaert, P.O.M. Constrained model predictive control: Stability and optimality. Automatica 2000, 36, 789–814. [Google Scholar] [CrossRef] [Scilit]
  19. Efron, B. Better Bootstrap Confidence Intervals. J. Am. Stat. Assoc. 1987, 82, 171–185. [Google Scholar] [CrossRef]
  20. Holm, S. A Simple Sequentially Rejective Multiple Test Procedure. Scand. J. Stat. 1979, 6, 65–70. [Google Scholar]
  21. Schiffer, J.; Zonetti, D.; Ortega, R.; Stanković, A.M.; Sezi, T.; Raisch, J. A survey on modeling of microgrids—From fundamental physics to phasors and voltage sources. Automatica 2016, 74, 135–150. [Google Scholar] [CrossRef] [Scilit]
  22. Farrokhabadi, M.; Canizares, C.A.; Simpson-Porco, J.W.; Nasr, E.; Fan, L.; Mendoza-Araya, P.A.; Tonkoski, R.; Tamrakar, U.; Hatziargyriou, N.; Lagos, D.; et al. Microgrid Stability Definitions, Analysis, and Examples. IEEE Trans. Power Syst. 2020, 35, 13–29. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.