Optimizing battery swapping stations for electric vehicles and power system integration | Synapse