## 4 Simulation Results
Compared with the haploid genetic algorithm, the optimal results of the ITEA index were 19.3%. Double body genetic algorithm accounted for 80% of the optimal times. The comparison of membership function before and after optimization is shown in Figure 12. In the process of algorithm optimization, there is expected to be abnormal membership function. In this case, the algorithm will correct the non-compliance with the membership function rule. \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline \multirow{2}{*}{\begin{tabular}{c} **Number of** \\ **Iterations** \\ \end{tabular} } & \multirow{2}{*}{**GA**} & \multirow{2}{*}{\begin{tabular}{c} **Excellent** \\ **(x \(\times\) 4 \(\times\) 10\({}^{6}\) \(\times\) x** \\ **(x \(\times\) 6.2 \(\times\) 10\({}^{6}\))** \\ \end{tabular} } & \multirow{2}{*}{\begin{tabular}{c} **Bad** \\ **(x \(\times\) 10\({}^{6}\))** \\ **(x \(\times\) 6.2 \(\times\) 10\({}^{6}\))** \\ \end{tabular} } & \multirow{2}{*}{\
\begin{tabular}{c} **Max** \\ **(x \(\times\) 6.2 \(\times\) 10\({}^{6}\))** \\ \end{tabular} } & \multirow{2}{*}{
\begin{tabular}{c} **Min** \\ **(x \(\times\) 10\({}^{6}\))** \\ \end{tabular} } \\ \hline \multirow{2}{*}{1–30} & haploid & 2 & 6 & 22 & 9.8 & 3.80 \\  & diploid & 2 & 14 & 14 & 10.1 & 3.37 \\ \hline \multirow{2}{*}{31–60} & haploid & 3 & 10 & 17 & 13.3 & 2.64 \\  & diploid & 9 & 17 & 4 & 8.64 & 2.54 \\ \hline \multirow{2}{*}{61–90} & haploid & 1 & 10 & 19 & 10.6 & 3.94 \\  & diploid & 11 & 18 & 1 & 9.95 & 2.72 \\ \hline \multirow{2}{*}{91–120} & haploid & 0 & 5 & 25 & 12.9 & 4.05 \\  & diploid & 5 & 16 & 9 & 10.8 & 2.94 \\ \hline \multirow{2}{*}{121–150} & haploid & 2 & 15 & 13 & 9.90 & 3.42 \\  & diploid & 24 & 3 & 3 & 9.06 & 2.13 \\ \hline \multirow{2}{*}{1–150} & haploid & 8 & 46 & 96 & 13.3 & 2.64 \\  & diploid & 51 & 68 & 31 & 10.8 & 2.13 \\ \hline \hline \end{tabular}
\end{table} 
Table 6: Statistical table of ITAE index in 150 NEDC working conditions. Figure 11: Scatter diagram of ITAE index of two genetic algorithm control strategies 150 times NEDC. The temperature of each layer of the fuel cell is shown in the figure. Figure 12: (**a1–a5**) is the membership function of deviation e, deviation differential ec, proportional Kp, integral Ki, and differential Kd, before optimization. (**b1–b5**) is the membership function of the optimized deviation e, deviation differential ec, proportional Kp, integral Ki, and differential Kd, after optimization. The temperature variation of the fuel cell is shown in Figure 13. Fuel cell temperature changes will follow the power demand changes throughout the operation. Among them, the heat source of the MEA layer is produced through electrochemical reaction heat generation and self-resistance heat generation, so the temperature change is the largest in each layer. The maximum temperature difference of the MEA layer is 2.4 K. When the load demand rises, the temperature of the MEA layer also rises. The highest temperature was 346.4 K. MEA layer cooling is mainly achieved by reducing the temperature difference of the manufacture of the bipolar plate temperature. The maximum temperature difference between the MEA layer and the bipolar plate is 2 K. The heat source of the bipolar plate is the resistance heat generation, the reaction gas, and the layer heat exchange. The bipolar plates use coolant to remove heat from the layer to achieve cooling. In order to keep the fuel cell operating at an optimal temperature range, the temperature of the MEA layer and bipolar plate is still maintained at 343.2 K, even when there is no load requirement. One end of the end plate layer is in contact with the outside world, and the other end is in contact with the plate layer. The thermal conductivity of the material is low, and the temperature is always kept between 343.2 and 343.5 K.  
Figure 14 shows the water temperature variation at the inlet and outlet of the reactor. Because the cooling water carries away a lot of heat from the reactor, the water temperature at the inlet is higher than that at the outlet.