Quantification and Regulation of Energy Reserves for Distributed Frequency and Voltage Control of Cyber-Physical Microgrids

arXiv:2604.14499 · eess.SY, cs.SY · Submitted 2026-04-16 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: I'm Rosa.

Dev: And I'm Dev, here with Taro.

Rosa: We're looking at the paper: "Quantification and Regulation of Energy Reserves for Distributed Frequency and Voltage Control of Cyber-Physical Microgrids".

Dev: Here's the gist of the paper. The paper proposes a BESS energy reserves framework to quantify and regulate energy reserves for distributed frequency and voltage control of Grid-Forming Inverters, which is important because it addresses unexplored links to tertiary level control in terms of service-based reserves and local resource adequacy in Microgrids Problem Context The shift towards a distributed power grid structure necessitates faster and localized secondary level control for regulation in Microgrids and Networks of Microgrids Conventionally, distributed secondary level control schemes like Distributed-Averaging Proportional-Integral (DAPI) control have been proposed for frequency and voltage regulation with power sharing Energy Reserve Formulation The authors propose redefining energy reserves based on the deviation from power setpoint outputs to capture inadvertent energy exchange Specifically, the active and reactive energy reserves are defined using expressions relating to this imbalance The reactive power capacity headroom is computed using the inverter capacity Smax,i as follows Regulation Energy Reserve Consensus To achieve energy sharing, the authors introduce consensus-based control terms into the DAPI scheme to maintain equal regulation energy reserves across inverters The updated consensus terms in the control dynamics are formulated as follows.

Rosa: Stability Analysis Modal analysis is performed on the projected states in the disagreement space to demonstrate stability guarantees for frequency and voltage control The Routh-Hurwitz stability conditions are met under certain bounds for mω and ki, certifying frequency stability Simulation Validation The proposed scheme is validated through Controller Hardware-In-the-Loop (CHIL) simulations on an MG topologically based on an islanded IEEE 13 bus test feeder system Simulations show that the proposed scheme can achieve equal regulation reserves across inverters, maintaining frequency and voltage regulation along with improved power and energy sharing The results also indicate that the proposed scheme maintains a more constant reactive energy reserve compared to the base DAPI scheme in VSM-controlled scenarios The paper successfully proposes a hierarchical control energy reserves framework and a DAPI-based energy consensus scheme to share active and reactive regulation energy reserves across inverters Simulations with CHIL validation illustrate the validity of the proposed scheme, achieving frequency and voltage regulation, active and reactive power sharing and sharing of active energy reserves Future work involves heterogeneous BESS and inverter test cases in NMGs References

1: M.

Dev: D.

Rosa: Ilic, “From Hierarchical to Open Access Electric Power Systems,” ´ in Proceedings of the IEEE, vol.

Paper summary: Rosa: So thinking about the title "Quantification and Regulation of Energy Reserves for Distributed Frequency and Voltage Control of Cyber-Physical Microgrids," it really sums up what this paper is trying to achieve in terms of structuring control. It moves beyond just basic regulation to a more comprehensive framework for managing energy resources across distributed inverters one <ref:2604.14499#pg1>.

Dev: They are essentially giving us a tool to measure the exact size of those reserves—both active and reactive—and then using consensus logic to make sure every inverter is contributing fairly to maintaining that required level of service two <ref:2604.14499#pg2>. It’s about making sure the local resource adequacy goals are met without letting one inverter dominate or starve others three <ref:2604.14499#pg3>.

Taro: What I see is that this framework gives us a concrete mathematical way to design control systems for microgrids, not just high-level concepts. It's about building a verifiable mechanism for how these distributed energy resources interact during operational stress fifteen.

Rosa: And the implication, from what we discussed, is that if we implement this kind of consensus-based sharing in real hardware—like those grid-forming inverters—we should see more reliable frequency and voltage control across a network of microgrids six.

Dev: It suggests that for future work, the authors are looking at testing this framework with heterogeneous BESS and inverter test cases within Networks of Microgrids, which means they want to see if this works when the systems get really complex ten.

Taro: Testing with different types of storage and inverters is important because real microgrids won't be uniform; you might have batteries acting differently than other generation sources eighteen <ref:2604.14499#pg3>.

Rosa: So, in simple terms, the paper offers a method to make sure that when we have many distributed energy resources trying to manage the grid together, they can actually share their stability reserves effectively one <ref:2604.14499#pg1>.

