Hydrodynamic considerations on the performance of chilled water thermal storage tanks in the discharge cycle