Next Article in Journal
Review and Prospect of Key Technology for HTS Wind Generators of HPOSWP Integrated Systems
Previous Article in Journal
Coupled Heat–Moisture Effects of Initial Soil Water Content on Seasonal Underground Thermal Energy Storage with Coaxial Borehole Heat Exchangers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Layer Model Predictive Control of Energy Management Strategy for Hybrid Energy Storage Systems

School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Energies 2026, 19(6), 1524; https://doi.org/10.3390/en19061524
Submission received: 11 February 2026 / Revised: 10 March 2026 / Accepted: 17 March 2026 / Published: 19 March 2026
(This article belongs to the Section D: Energy Storage and Application)

Abstract

Power fluctuations and scheduling uncertainties caused by large-scale renewable energy grid integration have made the existing homogeneous energy storage solutions struggle in some cases to balance economic efficiency with dynamic response speed. To address the above challenge, this paper proposes a hybrid energy storage system integrating superconducting magnetic energy storage and hydrogen electric storage, and a corresponding dual-layer model predictive control energy management framework is therefore designed. This framework lies on its cross-timescale hierarchical coordination mechanism. Analytic validation in a typical high-fluctuation renewable microgrid scenario demonstrates that compared to conventional single-layer control strategies, the proposed management system reduced total operating costs by 55.5%, extended system stabilization time by 64.2%, decreased hydrogen storage system mode switching frequency by 59.9%, and simultaneously lowered computational burden by over 97%. This effectively enhanced power supply reliability and extended equipment service life. This innovative framework provides a practical solution for coordinated energy storage control in microgrids having a high ratio of renewable penetration.

1. Introduction

With the widespread use of fossil fuels, global warming caused by carbon emissions has become an increasingly severe problem. The weight of renewable energy sources such as solar, wind, and hydrogen energy is growing significantly. Since 2023, the application of renewable energy has seen substantial growth, with photovoltaic and wind power experiencing particularly rapid development [1]. Renewable energy systems offer economic advantages such as widespread resource distribution, freedom from geographical constraints, and on-demand installation. Compared to traditional power plants with lengthy construction cycles, this decentralized power generation model proves more flexible and efficient [2]. However, distributed renewable energy also poses significant technical challenges to microgrid systems. First, the output of distributed power sources such as photovoltaics exhibits pronounced intermittency and volatility, with power generation directly influenced by weather conditions, leading to frequent fluctuations on minute-to-second timescales. Second, coordinating multiple distributed power sources is complex; without effective energy management, issues like power backflow and circulating currents can easily arise, threatening the system’s safe and stable operation. To address these issues and enhance the reliability and stability of renewable energy integration, it is necessary to deploy energy storage systems (ESS) with both high power and large capacity characteristics within the power system. These ESS dynamically absorb excess energy or compensate for power deficits [3,4]. This mitigates load fluctuations and enables efficient management of the grid’s demand side, thereby performing peak shaving and valley filling. Ultimately, it ensures a high-quality, safe, and reliable power supply while meeting the demand for efficient electricity consumption [5,6,7].
Currently, no single energy storage device can simultaneously offer high capacity and rapid response capabilities. To provide a clearer technical perspective on these limitations, Table 1 summarizes the performance characteristics of mainstream energy storage. As shown in the table, although pumped storage and compressed air energy storage offer large capacities, they exhibit slow response times and are constrained by geographical conditions; battery storage, while widely applied, has a limited lifespan. Therefore, developing hybrid energy storage systems (HESS) is an inevitable choice for enhancing the operational stability of microgrid systems.
Hydrogen energy storage (HES), comprising electrolyzers (ELZ), hydrogen tanks, and fuel cells (FC), is selected as the energy-intensive component due to its high energy density and capability for long-term, cross-seasonal storage [9]. Hydrogen energy is widely regarded as a key technology for achieving deep decarbonization. Global hydrogen demand continues to grow, showing significant expansion despite falling short of projections [10], further highlighting the technological foresight of integrating HES. HES enables bidirectional electricity-to-hydrogen conversion via ELZ and FC. ELZ produces “green hydrogen” through water electrolysis, effectively absorbing surplus electricity from renewable sources. FC convert hydrogen back into electricity, providing flexible power support for the system [11]. However, HES relies on complex electrochemical and thermodynamic processes, resulting in a slow dynamic response and difficulty mitigating high-frequency fluctuations from photovoltaic systems.
To address this limitation, superconducting magnetic energy storage (SMES) is introduced as the complementary power-intensive unit. Compared to conventional batteries or supercapacitors, SMES offers exceptional characteristics: millisecond-level response speed, high power density, and extended cycle life. It provides the system with rapid frequency response and stability support [12,13]. This technology is now applied in renewable energy generation with significant power fluctuations [14]. As shown in Table 1, from a techno-economic perspective, although SMES exhibits relatively higher initial investment costs per unit energy, its superior cycle efficiency and significantly lower annual operational and maintenance expenses confer greater economic advantages over supercapacitors in handling high-frequency power fluctuations. Furthermore, SMES experiences no chemical degradation over millions of cycles, ensuring long-term stable operation within the dual-layer MPC framework proposed herein and thereby reducing the system’s total lifecycle costs. Integrating SMES with HES creates a complementary structure: SMES absorbs transient power surges while HES addresses sustained energy demands. This coordinated fast–slow mechanism effectively resolves the inherent multi-timescale disturbance challenges in renewable energy systems.
HESS, composed of SMES and HES, enables rapid power compensation and fault ride-through during continuous grid faults and high-power disturbances, thereby safeguarding the secure and stable operation of power systems. To fully leverage the integrated capabilities of HESS, the energy management system (EMS) must dynamically formulate charging/discharging schedules and power allocation strategies for energy storage units based on global optimization objectives, further enhancing the stability and economic efficiency of microgrid operation [15]. Particularly due to the significant temporal scale differences between SMES and HES, traditional single-layer optimization frameworks struggle to coordinate these multi-timescale dynamic characteristics. They often sacrifice system dynamic response performance while achieving economic objectives, or vice versa. Consequently, the research community has increasingly turned its attention to two-layer optimization architectures. Ref. [16] proposes a typical two-layer optimization structure, where the upper layer aims to minimize the total operational costs, while the lower layer focuses on minimizing the operating costs of the HES. Simulation results demonstrate that this structure significantly reduces overall costs. The system designed in [17] effectively reduced fuel consumption, with its upper layer allocating power through fuzzy inference and its lower layer dedicated to minimizing operational losses. Nevertheless, most existing strategies rely on static optimization based on forecast data, which often overlooks the impact of frequent mode switching on HES lifespan and lacks the adaptability to handle the stochastic uncertainties of renewable energy.
Model predictive control (MPC) has become a cornerstone in microgrid management for its superior constraint handling and predictive optimization. It is particularly adept at multi-timescale power allocation [18,19]. For example, an adaptive control framework utilizing event-triggered tracking and switching functions to maintain stability under uncertain conditions [20]. In more complex networked scenarios, ref. [21] proposed a new distributed economic MPC (DEMPC) strategy for load frequency control with large-scale PEV participation. Additionally, ref. [22] provided an alternative reinforcement learning-based energy management approach capable of handling high randomness without requiring precise system models.
Although adaptive control or learning methods offer superior robustness, their online parameter updates and iterative optimization increase computational complexity. Meanwhile, the extremely fast response speed of SMES demands control loops with minimal latency. To address this, this paper prioritizes a deterministic two-layer MPC framework over the aforementioned approaches. By decoupling timescales, this method achieves robust and efficient coordination between SMES and HES by utilizing MPC’s rolling optimization and feedback correction to compensate for model inaccuracies while maintaining computational efficiency.
As a result, the contributions of this research work are as follows:
I. An integrated model of SMES and HES was established, providing a foundation for system simulation and control strategy design.
II. A two-layer MPC framework was designed to address the multi-timescale dynamic characteristics of this system. The upper layer performs optimization scheduling targeting hydrogen production revenue and grid economic efficiency, while the lower layer utilizes the response capability of SMES to achieve power fluctuation smoothing and error compensation.
III. This work broke through the limitations of traditional battery/supercapacitor hybrid architectures by innovatively integrating HES with SMES. A two-layer EMS tailored for this system was proposed, significantly enhancing economic efficiency while ensuring overall system stability.