Conclusion: Rosa: So we’ve been looking at this paper, "Quantification and Regulation of Energy Reserves for Distributed Frequency and Voltage Control of Cyber-Physical Microgrids." Essentially, they’re creating a math framework to measure how much energy reserves are needed so that every inverter in a network can contribute equally to keeping the frequency and voltage stable.

Dev: Right. It’s taking those abstract concepts of "reserve" and turning them into concrete quantities—active and reactive—based on how much power they deviate from the target setpoint. I like that it ties the energy sharing directly into consensus terms within the control loop, which is something we need for real-time stability.

Taro: It’s interesting because it addresses that tertiary level control aspect you mentioned earlier in our discussion—the service-based reserves and local resource adequacy in microgrids. It moves beyond just keeping things balanced to ensuring everyone has a guaranteed share of the load management capability.

Rosa: The authors validate this whole thing using Hardware-in-the-Loop simulations on a test feeder system, showing that they can actually achieve equal regulation reserves across the inverters while maintaining frequency and voltage control. That’s pretty solid validation for us outside the lab environment.

Dev: The stability analysis used Routh Hurwitz conditions on the projected states in disagreement space, which is how they prove that this consensus scheme won't cause instability under certain bounds for those parameters alpha and ki. It gives us a safety case, even if it’s just theoretical certification for now.

Taro: I’m still curious about how this plays out when the world gets messy. What happens to that equal sharing mechanism when some inverters are offline or responding poorly? Does the consensus break down gracefully, or does it lead to a cascade failure?

Rosa: That’s a fair question, Taro. The authors hint at future work involving heterogeneous BESS and inverter test cases in Networks of Microgrids. It suggests they want to push this framework beyond the current simplified simulation setup into more realistic scenarios.

Dev: Yeah, that’s the next logical step for us to look at—testing it when you have different kinds of storage units interacting with each other in a complex network structure. That's where we’ll really find out if this framework holds up under real operational stress.

Santa Clara University

eess.SY, cs.SY

Submitted: 2026-04-16

Updated: 2026-11-14

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 88/100

The gist: The paper proposes a BESS energy reserves framework to quantify and regulate energy reserves for distributed frequency and voltage control of Grid-Forming Inverters…

Key concepts

Energy Reserve Formulation
This method defines the available energy reserves by measuring how much the actual power output deviates from its target setpoint. This imbalance is used to calculate specific active and reactive energy reserves, which represent the capacity available for immediate control actions.
Regulation Energy Reserve Consensus
To ensure that all inverters share their regulation capabilities fairly, consensus-based control terms are added to the DAPI scheme. These terms drive the system so that every inverter maintains an equal level of regulation energy reserves, promoting balanced operation.
DAPI Control Scheme
Distributed-Averaging Proportional-Integral (DAPI) is a control strategy used for frequency and voltage regulation in microgrids. The paper modifies this scheme by incorporating consensus terms to achieve the goal of sharing energy reserves among multiple distributed inverters.

Terminology

Summary

The paper proposes a BESS energy reserves framework to quantify and regulate energy reserves for distributed frequency and voltage control of Grid-Forming Inverters, which is important because it addresses unexplored links to tertiary level control in terms of service-based reserves and local resource adequacy in Microgrids

Problem Context

The shift towards a distributed power grid structure necessitates faster and localized secondary level control for regulation in Microgrids and Networks of Microgrids Conventionally, distributed secondary level control schemes like Distributed-Averaging Proportional-Integral (DAPI) control have been proposed for frequency and voltage regulation with power sharing

Energy Reserve Formulation

The authors propose redefining energy reserves based on the deviation from power setpoint outputs to capture inadvertent energy exchange Specifically, the active and reactive energy reserves are defined using expressions relating to this imbalance The reactive power capacity headroom is computed using the inverter capacity Smax,i as follows

Regulation Energy Reserve Consensus

To achieve energy sharing, the authors introduce consensus-based control terms into the DAPI scheme to maintain equal regulation energy reserves across inverters The updated consensus terms in the control dynamics are formulated as follows.

Stability Analysis

Modal analysis is performed on the projected states in the disagreement space to demonstrate stability guarantees for frequency and voltage control The Routh-Hurwitz stability conditions are met under certain bounds for mω and ki, certifying frequency stability

Simulation Validation

