Text this: Automatic power factor correction using a modified statcom as a continuously controlled capacitive static VAR compensator