Modeling the Dynamic Self-Heating of PCM