The proposed scheme is validated through Controller Hardware-In-the-Loop (CHIL) simulations on an MG topologically based on an islanded IEEE 13 bus test feeder system Simulations show that the proposed scheme can achieve equal regulation reserves across inverters, maintaining frequency and voltage regulation along with improved power and energy sharing The results also indicate that the proposed scheme maintains a more constant reactive energy reserve compared to the base DAPI scheme in VSM-controlled scenarios

Conclusion

The paper successfully proposes a hierarchical control energy reserves framework and a DAPI-based energy consensus scheme to share active and reactive regulation energy reserves across inverters Simulations with CHIL validation illustrate the validity of the proposed scheme, achieving frequency and voltage regulation, active and reactive power sharing and sharing of active energy reserves Future work involves heterogeneous BESS and inverter test cases in NMGs

References

[1] M. D. Ilic, “From Hierarchical to Open Access Electric Power Systems,” ´ in Proceedings of the IEEE, vol. p. 1

Where the paper says it

Hence, new challenges are faced with respect to power system stability and operation. In terms of operation, power systems have been conventionally governed by a hierarchical three-layer control.

95, no. 5, pp. 1060-1084, May 2007 <ref:2604. p. 0
Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg2>

[2] F. Nawaz, E. Pashajavid, Y. Fan and M. Batool, “A Comprehensive Review of the State-of-the-Art of Secondary Control Strategies for Microgrids,” IEEE Access, vol. p. 0

Where the paper says it

This has led to extensive studies in the literature on distributed hierarchical control strategies. Previous works have proposed distributed secondary level frequency and voltage regulation control schemes for Battery Energy Storage System (BESS)-based Grid-Forming (GFM) inverters with State of Charge (SoC) balancing.

11, pp. 102444-102459, 2023 <ref:2604. p. 0
Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg4>

[3] J. W. Simpson-Porco, F. p. 6

Where the paper says it

Voltage Stability For voltage stability, we follow Simpson-Porco et al. ’s [4] small-signal stability analysis.

Dorfler and F. Bullo, “Synchronization and ¨ power sharing for droop-controlled inverters in islanded microgrids,” Automatica, vol. p. 0
Where the paper says it

The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters. Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids.

49, no. 9, pp. 2603-2611, Sep. 2013 <ref:2604. p. 0
Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg8>

[4] J. W. Simpson-Porco, Q. p. 6

Where the paper says it

Voltage Stability For voltage stability, we follow Simpson-Porco et al. ’s [4] small-signal stability analysis.

Shafiee, F. Dorfler, J. C. Vasquez, J. M¨ Guerrero and F. Bullo, “Secondary Frequency and Voltage Control of Islanded MGs via Distributed Averaging,” IEEE Transactions on Industrial Electronics, vol 62, no 11, pp 7025-7038, Nov 2015 <ref:2604. p. 0
Where the paper says it

1 Quantification and Regulation of Energy Reserves for Distributed Frequency and Voltage Control of Grid-Forming Inverters Ahmed Saad Al-Karsani, Student Member, IEEE, Maryam Khanbaghi, Senior Member, IEEE Abstract—The introduction of Renewable Energy Sources (RES) and Distributed Energy Resources (DERs) has led to the formulation of Microgrids (MGs) and Networks of MGs (NMGs). MGs and NMGs can operate in islanded mode, transforming the grid into a more distributed system.

14499#pg4>

[5] M. Andreasson, D. V. Dimarogonas, H. Sandberg and K. H. Johansson, “Distributed Control of Networked Dynamical Systems: Static Feedback, Integral Action and Consensus,” IEEE Transactions on Automatic Control, vol 59, no 7, pp 1750-1764, July 2014 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg4>

[6] J. W. Simpson-Porco, “On Stability of Distributed-Averaging Proportional-Integral Frequency Control in Power Systems,” in IEEE Control Systems Letters, vol 5, no 2, pp 677-682, April 2021 <ref:2604. p. 0

Where the paper says it

The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters. Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids.

14499#pg4>

[7] E. Tegling, M. Andreasson, J. W. Simpson-Porco and H. p. 6

Where the paper says it

Voltage Stability For voltage stability, we follow Simpson-Porco et al. ’s [4] small-signal stability analysis.

Sandberg, “Improving performance of droop-controlled microgrids through distributed PI-control,” 2016 American Control Conference (ACC), Boston, MA, USA, 2016, pp 2321-2327 <ref:2604. p. 0
Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg6>

[8] K. Yan, G. Li, R. Zhang, Y. Xu, T. Jiang and X. Li, “Frequency Control and Optimal Operation of Low-Inertia Power Systems With HVDC and Renewable Energy: A Review,” IEEE Transactions on Power Systems, vol 39, no 2, pp 4279-4295, March 2024 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg9>

