The effect of network compensation on the transient recovery voltage during earth faults on medium voltage networks