The relationship between energy storage batteries and phase change materials