[9] Y. Zhang et al., “Investigating Power System Primary and Secondary Reserve Interaction under High Wind Power Penetration,” Technical Report, NREL/TP-5D00-64637, Dec. p. 2

Where the paper says it

The average-based modeling of a Battery Energy Storage System (BESS)-based Grid-Forming (GFM) inverter with Virtual Synchronous Machine (VSM) primary level control, Distributed-Averaging Proportional-Integral (DAPI) and the proposed energy consensus secondary level control. The instantaneous active and reactive powers pi, qi are filtered using a Low-Pass Filter (LPF) to obtain the average power outputs.

2016 <ref:2604. p. 0
Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg4>

[10] T. Morstyn, B. Hredzak and V. G. Agelidis, “Distributed Cooperative Control of Microgrid Storage,” IEEE Transactions on Power Systems, vol 30, no 5, pp 2780-2789, Sept 2015 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg4>

[11] J. Khazaei and Z. Miao, “Consensus Control for Energy Storage Systems,” IEEE Transactions on Smart Grid, vol 9, no 4, pp 3009-3017, July 2018 <ref:2604. p. 0

Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg6>

[12] D. H. Nguyen and J. Khazaei, ”Unified Distributed Control of Battery Storage With Various Primary Control in Power Systems,” in IEEE Transactions on Sustainable Energy, vol 12, no 4, pp 2332-2341, Oct 2021 <ref:2604. p. 0

Where the paper says it

The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters. Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids.

14499#pg6>

[13] L. Zhou, D. Du, M. Fei, K. Li and A. Rakic, “Multiobjective Distributed ´ Secondary Control of Battery Energy Storage Systems in Islanded AC Microgrids,” 2021 40th Chinese Control Conference (CCC), Shanghai, China, 2021, pp 6981-6985 <ref:2604. p. 0

Where the paper says it

The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters. Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids.

14499#pg4>

[14] Y. Li, L. Fan, L. Bao and Z. Miao, “CHIL Testbed of Consensus ControlBased Battery Energy Storage Systems,” 2020 52nd North American Power Symposium (NAPS), Tempe, AZ, USA, 2021, pp 1-6 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg9>

[15] D. Gamage, X. Zhang, A. Ukil, C. Wanigasekara and A. Swain, “Distributed Co-ordinated Consensus Control for Multi-Energy Storage of DC Microgrid,” 2021 IEEE Power & Energy Society General Meeting (PESGM), Washington, DC, USA, 2021, pp 1-5 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg9>

[16] A. Solat, G. B. Gharehpetian, M. S. Naderi, A. Anvari-Moghaddam, “A novel consensus-based control method for SoC balancing of distributed energy storage systems in isolated AC microgrids,” International Journal of Electrical Power & Energy Systems, vol 176, 2026

[17] M. Gholami, G. Bianchini and A. Vicino, “Distributed Secondary Control for Battery Energy Storage Systems in AC Microgrids under Multiple Time-Varying Communication Delays,” 2024 IEEE 63rd Conference on Decision and Control (CDC), Milan, Italy, 2024, pp 3483-3488

[18] T. A. Fagundes et al. p. 2

Where the paper says it

3 quency and voltage regulation with SoC balancing, they deviate from the conventional hierarchical control structure. Fagundes et al.

, “Battery Energy Storage Systems in Microgrids: A Review of SoC Balancing and Perspectives,” IEEE Open Journal of the Industrial Electronics Society, vol 5, pp 961-992, 2024 <ref:2604. p. 0
Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg4>

[19] Y. Rebours and D. p. 2

Where the paper says it

, availability of headroom (reserves) for adequate operation. Per Rebours and Kirschen [19], such a framework necessitates primary, secondary and tertiary level energy reserves for each generation unit.

Kirschen, “What is spinning reserves? p. 2
Where the paper says it

, availability of headroom (reserves) for adequate operation. Per Rebours and Kirschen [19], such a framework necessitates primary, secondary and tertiary level energy reserves for each generation unit.

,” The University of Manchester, 2005 <ref:2604. p. 0
Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg4>

[20] California Independent System Operator, “Special Report on Battery Storage,” Department of Market Monitoring, 2023 <ref:2604.14499#pg4>

[21] National Energy System Operator, “Response Stacking Guidance,” 2025 <ref:2604.14499#pg4>

