In the modern world, where electricity is an essential part of everyday life, the stability and reliability of power systems are of paramount importance. One crucial aspect of maintaining a stable power grid is ensuring the balance between electricity supply and demand.