Resilience-Assuring Hydrogen-Powered Microgrids
Abstract
Green hydrogen has shown great potential to power microgrids as a primary source, yet the operation methodology under extreme events is still an open area. To fill this gap, this letter establishes an operational optimization strategy towards resilient hydrogen-powered microgrids, where the frequency and voltage regulation characteristics of hydrogen sources under advanced controls are accurately represented by piecewise linear constraints. The results show that the new operation approach can output a safety-assured operation plan with rational power change distribution and reduced frequency and voltage variation.
Index Terms:
Microgrid operation, resilience, hydrogen, optimization, control.I Introduction
Increasingly frequent natural disasters and cyber/ physical attacks pose an urgent need to build resilient microgrids in communities [1]. Clean hydrogen and hydrogen-based fuels provide an opportunity to increase the resilience of microgrids while reducing carbon emission [2]. Although there exist off-the-shelf models for optimal operation of microgrids [3], the hydrogen sources have not yet been taken as the primary source to support microgrid operation. Further, the frequency and voltage regulation characteristics [4] need to be considered in the optimization so as to ensure a resilient operation of microgrids under disturbances. Thus, this letter will formulate a new scenario-based stochastic optimization with frequency and voltage regulations, and provide key insights on how primary hydrogen sources as well as the advanced control could contribute to the system resilience.
II Optimization Formulation
Once the hydrogen-based sources (e.g., fuel cells or microturbines) are equipped with advanced droop controls, they are able to provide frequency and voltage regulations and maintain stable operations of microgrids. For this reason, hydrogen-powered microgrids are able to maintain continuous power supply to the critical loads therein upon the occurrence of blackouts. To be used in extreme conditions, the optimization model in this letter assumes: (1) The microgrid is islanded; (2) The states of components, including hydrogen sources, other distributed energy resources (DERs), branches, etc., are known and only those survived are taken into account; (3) The communication system is down and thus the automatic secondary and tertiary control of DERs are invalid; (4) Manually adjusting the references of DERs and connections of loads is available but needs time; (5) The time-series curves for renewable sources and loads within the optimization time window can be forecast with some errors, while the specific forecast method is beyond this letter’s focus.
The objective is to maximize the weighted served loads under uncertainty scenarios:
(1) |
where is the set of scenarios of renewable power outputs and loads which can be generated by adding the samples from the probability distribution of forecast error to the forecast time-series power curve; is the weight of scenario ; is the set of decision moments; is the set of buses; is the binary variable to decide whether to serve the load at bus or not at moment ; is the weight; is the active power of the load at bus , moment and scenario .
1) Hydrogen Constraints
Considering the separate electrolyzer and fuel cell structure, and the active power limits, the characteristic for droop-controlled hydrogen sources can be formulated as:
(2) |
(3) |
where is the set of buses with a hydrogen source; and are the active power input of electrolyzer and output of fuel cell; and are the maximum input of electrolyzer and output of fuel cell; and are the maximum frequency of droop mode for electrolyzer and minimum frequency of droop mode for full cell; and are the corresponding droop coefficients.
Noted that the piecewise equations (2) and (3) under droop control can be used for both grid-forming and grid-following inverters, but (2) and (3) are usually reversely formulated as functions in a grid-forming mode.
To choose either electrolyzer or fuel cell to work, we have:
(4) |
(5) |
where is the active power injection of hydrogen; and are the binary variables to decide whether the electrolyzer or the full cell is working.
Also, the hydrogen tank constraints should be considered:
(6) |
(7) |
where is the amount of equivalent hydrogen energy; is the maximum hydrogen storage; and are the efficiency rates of electricity-to-hydrogen and hydrogen-to-electricity conversion for the electrolyzer and fuel cell.
For voltage regulation, the hydrogen sources can also provide droop support within their reactive power output limits [4]. A dead band can be set to avoid frequent switching between reactive power generation and absorption modes [5]:
(8) |
where is the reactive power output of hydrogen; and are the maximum generated and absorbed reactive power; and are the boundaries of voltage dead band to start reactive power generation and absorption; and are the corresponding droop coefficients.
2) Other DERs’ Constraints
This letter only presents the constraints of renewable sources as the representation for other DERs, since they are usually co-operated with hydrogen sources in microgrids [3]. Considering the environment-dependent maximum power point (MPP), a renewable source has the following characteristic [6]:
(9) |
where is the set of buses with a renewable source; and are the actual active power output and uncertain MPP; is the system frequency; is the minimum frequency of droop mode; is the droop coefficient.
The voltage regulation characteristic of renewable sources is also (8) and the reactive power output is denoted as .
3) Network Constraints
The KCL constraints can then be formulated as below:
(10) |
(11) |
where is the set of all branches; and are the active and reactive power of the branch from bus to bus .
The KVL constraints by linearized DistFlow model are:
(12) |
where and are the resistance and reactance of the branch; is the nominal voltage.
4) Security Constraints
To ensure microgrid’s security, the system frequency, bus voltage and branch flow should be limited within their ranges:
(13) |
(14) |
(15) |
(16) |
where and are the minimum and maximum bus voltage; and are the minimum and maximum system frequency; , , and are the minimum and maximum active and reactive branch flow.
The above optimization model has several piecewise linear constraints like (2) and nonlinear product terms like (4) which can be easily converted to linear constraints by using the big-M method. Therefore, the model after conversion belongs to the mixed integer linear programming (MILP) and can be solved with commercial solvers like Gurobi, CPLEX, etc.
III Case Study
The proposed optimization model is validated on a modified balanced IEEE 13 bus test feeder, where Bus 645 is integrated with a hydrogen source to power the microgrid, and Bus 633 and 680 are integrated with two wind farms. The load weight is randomly selected from and those loads with a weight larger than 0.7 are regarded as critical loads. The optimization time window is set to 6 hours, and the 15-min interval forecast data for wind farms and electric loads are from the ENTSO-E Transparency Platform and are scaled down to fit the magnitude of this microgrid. The forecast error is assumed to follow the normal distribution . Two extreme scenarios with maximum and minimum average power and the original forecast scenario are used for the optimization. Their probabilities are set to , and so to maintain the economy and robustness of the optimized strategy.
1) Model Validation
The proposed optimization model with frequency and voltage regulations is compared with the state-of-the-art model in [3]. The load served ratio (LSR) indexes of the critical loads, non-critical loads and all loads during the time window using the two models are shown in Fig. 1(a) and (b). The maximum power output variations and corresponding frequency and voltage variations of DERs are shown in Fig. 1(c) and (d).

