The emission that caused by fossil fuel and the constantly increasing pollution rates made the engineers and researchers focus on using hydrogen as a fuel instead of fossil fuel. Fuel cells are one of the technologies that are widely explored all over the world. Fuel cell vehicles are environmentally friendly and use hydrogen as fuel and generate zero emissions. Optimization strategies is the best way for identify the best solution to the design issue. In this workwe will use particle swarm optimization and genetic algorithm to optimize the obtained model. The result show that the best choice between the three accebtablecases is case 5 because in this case the fuel consumption is 2.7668 Litter/100 km which is lower than the fuel consumption