Wind and solar power have saved the UK £1.7bn in avoided gas imports since the Iran war began, with record renewable generation cutting gas-fired electricity output to historic lows.