DOI : https://doi.org/10.5281/zenodo.18153684
- Open Access

- Authors : Dr. J P Sridhar, Ganashree Gt, Ankitha C, Ankith Gowda Gr, Vaishnavi M
- Paper ID : IJERTV14IS120643
- Volume & Issue : Volume 14, Issue 12 , December – 2025
- DOI : 10.17577/IJERTV14IS120643
- Published (First Online): 05-01-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Fuel Cell with Battery Storage Microgrid System Based on Green Energy in MATLAB
Dr. J P Sridhar
Department of EEE SJB Institute of Technology Bengaluru, India 560060
Ganashree GT
Department of EEE SJB Institute of Technology Bengaluru, India 560060
Ankitha C
Department of EEE SJB Institute of Technology Bengaluru, India 560060
Ankith Gowda GR
Department of EEE SJB Institute of Technology, Bengaluru, India 560060
Vaishnavi M
Department of EEE SJB Institute of Technology, Bengaluru, India 560060
Abstract – This paper presents a comparative technical analysis of hybrid photovoltaic (PV) and fuel cell (FC)-based microgrid systems, integrating energy storage and advanced power elec- tronics for stable and sustainable power generation. Drawing on recent studies [1][4], the report examines modeling approaches, system architectures, and performance metrics of hybrid mi- crogrids simulated primarily using MATLAB/Simulink. Results highlight that PV/FC hybrid systems exhibit high efficiency, low emissions, and operational resilience under both islanded and grid-connected modes. Moreover, incorporating advanced power conversion techniques, such as multilevel inverters and adaptive control algorithms, significantly enhances power quality
and system reliability. The study concludes that integrating PV and FC sources with battery storage offers a robust pathway for future green microgrid development.
Index Terms – Fuel cell, photovoltaic, battery storage, hybrid microgrid, MATLAB/Simulink, renewable energy, power elec- tronics
published research, focusing on component modeling, control design, performance in different operating modes, and effi- ciency optimization.
- SYSTEM ARCHITECTURE AND COMPONENT MODELING
A hybrid PV/FC microgrid consists of three main subsystemsgeneration, storage, and power conversioninterconnected via a common DC bus. Accurate modeling of these components ensures realistic simulation and stable real-world performance.
- INTRODUCTION
The global energy landscape is transitioning towards renew-
able energy integration due to increasing environmental con- cerns and the depletion of fossil fuels. Traditional centralized grids face limitations in flexibility, reliability, and environmen-
tal sustainability. As a result, microgridslocalized, control- lable networks of distributed energy resources (DERs)have emerged as a viable solution for decentralized power genera- tion.
Among hybrid configurations, systems combining photo- voltaic (PV) and fuel cell (FC) technologies have gained attention for their complementary characteristics. PV arrays harness solar energy, offering zero-emission electricity during daylight hours, while fuel cells deliver high-efficiency, on-
Fig. 1. Block diagram of the Fuel Cell with Battery Storage Microgrid System
- Photovoltaic (PV) Array Modeling
Photovoltaic systems convert sunlight directly into electric- ity via the photovoltaic effect. The output characteristics of a PV cell are governed by a nonlinear current-voltage (I-V) relationship, expressed as [2]:
demand power with water as the only by-product. When integrated with a battery energy storage system (BESS), such microgrids achieve enhanced reliability, improved transient
I = IP H IS exp
q(V + IRS)
KTCA
1
V + IRS
RSH
(1)
response, and reduced dependence on the main grid [1], [2].
The objective of this paper is to synthesize and compar- atively analyze PV/FC hybrid microgrid systems based on
where I and V are the cell output current and voltage,
respectively, IP H is the photocurrent, and IS is the saturation current.
Environmental dependencies are modeled by:
IP H = [ISC + KI (TC TRef )] (2)
TC 3
qEG(1/TRef 1/TC)
(3)
IS = IRS
TRef exp kA
PV modules are interconnected in series and parallel to achieve desired power levels. Table ?? summarizes the con- figurations presented in major studies. [15]
- Fuel Cell (FC) System Modeling
Proton Exchange Membrane Fuel Cells (PEMFCs) are widely used in microgrids for their low operating temperature and fast response. The cell voltage is given by:
E = ENernst Vact Vohm Vcon (4)
where ENernst is the ideal thermodynamic potential, and Vact, Vohm, and Vcon represent activation, ohmic, and concentration losses, respectively.
Typical implementations include 6 kW PEMFC stacks for small-scale systems [1], [2] and up to 50 kW stacks for larger grid-integrated setups [3].
- Battery Energy Storage System (BESS)
BESS ensures stability by compensating for transient vari- ations in generation and demand. Two technologies are com- monly modeled:
- Lithium-ion (Li-ion): High efficiency and long life; modeled using the modified Shepherd equation [1].
- Lead-Acid: Lower cost and reliability for short-term backup, as used in [3].
- Power Conversion Interfaces
DC/DC converters regulate variable source voltages to a common DC bus, while DC/AC inverters convert DC to grid- compatible AC.
Boost Converters: Closed-loop boost converters maintain a regulated 400 V DC bus for stable operation [9]. Advanced four-level topologies combined with Adaptive Neuro-Fuzzy Inference System (ANFIS) MPPT controllers further enhance power extraction efficiency [4].
Inverters: Three-phase Voltage Source Inverters (VSI) are commonly used for grid interfacing. Multilevel Inverters (MLI) with 5-, 7-, and 15-level configurations achieve Total Har- monic Distortion (THD) below 5%, enhancing power quality [4].
- System Operation Flowchart
The operation of the hybrid microgrid system involves coordinated energy management among the photovoltaic (PV), fuel cell (FC), and battery energy storage subsystems. The control algorithm dynamically selects the most suitable power source depending on load demand and generation availability. The flowchart in Fig. ?? outlines the systems logical sequence of operation. [?], [13]
Fig. 2. Flow chart of the Fuel Cell with Battery Storage Microgrid System
During daytime operation, the photovoltaic array serves as the primary power source. If solar generation is insufficient, the fuel cell activates to maintain supply continuity. The battery energy storage system (BESS) acts as both a buffer and a backupdischarging during high demand or low generation and charging during surplus conditions. The control logic ensures smooth power transitions and optimal utilization of renewable sources. [5]
- Simulation Model
To evaluate the performance of the hybrid fuel cell with bat- tery storage microgrid, a detailed MATLAB/Simulink model was developed. The simulation integrates electrical, control, and power electronic subsystems to replicate realistic operating conditions. [10]
The Simulink model is composed of the following major components:
- Fuel Cell Subsystem: Modeled as a proton exchange membrane (PEM) fuel cell using stack parameters de- rived from manufacturer data. A DC/DC boost converter regulates the fuel cell output voltage to the DC bus level (400 V).
- Battery Energy Storage: Implemented using the Sim- scape Electrical battery block with a lithium-ion or lead- acid equivalent ircuit. A bidirectional DC/DC converter
Fig. 3. MATLAB/Simulink model of the hybrid fuel cell with battery storage microgrid system.
interfaces the battery to the DC bus, enabling both charging and discharging modes.
- Photovoltaic Array (optional integration): For hybrid configurations, a PV array model with MPPT control is connected in parallel through an independent boost converter.
- DC Bus and Link Capacitor: The DC bus consolidates power from all DC sources and storage devices. A large DC link capacitor maintains voltage stability and smooths transient disturbances.
- Inverter and Load: A three-phase voltage source in- verter (VSI) converts DC power to AC for supply to local loads or the utility grid. PWM control maintains sinusoidal output with low harmonic distortion.
- Control Subsystem: Supervisory control logic (imple- mented via Simulink logic blocks or MATLAB scripts) monitors load demand, source availability, and state of charge (SoC) to coordinate source selection according to the flowchart fig 2 [5]
The simulation runs under varying load and generation scenarios, including:
- Steady-State Operation: Constant load with adequate fuel cell supply.
- Dynamic Transition: Step changes in load demand to test system response.
- Source Switching: Transition between PV, fuel cell, and battery under different irradiance or hydrogen supply conditions.
- Grid Connection: Synchronization of inverter output to a 415 V, 50 Hz grid through a phase-locked loop (PLL) control.
Simulation results demonstrate stable DC bus voltage reg- ulation, smooth load transitions, and minimal total harmonic distortion (THD) at the inverter output. The MATLAB en- vironment facilitates time-domain visualization of voltage, current, and power waveforms, as well as state-of-charge dynamics for the battery subsystem. [6]
- Photovoltaic (PV) Array Modeling
- INTRODUCTION
- PERFORMANCE ANALYSIS IN OPERATIONAL MODES
- Islanded Mode
In standalone mode, the microgrid relies solely on local generation and storage. Podder et al. [1] demonstrated that their 73 kW PV/FC/BESS system could sustain a 43 kW AC load with stable voltage and current waveforms. The system achieved steady-state operation after a 2.1 s transient, during which the battery discharged to maintain power balance.
- Grid-Connected Mode
When synchronized with the utility grid, the hybrid micro- grid can export surplus power or draw energy during deficits. Load flow results for the IEEE 13-bus feeder showed a net injection of 72.65 kW real power with stable voltage and current [1].
Table 1 I summarizes representative grid performance re- sults from [1], [3].
These results confirm effective power sharing, stable output, and successful islanding capability.
- Islanded Mode
- SYNTHESIS OF FINDINGS AND CONCLUSIONS
- System Stability and Reliability
All reviewed studies confirm stable microgrid operation under both islanded and grid-connected modes. The inclusion
TABLE I
Comparison of Grid-Connected and Islanded Operation
Parameter Grid-Connected Islanded DG Voltage (V) 415 415 DG Current (A) 35 5 Active Power (W) 4300 3000 Reactive Power (VAR) 25000 1500 Grid Voltage (V) 11000 6000 Grid Power Draw (W) 600 14 of BESS enhances reliability by compensating for solar inter- mittency and load fluctuations [1], [12].
- Power Quality and Efficiency
Advanced inverter designs greatly improve output waveform quality. According to [7], efficiency measurements for multi- level inverters were:
- 5-level MLI: 94.76%
- 7-level MLI: 94.26%
- 15-level MLI: 93.87%
Although efficiency slightly decreases with inverter com- plexity due to increased conduction losses, THD is signifi- cantly reduced, improving power quality.
- System Stability and Reliability
- EXPERIMETAL RESULTS
Fig. 4. Fuel cell voltage, current, and power characteristics during microgrid operation.
The fig 4 shows three graphs in a simulation window titled
Fuel cell measurement.
- The top graph shows a blue line representing Fuel cell Voltage, staying around 250V after an initial spike. – The middle graph shows a red line for Fuel cell Current, staying around 10A with minor fluctuations. – The bottom graph shows a purple line for Fuel cell Power, staying around 1000W (though the scale suggests it could be less, like 500-1000W based on the graph). [7]
The fig 5 shows a simulation window titled Battery mea- surement with two graphs.
- The top graph shows Battery Voltage (blue line) which starts low, spikes to around 250V, and then stabilizes. – The bottom graph shows Battery Current (red line) which fluctuates between around -5A to 5A with some peaks.
The fig 6 shows a simulation of DC load measurement with three graphs: DC Bus Voltage, DC Load Current, and DC Load Power.
Fig. 5. Battery current, battery voltage during microgrid operation.
Fig. 6. DC Bus current, DC Bus voltage and DC Load power characteristics during microgrid operation.
-
- DC Bus Voltage (blue line): Starts at around 300V, spikes to 400V, and then stabilizes with minor fluctuations. – DC Load Current (red line): Ramps up to 5A and stabilizes with minor dips. – DC Load Power (pink line): Increases to 2000W and stabilizes with minor fluctuations. [12]
Fig. 7. PV current, PV voltage and PV power characteristics during microgrid operation.
The fig 7 shows the PV (Photovoltaic) measurement with three plots: PV Voltage, PV Current, and PV Power over time.
- PV Voltage: The blue plot shows voltage fluctuating around 250V with a dip to about 50V between 0.6s and 1s. – PV Current: The red plot shows current dropping from about 8A to 1A between 0.6s and 1s. – PV Power: The pink plot shows power dropping from about 1800W to near 0W between 0.6s and 1s, probably
- DC Bus Voltage (blue line): Starts at around 300V, spikes to 400V, and then stabilizes with minor fluctuations. – DC Load Current (red line): Ramps up to 5A and stabilizes with minor dips. – DC Load Power (pink line): Increases to 2000W and stabilizes with minor fluctuations. [12]
The fig 8 shows a simulation plot of DC bus currents with three subplots:
- PV fuel cell Converter current: – Two lines are plotted: blue and orange. – Current (A) is on the y-axis, and time is on the x-axis. – The blue line starts high ( 5A), dips, and
Fig. 8. PV and fuel cell current, Battery current DC load current and Sum of current at DC Bus characteristics during microgrid operation.
then stabilizes with fluctuations. – The orange line is steadier around 2-3A.
- Battery Converter and DC load current: – Two lines: orange and red. – The orange line is steady around 4A. – The red line fluctuates, going from positive to negative values.
- Sum of Current At DC Bus: – One pink line. – Current values are very small ( 10A-8 A). – The line shows a slight increase and then stabilizes.
Fig. 9. State of charge characteristics during microgrid operation.
- The top graph shows a blue line representing Fuel cell Voltage, staying around 250V after an initial spike. – The middle graph shows a red line for Fuel cell Current, staying around 10A with minor fluctuations. – The bottom graph shows a purple line for Fuel cell Power, staying around 1000W (though the scale suggests it could be less, like 500-1000W based on the graph). [7]
- CONCLUSION
Hybrid PV/FC microgrids demonstrate exceptional stability, scalability, and eco-efficiency. When integrated with inteli- gent energy storage and advanced multilevel inverter topolo- gies, they provide clean, reliable energy for both standalone and grid-tied applications. Continued development in power electronics, control algorithms, and energy management will further enhance the viability of such green microgrid systems for future sustainable power networks.
ACKNOWLEDGMENT
The authors express their gratitude to the Department of Electrical and Electronics Engineering, SJB Institute of Tech- nology, Bengaluru, for their support in preparing this study.
REFERENCES
- A. K. Podder, K. Ahmed, N. K. Row, and M. Habibullah, Design and simulation of a photovoltaic and fuel cell based micro-grid system, ResearchGate, Mar. 2019.
- R. Chowdhury and T. Boruah, Design of a micro-grid system in MATLAB Simulink, Int. J. Innov. Res. Sci. Eng. Technol., vol. 4, no. 7, 2015.
- A. Khamis, M. R. A. Ghani, C. K. Gan, and H. N. M. Shah, Modeling and analysis of fuel cell with battery storage microgrid system based on green energy, Indian J. Sci. Technol., vol. 11, no. 48, 2018.
- C. Dhanamjayulu, S. Padmanaban, M. R. Kumar, and P. Sanjeevikumar, Multilevel inverter-based hybrid renewable energy system with ANFIS- MPPT control, IEEE Access, vol. 8, pp. 139621139633, 2020.
- . Malhotra DP. Modelling and simulation of fuel cell based dc microgrid; 2014. p. 151.
- . Ahmed M, Amin U, Aftab S, Ahmed Z. Integration of renewable energy resources in microgrid. Energy and Power Engineering. 2015; 7(1):1229. https://doi.org/10.4236/ epe.2015.71002
- . Chowdhury R, Boruah T. Design of a microgrid system in Mat- lab/Simulink. International Journal of Innovative Research in Science, Engineering and Technology. 2015; 4(7):18.
- . Singh A, Surjan BS. Microgrid: A review. International Journal of Research in Engineering and Technology. 2014; 3(2):114. Vol 11 (30)
August 2018 www.indjst.org
- . Krishna SV, Suman T. A new PV/fuel cell based bidirec tional converter for microgrid applications. International Journal of Emerging Engineering Research and Technology. 2014; 2(5):1219.
- . Jaim R, Singh D, Kumar V. Design and modeling of fuel cell using Matlab Simulink. 2015; 2(8):1922
- . Feroldi D, Basualdo M. Description of PEM fuel cells system. Springer-Verlag London Limited; 2012. p. 125.
- . Bahmani-Firouzi B. Optimal sizing of battery energy storage for microgrid operation management using a new improved Bat Al- gorithm. Electrical Power and Energy Systems. 2014; 56:4254. https://doi.org/10.1016/j.ijepes.2013.10.019
- . Aravindan P, Subbulakshmi G. Uninterrupted supply and frequency support for local load in Microgrid by Battery Energy Storage System (BESS). International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. 2015; 4(2):17.
- . Joseph A, Shahidehpour M. Battery storage systems in electric power systems. IEEE Power Engineering Society General Meeting; 2006. p. 18. https://doi.org/10.1109/ PES.2006.1709235
- . Wu G, Sun H, Pan L. Lithium-ion battery. BYD Co Ltd Shenzhen BYD Auto RD Co Ltd; 2014
