Transient analysis of underground cables