Design and Simulation of a Battery Swapping System for Electric Vehicles