Minimizing electricity consumption in a personal rapid transit transportation system