ARCHITECTURE OF A MICROGRID AND OPTIMAL ENERGY X2026