Controlled shunt reactor