Towards a better analytical modelling of the thermodynamic behaviour of phase change materials