RTDS Implementation of STATCOM for Power System Stability Improvement