Text this: A modified instantaneous reactive power algorithm for shunt compensation