A study of switching techniques using serial and parallel resistors for power system stabilization