Text this: Deterministic algorithm for selective shunt active power compensators according to IEEE Std. 1459