Design of Latent Thermal Energy Storage Systems