In today’s rapidly evolving energy landscape, the integration of renewable energy sources like solar and wind into the power grid has become more important than ever. However, the intermittent nature of these energy sources often causes challenges related to grid stability. To address these issues,