> How to switch that to an all-electric system?
Simple, most residents of the town won't be at those stations regularly. Most of my DCFC charging sessions have been because I've been wanting to try out different locations and charging equipment, not because I needed the DCFC. In reality, the vast majority of miles my EV will do will not need any public charging infrastructure, at all.
Meanwhile, 100% of the miles on my ICE will need public fueling infrastructure. I inherently need to go to a pump sometime to get gas.
> But if you do this at scale electricity costs go through the roof and you're back to the same pricing problem as above
I don't think its as big of a deal as you're thinking it will be. Sure, some percentage of homes out there don't have >100A service at home and will probably need some kind of upgrade to their home service necessitating new equipment up the chain. But for my household to swap out an EV? About 15 feet of power cable, a circuit breaker, a double-gang box, and a NEMA 14-50 outlet was all that was needed.
My peak power usage in the house didn't change at all adding the EV. My EV uses the same amount of power as running a burner on the stove while doing my laundry (electric dryer). Meanwhile my house (and the rest of the grid up the line) was designed for me to pull enough power for me to cook in the oven, on the stove, do my laundry, run the AC, power all the lights in my house, and more. Guess what, I'm not often cooking and doing laundry at 2AM, and I probably already got my house cooled down by then so the AC isn't often cranking that hard at that time. Take a guess when my car charges.
So how much did it cost the grid to add my car? $0.