Abstract

It is well known that anode and cathode pressures and cell temperature are the effective parameters in performance of Direct Methanol Fuel Cell (DMFC). In the present study, the genetic algorithm as one of the most powerful optimization tools is applied to determine operating conditions which result in the maximum power density of a DMFC. A quasi-two-dimensional, isothermal model is presented to determine maximum power of a DMFC. For validation of this model, the results of the model are compared to experimental results and shown to be in good agreement with them.

1. Introduction

Direct methanol fuel cell is one of the most promising transportable power sources which can be used in mobiles, laptops, and small power generation [1]. DMFC is well known to be influenced by large numbers of parameters such as flow rate, methanol concentration, operating temperatures, and anode and cathode pressures. In order to improve the performance of the DMFC, it is necessary to determine the effects of various parameters on the performance of the fuel cell. Other parameters include type and thickness of membrane, catalyst type, geometrical parameters of the flow field, and the type of the gas diffusion layer. However, while these parameters are very important, they are not operating variables. Therefore, they are not variable during fuel cell use.

The fuel cell performance has been the subject of several research papers. Xu et al. [2] used numerical simulation to establish a relationship between the feed concentration of fuel and power density at a certain current density, and they also identified the optimal feed concentration. Moreover, Wang et al. [3] focused on the effect of cell temperature and oxygen flow rate on cell response using the experimental setup.

The main important parameters which affect the performance of the DMFC are operating parameters such as operating temperature and pressure in both sides of the cathode and anode. More recent research has focused on the values of these parameters as derived by experimental approaches, but, in current research, these parameters are optimized using genetic algorithm (GA) and a DMFC analytical model for creating the maximum power as the fitness function of the GA [4].

2. Genetic Algorithm

Genetic algorithm is an artificial system and it is similar to human genetic system. GA is a parallel mathematical algorithm that transforms a set of population (namely, chains of chromosomes using genetic operations) into a new population (namely, a next generation) based on the fitness of each chromosome [4, 5].

The basic concepts of a genetic algorithm can be conveniently described as follows.(i)First generation: the first generation is created randomly at definite domain. The size of population is based on the number of variables. (ii)Evaluation of each solution: each solution or chromosome is evaluated using fitness function.(iii)Tournament selection: each of both cases is selected randomly and according to the fitness function, the most appropriate one is introduced into the mating pool. (iv)Crossover: for the purpose of searching for the best solutions at definite domain, each of both cases is combined with a definitive probability. In the present work, the algorithm uses the real digits systems, and the crossover is defined according to the following relation in which is a random number between 0 and 1: (v)Mutation: for finding the absolute maximum value and escaping from the local maximum value, mutation is applied with certain probability [4]. The following relation is used for this operator:

A modified genetic algorithm with an elitist concept is used to ensure that the preferential part in each population is not missing the best solutions. This genetic algorithm code is written in MATLAB software. The selected values of the various parameters of the genetic algorithm are presented in Table 1 while the upper and lower limits of the optimized parameters are shown in Table 2. The flowchart of the genetic code used to obtain the optimal parameters is shown in Figure 1.

The trend of this flow chart can be summarized as follows.(i)The first step is to begin with random generation of an initial population. (ii)The analytical model is applied, and the maximum power density as the fitness function of GA is calculated for each chromosome. (iii)The best chromosome in each generation passes directly to the next generation as an elite chromosome (elitist concept). (iv)This is followed by selection between each two random chromosomes with elimination of the weak chromosome and preservation of the powerful chromosome. (v)The crossover and mutation are then applied for further searches. These two important parameters have a controllable role in genetic codes. (vi)If the condition (i.e., number of generations) is satisfactory, the elite chromosome is shown as the best value of the parameters; otherwise random chromosomes are created in lieu of the eliminated cases following the search program.

3. Fitness Function of Genetic Algorithm

The predominant part of the genetic algorithm is the fitness function as gauged by the chromosomes.

