Arrangements for measuring phase angle between a voltage and a current, or between voltages or currents