Sustainability 12 08127 v2
Sustainability 12 08127 v2
Sustainability 12 08127 v2
Article
Fuel Cell Characteristic Curve Approximation Using
the Bézier Curve Technique
Mohamed Louzazni 1, * , Sameer Al-Dahidi 2 and Marco Mussetta 3, *
1 National School of Applied Sciences, Abdelmalek Essaadi University, Tetouan B.P. 2117, Morocco
2 Mechanical and Maintenance Engineering Department, School of Applied Technical Sciences,
German Jordanian University, Amman 11180, Jordan; [email protected]
3 Dipartimento di Energia, Politecnico di Milano, Via Lambruschini 4, 20156 Milano, Italy
* Correspondence: [email protected] (M.L.); [email protected] (M.M.)
Received: 31 July 2020; Accepted: 29 September 2020; Published: 1 October 2020
Abstract: Accurate modelling of the fuel cell characteristics curve is essential for the simulation
analysis, control management, performance evaluation, and fault detection of fuel cell power systems.
However, the big challenge in fuel cell modelling is the multi-variable complexity of the characteristic
curves. In this paper, we propose the implementation of a computer graphic technique called
Bézier curve to approximate the characteristics curves of the fuel cell. Four different case studies
are examined as follows: Ballard Systems, Horizon H-12 W stack, NedStackPS6, and 250 W proton
exchange membrane fuel cells (PEMFC). The main objective is to minimize the absolute errors between
experimental and calculated data by using the control points of the Bernstein–Bézier function and de
Casteljau’s algorithm. The application of this technique entails subdividing the fuel cell curve to some
segments, where each segment is approximated by a Bézier curve so that the approximation error is
minimized. Further, the performance and accuracy of the proposed techniques are compared with
recent results obtained by different metaheuristic algorithms and analytical methods. The comparison
is carried out in terms of various statistical error indicators, such as Individual Absolute Error (IAE),
Relative Error (RE), Root Mean Square Error (RMSE), Mean Bias Errors (MBE), and Autocorrelation
Function (ACF). The results obtained by the Bézier curve technique show an excellent agreement
with experimental data and are more accurate than those obtained by other comparative techniques.
Keywords: fuel cell; characteristics curve; computer graphic technique; approximation; Bézier curve
1. Introduction
Recently, the fuel cell (FC) has been recognized by scientists and industrialists as a significant
renewable energy source. Specialists considers it as the lowest impact and the least of all the major
problems facing the global energy system [1]. It consist essentially of two electrodes viz., a cathode,
anode and a Proton Exchange Membrane (PEM) between them as an electrolyte. The two electrodes
are in contact with bipolar plates embedding gas flow channels within which the reactive gasses (H2
and O2 ) are delivered to the device. It generates electricity as long as the fuel is delivered in the
form of hydrogen. The FC is a type of sustainable energy that converts the chemical process between
hydrogen and oxygen to electrical energy. The use of the fuel cell is due to its advantages over other
renewable energy sources, e.g., the electrical efficacies of FC range between 50% and 70%, rich reserves,
high utilization efficiency, versatility, high safety, and flexibility in the use of the necessary fuels. Thus,
it has become a genuinely competitive power source of energy [2,3]. Generally, two types of fuel can be
distinguished in industries; they are: (i) Proton Exchange Membrane FCs (PEMFCs) and Solid-Oxide
FCs (SOFCs). PEMFC is one type of fuel cell technology in which high power density and compactness
work at low temperature (−20 ◦ C to −100 ◦ C). In the solid oxide fuel cell (SOFC), solid oxide material is
used as an electrolyte and is ideal for energy production and hybrid electric implementations, because
they have higher temperature levels (600 ◦ C to 700 ◦ C) and higher efficiency [4]. Standard electrolyte
materials in SOFCs contain zirconia, along with a small amount of yttrium doping, samarium doped
ceria, or gadolinium doped ceria (8 mol%). The main problems and challenges in PEMFCs research
occur in the catalyst layers (CLs) since they are complex and heterogeneous [5]. The catalyst layers
need to be constructed to produce high amounts of desirable reactions and reduce the amount of
catalyst needed to obtain the required levels of power production. In order to achieve the objective,
the aforementioned criteria must be considered: (i) strong three-phase interface in the CL, (ii) effective
transfer of protons, (iii) fast transfer of reactant and liquid gasses, and elimination of condensed
water, and (iv) continuous electronic current passage between the reaction sites and the current
collector. The overall efficiency of the CLs depends on all these important factors, and it is therefore
necessary for the identification of electrode structures and operating conditions [6]. On the other
hand, PEMFCs are used in mobile cell phones, portable music players, and electric and space vehicles
due to high power capacity, potential cost reduction, relatively low operating temperature (60 ◦ C
to 100 ◦ C), broad application prospect, zero or very low emissions, low noise, low corrosion rate,
no waste generation, solid electrolytes, and electrical efficiency of about 50% [7,8]. PEMFCs have some
limitations, such as weak oxygen reduction kinetics, weak water and heat regulation, CO toxicity,
gas diffusion layer, flow field layers and degradation. Further, manufacturing of the FC is expensive
due to the high cost of catalysts, the hydrogen is costly to manufacture and not easily accessible and
there is a lack of infrastructure to support the distribution of hydrogen [9]. The degradation rates
are considered from the major disadvantage due to the presence of liquid water in the stack system.
By converting to the high-temperature process, this is minimized since there is no liquid water present
in the stack.
Over the last decade, and due to the revolution in FC technologies, numerous researchers have
paid particular attention to modeling, controlling, and parameter extractions [3]. The primary purpose
of these studies is to develop an accurate FC model that can be correctly expressed in simulation studies
and be very identical to experimental models. Meanwhile, modeling plays a vital role in the simulation,
concept, configuration, analysis, and improvement of high-efficiency fuel cell systems. In order to
understand and manage the functionality of the fuel cell, it is important to establish a stable model of
the fuel cell [7]. The performance of the model depends mainly on reducing the error value between the
simulation and the experimental results. Generally, the electrochemical model, based on mathematical
formulations, is the most useful model for specialists to approximate the output characteristics of the
FC system. Mathematical modelling is popularly used as a reasonable cost and an effective solution to
experimental studies. Nonetheless, its efficacy is typically influenced by an inappropriate configuration
of the parameters, such as stack temperature, the humidity of anode and cathode, gas pressure, and so
on [10]. Recently, the most effective techniques are developing mathematical models [11] based on
analytical models [12], empirical models [13] or semi-empirical models [14], and mechanistic models,
and then the approximation of unidentified voltage–current (V–I) and power–voltage (P–I) curves
through optimization techniques [15]. Within these models, the semi-empirical model established
in [16], based on Nernst and Tafel equations, is widely recognized by the researchers. Due to the
parametric equations of the FC model, it can be formulated as an optimization problem to approximate
the FC curves and, thus, describe the behavior of characteristic curves.
Recently, numerous research papers have been focusing on developing different approaches to
approximate the FC characteristic curves using analytical and meta-heuristic techniques, instead of using
conventional analytical methods or meta-heuristic optimization algorithms, both in non-parameter [17]
and parameter modelling [18]. Among the accepted empirical scientific methods, the electrochemical
impedance spectrum method, combined with broadband current excitation [19], least square method
adapted to fractional order models [20], semi-empirical model [21], generalized reduced gradient
technique (GRG-1, GRG-2) [22], Gauss–Newton [23], Levenberg–Marquardt [23], and least square
fitting [24]. However, such analytical methods are based on complex operations. These methods have
Sustainability 2020, 12, 8127 3 of 23
some demerit points because they are based on mathematical manipulation, and the derivation imposes
several restrictions, such as convexity, continuity, and differentiability, also, the approximations reduce
the ultimate accuracy.
On the other hand, the meta-heuristic algorithms have prospered over the last few years, and have
been effectively used to overcome several challenging optimization difficulties in specific various fields.
In the literature, numerous meta-heuristic optimization techniques have been proposed to approximate
the FC characteristic curves, including Shuffled Frog-Leaping Algorithm (SFLA), Firefly Optimization
Algorithm (FOA), Imperialist Competitive Algorithm (ICA) [25], Shuffled Multi-Simplexes Search
Algorithm (SMSA) [26], Hybrid Grey Wolf Optimization (HGWO) [27], Hybrid Vortex Search Algorithm
and Differential Evolution [28], Eagle Strategy [8], Cuckoo Search Algorithm with Explosion Operator
(CAEO) [29], Neural Network Optimizer (NNO) [30], Shark Smell Optimizer (SSO) [31], Slap Swarm
Optimizer (SSO) [32], Grasshopper Optimization (GO) [33], Grey Wolf Optimizer (GWO) [34], Hybrid
Teaching Learning Based Optimization-Differential Evolution [35], Hybrid Adaptive Differential
Evolution Algorithm [36], Evolutionary Strategy [37], Genetic Algorithm (GA) and Manta Rays
Foraging Optimizer (MRFO) [38], Transferred Adaptive Differential Evolution (TADE) [39], Adaptive
Differential Evolution Algorithm (ADEA) [40], and Harmony Search Algorithm (HSA) [41]. In particular,
these nature-inspired or artificial swarm intelligence have their own benefits and drawbacks, in which
someone can overcome an unsolvable problem and not solve another one. Even so, the algorithms
referenced are generally trapped at local optima and have large error values. Besides, the accuracy
of such algorithms is strongly dependent on the selection of specific parameters, such as mutation
probability, crossover probability, and the selection operator in the GA, as well as inertia weight,
and social and cognitive parameters for particle swarm optimization. As a result, researchers are
always looking for successful techniques capable of approximating the characteristics curves of the FC
with low error and high accuracy.
As mentioned previously, most scientists have tried to improve the modeling of the FC,
which requires a complex model with a degree of nonlinearity and multi-variability. The latter maintains
that the FC characteristics curves are challenging to be tackled by using traditional methodologies
to improve the effectiveness of V–I and P–I characteristic curves, and accurately reflect the ultimate
performance. It is essential to define accurate curves using modern techniques properly. However,
the critical requirement for choosing a method to approximate the FC characteristic curves is its
precision. The primary needs for the techniques are accuracy, reliability, efficiency, detection limit,
quantitation limit, flexibility, operating range, and robustness. An approximation technique with a low
error is widely accepted as successful, and the calculated error is measured based on the discrepancy
between the calculation and the experimental values.
For this reason, recently, several researchers have introduced the Computer Aided Geometric
Design (CAGD) technique, Computer Graphics (CG), and Computer-Aided Design (CAD) to overcome
all problems of the nonlinearity and complex functions to approximate curves and surfaces [42].
The Bézier curves technique is considered the most stable among all polynomial based on CAD
and provides excellent representation for piecewise polynomial curves (since the Bézier curve has
a continuous curvature, and can rapidly change the shape by adapting its control points and can be
adjusted with an optimization algorithm) [43]. This technique is used to fit or approximated different
geometry through different algorithms to minimize the distance between the experimental and control
points. For example, Huo et al. [44] have applied the Bézier curve technique to approach and design
the trajectory of the electric sail. A description of the thermal behavior of three-way mixing valves [45],
estimation of the Kendall distribution function [46], and circle, and conic approximation [47,48],
has been also carried out.
In this paper, an investigation and application of the control points of the Bernstein-Bézier
technique for numerically approximating the V–I and P–I characteristics curve of FCs have been
proposed. The main objective is to minimize the absolute errors between experimental and calculated
data by using the control points of the Bernstein–Bézier technique. Four different case studies
Sustainability 2020, 12, 8127 4 of 23
are examined as follows: PEMFC by M/S Ballard Systems, Horizon H-12 W stack, NedStack PS6
PEMFC stack, and 250 W PEMFC stack. To check the efficiency of the used technique and the
performance of the obtained results, a statistical analysis is conducted to assess the precision and
accuracy of the approximated V-I and P-I curves. The results obtained are compared to latest
methods, such as the Whale Optimization Algorithm (WOA) [14], GRG-1 [22], GRG-2 [22], FOA [25],
ICA [25], SFLA [25], SMSA [26], SSO [32], Modified Artificial Ecosystem Optimizatio (MAEO) [49],
GA [38], MRFO [38], Grouping-based Global Harmony Search GGHS [50], Improved Harmouny Search
(HIS) [50], Particle Swarm Optimization with adaptive inertia Weight (PSO-w) [50], and Chaotic Harris
Hawks Optimization (CHHO) [51]. To evaluate the performance of the proposed method, various
error parameters are computed, examined, and compared, such as Individual Absolute Error (IAE),
Relative Error (RE), Root Mean Square Error (RMSE), Mean Bias Error (MBE), and Autocorrelation
Function (ACF). The obtained results are shown close to the experimental data, with a good agreement
for most of the approximated curves. The proposed method outperforms the benchmark techniques
from the literature.
The remaining of this article is structured as follows: Section 2 displays the mathematical model
and fundamentals description of FCs. Section 3 presents the application of the Bézier curve technique
to the FC curve. Section 4 depicts the evaluation of the statistical criteria. Sections 5 and 6 illustrate
the obtained results and the analysis and discussion of the approximated curves, respectively. Lastly,
conclusions and future works are drawn in Section 7.
Figure 1. (a) Fundamental structure and electrical equivalent circuit of the FC, (b) voltage-current
polarization curves of 250 W proton exchange membrane fuel cells (PEMFC) stack [53].
written by starting with the thermodynamically predicted voltage and then subtracting the various
overvoltage losses, as follow [16]:
Each of the terms in Equation (1) is identified and interpreted individually as follows:
RT
q
ENernst = E0 + α1 (T − T0 ) + ln PH2 PO2 (2)
2F
h i
Vact = − ζ1 + ζ2 T + ζ3 T ln CO2 + ζ4 T ln(I ) (3)
Po2
498
CO2 = exp (4)
5.08 × 106 T
where, E0 = 1.229 is the standard-state reversible fuel cell thermodynamic voltage are only useful under
standard-state conditions (equal to 1.229 V at 298.15 K and 1 atm). The coefficient α1 = (dENerst /dT )p
depends on the thermodynamic equilibrium potential, in the literature is determined from the entropy
change of a given reaction which is approximately constant and can be set to the standard state value
−0.83.10−3 V/K, R is the gas constant, 8.3143 J/mol.(K), F is the Faraday’s constant, equal to 96 487 C/mol,
PH2 is the hydrogen partial pressure at anode catalyst/gas interface (atm), Po2 the oxygen partial pressure
at cathode catalyst/gas interface (atm), T is the absolute cell temperature (Kelvin) and T0 = 298.15
is the standard state temperature (Kelvin). The parametric coefficient ζi (i = 1, 2, 3, 4) represents the
semi-empirical coefficients based on fluid mechanics, thermodynamics, and electrochemistry. The Co2
is the oxygen concentration at the catalytic interface of the cathode defined according to Henry’s
law(mol.cm−3 ).
The ohmic loss in the FC can be mathematically interpreted as:
where i is the cell operating current (I), Rm denotes the membrane resistance (Ω) and Rc denotes the
equivalent resistance describing the concentration processes (Ωcm−2 ). The membrane resistance Rm
and ρm denotes the specific resistance of the material of the membrane (Ω.cm), they can be evaluated
as given in Equation (6).
Rm = ρm Al
181.6[1+0.03(i/A)+0.062(T/303)2 (i/A)2.5 ] (6)
ρm =
[λ−0.634−3(i/A) exp(4.18 T−303
T )]
where, λ is an adjustable empirical coefficient that influenced by the preparation steps of the solid
membrane and l is the membrane thickness (µm).
The concentration voltage drop is given by:
where β is a parametric coefficient (V), J and Jmax represent the actual and the maximum current of the
cell (A.cm−2 ), respectively.
Sustainability 2020, 12, 8127 6 of 23
where Bi n is the Bernstein basis functions and the coordination of the control points as pi (ti ,bi ).
The control points use the Greville abscissa ti = i/n to provide a kind of parametrization for various
approximation polygons of the original Bézier curve using the subdivision process. Noting that the
subdivision is an essential form in geometric modeling. In practice, the subdivision offers an attractive
method for interpolation. Intersections of curves can also be determined by subdivision within any
given tolerance [1,54]. Theoretical characteristics of the subdivision scheme also characterize specific
geometric characteristics of the curve.
The subdivision of the curve using the Bézier curve method is obtained using the set of control
points bi to find the new coordinate in the curve. The points are subdivided into two segments,
and each segment possesses a Bézier polygon as follows:
The subdivision and evaluation can be obtained easily by using de Casteljau’s algorithm applied
to Equation (8). Let us define the new formulation based on the recurrence relation as follow:
b0i (t) = bi
(
i = 0, · · · ; n
(11)
bri (t) = (1 − t)br−1
i
(t) + tbr−1
i+1
(t) r = 1, · · · , n; i = 0, · · · ; n − r
Sustainability 2020, 12, 8127 7 of 23
The p(t) = bn0 (t) and let us consider any curve defined by:
n
X
d(t) = d n ( t ) bn (12)
n=0
Equation (12) belongs to the class of the curves that can be evaluated by the de Casteljau algorithm
by changing the variable t to a linear function nonconstant. The evaluation of the Bernstein polynomial
begins with choosing a point t0 to evaluate and subdivide the curve by using the diagonals of the
triangle scheme to construct a division of the polynomial. The new evaluation can be formulated
as follows:
0
bi ( t ) = bi i = 0, · · · ; n
r
r (t) br−1 (t) + Lr (t)br−1 (t)
b i
( t ) = 1 − L i i i i+1
r = 1, · · · , n; i = 0, · · · ; n − r (13)
r t−t0
Li (t) = 1−t0 t0 ∈ [ 0 1 ]
The points bn0 (t) are obtained by the de Casteljau algorithm, which provides not only a procedural
approach to the subdivision, but also an attractive graphical representation of the points bn0 (t).
Figures 3 and 4 illustrate the diagram of the de Casteljau algorithm applied to the control points of the
Bézier curve for n = 3 and the relationship between d(t) = bn0 (t) and Lri (t), respectively.
Figure 4. Relationship between L and d in the diagram of the de Casteljau algorithm for n = 3.
Since the control points bn0 (t) are intermediate points in the de Casteljau evaluation algorithm,
an optimization approach may be used to evaluate them adequately. This algorithm also provides the
subdivision of the Bézier curve.
The subdivision step consists of dividing the curve described by d(t) into two Bézier curves.
In the fixed parameter r ∈ [0 1], the first curve corresponds to the section range [0 r], and the second
Sustainability 2020, 12, 8127 8 of 23
parameter range [r 1]. Formally, the above curves are the Bezier curves related to ple f t (t) = (rt) and
prigh (t) = p[r + t(1 − r)] for t ∈ [0 1]. The new control points at left and right section at t are given as:
The algebraic interpretation of the subdivision can also be written in terms of matrix
multiplication as:
D(t) = [d0 (t), d1 (t), · · · , dn (t)]
h p = [p0 , p1 , · · · , pn ]
(15)
i
p ( t ) = p 0 (t), p1 (t), p2 (t), · · · , pn (t)
l
h 0 0 0 0 i
p (t) = pn (t), pn−1 (t), pn−2 (t), · · · , p0 (t)
r 0 1 1 n
From Figures 2 and 3, the equations of the right and left section are given as follows:
r
Ln r−n (t)
Q
S ( t ) =
l
n=1
(16)
n−r
[1 − Ln r (t)]
Q
Sr (t) =
n=1
The final equation of the experimental points is the sum of the right and left sections:
r
Y n−r
Y
S(t) = Ln r−n (t) + [1 − Ln r (t)] (17)
n=1 n=1
Relative Error (RE): It is used as a calculation of accuracy, and it is described as the ratio of the
IAE of the measurement to the calculations being recorded. RE is expressed in terms and does not
have any units, and it is expressed as:
Vm,i − Vcal,i
RE = (19)
Vm,i
Root Mean Square Error (RMSE): it represents the probability distribution between the experimental
and the presented curve data of the m data point sample. This measure will be used to quantify
unconsidered error that can be defined as follows:
v
t m
1 X 2
RMSE = Vm,i − Vcal,i (20)
m
i=1
Mean Bias Error (MBE): it represents the arithmetic mean of the error and provides information
about the long-term performance; the small value is desired as a condition. It can signify whether
Sustainability 2020, 12, 8127 9 of 23
the model overestimates or underestimates. MBE quantifies the systematic error, and it is described
as follows:
m
1 X
MBE = Vm,i − Vcal,i (21)
m
i=1
Autocorrelation Function (ACF): it defines how the correlation between any two values of the
signal changes as their separation changes. It is a time–domain measure of the stochastic process
memory, and it does not reveal any information about the frequency content of the process. For error
signal et , the ACF can be formulated as:
Conv(et , et+k )
ACF = p (22)
Var(et )Var(et+k )
Fuel Cell ncell A(cm2 ) l(µm) PH2 (bar) Po2 (bar) T (K) RHa , RHc
M/S Ballard [50] 35 50.6 178 1 1 343 1
Horizon H-12 [14,57] 13 8.1 25 0.4935 1 302.15 1
NedStack PS6 [25] 65 240 178 0.5–5 0.5–5 343 1
250 W [49] 24 27 178 1 0.2075 343.15–353.15 1
The efficiency of the proposed effective computer graphic technique used to approximate the
FC characteristics curve is compared with various algorithms to validate the performance of each
algorithm. Further, statistical metrics are calculated and evaluated using the most used statistical
criteria and error analysis in the research literature. The important is to identify the performance
method in others by comparing each V–I and P–I curves.
Table 2. Comparison results of the approximated voltage, current, and IAE of M/S Ballard Systems.
To present more validity and accuracy of the proposed method, the reconstructions of the V–I
and P–I are presented in Figure 5a,b. The reconstructed approximated characteristics curves are
compared with the experimental data point and GRG-1, GRG-2, GGHS, IHS, and PSO-w. The results
of validation and approximation curves denote an excellent match compared with empirical data and
other algorithms. From Figure 5, it is shown that the two algorithms GRG-1 and GRG-2 are close to
experimental data in low voltage while in high voltage, they are far. The other algorithm approximated
the two curves by high errors in high and low voltages.
Figure 5. (a) V–I and (b) P–I compared experimental data and model calculated results of M/S
Ballard systems.
Figure 6 illustrates the comparison of the approximated voltage of M/S Ballard system with the
experimental and the values obtained by the algorithms GRG-1, GRG-2, GGHS, IHS and PSO-w.
The comparison illustrates and demonstrates that the Bézier curve method shows an excellent
correlation between the approximated voltages and the experimental voltage.
Sustainability 2020, 12, 8127 11 of 23
To confirm the performance of the proposed method and present more accuracy of each technique,
the IAE and RE are presented and compared in Figure 7a,b, respectively. From Figure 7a,b, the lowest
values of the IAE and RE, which indicate the advantages of the Bézier curve method, are demonstrated.
Further, the obtained lower values using the Bézier curve method present the performance of the
proposed method concerning GRG-1, GRG-2, GGHS, IHS, and PSO-w.
Moreover, the ACF is evaluated as shown in Figure 8. The presented qualified test of the M/S
Ballard Systems is in the range of −1 and +1.
Table 3. Comparison of the approximated values and IAE of Horizon H-12 W stack.
Table 3 depicts the approximated voltage and current by Bézier curve method compared with the
measured experimental data. Moreover, Table 3 illustrates the comparison of the IAE of Bézier curve
method with WOA, GA, and MRFO.
The reproduced V–I and P–I curves using the approximated Bézier curve method compared
with the experimental data are presented in Figure 9a,b. Moreover, the quality and efficiency of the
approximated values are reconstructed and compared with WOA, GA, and MRFO. It is clear that the
reconstructed curves using the Bézier curve method are close to the experimental data.
Sustainability 2020, 12, 8127 13 of 23
Figure 9. Comparison of (a) I-V and (b) P-V with experimental data and model calculated results by
WOA, GA, and MRFO of Horizon H-12 W Stack.
The accuracy of the Bézier curve method in the voltage approximation is illustrated in Figure 10.
The approximated voltage is close to the experimental values, while the values obtained by WOA,
GA, and MRFO are far. This shows that the proposed method outperforms the WOA, GA,
and MRFO algorithms.
Figure 10. Compared calculated voltage with experimental for FC Horizon H-12 W Stack.
For more validity and accuracy, the statistical metrics in terms of IAE and RE are illustrated in
Figure 11a,b. It is observed that the Bézier curve method provides the lowest value of IAE and RE
compared to the algorithms WOA, GA, and MRFO.
Figure 11. Comparison of (a) IAE and (b) RE of FC Horizon H-12 W stack.
Sustainability 2020, 12, 8127 14 of 23
Figure 12 presents the ACF of the fuel cell Horizon H-12 12 W. The given qualified test is in the
range of −1 and +1.
Table 4. Comparison of the approximated values and IAE of NedStackPS6 PEMFC stack.
Figure 13a,b show the reconstructed V–I and P–I curves of NedStackPS6 PEMFC stack using the
approximated value using Bézier curve method compared to experimental data and MRFO and FOA
Sustainability 2020, 12, 8127 15 of 23
algorithms. The comparisons show that the reconstructed value using Bézier curve method is in good
agreement with experimental data.
Figure 13. Comparison of (a) V–I and (b) P–I with experimental data and model calculated results by
MRFO and FOA of NedStackPS6 PEMFC stack.
Figure 14 presents the comparison of the approximated voltage values with experimental and
the value obtained by MRFO and DOA algorithms. The voltage value approximated by Bézier curve
method is close to the experimental data better than the values obtained by MRFO and DOA algorithms.
Figure 14. Compared calculated voltage with experimental of NedStack PS6 PEMFC stack.
The performance of the Bézier curve method provides the lowest values for the statistical criteria,
IAE and MAE, when compared to the other algorithms. Therefore, the Bézier curve method is ranked
first in achieving the lowest of IAE and RE, while the ICA and FOA are ranked second and third,
respectively. Therefore, the approximated values of the characteristic’s curves identified by the
proposed Bézier curve method are very accurate because they are close to the experimental data of the
fuel cell. The IAE and the RE for each measurement using optimal values founded by the Bézier curve
method are depicted in Figure 15a,b. It observed that the Bézier curve method performs better than
the reported algorithms.
Sustainability 2020, 12, 8127 16 of 23
Figure 15. Compared (a) IAE and (b) RE of NedStack PS6 PEMFC stack.
Figure 16 illustrated the calculated ACF of the FC NedStackPS6 PEMFC stack. The presented
values of the qualified test are in the range of −1 and +1.
To validate the approximated pair current and voltage values obtained by Bézier curve method,
they are used to reconstruct the V–I and P–I of the 250 W PEMFC stack. Figure 17a,b present the
V–I and P–I characteristic curves of the approximated values by the Bézier curve method along with
the experimental data. From the results, it can be observed that the values extracted by the Bézier
curve method for the considered 250 W PEMFC stack fit the experimental data very well, and they are
very close.
Figure 17. Comparison of (a) V–I and (b) P–I of 250 W PEMFC stack.
Figure 18 compares the experimental voltage values between the approximated by Bézier curve
method and CHHO algorithm. It is observed that the proposed method provides more accurate values
compared to CHHO algorithm.
Sustainability 2020, 12, 8127 18 of 23
Figure 18. Comparison between experimental and estimated voltage stack of 250 W PEMFC stack.
The comparison between CHHO and the proposed algorithm in terms of IAE and RE for each
measurement is illustrated in Figure 19a,b. Figure 19 shows that the Bézier curve method has better
performance than the other estimation algorithms.
Figure 19. Comparison of (a) IAE and (b) RE of 250 W PEMFC stack.
Figure 20 depicted the ACF of the FC 250 W PEMFC stack. The presented values of the qualified
test are in the range of −1 and +1.
distributed the information is in the best match rows. The MBE represents the arithmetic mean of
the error and provides information about the long-term performance; the small value is desired as
a condition. It can signify whether the model overestimates or underestimates the stack voltage. So,
the low values of the statistical measures present the best-estimated model.
Figure 21 illustrates the comparison of RMSE and MBE for the approximated characteristics curves
of PEMFC by M/S Ballard Systems, Horizon H-12 W stack, NedStackPS6 PEMFC stack, and 250 W
PEMFC stack. It is observed that in all of the considered case studies, the proposed method has the
lowest values of RMSE and MBE.
Figure 21. Comparison of RMSE and MBE of the fuel cells under study, (a) M/S Ballard Systems,
(b) Horizon H-12 W stack, (c) NedStack PS6 PEMFC stack, (d) 250 W PEMFC Stack..
In the M/S Ballard Systems the Bézier curve method has the lowest measures’ values followed by
GRG-1 and GRG-2, while the PSO-w provides the highest measures’ values.
For the Horizon H-12 W stack, the Bézier curve method is better than WOA, GA, and MRFO,
which have the highest measures’ values in RMSE and MBE.
The characteristics curve of NedStackPS6 PEMFC stack has been approximated by the Bézier
curve method much better than SSO and SMA, while the highest value is obtained by MRFO, FOA,
ICA, and SFLA.
In the last case study, it is observed that the Bézier curve method provides the best values of the
curves, much better than MAEO and CHHO algorithms.
In all case studies, the approximation is very close to the experimental data at low voltage and
current. However, in high voltage value and low current, that is a little far. Moreover, the Bézeir
curve method outperforms all other algorithms in the four case studies and provides the lowest error
measures’ values. Further, the approximated values by the Bézier curve method are close to the
experimental values in low voltage and high current and also at low current and high voltage.
Sustainability 2020, 12, 8127 20 of 23
7. Conclusions
This paper presents the implementation and adaptation of the Bézier curve method to approximate
the characteristic curves of four different fuel cells under different conditions. The used experimental
data of current and voltage for testing the effectiveness of the proposed technique are based on the
results obtained by several algorithms previously developed for parameter extraction and characteristic
curves approximation. The voltage–current curve is subdivided using the experimental into segments,
and the control points were constructed using the coefficients of the polynomial Bernstein function in
the interval of the measured data. The de Casteljau subdivision algorithm is applied to the fuel cell
curve to an infinite sequence of control points, which defines a new family of curves. The degree of the
Bernstein function depends on the number of the measured data points. The de Casteljau algorithm is
used to minimize the distance between the experimental data points and is then approximated to find
the best approximation. Further, several statistical metrics are calculated and determined to fit the
performance and accuracy of the approximated curves.
The obtained approximated voltage, current, and power are compared with those obtained by
recent techniques and methods from the literature. The proposed method provides the lowest value
in terms of Individual Absolute Error (IAE), Relative Error (RE), Root Mean Square Error (RMSE),
and Mean Bias Error (MBE) compared to other techniques. The comparisons of four cases demonstrate
that the Bézier curve method using the adopted statistical error measures provides high performance
and accuracy of the approximated current, voltage, and power of the fuel cells. Therefore, the research
relevant to the study will then commence focused on analyzing the static and dynamic behavior of the
fuel cell model in different conditions. The results of this study create the following opportunities for
various potential research:
• Construction of a good fuel cell model device based on the approximated curves;
• Development of a new implicit model.
Because the performance of the results is of significant importance in control management and
performance analysis of the fuel cell in hybrid renewable energy systems; the proposed characteristics
approximation is a useful feature for monitoring, fault detection and diagnosis of the connected
fuel cell.
Author Contributions: Conceptualization, M.L.; methodology, M.L.; software, M.L.; validation, M.L., S.A.-D.
and M.M.; formal analysis, M.L.; investigation, M.L., S.A.-D. and M.M.; resources, M.L.; data curation, M.L.;
writing-original draft preparation, M.L.; writing-review and editing, M.L., S.A.-D. and M.M.; visualization, M.L.,
S.A.-D. and M.M.; supervision, M.L.; project administration, M.L.; funding acquisition, M.L. All authors have read
and agreed to the published version of the manuscript.
Funding: This research received no external funding.
Acknowledgments: The first author is highly thankful to the Energy Department of University Polytechnic of
Milan, Italy, and the Italian Ministry of Foreign Affairs and International Cooperation.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Staffell, I.; Scamman, D.; Velazquez-Abad, A.; Balcombe, P.; Dodds, P.E.; Ekins, P.; Shah, N.; Ward, K.R.
The role of hydrogen and fuel cells in the global energy system. Energy Environ. Sci. 2019, 12, 463–491.
[CrossRef]
2. Ramadhani, F.; Hussain, M.A.; Mokhlis, H.; Hajimolana, S. Optimization strategies for solid oxide fuel cell
(SOFC) application: A literature survey. Renew. Sustain. Energy Rev. 2017, 76, 460–484. [CrossRef]
3. El-Hay, E.A.; El-Hameed, M.A.; El-Fergany, A.A. Optimized parameters of SOFC for steady state and
transient simulations using interior search algorithm. Energy 2019, 166, 451–461. [CrossRef]
4. Agwa, M.A.; El-Fergany, A.A.; Sarhan, M.G. Steady-state modeling of fuel cells based on atom search
optimizer. Energies 2019, 12, 1884. [CrossRef]
Sustainability 2020, 12, 8127 21 of 23
5. Shen, P.K. PEM fuel cell catalyst layers and MEAs. In PEM Fuel Cell Electrocatalysts and Catalyst Layers:
Fundamentals and Applications; Springer: Berlin/Heidelberg, Germany, 2008; pp. 355–380. [CrossRef]
6. Wang, M.; Park, J.H.; Kabir, S.; Neyerlin, K.C.; Kariuki, N.N.; Lv, H.; Stamenkovic, V.R.; Myers, D.J.; Ulsh, M.;
Mauger, S.A. Impact of catalyst ink dispersing methodology on fuel cell performance using in-situ x-ray
scattering. ACS Appl. Energy Mater. 2019, 2, 6417–6427. [CrossRef]
7. Xu, S.; Wang, Y.; Wang, Z. Parameter estimation of proton exchange membrane fuel cells using eagle strategy
based on JAYA algorithm and nelder-mead simplex method. Energy 2019, 173, 457–467. [CrossRef]
8. Uzunoglu, M.; Alam, M.S. Fuel-cell systems for transportations. In Power Electronics Handbook, 4th ed.;
Rashid, M.H., Ed.; Elisevier: Amsterdam, The Netherlands, 2018; pp. 1091–1112. [CrossRef]
9. Chandan, A.; Hattenberger, M.; El-kharouf, A.; Du, S.; Dhir, A.; Self, V.; Pollet, B.G.; Ingram, A.; Bujalski, W.
High temperature (HT) polymer electrolyte membrane fuel cells (PEMFC)-a review. J. Power Sources 2013,
231, 264–278. [CrossRef]
10. Chen, F.; Yu, Y.; Gao, Y. Temperature control for proton exchange membrane fuel cell based on current
constraint with consideration of limited cooling capacity. Fuel Cells 2017, 17, 662–670. [CrossRef]
11. Shen, X.; Zhang, X.; Lie, T.T.; Li, G. Mathematical modeling and simulation for external electrothermal
characteristics of an alkaline water electrolyzer. Int. J. Energy Res. 2018, 42, 3899–3914. [CrossRef]
12. Aouali, F.Z.; Becherif, M.; Ramadan, H.S.; Emziane, M.; Khellaf, A.; Mohammedi, K. Analytical modelling
and experimental validation of proton exchange membrane electrolyser for hydrogen production. Int. J.
Hydrog. Energy 2017, 42, 1366–1374. [CrossRef]
13. Lee, W.-Y.; Park, G.-G.; Yang, T.-H.; Yoon, Y.-G.; Kim, C.-S. Empirical modeling of polymer electrolyte
membrane fuel cell performance using artificial neural networks. Int. J. Hydrog. Energy 2004, 29, 961–966.
[CrossRef]
14. El-Fergany, A.A.; Hasanien, H.M.; Agwa, A.M. Semi-empirical PEM fuel cells model using whale optimization
algorithm. Energy Convers. Manag. 2019, 201, 112197. [CrossRef]
15. Gao, F.; Blunier, B.; Miraoui, A. Proton Exchange Membrane Fuel Cells Modeling; John Wiley & Sons, Inc.:
Hoboken, NJ, USA, 2013. [CrossRef]
16. Amphlett, C.; Mann, R.F.; Peppley, B.A.; Roberge, P.R.; Rodrigues, A. A model predicting transient responses
of proton exchange membrane fuel cells. J. Power Sources 1996, 61, 183–188. [CrossRef]
17. Zhang, L.; Wang, N. Application of coRNA-GA based RBF-NN to model proton exchange membrane fuel
cells. Int. J. Hydrog. Energy 2018, 43, 329–340. [CrossRef]
18. Priya, K.; Sathishkumar, K.; Rajasekar, N. A comprehensive review on parameter estimation techniques for
proton exchange membrane fuel cell modelling. Renew. Sustain. Energy Rev. 2018, 93, 121–144. [CrossRef]
19. Ritzberger, D.; Striednig, M.; Simon, C.; Hametner, C.; Jakubek, S. Online estimation of the electrochemical
impedance of polymer electrolyte membrane fuel cells using broad-band current excitation. J. Power Sources
2018, 405, 150–161. [CrossRef]
20. Taleb, M.A.; Béthoux, O.; Godoy, E. Identification of a PEMFC fractional order model. Int. J. Hydrog. Energy
2017, 42, 1499–1509. [CrossRef]
21. Al-Baghdadi, M.A.R.S. Modelling of proton exchange membrane fuel cell performance based on
semi-empirical equations. Renew. Energy 2005, 30, 1587–1599. [CrossRef]
22. Geem, Z.W.; Noh, J.-S. Parameter estimation for a proton exchange membrane fuel cell model using GRG
technique. Fuel Cells 2016, 16, 640–645. [CrossRef]
23. Ye, M.; Wang, X.; Xu, Y. Parameter identification for proton exchange membrane fuel cell model using particle
swarm optimization. Int. J. Hydrog. Energy 2009, 34, 981–989. [CrossRef]
24. Bouaicha, A.; Allagui, H.; Aglzim, E.-H.; Rouane, A.; Mami, A. Validation of a methodology for determining
the PEM fuel cell complex impedance modelling parameters. Int. J. Hydrog. Energy 2017, 42, 12738–12748.
[CrossRef]
25. Kandidayeni, M.; Macias, A.; Khalatbarisoltani-Boulon, A.L.; Kelouwani, S. Benchmark of proton exchange
membrane fuel cell parameters extraction with metaheuristic optimization algorithms. Energy 2019,
183, 912–925. [CrossRef]
26. Li, J.; Gao, X.; Cui, Y.; Hu, J.; Xu, G.; Zhang, Z. Accurate, efficient and reliable parameter extraction of
PEM fuel cells using shuffled multi-simplexes search algorithm. Energy Convers. Manag. 2020, 206, 112501.
[CrossRef]
Sustainability 2020, 12, 8127 22 of 23
27. Miao, D.; Chen, W.; Zhao, W.; Demsas, T. Parameter estimation of PEM fuel cells employing the hybrid grey
wolf optimization method. Energy 2020, 193, 116616. [CrossRef]
28. Fathy, A.; Elaziz, M.A.; Alharbi, A.G. A novel approach based on hybrid vortex search algorithm and
differential evolution for identifying the optimal parameters of PEM fuel cell. Renew. Energy 2020,
146, 1833–1845. [CrossRef]
29. Chen, Y.; Wang, N. Cuckoo search algorithm with explosion operator for modeling proton exchange
membrane fuel cells. Int. J. Hydrog. Energy 2019, 44, 3075–3087. [CrossRef]
30. Fawzi, M.; El-Fergany, A.A.; Hasanien, H.M. Effective methodology based on neural network optimizer for
extracting model parameters of PEM fuel cells. Int. J. Energy Res. 2019, 43, 8136–8147. [CrossRef]
31. Rao, Y.; Shao, Z.; Ahangarnejad, A.H.; Gholamalizadeh, E.; Sobhani, B. Shark smell optimizer applied to
identify the optimal parameters of the proton exchange membrane fuel cell model. Energy Convers. Manag.
2019, 182, 1–8. [CrossRef]
32. El-Fergany, A.A. Extracting optimal parameters of PEM fuel cells using salp swarm optimizer. Renew. Energy
2018, 119, 641–648. [CrossRef]
33. El-Fergany, A.A. Electrical characterisation of proton exchange membrane fuel cells stack using grasshopper
optimizer. IET Renew. Power Gener. 2018, 12, 9–17. [CrossRef]
34. Ali, M.; El-Hameed, M.A.; Farahat, M.A. Effective parameters’ identification for polymer electrolyte
membrane fuel cell models using grey wolf optimizer. Renew. Energy 2017, 111, 455–462. [CrossRef]
35. Turgut, O.E.; Coban, M.T. Optimal proton exchange membrane fuel cell modelling based on hybrid Teaching
Learning Based Optimization-Differential Evolution algorithm. Ain Shams Eng. J. 2016, 7, 347–360. [CrossRef]
36. Sun, Z.; Wang, N.; Bi, Y.D. Srinivasan, parameter identification of PEMFC model based on hybrid adaptive
differential evolution algorithm. Energy 2015, 90, 1334–1341. [CrossRef]
37. Restrepo, C.; Konjedic, T.; Garces, A.; Calvente, J.; Giral, R. Identification of a proton-exchange membrane
fuel cell’s model parameters by means of an evolution strategy. IEEE Trans. Ind. Inform. 2015, 11, 548–559.
[CrossRef]
38. Selem, S.I.; Hasanien, H.M.; El-Fergany, A.A. Parameters extraction of PEMFC’s model using manta rays
foraging optimizer. Int. J. Energy Res. 2020, 44, 1–12. [CrossRef]
39. Gong, W.; Yan, X.; Liu, X.; Cai, Z. Parameter extraction of different fuel cell models with transferred adaptive
differential evolution. Energy 2015, 8, 139–151. [CrossRef]
40. Cheng, J.; Zhang, G. Parameter fitting of PEMFC models based on adaptive differential evolution. Int. J.
Electr. Power Energy Syst. 2014, 62, 189–198. [CrossRef]
41. Askarzadeh, A.; Rezazadeh, A. An innovative global harmony search algorithm for parameter identification
of a PEM fuel cell model. IEEE Trans. Ind. Electron. 2012, 59, 3473–3480. [CrossRef]
42. Mohamed, N.; Majid, A.A.; Piah, A.R.M. Data fitting by G1 rational cubic Bézier curves using harmony
search. Egypt. Inform. J. 2015, 16, 175–185. [CrossRef]
43. Kawabata, K.; Ma, L.; Xue, J.; Zhu, C.; Zheng, N. A path generation for automated vehicle based on Bezier
curve and via-points. Rob. Auton. Syst. 2015, 74, 243–252. [CrossRef]
44. Huo, M.; Mengali, G.; Quarta, A.A.; Qi, N. Electric sail trajectory design with Bezier curve-based shaping
approach. Aerosp. Sci. Technol. 2019, 88, 126–135. [CrossRef]
45. Fürst, Y.; Brandt, S.; Kriegel, M. Thermal modelling of three-way mixing valves using Bézier curves for
parameter estimation applications. J. Process. Control. 2020, 90, 56–62. [CrossRef]
46. Susam, S.O.; Hudaverdi, U.B. A goodness-of-fit test based on Bézier curve estimation of Kendall distribution.
J. Stat. Comput. Simul. 2020, 90, 1194–1215. [CrossRef]
47. Ahn, Y.J. Circle approximation by G 2 Bézier curves of degree n with 2n−1 extreme points. J. Comput. Appl.
Math. 2019, 358, 20–28. [CrossRef]
48. Liu, Y.; Dong, X.C. Approximation of conic section by quartic Bézier curve with endpoints continuity
condition. Appl. Math. 2017, 32, 1–13. [CrossRef]
49. Menesy, A.S.; Sultan, H.M.; Korashy, A.; Banakhr, F.A.; Ashmawy, M.G.; Kamel, S. Effective parameter
extraction of different polymer electrolyte membrane fuel cell stack models using a modified artificial
ecosystem optimization algorithm. IEEE Access 2020, 8, 31892–31909. [CrossRef]
50. Askarzadeh, A.; Rezazadeh, A. A grouping-based global harmony search algorithm for modeling of proton
exchange membrane fuel cell. Int. J. Hydrogen Energy 2011, 36, 5047–5053. [CrossRef]
Sustainability 2020, 12, 8127 23 of 23
51. Menesy, A.S.; Sultan, H.M.; Selim, A.; Ashmawy, M.G.; Kamel, S. Developing and applying chaotic harris
hawks optimization technique for extracting parameters of several proton exchange membrane fuel cell
stacks. IEEE Access 2020, 8, 1146–1159. [CrossRef]
52. Outeiro, M.T.; Chibante, R.; Carvalho, A.S.; de Almeida, A.T. A new parameter extraction method for accurate
modeling of PEM fuel cells. Int. J. Energy Res. 2009, 33, 978–988. [CrossRef]
53. Huang, X.; Zhang, Z.; Jiang, J. Fuel Cell Technology for Distributed Generation: An Overview; IEEE: Piscataway,
NJ, USA, 2006; pp. 1613–1618. [CrossRef]
54. Morin, G.; Goldman, R. A subdivision scheme for Poisson curves and surfaces. Comput. Aided Geom. Des.
2000, 17, 813–833. [CrossRef]
55. Louzazni, M.; Khouya, A.; Amechnoue, K.; Mussetta, M.; Crăciunescu, A. Comparison and evaluation of
statistical criteria in the solar cell and photovoltaic module parameters’ extraction. Int. J. Ambient Energy
2018, 41, 1–13. [CrossRef]
56. Khandakar, A.; Chowdhury, M.E.H.; Kazi, M.K.; Benhmed, K.; Touati, F.; Al-Hitmi, M.; Gonzales, A.S.P.J.
Machine learning based photovoltaics (PV) power prediction using different environmental parameters of
Qatar. Energies 2019, 12, 2782. [CrossRef]
57. Stacks, H.-S.F.C. H-12 PEM Fuel Cell 12W-Horizon Educational. Available online: https://www.
horizoneducational.com/advancedproducts/h-12-pem-fuel-cell-12w/ (accessed on 12 September 2020).
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).