MATLABSimulink Modeling and Experimental Results o
MATLABSimulink Modeling and Experimental Results o
net/publication/312140738
CITATIONS READS
10 2,085
3 authors:
Luc Rolland
University of the West of Scotland
27 PUBLICATIONS 293 CITATIONS
SEE PROFILE
All content following this page was uploaded by Mohamed Musbah Albarghot on 19 July 2022.
Received: August 15, 2016 / Accepted: August 29, 2016 / Published: December 31, 2016.
Abstract: In this paper, the solar panels are used to power an electrolyzer to separate the water into hydrogen and oxygen gas. The
electrical equivalent circuit for the proton exchange membrane electrolyzer was developed and implemented in MATLAB/Simulink
along with the atmospheric hydrogen storage tank. The voltage (2 volt) and current (1 ampere) were supplied in a similar manner in
order to compare the simulated and experimental results. The hydrogen amount is calculated to be 7.345 (ml/min A) from the model
as well as the experimental set-up. The experimental and simulation results were matched.
Key words: Photovoltaic, DC/DC buck convertor, electrolyzer, hydrogen tank, MATLAB/Simulink.
This paper is aimed to improve the results of temperature plays important roles because the four
modeling the electrolysis system and obtaining parameters (Ir, Is, Rs, and Vt) are function of
experimental results. The set-up is powering the temperature. It is clearly seen that the lower
electrolyzer with a small PV solar panel that produces temperature is the higher power which is obtained
2 V and 1 A. The hydrogen was produced and stocked from the PV [5].
into the tank. The mathematical model of the electrolysis
2.2 The DC/DC Buck Convertor
has been implemented in MATLAB/Simulink. In
Section 2, the system component models are detailed. The buck converter is defined as step-down DC-DC
In Section 3, the simulation and experimental set-ups voltage converter. The average output voltage is
are described. In Section 4, we examine and compare always less than the input voltage. There are two
the simulation and experimental results. modes for the buck converter in terms of diode
circuits. In the first mode, when the switch is on, the
2. System Components
diode becomes reverse biased, so that the supplied
2.1 The Photovoltaic Solar Panel energy is stored into an inductor. In the second mode,
the diode becomes forward biased when the switch is
The solar energy is transferred directly into
off, due to the load; it receives the energy from the
electrical energy in the PV panel through a basic
inductor. The input stays isolated from the output [6].
physical process. The physical behavior of any solar
cell is very similar to the classical p-n junction diode
[4]. The relationship between the output current I and
the output voltage V is found the formula below:
I I ph Is * eVI*RS / N*Vt 1 Is2 *
eV I*RS / N2*Vt
1 (V I * Rs / RP.
(1)
1 I 2 FVi
V * I 1.476 0.326 I 1.476 PH 2 Vm 103 60 Vi I (8)
3.064 2 F Vm (103 ) 60
IRi erev
From the above equations, it can be clearly seen
(3) that the useful power which is delivered from the
Eq. (3) indicates a simple equivalent circuit model electrolyzer cell relies on the electrolyzer input current
for the PEM, which has an initial resistance of Ri, and I and ideal voltage Vi. The input electrical power P of
reverse potential erev. The ideal potential Vi (electro PEM electrolyzer cell, which is the function of the VH,
chemical) is calculated by Eq. (4) [8]: can be determined by:
G P VI I 2 Ri Ierev
Vi (4)
2F 2
MATLAB/Simulink module. The input current I (A) 3. Simulation & Experimental Set-Up
of the electrolyzer is modeled by Eq. (3), and Eq. (7)
The simulation is done in MATLAB/Simulink
is applied for hydrogen production rates VH. For
environment by creating each component separately,
steady state operation, Eq. (10) is used to simplify and
so that the error can be easily controlled and the
determine the input of I-V model of the PEM
simulation blocks debugged. Each system block has
electrolyzer cell as function of pressure and
been implemented and studied to ensure that each one
temperature [8]. Fig. 5 illustrates the static model for
is sufficiently precise to run the simulation and to give
the PEM electrolyzer in order to compare the
adequate results. The modules for PV solar panels,
experimental results [9].
DC/DC buck convertor, electrolyzer, and the
V T , P IR i e rev T , P (10) hydrogen tank have been created and well matched
with each other. The simulation is valid to model
2.4 Hydrogen Tank Modeling different cases. Fig. 7 shows the Simulink model for
the whole renewable energy system. Fig. 8 represents
Compressed hydrogen gas or liquid hydrogen can
be stored in tanks by using different techniques like
physical hydrogen storage [10]. In order to store the
hydrogen gas that is produced by the electrolyzer, a
dynamic module for the tank is created in
MATLAB/Simulink, and can be expressed as follows,
Eq. (11) [10]:
N H 2 RTb
Pb Pbi z (11)
M H 2Vb
where, Pb is the pressure of the tank that is
measured in (Pascal), Pbi is the initial pressure of the
storage tankin (Pascal), R is the universal gas constant
(J/kmol·K), Tb is the operating temperature (K), Vb
Fig. 5 The MATLAB/simulink module for PEM
is the volume of the tank (m3), T is the temperature,
electrolyzer.
and Z is the compressibility factor as a function of the
pressure as shown in Eq. (12):
PVm
Z (12)
RT
where, P and Vm are the pressure and molar volume,
respectively. It has been noticed that this model
determines the tank pressure using the ratio of
hydrogen flow rate to the tank [10]. Eq. (11) is
implemented in Simulink in order to get the hydrogen
stored and delivered to the fuel cell or other
applications. Fig. 6 shows the Simulink model of the
hydrogen storage system [10]. Fig. 6 Simulink model of the hydrogen storage system.
784 MATLAB/Simulink Modeling and Experimental Results of a PEM Electrolyzer Powered by a Solar Panel
1569706561.
3 [2] Thomas, C. 2009. “Transportation Options in a
2
Carbon-Constrained World: Hybrids, Plug-in Hybrids,
Biofuels, Fuel Cell Electric Vehicles, and Battery Electric
1 Vehicles.” International Journal of Hydrogen Energy 34
(23): 9279-96.
0
0 200 400 600 800 1000 [3] Kerekes, T., Koutroulis, E., Séra, D., Teodorescu, R., and
Time Katsanevakis, M. 2013. “An Optimization Method for
Fig. 11 The pressure inside the model hydrogen tank. Designing Large PV Plants.” IEEE Journal of
Photovoltaics 3 (2): 814-22.
[4] Gow, J. A., and Manning, C. D. 1999. “Development of a
5. Conclusions Photovoltaic Array Model for Use in Power-Electronics
Simulation Studies.” IEEE Proceedings of Electric Power
In this work, the renewable energy hydrogen
Applications 146 (2): 193-200.
production and storage system has been developed. [5] Wang, C., and Nehrir, H. M. 2008. “Power Management
The PV solar panels were examined in order to of a Stand-Alone Wind/Photovoltaic/Fuel Cell Energy
capture the sun as long as it is available. The System.” IEEE Transactions of Energy Conversion 23 (3):
957-67.
electrolyzer is used to consume the power that is
[6] Hussein, K. 2015. “Hybrid Fuzzy PID Controller for
generated from PV panels. The DC/DC buck Buck Boost Converter in Solar Energy-Battery Systems”.
convertor is used along with the system to regulate IEEE International Conference on Electro/Information
and maintain the current values which are fed to the Technology.
electrolyzer. The PID controller is used to check the [7] Wang, C. 2006. “Modeling and Control of Hybrid
Wind/Photovoltaic/Fuel Cell Distributed Generation
error value as the difference between the desired set Systems.” Ph.D. thesis, the Montana State University.
point and the measured variable voltage. It is assumed [8] Atlamand, O., and Kolhe, M. 2011. “Equivalent
that all system components to be steady state and the Electrical Model for a Proton Exchange Membrane (PEM)
nonlinearity behavior kept for further studies. The Electrolyser.” Energy Conversion and Management 52
(8): 2952-7.
results from both the simulation and experimental
[9] Beainy, A., Karami, N., and Moubayed, N. 2014.
trials are corresponding (7.2 ml/min). “Simulink Model for a PEM Electrolyzer Based on an
MATLAB/Simulink provides the simulation Equivalent Electrical Circuit.” Renewable Energy 978:
environment helping to integrate such system. The 145-9.
[10] Al-Refai, M. 2014. “MATLAB/Simulink Simulation of
experiments confirm the results obtained from the
Solar Energy Storage System.” International Science
model. Finally, this electolysis unit is environmentally Index 8 (2): 279-302.
friendly since the waste from it is oxygen only (O2). [11] http://www.horizoneducational.com/wp.