Battery Simulator for Lithium-ion like battery