Network analyser for electrical networks