Electric series capacitor voltage regulation