The fitness function—as defined for the present work—is the maximum power density, and the goal of this work is to find the best values of the parameters which result in the highest output power.

For the fitness function calculation, calculation of more than one thousand cases is necessary. Unfortunately, large numbers of experiments are needed, which is very time consuming and costly. To overcome this challenge, the DMFC is modeled and used as the fitness function of GA.

3.1. DMFC Modeling

Generally, numerical techniques for solving governing equations of DMFC are very accurate, but they need much more time than other methods. Analytical methods are less accurate and more rapid. For optimization of operating parameters with genetic algorithm, a fast and accurate model is needed. The present work uses a novel technique by combining some techniques from the literature to estimate the behavior of DMFC. For simulating the flow behavior in channels and Membrane Electrode Assembly (MEA), two one-dimensional models are used to solve the governing equations in the direction of channels to calculate concentration, velocity, and pressure distribution and also to solve the equations in the direction normal to the channel to find fuel cell polarization curve [4].

3.2. Mathematical Modeling

Methanol from anode’s channel is transferred to MEA by diffusion phenomena, and then, in anode catalyst layer by an electrochemical reaction, proton, water, carbon dioxide, and electron are produced. In cathode catalyst layer, oxygen from cathode channel reacts with proton and electron.

For modeling the fuel cell, two separated regions are considered: one-dimensional flow through the channels and one-dimensional flow across the polymer membrane. Also, MEA is subdivided into three parts: gas diffusion layer, catalyst layer, and membrane.

3.2.1. Channel’s Equations

Variations in velocity and concentration through the channel are assumed to be one dimensional, and so for the single phase flow the equation is where is the average velocity in the channel, is the molar flux between the channel and MEA, and and are the channel’s height and fluid density, respectively. Subscript shows gas and liquid phases in cathode and anode channels. By the conservation of species, equation of single-phase flow for each component is [4] where is molar concentration and is an identifier for the type of species in each side (water and methanol at anode and oxygen and water vapor at cathode side). The right-hand side of (4) shows the effect of diffusion at channel/Gas Diffusion Layer (GDL) interface. Coefficient can be estimated by [7] where is the channel’s height and Sh is the Sherwood number; is effective diffusion coefficient of fluid from channel to gas diffusion layer.

3.2.2. Polymer Electrolyte Membrane (PEM) Modeling

Among the various models published until now, Garcia’s model [8] as an analytical model is well known. The model is made based on some simplified assumptions which will be described in the following sections.

Anode. By using the above assumptions and suitable boundary conditions for three domains, gas diffusion layer, catalyst layer, and the membrane, analytic relations for concentration distribution of methanol through them can be derived [8]:

in the diffusion layer:

in the membrane:

in the catalyst layer:

where Thus, the current density can be calculated by where and are catalyst and backing layers thicknesses, respectively, and is the reference current density. Here , , , , and are the specific surface area of the anode, anode activation, anode over potential, faraday constant, and cell temperature, respectively. From the above, the methanol crossover through membrane can be estimated as In the right-hand side, the first term and the second term show the methanol crossover due to diffusion from membrane and the crossover by electroosmotic drag, respectively. Table 3 shows the values of parameters used.

Cathode. Assuming single-phase flow, the continuity equation leads to Thus, the mass flow rate per unit area is From Darcy’s equation, where and are permeability of cathode gas diffusion layer and viscosity of gas, respectively. The distribution of species at cathode side (oxygen, water vapor, and carbon dioxide) can be estimated by Maxwell’s equation of distribution as where and are the mole fraction and molar flow rate of each species, respectively, and is the diffusion coefficient [4]. By solving (6) to (15), velocity and mole fraction of gases in cathode GDL can be obtained.

3.3. Methodology of Solution

The modeling in this paper is based on two one-dimensional models linked together. Since for calculating current density, , at a certain anode over potential, , Garcia’s model [8] needs concentration of methanol at interface of the channel and GDL, so it can be a suitable parameter for making connection between the channel and PEM.

