Highlights from the smart grids and energy systems programme