Modeling, Simulation and Optimization of Fuel Cell/Battery Hybrid Powertrains