A steady state and dynamic fuel cell model including temperature effects