2. Mathematical Modeling for the HESS Simulation System

The proposed microgrid system consists of a photovoltaic system, a hydrogen storage system, SMES, and a power grid, as shown in Figure 1. Orange represents the flow of electrical energy, while blue represents the flow of hydrogen energy. All subsystems connect to DC lines via their respective converters. The DC lines serve as the physical hub for energy exchange. The two-layer MPC strategy directly optimizes power flow on the lines by coordinating the electrical output of each branch.
In establishing the mathematical model of HESS, reasonable simplification assumptions were made for both the HES and SMES systems to ensure the accuracy and applicability of MPC. The model neglects the power consumption of auxiliary systems such as pumps and cooling fans, the transient switching losses of the power converter, and the refrigeration loss required by the magnets.

2.1. Mathematical Model of HES

HES serves as the core component for long-term energy regulation in microgrids, primarily consisting of three parts: ELZ, FC, and hydrogen storage tanks. Its operational mechanism follows the “electricity-hydrogen-electricity” energy conversion pathway. When photovoltaic output exceeds load demand, the ELZ converts excess electrical energy into hydrogen and stores it in the hydrogen storage tank in the form of high-pressure gaseous hydrogen; when the power supply is insufficient, the FC consumes stored hydrogen through electrochemical reactions and injects controllable power into the microgrid.
The internal reaction of ELZ can be expressed as
  A n o d e H 2 O 2 H + + 1 2 O 2 + 4 e C a t h o d e     2 H + + 2 e H 2 O v e r a l l     H 2 O H 2 + 1 2 O 2
