Fast estimation of the enthalpy–temperature function of Phase Change Materials