Smart grids for the future