A method for operating a hydrogen fuel cell system in a vehicle, wherein said vehicle comprises a Vehicle Control Unit, VCU, for controlling power provided to a drive train of said vehicle originating from any of a Battery Management System, BMS, comprising at least one battery, and said hydrogen fuel cell system which comprises a plurality of hydrogen fuel cells, wherein said hydrogen fuel cell system further comprises a Fuel Cell Control Unit, FCCU, and a Direct Current, DC-to-DC converter, said method comprises the steps of receiving an indication of a state of charge of said at least one battery, determining from said indication of said state of charge of said at least one battery, and from an instantaneous requested amount of power, a demand for power that is to be provided by said plurality of hydrogen fuel cells, requesting said demand for power that is to be provided by said plurality of hydrogen fuel cells, demanding an amount of current that is to be provided by said plurality of hydrogen fuel cells and supplying said demanded amount of current.
展开▼