Thermo-elastic model for the prediction of thermodynamic properties of high temperature phase change materials under confinement: Isobaric and isochoric regimes