The PQ_sensor (or power quality sensor) yields the quantities active (or real) power, reactive (or idle) power, the power quality coefficient cos(phi) and the power phasor angle phi. To this end, the voltage drop between pin p and pin n_voltage as well as the current flowing from pin p to pin n_current are measured.