Series Compensated inverter system