PARAMETRIC ANALYSIS AND OPTIMIZATION OF A LATENT HEAT THERMAL ENERGY