System Stability Analysis And Control Using FACTS Devices