OPTIMAL ENERGY MANAGEMENT FOR GRID CONNECTED STORAGE X2026