The hybridization of the fuel cell with the energy storage systems is realized for the tram. A protype tram is tested based on an operation mode switching method. An equivalent consumption minimization strategy is proposed and verified for optimization.