How to Build a Clean Energy Grid