The PQ_sensor_IO component uses only signals as inputs (rms values and phase angle of voltage and current) and yields the quantities active (or real) power, reactive (or idle) power, the power quality coefficient cos(phi) and the power phasor angle phi.