[22] S. Mohammad Tayyeb and R. Krishan, “Data-Centric Decentralised Controller for Effective P-F and Q-V Control in AC Microgrids,” 2023 IEEE 3rd International Conference on Sustainable Energy and Future Electric Transportation (SEFET), Bhubaneswar, India, 2023, pp 1-6 <ref:2604. p. 0

Where the paper says it

Controller Hardware-In-the-Loop (CHIL) simulation is performed on an MG topologically based on the IEEE 13 bus test feeder system in MATLAB® /Simulink® . The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters.

14499#pg6>

[23] J. Santos Dohler, “Hierarchical Control and Inverter Functionalities in ¨ Microgrids. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

Modeling, Simulation, and Case Studies,” Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Science and Technology, 2603, Uppsala: Acta Universitatis Upsaliensis, Nov 2025 <ref:2604.14499#pg6>

[24] X. Chen, S. Bu and I. Kocar, “Grid-Forming IBRs Under Unbalanced Grid Conditions: Challenges, Solutions, and Prospects,” in IEEE Transactions on Sustainable Energy, vol 16, no 4, pp 3031-3047, Oct 2025 <ref:2604. p. 2

Where the paper says it

The rest of this paper is organized as follows: Section II details the droop-based and VSM-based GFM inverter with DAPI control, Section III formulates the proposed energy reserves framework and control scheme, stability analysis is performed in Section IV, simulation results are shown in Section V before the concluding remarks in Section VI. GRID-FORMING (GFM) INVERTER MODELING In this study, an equivalent average-based model of the BESS-based GFM IBRs with small-scale storage is considered.

14499#pg9>

[25] B. Johnson et al., “A Generic Primary-control Model for Grid-forming Inverters: Towards Interoperable Operation & Control,” 2022 55th Hawaii International Conference on System Sciences (HICSS), pp 3398–3407, 2022 <ref:2604. p. 0

Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg9>

[26] J. Zhang, Y. Men, L. Ding and X. Lu, “Secondary Frequency and Voltage Regulation for Inverter-Based Microgrids: A Sparsity-Promoting DAPI Control Approach,” IEEE Transactions on Control Systems Technology, vol 32, no 4, pp 1512-1519, July 2024 <ref:2604. p. 0

Where the paper says it

The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters. Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids.

14499#pg7>

[27] G. -S. Seo, M. Colombino, I. Subotic, B. Johnson, D Groß and F Dorfler, “Dispatchable Virtual Oscillator Control for Decentralized ¨ Inverter-dominated Power Systems: Analysis and Experiments,” 2019 IEEE Applied Power Electronics Conference and Exposition (APEC), Anaheim, CA, USA, 2019, pp 561-566 <ref:2604. p. 0

Where the paper says it

Index Terms—Battery Energy Storage Systems (BESS), Distributed-Averaging Proportional-Integral (DAPI) Control, Energy Reserves, Grid-Forming (GFM) Inverters, Microgrids. NOMENCLATURE Abbreviations ACE Area Control Error AGC Automatic Generation Control BA Balancing Authority BESS Battery Energy Storage System CAISO California Independent System Operator CHIL Controller Hardware-In-the-Loop DAPI Distributed-Averaging Proportional-Integral dVOC dispatchable Virtual Oscillator Control DER Distributed Energy Resource GFM Grid-Forming IBR Inverter-Based Resource LPF Low-Pass Filter MG Microgrid NESO National Energy System Operator NMG Network of Microgrids RES Renewable Energy Sources SoC State of Charge VSM Virtual Synchronous Machine Ahmed Saad Al-Karsani and Maryam Khanbaghi (corresponding author) are with Santa Clara University, 500 El Camino Real, Santa Clara, CA, USA.

14499#pg8>

[28] Pacific Gas and Electric Company, “Electric Rule No. 1: Definitions,” Pacific Gas and Electric Tariff Book, 2007 <ref:2604. p. 0

Where the paper says it

