Measurement of electrical network quality parameters