PSIM based modeling of automotive power systems-conventional electric and hybrid electric vehicles