In California, the Puente gas plant made headlines last year because they found it was cheaper to create battery storage than an equivalently-sized gas peaker plant. A large part was permitting and land rights. People don't want an emissions-spewing gas plant in their backyard, but an array of batteries in what looks like every other industrial warehouse is much more palatable. (Time-to-go-live was another factor: battery arrays are modular and can be distributed across multiple sites to further minimize risk, a gas plant is a massive multi-year centralized organizational challenge with all the associated costs and all-or-nothing risks)
https://www.greentechmedia.com/articles/read/sce-picks-major...