The voltage and current of the electrolytic cell are highly nonlinear, so the U-I relationship is presented using curve fitting. The U-I characteristic equation of the electrolytic cell is [23]:
U e l = n c U r + r 1 + r 2 T e l A I e l + k e l ln k T 1 + k T 2 T e l + k T 3 T e l 2 A I e l + 1 ,
where U e l and I e l are the ELZ output voltage and current respectively, nc is the number of series units, and A is the surface area of the motor.
The reversible voltage Ur is related to the operating temperature Tel [24]:
U r = U r 0 k r T e l 298.15
where U r 0 is the reversible voltage under standard conditions.
According to electrochemical principles, the actual hydrogen production rate q H 2 of ELZ can be expressed as [23]:
q H 2 = η F n c I e l 2 F
Based on operating temperature, fuel cells are categorized into high-temperature and low-temperature types. Among these, low-temperature fuel cells offer more flexible start-stop characteristics, as they are better suited for intermittent operation, and are widely applied in wind-hydrogen coupled power generation systems. Among them, proton exchange membrane fuel cell (PEMFC) technology is mature, featuring a wide temperature adaptation range and high-power density, making it a suitable choice for hydrogen storage systems [25]. Therefore, in this study, PEMFC is selected as the fuel cell component for the hydrogen storage system.
The internal reaction of FC can be expressed as
  A n o d e     H 2 2 H + + 2 e C a t h o d e 1 2 O 2 + 2 H + + 2 e H 2 O O v e r a l l     1 2 O 2 + H 2 H 2 O
The hourly hydrogen consumption Q H 2 of PEMFC is shown below:
Q H 2 = P f c × μ η f c
where μ is the amount of hydrogen required to produce 1 kW·h of electricity.
Hydrogen storage tanks can store hydrogen produced by electrolysis cells and provide a stable source of hydrogen energy when fuel cells need to generate electricity. When energy is converted from electricity to hydrogen to electricity, hydrogen also undergoes the process of hydrogen production, storage, and utilization. The hydrogen capacity Q(t) of the hydrogen storage tank is:
Q t = Q t 1 + q H 2 × Δ t Q H 2 × Δ t

2.2. Mathematical Model of SMES

The core component of SMES is a superconducting inductor (SC). SMES is connected to the DC bus and the power grid via a current source converter (VSC) and a DC chopper. The energy ESMES and state of charge (SOC) of SMES are defined as:
E S M E S = 1 2 L i S M E S 2
S O C = E S M E S E S M E S _ max
where I S M E S is the current of SC.
To analyze the dynamic response characteristics of hybrid energy storage systems, the SMES is connected to the DC bus via a bidirectional DC chopper. Since the equivalent resistance of the superconducting coil is negligible, its impact on dynamic behavior is disregarded. The mathematical model of the chopper can thus be simplified to the following single-input single-output system:
C d c d u d c d t = i d c D S M E S i S M E S C h a r g i n g   M o d e C d c d u d c d t = i d c + 1 D S M E S i S M E S D i s c h a r g i n g   M o d e
where C d c , U d c , and I d c represent the DC bus capacitance and its voltage and current, respectively. DSMES is the duty cycle of switching devices.

2.3. Overview of System Integration and Control

Based on the previously established HES and SMES unit models, the hybrid energy storage system investigated in this paper will adopt the integrated control structure shown in Figure 2 to achieve coordinated operation. The proposed strategy generates optimal power references for each storage unit. These references are then processed by the dual-loop control structure (power outer-loop and current inner-loop) to produce the final PWM signals for the power converters. This configuration ensures that the theoretical outputs of the MPC algorithm are effectively translated into physical device actions during simulation.

3. Proposed Two-Layer EMS

HES is suitable for hourly energy scheduling, while SMES is suitable for handling power fluctuations on a second-to-minute scale. Therefore, two-layer EMS optimization can be used to address issues across different time scales and fully leverage the complementary characteristics of hybrid energy storage. Since PV output is weather-dependent, MPC is employed to manage scheduling within specific timeframes. Through rolling optimization and feedback, it compensates for prediction uncertainty [26]. While the dual-layer approach in [27] primarily focuses on transforming long-term degradation costs into short-term operational targets for microgrid planning, the proposed framework prioritizes real-time power allocation and dynamic feedback correction across multiple timescales. Furthermore, by incorporating a mode-switching penalty, this strategy addresses the equipment lifetime degradation issues highlighted in [28], enhancing system durability while handling complex constraints.
Figure 3 shows the flowchart and algorithm of the two-layer MPC energy management strategy proposed in this paper. First, initialize the state variables, input variables, prediction duration, and solution durations (number of iterations) for the upper and lower layers. At this point, the upper-layer controller enters the first iteration of optimization. Under the constraint conditions, use the prediction model (7) to perform rolling optimization and solve the optimization variables for the objective problem, obtaining the optimal solution reference value within the predicted duration. The solved value is used as the initial value for the second layer and repeat the same steps. At this point, the prediction model becomes (7) and (9), completing the second layer’s “snd. iter” iterations. This iterative procedure continues as the system returns to the first layer for the next optimization cycle.

3.1. Mathematical Model of Upper Layer EMS

