J Ijhydene 2016 06 022
J Ijhydene 2016 06 022
ScienceDirect
Article history: PEM electrolysis based hydrogen generator system model is developed by using Simulink in
Received 16 March 2016 MATLAB. The model covers the following system components: PEM electrolyzer stack,
Received in revised form water pump, cooling fan, storage tank, water tank, power supply, control unit and sensors.
29 May 2016 In simulation, PEM electrolyzer stack model is the most complex component and consists
Accepted 4 June 2016 of four parts; anode and cathode modules, membrane and finally voltage calculations
Available online xxx module. Efficiency drops and voltage losses in the PEM electrolysis stack are estimated. The
overpotentials are investigated as anode and cathode activation, electronic and ionic
Keywords: ohmic resistances. In addition, the loss of the other components is considered. The model
PEM electrolyzer is tested against the dynamic changes and it responded with quick outputs. The cell and
Hydrogen generation stack behavior under different conditions (i.e. ranging of temperature and pressure) are
Simulink model examined. The loss of each system component at different current densities is added to the
Dynamic model simulation. The study shows that the loss of stack dominates the losses of other compo-
Mathematical model nents at higher current densities. The simulation counts that the stack and system model
System simulation can run with different cases and scenarios. It is run for the scenario that it consumes
constant power for a high pressure operation. Results show that current drawn by the
stack decreases as the voltage increases because of the increasing pressure.
The model is also compared with the experimental results and the model is found to be
consistent with the experimental data.
© 2016 Hydrogen Energy Publications LLC. Published by Elsevier Ltd. All rights reserved.
* Corresponding author. Mechatronics Engineering Department, Nigde University, Nigde 51245, Turkey.
E-mail address: [email protected] (O.F. Selamet).
http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
0360-3199/© 2016 Hydrogen Energy Publications LLC. Published by Elsevier Ltd. All rights reserved.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
2 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 3
Fig. 1 e Simplified schematic view of the PEM electrolyzer system with which the dynamic model is developed.
Fig. 2 e Dynamic model of the PEM electrolyzer system. It consists of the PEM electrolyzer stack and balance of plant
components.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
4 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
Fig. 3 e Simulink model of a PEM electrolyzer stack. It consists of four main modules; the anode, the cathode, the membrane
and the voltage calculations. Each module shares information with each other.
PO2
N_ H2 Oan ¼ N_ H2 Oai N_ H2 Oao N_ H2 Oeod N_ H2 Odiff (2) yO2 ¼ (4)
Pan
The total pressure of the anode is the sum of the partial The amount of oxygen generated in the anode can be
pressures of the oxygen and the water, which are derived from calculated in real time from Faraday's equation;
the ideal gas law;
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 5
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
6 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
Another issue with the membrane is the water uptake, where, Cwc and Cwa are the water concentration of the cathode
which acts a vital role for the ion mobility. The water uptake of and the anode respectively, tme is the membrane thickness
the membrane (l) is defined by Li et al. as [26]; and equals to N117 thickness (0.215 mm) in this study. The
diffusion coefficient of water can be calculated as;
l ¼ 0:043 þ 17:81a 39:85a2 þ 36a3
1 1
Dw ¼ Dl exp 2416 (17)
lm ¼ ðlca þ lan Þ=2 (14) 303 T
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 7
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
8 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
intended water flow rate. An equation is obtained to calculate calculate angular velocity values, according to voltage
the motor speed versus intended flow rate and it is embedded values. Voltage value is calculated by PID (proportional in-
to DC motor model. DC motor model can be described as [34]; tegral derivative) controller according to the difference be-
tween reference and present velocity values. Reference
dia ðtÞ 1
¼ ½Va ðtÞ Ra ia ðtÞ Vb ðtÞ velocity values calculated by Equation (32). Water flow rate of
dt La
the water inlet (N_ H2 Oai ) is a constant value which is deter-
mined at the beginning. Electrical power consumption of the
tm ðtÞ ¼ Ki ia ðtÞ
DC motor is calculated by multiplying the voltage values
calculated by PID and current values calculated by DC motor
dqm ðtÞ
Vb ðtÞ ¼ Kb ¼ Kb um ðtÞ (31) model.
dt
The water tank gives information about the change in
water level instantly. The instantaneous level of the water
d2 qm ðtÞ 1 dqm ðtÞ
¼ t m ðtÞ tL ðtÞ Bm inside the tank is calculated from subtraction of the inlet flow
dt2 Jm dt
and the outlet flow;
where, i current, R resistance, V voltage, t torque, K torque
constant, B viscous-friction coefficient, q rotor displacement, J MH2 O
LevelH2 O ¼ Levelinitial þ N_ H2 Oi N_ H2 Oo $ (33)
motor inertia and um rotor angular velocity. The DC motor A$rH2 O
model can be builded according to Equation (31). Angular ve-
locity of the motor can be calculated as; Cooling fan
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 9
All the power supplies have some losses. The amount of loss
varies with the operating current and voltage values. Gener-
Fig. 8 e The effect of current density on the overpotentials
ally commercial power supply companies publish datasheets
and the performance of the PEM electrolyzer stack at
presenting the efficiency values at different voltages and
atmospheric pressure and 300 K.
corresponding operating currents. An efficiency equation is
fitted from a commercial power supply and the loss is calcu-
lated while system running according to the equation. high, the cell potential keeps below 1.8 V, which is equal to,
Each Simulink module contains own controller in the higher than 80% efficiency (Fig. 8).
simulation even though, all the control processes are gener- The performance of the stack strongly depends on the
ally executed from one center in reality. A constant value operating conditions such as the temperature and the pres-
added to the model for the losses by the controller and the sure. The pressure also affects the thermo-neutral voltage.
sensors such as the pressure, the temperature and the The model executed for three different pressures; atmo-
current. spheric, 20 and 350 bars. Fig. 9 shows that the electrolysis
starts above the 1.48 V. Since the other losses are almost the
Hydrogen storage tank same, the graph paths undergo similar course as the operating
current density raises.
The generated hydrogen is stored in a high pressure tank. The Another parameter affecting on the performance is the
hydrogen tank model collects the generated hydrogen and operating temperature of the cell/stack. Fig. 10 shows the
calculates the amount of stored hydrogen and the internal performance curves depending on the temperature. As the
pressure. Initially, the tank is assumed to be empty. The temperature increases, the energy needed for cracking the
generated hydrogen at desired pressure fills to the storage water decreases. The model is run up to 360 K, since the
tank. The flow rate of the hydrogen is calculated at operating literature presents experimental results generally up to 90 C.
pressure [35]. The pressure in the hydrogen tank is calculated Fig. 11 shows model results for the efficiency curves at
as; different temperatures from 280 K to 360 K. The efficiency
becomes quite close to % 100 as the temperature raises to-
NH2 $Ru $Ttube
Pstorage ¼ z$ þ Pinitial (34) wards 360 K, since the efficiency of a PEM electrolyzer calcu-
ytube
lations generally are based on thermoneutral voltage, 1.48 V.
where z is compressibility factor and it is approximately 1 for However, some of the losses especially the activation and the
hydrogen. ohmic over potentials decreases with increasing temperature
due to higher reaction kinetics and enhanced ionic
conductivity.
Results
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
10 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
Fig. 12 e The effect of the operating temperature and the pressure on the cell voltage. The change in temperature is more
dominant than the change in pressure on the cell voltage.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 11
Fig. 13 e The loss percentages of the system components. The loss from the stack is much higher at high current densities.
Fig. 14 e The outputs of the model for a fixed power consumption scenario for pressurizing the generated gas to 350 bars.
The power consumed by the stack is limited to 720 Watts.
Fig. 15 e The response of the voltage and the hydrogen production rate of the PEM electrolyzer stack model to the dynamic
changes in operating current.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
12 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
to scenario, the stack starts at ambient pressure and the In this study, mathematical models of a PEM electrolyzer
pressure of the cathode compartment increases as it produces cell/stack and other required system components are devel-
hydrogen. The hydrogen is not allowed to pass to the high oped for a hydrogen generation system. The current versus
pressure tank until the internal pressure of the stack reaches the voltage graphs, the efficiency curves and the losses are
350 bar (Fig. 14b). The hydrogen flow rate of the stack outlet is plotted. A scenario is planned for fixed power consumption
null for 10 h roughly. Once it reaches to 350 bars the hydrogen and the stack performance investigated at high pressure
is allowed to pass to the tank with a flow rate of 8.7 ml/min at condition up to 350 bar. The system model works at steady
high pressure. If the storage tank is assumed to have 50-L state condition, once it reaches 350 bar pressure. As the stack
volume, it will take around 4 days to fill up with this flow rate. voltage increases due to pressurizing process, the current
The dynamic response of the model is presented in Fig. 15. decrease to 80 A and it produces 8.7-mL hydrogen per minute.
When the current drawn by the stack is changed the gener- The Simulink model is compared with experimental data
ated hydrogen flow rate is also changing accordingly. Simi- for a single cell performance curve and the model found to be
larly, when the current alters, the operating cell voltage also consistent with the experimental results.
changes consistently. The stack model can be improved by embedding more
Fig. 16 shows comparison of a single cell simulation results physics and mathematical expressions as the literature de-
with experiment's which has already performed earlier in velops on the field such as mass transfer inside the cell.
another study [3]. Both experimental and simulation results
are obtained at 60 C and atmospheric pressure. The simula- Nomenclature
tion results are found to be very well consistent to experi-
mental data. A active area
a water vapor activity
B viscous-friction coefficient
EW equivalent weight
F Faraday constant
Conclusion I current
i current density
A PEM electrolyzer based hydrogen generator system model i0 exchange current density
was developed using Simulink to estimate the stack and sys- J rotor inertia
tem behavior and losses at different operating conditions. The Ki torque constant
system has a stack having 5 cells with 100 cm2 active area and L inductance
balance of plant components. The model can be modified to M molecular weight
simulate similar systems with higher or lower hydrogen n number of cells
generation capacity. Therefore, it can be possible to estimate nd electro-osmotic drag coefficient
the power consumption of each component and have decision N_ flow rate
on the operating parameters. P pressure
The system losses are calculated by the model. The stack R resistance
losses are found relatively small at the low current densities, Ru universal gas constant
as the current density increases, the stack losses are found to T temperature
be quite large compared to the others' due to increasing t thickness
overpotentials especially the ohmic losses by the ionic re- y volume
sistivity. Therefore, the efficiency of the system becomes V voltage
significantly small at high working current density above the 1 y molar rate
A/cm2. On the other hand, low working current density below z compressibility factor
0.7 A/cm2 is not reasonable, since hydrogen production rate
per cell would be relatively low. Greeks
r density
s conductivity
f charge transfer coefficient
l water uptake
t torque
q rotor displacement
u rotor angular velocity
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4 13
co cathode out [13] Abdin Z, Webb CJ, Gray EM. Modelling and simulation of a
diff Diffusion proton exchange membrane (PEM) electrolyser cell. Int J
el electrolyzer Hydrogen Energy Oct. 2015;40(39):13243e57.
[14] Haraldsson K, Wipke K. Evaluating PEM fuel cell system
eod electro-osmotic drag
models. J Power Sources Feb. 2004;126(1e2):88e97.
g generated [15] Pathapati PR, Xue X, Tang J. A new dynamic model for
H2 hydrogen predicting transient phenomena in a PEM fuel cell system.
H2O water Renew Energy Jan. 2005;30(1):1e22.
L load [16] del Real AJ, Arce A, Bordons C. Development and
m motor experimental validation of a PEM fuel cell dynamic model. J
me membrane Power Sources Nov. 2007;173(1):310e24.
[17] Wang C, Nehrir MH, Shaw SR. Dynamic models and model
mt mass transfer
validation for PEM fuel cells using electrical circuits. Energy
O2 oxygen Convers IEEE Trans On 2005;20(2):442e51.
ohm Ohmic [18] Arsov GL. Improved parametric PSpice model of a PEM fuel
sat saturation cell. In: Optimization of electrical and electronic equipment,
2008. OPTIM 2008. 11th International Conference on; 2008.
p. 203e8.
[19] Spiegel C. PEM fuel cell modeling and simulation using
Matlab. Amsterdam: Boston: Academic Press/Elsevier;
references
2008.
[20] Olesen AC, Rømer C, Kær SK. A numerical study of the gas-
liquid, two-phase flow maldistribution in the anode of a high
€ Becerikli F, Mat MD, Kaplan Y. Development and
[1] Selamet OF, pressure PEM water electrolysis cell. Int J Hydrogen Energy
testing of a highly efficient proton exchange membrane Jan. 2016;41(1):52e68.
(PEM) electrolyzer stack. Int J Hydrogen Energy Aug. [21] Dale NV, Mann MD, Salehfar H. Semiempirical model based
2011;36(17):11480e7. on thermodynamic principles for determining 6kW proton
[2] Selamet OF, Pasaogullari U, Spernjak D, Hussey DS, exchange membrane electrolyzer stack characteristics. J
Jacobson DL, Mat MD. Two-phase flow in a proton exchange Power Sources Dec. 2008;185(2):1348e53.
membrane electrolyzer visualized in situ by simultaneous [22] Shen M, Bennett N, Ding Y, Scott K. A concise model for
neutron radiography and optical imaging. Int J Hydrogen evaluating water electrolysis. Int J Hydrogen Energy Nov.
Energy May 2013;38(14):5823e35. 2011;36(22):14335e41.
€ Acar MC, Mat MD, Kaplan Y. Effects of operating
[3] Selamet OF, [23] Aouali FZ, Becherif M, Tabanjat A, Emziane M,
parameters on the performance of a high-pressure proton Mohammedi K, Krehi S, et al. Modelling and experimental
exchange membrane electrolyzer: effects of operating analysis of a PEM electrolyser powered by a solar
parameters on the performance of a high-pressure PEM photovoltaic panel. Energy Proced 2014;62:714e22.
electrolyzer. Int J Energy Res Apr. 2013;37(5):457e67. [24] Mench MM. Fuel cell engines. Hoboken, NJ: Wiley; 2008.
[4] Abdol Rahim AH, Tijani AS, Kamarudin SK, Hanapi S. An [25] LaConti AB, Swette L. Special application using PEM-
overview of polymer electrolyte membrane electrolyzer for technology. In: Vielstich W, Lamm A, Gasteiger HA, editors.
hydrogen production: modeling and mass transport. J Power Handbook of fuel cells, vol. 4. Chichester: John Wiley & Sons,
Sources Mar. 2016;309:56e65. Ltd.; 2003. p. 745e61. Chapter 55.
[5] Grigoriev SA, Kalinnikov AA, Millet P, Porembsky VI, [26] Li X, Qu S, Yu H, Hou M, Shao Z, Yi B. Membrane water-flow
Fateev VN. Mathematical modeling of high-pressure PEM rate in electrolyzer cells with a solid polymer electrolyte
water electrolysis. J Appl Electrochem May 2010;40(5):921e32. (SPE). J Power Sources May 2009;190(2):534e7.
[6] Marangio F, Santarelli M, Cali M. Theoretical model and [27] Medina P, Santarelli M. Analysis of water transport in a high
experimental analysis of a high pressure PEM water pressure PEM electrolyzer. Int J Hydrogen Energy Jun.
electrolyser for hydrogen production. Int J Hydrogen Energy 2010;35(11):5173e86.
Feb. 2009;34(3):1143e58. [28] Bessarabov D, Wang H, Li H, Zhao N. PEM electrolysis for
[7] Nie J, Chen Y, Cohen S, Carter BD, Boehm RF. Numerical and hydrogen production: principles and applications. CRC Press;
experimental study of three-dimensional fluid flow in the 2016.
bipolar plate of a PEM electrolysis cell. Int J Therm Sci Oct. [29] Santarelli MG, Torchio MF, Cochis P. Parameters estimation
2009;48(10):1914e22. of a PEM fuel cell polarization curve and analysis of their
[8] Nie J, Chen Y, Boehm RF, Katukota S. A photoelectrochemical behavior with temperature. J Power Sources Sep.
model of proton exchange water electrolysis for hydrogen 2006;159(2):824e35.
production. J Heat Transf 2008;130(4):042409. [30] Schalenbach M, Carmo M, Fritz DL, Mergel J, Stolten D.
[9] Gorgun H. Dynamic modelling of a proton exchange Pressurized PEM water electrolysis: efficiency and gas
membrane (PEM) electrolyzer. Int J Hydrogen Energy Jan. crossover. Int J Hydrogen Energy Nov. 2013;38(35):14921e33.
2006;31(1):29e38. [31] Springer TE, Zawodzinski TA, Gottesfeld S. Polymer
[10] Awasthi A, Scott K, Basu S. Dynamic modeling and electrolyte fuel cell model. J Electrochem Soc
simulation of a proton exchange membrane electrolyzer for 1991;138(8):2334e42.
hydrogen production. Int J Hydrogen Energy Nov. [32] Selamet OF, Ergoktas MS. Effects of bolt torque and contact
2011;36(22):14779e86. resistance on the performance of the polymer electrolyte
[11] Lee B, Park K, Kim H. Dynamic simulation of PEM water membrane electrolyzers. J Power Sources May
electrolysis and comparison with experiments. Int J 2015;281:103e13.
Electrochem Sci 2013;8:235e48. [33] Musio F, Tacchi F, Omati L, Gallo Stampino P, Dotelli G,
[12] Han B, Steen SM, Mo J, Zhang F-Y. Electrochemical Limonta S, et al. PEMFC system simulation in MATLAB-
performance modeling of a proton exchange membrane Simulink® environment. Int J Hydrogen Energy Jul.
electrolyzer cell for hydrogen energy. Int J Hydrogen Energy 2011;36(13):8045e52.
Jun. 2015;40(22):7006e16.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022
14 i n t e r n a t i o n a l j o u r n a l o f h y d r o g e n e n e r g y x x x ( 2 0 1 6 ) 1 e1 4
[34] Golnaraghi MF, Kuo BC, Golnaraghi MF. Automatic control [36] Santarelli M, Medina P, Calı̀ M. Fitting regression model
systems. 9th ed. Hoboken, NJ: Wiley; 2010. and experimental validation for a high-pressure PEM
nard P, Chahine R. Simulation of hydrogen
[35] Xiao J, Hu M, Be electrolyzer. Int J Hydrog Energy Mar.
storage tank packed with metal-organic framework. Int J 2009;34(6):2519e30.
Hydrogen Energy Sep. 2013;38(29):13000e10.
Please cite this article in press as: Yigit T, Selamet OF, Mathematical modeling and dynamic Simulink simulation of high-pressure PEM
electrolyzer system, International Journal of Hydrogen Energy (2016), http://dx.doi.org/10.1016/j.ijhydene.2016.06.022