@felixf
It was of course not optimal since the Beyond Coal campaign started way before solar let alone batteries were anywhere near as cheap as they are now so the change was mostly coal-to-gas.
https://coal.sierraclub.org/#:~:text=From%20mining%20to%20burning%20to%20waste