I. Introduction
The issue of greenhouse gas emissions is a significant global concern, and renewable energy sources (RES) are viewed as one of the most effective solutions to address this problem. However, most wind turbines (WTs) and photovoltaic (PV) systems produce direct current (DC) that must be converted to alternating current (AC) through inverters, which removes the inertia of the energy source and reduces the stability of connected systems [1]. Additionally, the output power of WTs and PV systems is intermittent and reliant on various weather conditions, such as wind speed, temperature, and irradiance, among others. These two fundamental characteristics of RES are one of the primary causes of system instability, particularly with respect to frequency stability during system malfunctions [2] [3].