The upper-level EMS optimization variables are grid power Pgrid and HES system power PH, which must satisfy the power constraint.
P g r i d u t + P H u t + P P V t = P l o a d t
where the superscript u denotes the upper-layer optimization variable, and l denotes the lower layer. Further explanation will not be provided in the subsequent text.
Pgrid > 0 represents purchasing electricity from the grid, and vice versa for selling electricity. FC and ELZ both belong to HES, and they cannot operate simultaneously; their operating states are complementary. Therefore, if PH < 0, it indicates that ELZ is operating; if PH > 0, FC is operating and ELZ is not operating.
Due to the response delay characteristics of hydrogen fuel cells during startup and operation, it is necessary to limit their ramp rate.
P H u t P H u t 1 Δ P f c _ max ,   P H u > 0
Inequality constraints include Pgrid, PH, and hydrogen storage tank capacity QH constraints.
P g r i d _ min P g r i d u t P g r i d _ max P H _ min P H u t P H _ max Q H _ min Q H t Q H _ max
The upper-level EMS optimization objective is to minimize operating costs, which include grid purchase/sale costs, net hydrogen production costs from ELZ, and FC costs.
The grid power exchange cost Cgrid represents the expense of purchasing electricity from the main grid or the revenue from selling surplus power back to it, which can be expressed as:
C g r i d t = p t P g r i d u t Δ t
where p represents the electricity price.
Hydrogen production costs CELZ can be expressed as:
C E L Z t = m 0 m 1 + 0.5 m 2 q H 2 t Δ t ,   P H t < 0
where m0 represents the unit costs of hydrogen production, and m1 and m2 represent the unit selling prices of hydrogen and oxygen, respectively.
FC costs CFC include initial investment costs and operating and maintenance costs.
C F C t = C C + C O M t 1 P H u t ,   P H u t 0
where CC represents the costs of PEMFC, COM represents operating and maintenance costs, and t1 represents operating time.
Therefore, the upper-level optimization problem Fu can be expressed as:
F u : min C g r i d t + C E L Z t + C F C t s . t . 11 12 13

3.2. Mathematical Model of Lower Layer EMS

SMES has a relatively low capacity and serves to compensate for prediction errors and power fluctuations. Therefore, the power of SMES Psmes is used as the third optimization variable for the lower-level EMS, and the power balance constraint becomes:
P g r i d l t + P H l t + P P V t + P s m e s t = P l o a d t
Ensure the safe operation of SMES and prevent overcharging and over-discharge by constraining it Psmes and SOC.
P s m e s _ min P s m e s t P s m e s _ max S O C min S O C t S O C max
When minimizing the deviation from the upper-level scheduling reference value in the lower-level optimization model, the uncertainty of short-term photovoltaic power forecasts is reflected in the deviation of the hydrogen storage system and grid power commands by introducing a quadratic penalty costs function Cp. Based on the power reference value output by the upper-level decision layer, this penalty term can be expressed in the following mathematical form:
C p t = P g r i d u t P g r i d l t 2 + P H u t P H l t 2
Since SMES installations have a long service life and do not require maintenance or replacement, the lower-level optimization objective does not consider SMES costs. The optimization function is expressed as:
F l : min C p t s . t . 12 13 18 19
By enabling HES and SMES to operate at the time scales and control levels best suited to their respective characteristics through this EMS, economic efficiency and robustness can be achieved simultaneously.

4. Simulation Results and Analysis

