Distributed Supervisory Controller Design for Battery Swapping Modularity in Plug-in Hybrid Electric Vehicles.