A VI-based measurement system for sharing the customer and supply responsibility for harmonic distortion