Nonlinear thyristor-controlled static VAr compensation