The relationship between energy storage planning and energy storage management