Simulation of a supercapacitor/Li-ion battery hybrid for pulsed applications