Energy watchdog Ofgem said National Grid accepted breaching the terms of its licence at the Harker substation near Carlisle between November 2016 and November 2021.