Numerical analysis of latent heat thermal energy storage system