Using AC-fed PWM converters as instantaneous reactive power compensators