Generalization of a DC–DC Modular Converter Topology for Fuel Cell Applications