Title: Compensation of reactive power using phase-controlled thyristor switching