After dividing the two solution domains (channels and PEM), a guessed anode’s channel and GDL interface concentration are used for solving Garcia’s model at anode side to estimate the resulted current density, methanol consumption, and crossover. Then, the net penetration of each species in PEM from channel () is clear. The oxygen consumption at cathode side can also be obtained by solving (12) to (15). Then, by using (3) to (6), input velocity and concentration of methanol for next cell can be estimated and can be updated by (4). After some number of iterations and reaching a suitable solution error, the next step is started. By following this process, and then cell voltage can be estimated. The flow chart of this procedure is shown in Figure 2 which gives an overview of the solution procedure.

3.4. Validation of Modeling

For this purpose, an experimental setup for direct methanol fuel cell was developed (Figure 3) using different values for the experimental parameters (Table 4). The initial constant values for fuel cell modeling are different in research papers. These fuel cell constant values for simulation and optimization are shown in Table 5. In Figure 4, the polarization curves of the model and experimental results in different cell temperatures are compared. As shown in Figure 4, the analytic polarization curves are in good agreement with experimental curves, but they are not exactly the same as experimental curves due to some simplified assumptions for developing the analytical model. For instance, the current of DMFC was assumed to be one dimensional. So the proposed curves have a little difference compared with their corresponding experimental curves especially at the end of curves due to concentration losses. Although this method for creating fitness function values is not very precise and other approaches such as CFD method have an accurate response, the proposed analytical model is very useful and has the capability to merge with genetic code while other approaches are time consuming and costly and it is not possible to apply them especially at numerous numbers of GA’s generations. Therefore, analytical approaches which have fast and acceptable responses are very suitable.

By comparing the presented analytical model with experimental results, the proposed model is validated. The proposed analytical model also has the ability to be used in the calculation for fitness function of genetic algorithm. Since the results of parallel channels modeling are in good agreement with experimental approach, this type of channels was assumed for optimization.

4. Optimization Result and Discussion

By executing this MATLAB optimization code, solutions are generated for maximum power densities (Table 6). The obtained values for parameters create the maximum power density of 567 mw/cm2. The convergence of the genetic algorithm towards the best solution is also illustrated in Figure 5. The higher cell temperature gives better fuel cell performance. Increasing the cell temperature can invigorate the activity of the catalysts and can increase the mass transfer of reactants.

It also results in better proton transportation through the Nafion membrane and much faster mass transfer processes inside the cell. The cell performance in either anode’s or cathode’s side would be improved, and it can be justified as mentioned in the following.(i)The cell pressure increase would lead to an increase in cell reactants’ pressure.(ii)In regard to the pressure increase, the activated gases permeability in the gas diffusion layer would be increased, besides; the mass transfer resistance of cell would be decreased.(iii)The gases are stagnant in the extensive areas on GDL corners and current distribution channels when the cell is working under the environmental pressure. These areas in MEA usually do not produce any current, but when the cell is working under the pressure, the reactants are forced to pass these areas; therefore, the effective active area in the electrochemical reactions would be increased.

Unfortunately the present experimental setup cannot tolerate the obtained optimum loading condition of the test due to incapability of the structure to pass this temperature condition, but this optimum value for producing maximum power density is closely in good agreement with [9].

5. Conclusions

In this study, the genetic algorithm was applied to determine the optimal parameters for maximum power of a monocell Direct Methanol Fuel Cell. A quasi-two-dimensional (1D-1D), isothermal model was presented for the DMFC. For validation of the model, the result of the model was compared to experimental data and the literature and shown to be in in good agreement with them. This model was used for determining the maximum power density of a DMFC which was considered as the fitness function for GA. A genetic code was developed using MATLAB. Finally, optimal values for DMFC’s cell temperature and anode and cathode pressures were obtained: 90°C and 2.5 and 3 bars, respectively.