Effective reactive power compensation in single-phase systems under distorted utility voltage