OPTIMAL ALLOCATION OF ENERGY STORAGE CAPACITY IN MICROGRIDS X2026