Fig. 7
From: A modified instantaneous reactive power algorithm for shunt compensation

Under distorted source (a) Source voltages (b) Uncompensated load/Source currents (c) Compensated source currents using IRP p-q theory (d) Compensated source currents using proposed theory (e) Injected currents under proposed theory f) UPF for Phase-a wrt Vsa fund.