ECONOMIC ENERGY OPTIMIZATION IN MICROGRID WITH X2026