What about the scenario where you just want to refuel? Shuffling containers around just to get the batteries out seems suboptimal.
You can imagine this needs solving pretty hardcore optimization problems.
How many kwh are you lifting at a time with a container? How many kwh are you pumping in the same period?