Decoupled thermal resistances of phase change material and their impact on PCM devices