Energy storage tank loading and unloading