Comparing Fig. 1(a) and (b), it can be seen that with the proposed model, at some operation periods, the LSR of the critical loads decreases while the LSR of the non-critical loads increases, which brings the average values from 98.96% down to 89.39% and 1.94% up to 10.26% respectively. The average LSR of all loads is not significantly affected. However, despite of the seemingly unsatisfactory change in LSR, the proposed model can dramatically reduce the power output variation and thus the frequency and voltage variation as well, as can be seen from Fig. 1(c) and (d). This is because the distribution of sudden uncertain power change in the traditional model is irrational, or is decided by other economic factors, ignoring the effect of droop control on power distribution and differing from real system configuration, which could easily violate the frequency or voltage limitations and cause stability problems.
2) Resilience Contribution of Hydrogen Sources
To quantify the contribution of hydrogen sources to system resilience, five cases numbered A-E are created with 0 to 100% initial stored hydrogen with a 25% increment. Case O is also created where the hydrogen source is removed. The states of average remaining hydrogen under different scenarios and the objective values are shown in Fig. 2(a) and (b).

It can be seen from Fig. 2(a) that, with the proposed optimization model, the hydrogen source can actively participate in the energy management even without initial stored hydrogen. More importantly, Fig. 2(b) indicates that installing a hydrogen source can greatly improve the objective value (i.e., system resilience) with or without initial stored hydrogen. Besides, with increased initial stored hydrogen, the increment of its contributed resilience decreases, which means the hydrogen source might have the most marginal contribution to system resilience at a moderate initial stored hydrogen amount.
3) Resilience Contribution of Advanced Droop Control
To quantify the contribution of advanced droop control to system resilience, three cases numbered I-III are created with one up to three DERs with frequency and voltage regulations. The hydrogen source, as the primary source in hydrogen-powered microgrids, provides droop regulation service in all the three cases. The renewable sources can work in either constant mode or droop mode. Table I shows some operation indexes.
Average Indexes | Case I | Case II | Case III |
---|---|---|---|
Objective Value (1E7) | 2.3764 | 2.8527 | 3.1698 |
Average LSR of All Loads (%) | 39.68 | 47.35 | 50.14 |
Average LSR of Critical Loads (%) | 64.90 | 75.19 | 89.39 |
Renewable Consumption Ratio (%) | 69.76 | 89.13 | 95.71 |
Average Frequency Variation (Hz) | 0.1605 | 0.1826 | 0.1646 |
Average Voltage Variation (V) | 6.5032 | 5.5166 | 5.5231 |
It can be learned from Table I that, with increased number of DERs with frequency and voltage regulations, the objective value, the LSR of all loads, the LSR of critical loads and the renewable consumption ratio are all improved significantly, by 33.39%, 26.36%, 37.73% and 37.20% respectively. The LSR of critical loads has a most dramatic increase. Meanwhile, the frequency and voltage variation shows both increasing and decreasing trends. This is because they are affected by both the uncertainty and regulation levels. More uncertainty from renewable and served loads will amplify the variation but more DERs participating in regulation will conversely suppress it.
IV Conclusion
This letter demonstrate how to incorporate the frequency and voltage regulation characteristics of hydrogen sources and other DERs into the optimization of hydrogen-powered microgrid operation. The results show that the proposed optimization model can more rationally distribute the uncertain powers and greatly reduce the frequency and voltage variations, providing a more realistic and resilient operation strategy for microgrid operators to counteract extreme events and uncertainties. In the future, the detailed characteristics of hydrogen sources will be modeled to improve the practicability.
References
- [1] C. Lin, C. Chen, F. Liu, G. Li, and Z. Bie, “Dynamic MGs-based load restoration for resilient urban power distribution systems considering intermittent RESs and droop control,” Int. J. Electr. Power Energy Syst., vol. 140, pp. 107975, Sep. 2022.
- [2] U.S. Department of Energy, “Department of Energy Hydrogen Program Plan,” 2020. [Online]. Available: https://www.hydrogen.energy.gov/docs/ hydrogenprogramlibraries/pdfs/hydrogen-program-plan-2020.pdf
- [3] Y. Zhao, J. Lin, Y. Song, and Y. Xu, “A hierarchical strategy for restorative self-healing of hydrogen-penetrated distribution systems considering energy sharing via mobile resources,” IEEE Trans. Power Syst., vol. 38, no. 2, pp. 1388-1404, Mar. 2023.
- [4] S. D. Tavakoli, M. G. Dozein, V. A. Lacerda, M. C. Mane, E. Prieto-Araujo, P. Mancarella, and O. Gomis-Bellmunt, “Grid-forming services from hydrogen electrolyzers,” IEEE Trans. Sustain. Energy, vol. 14, no. 4, pp. 2205-2219, Oct. 2023.
- [5] National Renewable Energy Laboratory (NREL), “An overview of issues related to IEEE Std 1547-2018 requirements regarding voltage and reactive power control,” 2021. [Online]. Available: https://www.nrel.gov/docs/ fy21osti/77156.pdf
- [6] B. Pawar, E. I. Batzelis, S. Chakrabarti, and B. C. Pal, “Grid-forming control for solar PV systems with power reserves,” IEEE Trans. Sustain. Energy, vol. 12, no. 4, pp. 1947-1959, Oct. 2021.