To evaluate the performance of the proposed two-layer MPC strategy, this section conducts a comprehensive simulation analysis based on a typical microgrid case. Additionally, to account for forecasting uncertainty, a ±5% prediction error margin was incorporated into the photovoltaic power used in the MPC. The overall validation framework, encompassing input data characteristics, controller configurations, performance metrics, and the four compared control strategies, is illustrated in Figure 4.
In this study, we specifically consider a high-fluctuation renewable energy scenario to examine the robustness and economic efficiency of the system under extreme conditions. The simulation platform is built in MATLAB/Simulink 2023b, with detailed operational parameters, physical constraints, and sampling time scales for this case study summarized in Table 2.
The optimization objective of the two-layer MPC proposed in this paper involves quadratic terms, which, together with linear constraints, form a convex QP problem. Due to the positive semidefiniteness of the Hessian matrix, this problem possesses a unique global optimal solution. The interior-point method is employed for its solution, ensuring extremely high computational efficiency and real-time feasibility.
The control architecture operates on dual time scales to decouple energy management from power smoothing. The upper layer utilizes forecasted load, PV generation, and real-time electricity price signals to generate global optimal power references and SOC trajectories. The lower layer tracks these references on a faster time scale. This hierarchical structure inherently ensures closed-loop stability. Furthermore, the convexity of each constraint and the iterative recalculation of each step guarantee recursive feasibility. The lower layer returns actual state variables to the upper layer, ensuring consistency in hierarchical optimization.
To suppress frequent mode switching caused by power fluctuations during HES operation, this study incorporates a mode transition penalty function into the upper-layer optimization model of the two-layer MPC. The penalty formula is defined as:
μ t = 1 , s i g n P H t s i g n P H t 1 0 ,        o t h e r w i s e C t = λ × μ t
where λ is a penalty. This term is added to the original objective function to form the modified optimization objective.
Through MATLAB simulation, comparisons were made between single-layer MPC (without SMES), single-layer MPC (with SMES), two-layer MPC (with SMES, without mode-switching penalty), and two-layer MPC (with SMES, with mode-switching penalty).
Figure 5 and Figure 6 show the power diagrams of HES and the grid under different conditions. Under single-layer MPC, both HES and grid power exhibit significant sawtooth fluctuations and frequent mode switching. Although adding SMES slightly dampens these spikes, the high-frequency oscillations persist. After switching to dual-layer MPC for HESS output, power output fluctuations are significantly reduced, and the control output exhibited a certain margin, which enhances the system’s robustness and interference resistance. Furthermore, the introduction of mode switching penalties further decreases the frequency of HES mode switching without compromising system robustness and stability.
Comparing average HES power outputs across control states: under single-layer MPC without SMES, the hydrogen fuel cell averaged 3.46 kW; with SMES, this decreased to 3.44 kW. Switching to two-layer MPC reduced average power to just 0.78 kW. This significant decrease in power consumption effectively lowers generation costs while simultaneously providing more stable command outputs.
Figure 7 presents the cumulative distribution function (CDF) of power fluctuation magnitude, providing a statistical perspective on system stability. In Figure 7a, the superiority of the proposed two-layer strategy is evident; the solid curves (yellow and purple lines) exhibit an extremely steep ascent, reaching a 90% probability threshold at a fluctuation magnitude of merely 0.37 kW. In contrast, the ‘Single + SMES’ strategy (orange dashed line) exhibits a slow ascent, requiring a fluctuation magnitude of approximately 6 kW to reach the same probability level. This implies that the proposed strategy reduces routine power fluctuations by a factor of over 16. Furthermore, the solid curves demonstrate an early termination along the x-axis compared to the dashed lines. This indicates that the proposed strategy strictly limits worst-case fluctuations to a safer level of approximately 9.57 kW, whereas single-layer control permits extreme spikes exceeding 11.5 kW. Figure 7b also reveals the operational characteristics of the HES, demonstrating that this strategy successfully constrains the HES dynamics within a stable low-frequency range, thereby avoiding unnecessary chattering.
Based on analysis of HES power and grid power, the single-layer system without SMES exhibits significant susceptibility to disturbances, transmitting grid fluctuations to the hydrogen fuel cell with virtually no attenuation. The introduction of SMES functions as a high-pass filter, absorbing some high-frequency crosstalk, though its filtering effectiveness is constrained by the optimization capabilities of single-layer control. In contrast, two-layer MPC demonstrates outstanding low-pass filtering characteristics. The upper-layer MPC generates low-frequency power commands, while the lower-layer MPC controls the SMES to actively counteract all high-frequency fluctuations, ensuring greater system stability and enhancing robustness. The introduction of mode-switching penalties reduces the frequency of mode transitions while further improving system stability.
To comprehensively validate the effectiveness of the proposed two-layer MPC strategy, this study established four specific quantitative evaluation dimensions: economic efficiency, dynamic stability, real-time capability, and equipment lifespan degradation. These dimensions were used to conduct comparative tests on different control strategies: single-layer without SMES, single-layer with SMES, two-layer without penalties, and two-layer with penalties. System stability time is defined as the duration the system maintains stable operation throughout the entire 48 h period. Computational efficiency is measured by the total computation time required to complete the full rolling optimization. State transition frequency quantifies the number of switches between hydrogen production and consumption modes in the HES, where high-frequency switching accelerates equipment wear.
To validate the robustness of the proposed two-layer MPC strategy under varying forecast errors, two additional typical power forecast error scenarios were introduced, with overall error levels of ±5%, ±10%, and ±15%. Table 3 presents the average statistical values of each control performance metric across these three forecast error scenarios. The results demonstrate that even with increased forecast errors, the strategy maintains stable system operation and effectively suppresses power fluctuations.
As detailed in Table 3, the proposed two-layer MPC strategy significantly improves economic viability. Compared to the single-layer baseline, the optimized hierarchical structure reduced the total operating costs by approximately 55.5%. Although the introduction of the mode-switching penalty incurred a marginal cost increase of roughly 2.7%, this trade-off is justified by the substantial benefits gained in system longevity and stability, as discussed below.
In terms of stability, the two-layer MPC system achieves a 64.2% longer stabilization time compared to single-layer structures, maintaining a stable state throughout most operational cycles.
A critical advantage of the two-layer framework is its computational speed. As shown in the table, the calculation time was reduced by over 97% compared to the single-layer MPC. By decomposing the large-scale optimization problem, the proposed method brings the solution time down to a level feasible for online real-time control, overcoming the computational bottleneck of centralized MPC.
Single-layer controllers induce frequent mode switching, whereas the penalty function approach reduces switching frequency by 59.9%. This results in reduced mechanical stress on the HES and extended service life.

5. Conclusions

