User-defined modeling of static var compensation for electromechanical transient simulation in PSS/E | IEEE Conference Publication | IEEE Xplore