OPTIMAL ENERGY MANAGEMENT SYSTEM FOR A COMMUNITY MICROGRID X2026