This paper proposes a novel approach to address the grid integration challenges of highly fluctuating renewable energy sources. Innovatively replacing traditional battery/supercapacitor architectures, an integrated model of SMES and HES has been established to serve as the foundation for the proposed control strategy. Based on this model, a matched two-layer MPC framework has been designed to achieve efficient coordination across multiple temporal scales: the upper layer optimizes HES scheduling with economic efficiency as the objective, while the lower layer leverages the millisecond-level power response capability of SMES to rapidly smooth fluctuations and compensate for prediction errors in real time.
Simulation results demonstrate that the proposed strategy fully leverages the high power density and rapid regulation characteristics of SMES. While maintaining system stability, it significantly enhances overall economic performance. By incorporating a specific mode-switching penalty term into the optimization objective, the framework reduces HES mode switching frequency by approximately 59.9%, compared to single-layer control. This significant reduction effectively extends equipment lifespan and lowers operational maintenance costs. Furthermore, benefit is also from the hierarchical decoupling, where the lower layer SMES actively compensates for high-frequency transient disturbances, and the system’s overall stable operation time also increases by over 64.2%. This study confirms that integrating SMES into HESS overcomes the limitations of traditional battery/supercapacitor combinations in response speed and cycle life, providing a stable and economically viable energy storage solution for high-penetration renewable energy integration.
However, current research still has limitations that require optimization. Existing control strategies heavily rely on precise mathematical models, but in practical applications, complex electrochemical reactions and environmental fluctuations may cause model parameter drift, thereby affecting control accuracy. Additionally, existing deterministic MPC formulas assume accurate photovoltaic and load forecasting, failing to adequately account for prediction errors in actual operation. To address these limitations, future research will focus on developing adaptive and uncertainty-aware control strategies. By incorporating online parameter estimation techniques to dynamically adjust key HES parameters, controllers can adapt to equipment degradation and environmental changes.
In summary, this work provides a solution for multi-timescale coordinated control of hybrid energy storage systems. Future efforts will further address adaptability challenges, account for environmental uncertainties, and enhance the feasibility and robustness of system operation.

Author Contributions

Validation, Z.Z.; Data curation, Z.Z.; Writing—original draft, Z.Z.; Writing—review & editing, Z.Z. and J.J.; Supervision, J.J.; Project administration, J.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ESSEnergy Storage Systems
HESSHybrid Energy Storage Systems
HESHydrogen Energy Storage
ELZElectrolyzers
FCFuel Cells
SMESSuperconducting Magnetic Energy Storage
EMSEnergy Management System
MPCModel Predictive Control
CDFCumulative Distribution Function

