A comparison between STATCOMs using PWM voltage control and hysteresis current control (HCC)