Enhancing Grid Stability with Advanced Control Strategies