References

  1. Lipu, M.S.H.; Rahman, M.S.A.; Islam, Z.U.; Rahman, T.; Rahman, S.; Meraj, S.T.; Hossain, Y.; Mansor, M. Review of Energy Storage Integration in Off-grid and Grid-connected Hybrid Renewable Energy Systems: Structures, Optimizations, Challenges and Opportunities. J. Energy Storage 2025, 122, 11629. [Google Scholar]
  2. Alsayegh, O.; Alhajraf, S.; Albusairi, H. Grid-Connected Renewable Energy Source Systems: Challenges and Proposed Management Schemes. Energy Convers. Manag. 2010, 51, 1690–1693. [Google Scholar] [CrossRef] [Scilit]
  3. Yang, R.H.; Jin, J.X.; Zhou, Q.; Xiao, M. Non-Droop-Control-Based Cascaded Superconducting Magnetic Energy Storage/Battery Hybrid Energy Storage System. J. Energy Storage 2022, 54, 105309. [Google Scholar] [CrossRef] [Scilit]
  4. Yang, R.H.; Jin, J.X.; Chen, X.Y.; Zhang, T.L.; Jiang, S.; Zhang, M.S.; Xing, Y.Q. A Battery-Energy-Storage-Based DC Dynamic Voltage Restorer for DC Renewable Power Protection. IEEE Trans. Sustain. Energy 2022, 13, 1707–1721. [Google Scholar]
  5. Mukherjee, P.; Rao, V.V. Design and Development of High Temperature Superconducting Magnetic Energy Storage for Power Applications—A review. Physica C 2019, 563, 67–73. [Google Scholar] [CrossRef] [Scilit]
  6. Zhou, H.; Li, Y.; Hu, J. Coordinated Control Strategy of Electric Vehicles and Energy Storage System for Smoothing Power Fluctuations of Photovoltaics. In 2019 IEEE Innovative Smart Grid Technologies-Asia (ISGT Asia); IEEE: Piscataway, NJ, USA, 2019; pp. 3211–3216. [Google Scholar]
  7. Rasool, S.; Muttaqi, K.M.; Sutanto, D. A Multi-Filter Based Dynamic Power Sharing Control for a Hybrid Energy Storage System Integrated to a Wave Energy Converter for Output Power Smoothing. IEEE Trans. Sustain. Energy 2022, 13, 1693–1706. [Google Scholar] [CrossRef] [Scilit]
  8. Dehghani-Sanij, A.R.; Tharumalingam, E.; Dusseault, M.B.; Fraser, R. Study of energy storage systems and environmental challenges of batteries. Renew. Sustain. Energy Rev. 2019, 104, 192–208. [Google Scholar] [CrossRef] [Scilit]
  9. Bhandari, R.; Shah, R.R. Hydrogen as Energy Carrier: Techno-economic Assessment of Decentralized Hydrogen Production in Germany. Renew. Energy 2021, 177, 915–931. [Google Scholar] [CrossRef] [Scilit]
  10. International Energy Agency. Global Hydrogen Review; International Energy Agency: Paris, France, 2025. [Google Scholar]
  11. Miyagi, D.; Sato, R.; Ishidaet, N.; Sato, Y.; Tsuda, M.; Hamajima, T.; Shintomi, T.; Makida, Y.; Takao, T.; Iwaki, K. Experimental Research on Compensation for Power Fluctuation of the Renewable Energy Using the SMES Under the State-of-Current Feedback Control. IEEE Trans. Appl. Supercond. 2015, 25, 5700305. [Google Scholar] [CrossRef] [Scilit]
  12. Musarrat, M.N.; Islam, M.R.; Muttaqi, K.M.; Sutanto, D. Enhanced Frequency Support From a PMSG-Based Wind Energy Conversion System Integrated with a High Temperature SMES in Standalone Power Supply Systems. IEEE Trans. Appl. Supercond. 2019, 29, 3800206. [Google Scholar] [CrossRef] [Scilit]
  13. Jin, J.X.; Sheng, G.; Bi, Y.F.; Song, Y.; Liu, X.; Chen, X.; Li, Q.; Deng, Z.; Zhang, W.; Zheng, J.; et al. Applied Superconductivity and Electromagnetic Devices—Principles and Current Exploration Highlights. IEEE Trans. Appl. Supercond. 2021, 31, 7000529. [Google Scholar] [CrossRef] [Scilit]
  14. Adetokun, B.B.; Oghorada, O.; Abubakar, S.J. Superconducting Magnetic Energy Storage Systems: Prospects and Challenges for Renewable Energy Applications. J. Energy Storage 2022, 55, 105663. [Google Scholar] [CrossRef] [Scilit]
  15. Allwyna, R.G.; Al-Hinaia, A.; Margaret, V. A Comprehensive Review on Energy Management Strategy of Microgrids. Energy Rep. 2023, 9, 5565–5591. [Google Scholar] [CrossRef] [Scilit]
  16. Nguyen, Q.M.; Nguyen, D.L.; Nguyen, Q.A.; Pham, T.N.; Phan, Q.T.; Tran, M.H. A Bi-level Optimization for the Planning of Microgrid with the Integration of Hydrogen Energy Storage. Int. J. Hydrogen Energy 2024, 63, 967–974. [Google Scholar] [CrossRef] [Scilit]
  17. Zhang, Y.F.; Diao, L.J.; Jin, Z.M.; Xu, C.; Pei, H.; Wu, Q.; Zhang, J. A Two-layer Hierarchical Optimization Framework for the Operational Management of Diesel/Battery/Supercapacitor Hybrid Powered Vehicular Propulsion Systems. J. Clean. Prod. 2022, 379, 134658. [Google Scholar] [CrossRef] [Scilit]
  18. Garcia-Torres, F.; Zafra-Cabeza, A.; Silva, C.; Grieu, S.; Darure, T.; Estanqueiro, A. Model Predictive Control for Microgrid Functionalities: Review and Future Challenges. Energies 2021, 14, 1296. [Google Scholar] [CrossRef] [Scilit]
  19. Li, B.; Miao, H.Z.; Li, J.C. Multiple Hydrogen-based Hybrid Storage Systems Operation for Microgrids: A Combined TOPSIS and Model Predictive Control Methodology. Appl. Energy 2021, 283, 116303. [Google Scholar] [CrossRef] [Scilit]
  20. Hu, Z.J.; Ma, R.J. Adaptive Event-Triggered Tracking Control via Switching Functions. Automatica 2026, 185, 112813. [Google Scholar] [CrossRef] [Scilit]
  21. Hu, Z.J.; Liu, S.C.; Luo, W.S.; Wu, L. Intrusion-Detector-Dependent Distributed Economic Model Predictive Control for Load Frequency Regulation with PEVs Under Cyber Attacks. IEEE Trans. Circuits Syst. I Regul. Pap. 2021, 68, 3857–3868. [Google Scholar] [CrossRef] [Scilit]
  22. Nyong-Bassey, B.E.; Giaouris, D.; Patsios, C.; Papadopoulou, S.; Papadopoulos, A.I.; Walker, S.; Voutetakis, S.; Seferlis, P.; Gadoue, S. Reinforcement Learning Based Adaptive Power Pinch Analysis for Energy Management of Stand-Alone Hybrid Energy Storage Systems Considering Uncertainty. Energy 2020, 193, 116622. [Google Scholar] [CrossRef] [Scilit]
  23. Ulleberg, Ø. Modeling of Advanced Alkaline Electrolyzers: A System Simulation Approach. Int. J. Hydrogen Energy 2003, 28, 21–33. [Google Scholar] [CrossRef] [Scilit]
  24. Carmo, M.; Fritz, D.L.; Mergel, J.; Stolten, D. A Comprehensive Review on PEM Water Electrolysis. Int. J. Hydrogen Energy 2013, 38, 4901–4934. [Google Scholar] [CrossRef] [Scilit]
  25. Jian, Q.F.; Huang, B.; Luo, L.Z.; Zhao, J.; Cao, S.Y.; Huang, Z.P. Experimental investigation of the thermal response of open-cathode proton exchange membrane fuel cell stack. Int. J. Hydrogen Energy 2018, 43, 13489–13500. [Google Scholar] [CrossRef] [Scilit]
  26. Zhao, Z.; Guo, J.T.; Luo, X.; Lai, C.S.; Yang, P.; Lai, L.L.; Li, P.; Guerrero, J.M.; Shahidehpour, M. Distributed Robust Model Predictive Control-Based Energy Management Strategy for Islanded Multi-Microgrids Considering Uncertainty. IEEE Trans. Smart Grid 2022, 13, 2107–2120. [Google Scholar] [CrossRef] [Scilit]
  27. Ju, C.; Wang, P.; Goel, L.; Xu, Y. A Two-Layer Energy Management System for Microgrids with Hybrid Energy Storage Considering Degradation Costs. IEEE Trans. Smart Grid 2018, 9, 6047–6057. [Google Scholar] [CrossRef] [Scilit]
  28. Parisio, A.; Rikos, E.; Glielmo, L. A Model Predictive Control Approach to Microgrid Operation optimization. IEEE Trans. Control Syst. Technol. 2014, 22, 1813–1827. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Architecture and multi-energy flow chart of the hybrid renewable microgrid.
