Abstract: The transition process for energy sources strives towards sustainability, with microgrids emerging as the solution for coupling renewable energy sources while promoting energy resilience.