Consequences of total thermal balance during melting and solidification of high temperature phase change materials