Text this: Harmonic Model of Static Var Generator and Analysis of Its Resonance Influence