Advancement in thermal energy storage using phase change materials