This document discusses using a static var compensator (SVC) to improve power system stability in a long transmission line system. It describes how SVCs can effectively control dynamic performance and regulate system voltage. The document presents a MATLAB model of a two-area power system with an SVC installed. Simulation results show that the SVC improves transient stability by reducing rotor angle differences and regulating real and reactive power flows. In conclusion, properly modeling SVC controllers can provide benefits for power system stability studies.