Stratification in a thermal storage tank