A LiFePO4 battery discharge simulator for EV applications — Part 2: Developing the battery simulator | IEEE Conference Publication | IEEE Xplore