Text this: Optimal design of three-phase static var compensation system