Enabling a Smarter and Greener Grid