Shale gas, renewables and the smart grid