The future, flexible and low-carbon energy grid