DYNAMIC OPTIMAL ALLOCATION OF ENERGY STORAGE SYSTEMS INTEGRATED X2026