Figure 1. Architecture and multi-energy flow chart of the hybrid renewable microgrid.
Energies 19 01524 g001
Figure 2. Overall control structure of the proposed HESS.
Figure 2. Overall control structure of the proposed HESS.
Energies 19 01524 g002
Figure 3. Hierarchical energy management strategy for the HES-SMES system: (a) Flowchart of the two-layer optimization framework; (b) algorithm of the iterative MPC strategy.
Figure 3. Hierarchical energy management strategy for the HES-SMES system: (a) Flowchart of the two-layer optimization framework; (b) algorithm of the iterative MPC strategy.
Energies 19 01524 g003
Figure 4. Hierarchical simulation platform and performance evaluation framework for the two-layer MPC strategy.
Figure 4. Hierarchical simulation platform and performance evaluation framework for the two-layer MPC strategy.
Energies 19 01524 g004
Figure 5. The HES power diagrams under different conditions.
Figure 5. The HES power diagrams under different conditions.
Energies 19 01524 g005
Figure 6. The grid power diagrams under different conditions.
Figure 6. The grid power diagrams under different conditions.
Energies 19 01524 g006
Figure 7. CDF of power fluctuations for grid and HES interaction: (a) Grid power fluctuation CDF; (b) HES power fluctuation CDF.
Figure 7. CDF of power fluctuations for grid and HES interaction: (a) Grid power fluctuation CDF; (b) HES power fluctuation CDF.
Energies 19 01524 g007
Table 1. Comparison of energy storage technologies [8].
Table 1. Comparison of energy storage technologies [8].
Energy Storage MethodEnergy Density (Wh/kg)Output Power (MW/kg)Response TimeLifespan (Year)EfficiencyOperational Costs ($/kW/Year)
Pumped Hydroelectricity Storage 150–200100–2000milliseconds80–10065–75%3
Compressed Air Energy Storage200–30010–300minutes20>70%19–25
Superconducting Magnetic Energy Storage0.5–50.1–50milliseconds>2090–95%18.5
Supercapacitor
Energy Storage
5–100.05–0.1milliseconds>2080–90%6
Hydrogen fuel cell300–1000>0.5minutes5–1535–55%0.0019–0.0153
Battery Energy Storage40–2000.015–50seconds5–1570–95%50–80
Table 2. Key operational parameters and configuration of the simulation.
Table 2. Key operational parameters and configuration of the simulation.
CategoryParameterSymbolValue
GridPower exchange limitPgrid[−5, 10] kW
HESPower output limitPH[−6, 6] kW
SMESSMES SOC rangeSOC[20%, 90%]
ELZNumber of series cellsnc10
Active area per cellA0.25 m2
Faraday efficiencyηf95%
FCRated energy efficiencyηfc60%
Upper LayerSampling timeΔTu1 h
Prediction horizonNu48 h
Lower LayerSampling timeΔTl5 min
Prediction horizonNl1 h
Table 3. Performance metrics under different operating conditions.
Table 3. Performance metrics under different operating conditions.
Single-Layer MPCTwo-Layer MPC
(with SMES,
Without Penalty)
Two-Layer MPC
(with SMES,
with Penalty)
Total Costs ($)14,203.36152.76320.9
Stabilization Time (h)15.135.939.9
Calculation Time (s)139,102.21205.83815.3
State Transition Frequency (times)1527061
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.

Share and Cite

MDPI and ACS Style

Zhao, Z.; Jin, J. Two-Layer Model Predictive Control of Energy Management Strategy for Hybrid Energy Storage Systems. Energies 2026, 19, 1524. https://doi.org/10.3390/en19061524

AMA Style

Zhao Z, Jin J. Two-Layer Model Predictive Control of Energy Management Strategy for Hybrid Energy Storage Systems. Energies. 2026; 19(6):1524. https://doi.org/10.3390/en19061524

Chicago/Turabian Style

Zhao, Ziyan, and Jianxun Jin. 2026. "Two-Layer Model Predictive Control of Energy Management Strategy for Hybrid Energy Storage Systems" Energies 19, no. 6: 1524. https://doi.org/10.3390/en19061524

APA Style

Zhao, Z., & Jin, J. (2026). Two-Layer Model Predictive Control of Energy Management Strategy for Hybrid Energy Storage Systems. Energies, 19(6), 1524. https://doi.org/10.3390/en19061524

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop