Measuring space-charge in HVDC cables