Ofgem said it had opened an official enforcement investigation into National Grid Electricity Transmission.