Abstract: The integration of renewable energy sources (RES) within microgrids necessitates innovative approaches to optimize energy distribution and trading, addressing both sustainability and ...