(email: {ahsaad, mkhanbaghi}@scu. edu) Symbols (·)e Equilibrium point ¯(·) Steady-state value ˜(·) Small-signal deviation (·) ∗ Setpoint value (·)i,j i th, jth inverter expression Parameters a, b Frequency, voltage consensus communication link gain Cf Inverter filter capacitance (F) e, f Active, reactive energy reserve communication link gain E¯ Total active energy unused capacity (Ws) ki , κi Frequency, voltage consensus inverse integral gain Lf Inverter-side filter inductance (H) m, n Frequency (rad/Ws), voltage (V/VAR) droop gain Mω Virtual inertia constant (sec) N Total number of inverters P ∗ , Q∗ Active (W) and reactive (VAR) power output setpoint Rf Inverter-side filter resistance (Ω) Smax Maximum apparent power output (MVA) τV Voltage primary level control time constant (sec) ξ Consensus voltage deviation term gain Variables e Voltage consensus (V) E, F Active energy reserve (Ws), reactive energy reserve (VARs) ∆E, ∆F Active energy imbalance (Ws), reactive energy imbalance (VARs) F¯ Total reactive energy (headroom) unused capacity (VARs) id, iq d-axis, q-axis inverter-side current (A) igd, igq d-axis, q-axis grid-side current (A) P, Q Average (filtered) active power (W), reactive power (VAR) t Time (sec) vgd, vgq d-axis, q-axis grid-side voltage (V) V Droop voltage (V) δ Phase angle (rad) ω Angular frequency (rad/s) Ω Frequency consensus variable (rad/s) arXiv:2604.

14499#pg4>

[29] R. Olfati-Saber, J. A. Fax and R. M. Murray, “Consensus and Cooperation in Networked Multi-Agent Systems,” in Proceedings of the IEEE, vol 95, no 1, pp 215-233, Jan 2007

[30] L. Xiao, S. Boyd and S.-J. Kim, “Distributed average consensus with least-mean-square deviation,” Journal of Parallel and Distributed Computing, vol 67, no 1, pp 33–46, Jan 2007

[31] x(t) = V e − Λ t V T x(0) (30)

[32] x(t) = Ψ x(t) + Π x(t) = 1N 11T x(t) + I − 1N 11T x(t) (32) <ref:2604.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Quantify BESS energy reserves to define hierarchical control headroom based on operating reserves concept to account for long-term tertiary level headroom. The improved AI system can perform accurate estimation of required energy reserves for various control layers in a microgrid context.

  2. Implement a consensus-based energy reserves regulation scheme using DAPI control to share active and reactive regulation energy reserves across inverters. This allows the AI system to achieve equitable primary level and secondary level regulation energy expenditure from each inverter, ensuring equal State of Charge across BESS units.

  3. Perform modal analysis on projected states in disagreement space using the Routh-Hurwitz criterion to certify frequency stability for the composite system under droop-controlled and VSM-controlled inverters. The improved AI system can guarantee frequency stability within bounded values of m omega and ki by ensuring conditions like alpha1 alpha2 > alpha0 alpha3 are met.

  4. Analyze voltage stability by projecting relevant states into the disagreement subspace to examine the characteristic polynomial DV for the composite system defined by (25a)-(25c). This analysis allows the AI system to confirm voltage stability based on conditions such as Q star minus 1 greater than or equal to n tau V gamma f.

  5. Validate proposed schemes through Controller Hardware-In-the-Loop simulations using Arduino microcontrollers and OPAL-RT test benches for real-time verification. The improved AI system can be tested for practical implementation robustness in hardware environments, confirming the validity of the proposed energy reserves consensus scheme.

Abstract

The introduction of Renewable Energy Sources (RES) and Distributed Energy Resources (DERs) has led to the formation of cyber-physical Microgrids (MGs) and Networks of MGs (NMGs). MGs and NMGs can operate in islanded mode, transforming the grid into a more distributed system. This has led to extensive studies in the literature on distributed hierarchical control strategies. Previous works have proposed distributed secondary level frequency and voltage regulation control schemes for Battery Energy Storage System (BESS)- based Grid-Forming (GFM) inverters with State of Charge (SoC) balancing. However, control applications in terms of service-based reserves and local resource adequacy in MGs are largely unexplored. Therefore, this paper proposes a BESS-based GFM inverter energy reserves framework, to quantify reserves for hierarchical control operation. Additionally, to partially regulate the proposed energy reserves, we propose the formulation of a modified Distributed-Averaging Proportional-Integral (DAPI) controller with regulation energy reserve consensus. Modal analysis is performed to demonstrate the stability guarantees of energy consensus under simplified assumptions. Cyber-physical Controller Hardware-In-the-Loop (CHIL) simulation is performed on an MG topologically based on the IEEE 13 bus test feeder system in MATLAB/Simulink. The proposed scheme results illustrate effective frequency and voltage regulation along with improved power and energy sharing across droop-controlled and Virtual Synchronous Machine (VSM) controlled inverters

Related papers