How to Build a Modern Electric Grid - Integrating renewable energy