ENERGY MANAGEMENT OF A MICROGRID WITH INTEGRATION OF X2026