The UK Energy Research Council has warned of the multibillion-pound costs as the gas network goes into decline.