Introduction

Phase change materials (PCM) are widely used as thermal energy storage (TES) materials. As heat is stored through the phase change of materials and not through their temperature, it is possible to expand the commonly used TES solutions. PCM TES systems could be used for heating/cooling of residential or office buildings, industrial processes, renewable energy storages, cold chain management applications or consumer products to increase their energy efficiency or thermal comfort [1,2,3,4,5,6,7,8,9].

Researchers use different methods to model the thermal behaviour of PCMs [10,11,12,13,14,15,16,17,18,19,20,21,22,23]. Ideally, phase change occurs completely and that is why most researchers only investigate full cycles of phase change [8,9,10,11,12,13], but in practice a partial phase change frequently occurs. The solid–liquid two-phase state is investigated with the use of models inconsistent with each other [24, 25]. Their accuracy has to be analysed, and a new, more accurate model should be established. Thermal calorimetry measurements are needed for the examination of the two-phase state.

Differential scanning calorimetry (DSC) was used to carry out temperature–heat capacity measurements. DSC is a thermoanalytical technique, where the difference in the amount of heat required to increase a unit of temperature of a sample and a reference is measured as a function of temperature [26,27,28]. The sample and the reference are kept on the same temperature during the measurement. The heat capacity in the function of reference temperature is well-known. The heat capacity of the sample is calculated from the difference of the values between the sample and the reference.

Based on the recommendations in the articles [26,27,28,29,30,31,32,33], every DSC measurement was carried out with 0.5 K min−1 heating/cooling rate, so thermal equilibrium was ensured and the temperature of the material sample was homogeneous and uniform. As a control, the result is investigated with three measurements carried out with 2 K min−1.

First, paraffin wax (P53) was measured and a model was developed to ensure an accurate simulation of phase change materials. To validate and to extend the applicability of the model, further tests were made with coconut oil (C.oil20), which has a very wide hysteresis.

Every measurement was carried out with three different samples, and three different cycles were measured in each sample. The presented results show the average of the most accurate series of data measured.

The properties of the analysed materials are presented in Table 1 without supercooling.

Table 1 Physical properties of the used PCMs

Modelling the full phase change

In this chapter, the existing thermal behaviour models are reviewed. The most commonly used techniques to model the thermal behaviour of PCMs are the effective heat capacity method [10,11,12,13,14,15,16,17,18] and the enthalpy method [18,19,20,21,22,23]. The effective heat capacity method considers the heat of fusion as heat capacity in the range of the phase change, and the effective heat capacity is defined as the slope of the enthalpy–temperature curve. The enthalpy method defines a continuous and reversible function for a given volume and material, which will return the temperature depending on the calculated enthalpy.

The most accurate model is the calorimetry measurement-based data modelling, where temperature–heat capacity (or enthalpy) pairs are given and the model uses interpolation to model the thermal behaviour of PCMs. With the purpose of simplification and also due to the limits of processor capacity, simplified models are used. The effect of hysteresis is neglected many times, and only the melting or solidification curve is used in both cases. For simplification, only the melting curve is shown in Models I–IV. These models only apply for materials with no supercooling.

  • Model I: Effective heat capacity model with constant heat of fusion in the melting temperature range [10,11,12,13,14,15, 18, 29].

This model calculates the heat of fusion as specific heat in the range of the phase change. When the melting temperature is a single temperature and not a range [10], the heat of fusion follows a Dirac delta function (Fig. 1). When the melting temperature is defined as a range of temperature, Eq. (1) is used to determine the enthalpy in the melting region:

Fig. 1
figure 1

Temperature–effective heat capacity and temperature–enthalpy curves for constant heat of fusion model when the temperature difference is considered 1 °C, 3 °C and 6 °C for the tested P53

$$c_{{{\mathrm{melting}},{\text{range}}}} = \frac{{L_{{\mathrm{f}}} }}{{T_{{\mathrm{l}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} }} + c_{{{\mathrm{app}}}} ,\quad {\text{when}}\quad T_{{\mathrm{s}}}^{{\mathrm{m}}} < T_{{{\mathrm{PCM}}}} < T_{{\mathrm{l}}}^{{\mathrm{m}}}$$
(1)
$$c_{{{\mathrm{app}}}} = \left( {1 - f} \right) \cdot c_{{\mathrm{s}}} + f \cdot c_{{\mathrm{l}}} ,$$
(2)

This model is shown in Fig. 1 for the P53 material. The four different dashed lines show examples for the different approaches of the model, for different temperature ranges according to equation (1):

  • I/1 curve estimates the melting point as an exact temperature; in this case, it is 53.5 °C.

  • I/2 curve models the heat of fusion with a 1 °C difference, 53–54 °C.

  • I/3 has a 3 °C difference, 52–55 °C.

  • I/4 shows the heat of fusion when it is modelled in the full range of 6 °C, 50.5–56.5 °C [12].

The certainty of this model is based on the magnitude of the melting temperature range. The certainty of the model is higher when the modelled melting temperature range is closer to the measured range (Fig. 1 I/4 curve).

  • Model II: Effective heat capacity model using two lines [15,16,17].

In this model, two lines are fitted in the melting temperature range to get higher accuracy. These lines approximate the measured data on the temperature–effective heat capacity from two sides, presented in Fig. 2. The accuracy of the model is higher, but the computation demand is still low. The model uses two lines optimized for the temperature–effective heat capacity plane.

Fig. 2
figure 2

Temperature–effective heat capacity and temperature–enthalpy lines using the two-line model for P53

The model could be more accurate if there were more lines fitted in the melting range.

  • Model III: Enthalpy method with interpolation [18,19,20,21,22,23].

This model is based on data obtained from calorimetry measurements. Temperature–heat capacity data pairs are measured, and interpolation is used to calculate the enthalpy in the necessary temperature points. It has the highest certainty and, of course, the highest computation requirement to model the thermal behaviour of PCMs. Calorimetry measurement is also required. Higher certainty is accomplished with more data pairs and more precise measurements. An example is presented in Fig. 3.

Fig. 3
figure 3

Temperature–effective heat capacity and temperature–enthalpy curves for enthalpy method for P53

  • Model IV: Enthalpy method with fitted lines.

This method is based on Model III, but instead of interpolating with premeasured data pairs, fitted lines are used. It is less accurate, but the computation demand of this model is much lower.

An example is shown in Fig. 4. The temperature–effective heat capacity results are similar to Model I presented, but as a difference this model is optimized for the temperature–enthalpy line. In Model I, effective enthalpy is fitted in the range of melting and the integrated graph chart shows a line with a slope. Model IV optimizes the slope of the integrated graph first, and the temperature–heat capacity graph is generated afterwards.

Fig. 4
figure 4

Temperature–effective heat capacity and temperature–enthalpy lines for the enthalpy method with fitted lines

This model has high accuracy with a low computation demand.

Table 2 presents the previously described models and their describing factors. These factors are needed to investigate the thermal behaviour of PCMs with each model. In Model II and IV, the multiple rows show alternative options, i.e. it is possible to use equations of the lines calculated earlier.

Table 2 Summary of the models and their describing factors

Modelling the interrupted phase change

Hysteresis is the temperature difference between the melting and solidification temperature of the respective melting and solidification curve. Researchers use different ways to model the hysteresis and the two-phase state. Figure 5 presents a hysteresis of a material. The material is heated from point T0 to point Tx, where heating and melting are interrupted and cooling is started. There are two different scenarios which materials may follow:

Fig. 5
figure 5

Usual models for PCM behaviour when melting is interrupted and the PCM is cooled back

  • The ‘Transition scenario’ (TS), suggested by Bony and Citherlet [24], is a transition to the cooling curve using a slope equivalent to the solid or liquid specific heat; in this case, the end point is at point T1,

  • The ‘Stay scenario’ (SS), in which Chandrasekharan et al. [25] have suggested another option, consists of staying on the heating curve to reach point T2.

As the scenarios based on the literature show a different approach in modelling the two-phase state of a material, it should be decided which model is to be used in which case for the highest accuracy or whether there is a need for a new model. The aim of this paper is to evaluate the accuracy of the presented two-phase scenarios.

The research presented in [34] is addressing the same problem, and their results show quite different behaviour of the investigated process. The authors demonstrate an optimization model, which can calculate the interrupted phase change process. According to their model, the interrupted phase change follows an enthalpy curve which is located between the heating and cooling curves. The article does not describe their optimization algorithm in detail, so it was not possible to compare our results with their models.

Methods

The calorimetry measurements were taken with a TA DSC Q2000 device with a temperature accuracy of ± 0.1 °C. It measures the difference in the heat flow rate between a sample and inert reference as a function of time and temperature. The temperature was measured at the sample platform with a thermocouple. The sample sizes were between 5 and 10 mg and were encapsulated with Tzero Pans (container of the sample material) and Lids (cap of the container).

$$\frac{{{\text{d}}H}}{{{\text{d}}t}} = c_{{\mathrm{p}}} \cdot m \cdot \frac{{{\text{d}}T}}{{{\text{d}}t}} + f\left( {T, t} \right)$$
(3)

With Eq. 3 the effective specific heat capacity could be calculated, where \(f\left( {T,t} \right)\) is the heat flow that is a function of time at an absolute temperature. The f-function describes the kinetic behaviour of the samples, which defines the kinetic dependency and the non-equilibrium character that associates with nonlinear features of the transition, and is highly dependent on the heating/cooling rates. In this case it can be omitted, because we used the same heating/cooling rates. We did not aim to investigate the kinetic effects of the materials, and we developed a model to describe the two-phase state for a material with known hysteresis corner points.

Three different samples were measured three times with 0.5 K min−1 heating/cooling rate, and the presented results show the average of the measurements. The aim was to determine the behaviour of materials in the solid–liquid two-phase state. Researchers use different models, and the measurements have to determine which model is the most accurate to use for which case.

Based on earlier measurements carried out on the presented P53 [35], the full melting range is between 50.5 and 56.5 °C. Interrupted melting was measured in cycles with a minimum temperature of 40 °C and a maximum temperature of 50.9, 51.8, 52.7, 53.9, 54.9, 55.8 °C (signed with Melting 1–6). The maximum temperature points equally divide the heating curve in the mean of enthalpy.

The interrupted solidification of the P53 was investigated in the following temperature points: 54.3, 53.4, 52.4, 51.35, 50.3 °C (signed with Solidification 1–5), and these points also equally divide the cooling curve.

The modelling was carried out in MATLAB R2016A software.

Results and discussion

The measurements of full cycles of melting and solidification on P53 material are presented in Fig. 6. The black curve shows the process of melting, and the blue one shows that of solidification. 3–3 lines (shown with dashed lines) were fitted to these curves with the use of Model IV to get the most accurate approximation. The fully solid and liquid state lines are equal, so it is possible to model the full phase change cycle with four lines. Figure 7 shows the full cycle and the fitted lines for the C.oil20 material.

Fig. 6
figure 6

Full measurement cycle for the P53 and the fitted lines

Fig. 7
figure 7

Full measurement cycle for C.oil20 and the fitted lines

Figure 8 shows the much wider hysteresis of C.oil20. The P53 hysteresis is located on a higher temperature range; however, for the purpose of demonstrating the great difference between the hysteresis of the two investigated materials, the width of the P53 hysteresis is shown with dashed lines transposed on the fitted temperature lines of C.oil20 hysteresis.

Fig. 8
figure 8

C.oil20 hysteresis and the transposed paraffin hysteresis dashed as a reference (see the corner points in Table 3)

The presented Model IV was developed for the melting and solidification, and the curve fitting algorithm was optimized for P53 with small hysteresis (0.8–1 °C difference between the melting and solidification curves) and tested on C.oil 20 with huge hysteresis (5–10.5 °C difference). Table 3 shows the corner points of the hysteresis for the investigated materials. These points are the results of the optimization described in Model IV and focus on the highest accuracy.

Table 3 Physical properties of the used PCMs

The second step was the measurement of interrupted phase changes. Figures 9 and 10 present the temperature–heat flow curves for the interrupted melting and solidification respectively, measured with a TA DSC Q2000 device. These curves show the heat requirement to raise the temperature of 1 g of material by unit temperature interval for different interruption temperatures (described in the Methods). The evaluation was carried out with a TA Universal Analysis 2000 software. After the interruption, the cooling/heating curves show a different behaviour than the melting or solidification curve, so the presented two-phase models will not be correct for the investigated P53. A new model is needed to ensure the accurate simulations of phase change materials.

Fig. 9
figure 9

Interrupted melting of P53, temperature–heat flow graph

Fig. 10
figure 10

Interrupted solidification of P53, temperature–heat flow graph

Figure 11 shows the interrupted melting of paraffin in the temperature–enthalpy plane. The melting was interrupted at the temperature points of 52.7 and 54.9. The results show that the material does not stay on the heating curve and is not transitioned to the cooling curve, but it remains between the heating and cooling curves and has a shape similar to the cooling curve. If the interruption occurs later, when the temperature and liquid fraction are higher in the P53, the curve showing the interruption is closer to the cooling curve. Modelling with the TS [24] is more accurate when the interruption occurs at higher liquid fraction, while the SS [25] works in another way, i.e. it is more accurate when the interruption occurs earlier.

Fig. 11
figure 11

Interrupted melting of P53, temperature–enthalpy graph

According to data from the phase change interruption measurements, the two-phase state behaviour could be modelled with two fitted lines. The break or corner points of these two lines are presented in Fig. 12. By using the diagonal of the hysteresis connecting points \(T_{{\mathrm{s}}}^{{\mathrm{m}}}\) and \(T_{{\mathrm{l}}}^{{\mathrm{s}}}\) as a fitted line, R2 is 0.965. Not only does it make the modelling simpler and quicker, but it also gives an easy aspect on how to implement and calculate the two-state model with new materials. The computation requirements are low, and the model can easily be used for all points of the hysteresis and not only for the measured points, as if a database were used. For easier reference, the developed model will be referred as ‘diagonal model’.

Fig. 12
figure 12

Corner points fitting

Basically, f, the liquid fraction of the PCM, is calculated with the use of the enthalpy difference, but due to the linearization, it could be calculated with the temperature difference:

$$f_{{\mathrm{x}}}^{{\mathrm{m}}} = \frac{{\left( {H_{{\mathrm{x}}}^{{\mathrm{m}}} - H_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}{{\left( {H_{{\mathrm{l}}}^{{\mathrm{m}}} - H_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}$$
(4)
$$f_{{\mathrm{x}}}^{{\mathrm{s}}} = \frac{{\left( {H_{{\mathrm{x}}}^{{\mathrm{s}}} - H_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}}{{\left( {H_{{\mathrm{l}}}^{{\mathrm{s}}} - H_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}}$$
(5)

The line fitting algorithm for the interrupted melting uses the liquid fraction, which defines the unknown temperature–enthalpy points in the two-state phase diagram. The liquid fraction also could be calculated with the use of the same enthalpy points.

$$f_{{\mathrm{x}}}^{{\mathrm{m}}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{c}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}} = \frac{{\left( {T_{{\mathrm{s}}}^{{\mathrm{m}}} - T_{{{\mathrm{s,x}}}}^{{\mathrm{c}}} } \right)}}{{\left( {T_{{\mathrm{s}}}^{{\mathrm{m}}} - T_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}}$$
(6)

Points \(T_{{\mathrm{x}}}^{{\mathrm{c}}}\) and \(T_{{{\mathrm{s,x}}}}^{{\mathrm{c}}}\) are defined in Fig. 13a.

Fig. 13
figure 13

Interrupted phase change and two-phase state modelling: a interrupted melting and b interrupted solidification

As temperature is an irrespective variable, calculations should be made for the enthalpy of corner points; and as some of the PCM simulations calculate with enthalpy, equations to calculate the temperature for enthalpy are also necessary.For the interrupted solidification, the line fitting uses the following equations:

$$f_{{\mathrm{x}}}^{{\mathrm{s}}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{s}}} } \right)}} = \frac{{\left( {T_{{\mathrm{x}}}^{{\mathrm{c}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{s}}} - T_{{\mathrm{s}}}^{{\mathrm{m}}} } \right)}} = \frac{{\left( {T_{{\mathrm{l}}}^{{\mathrm{m}}} - T_{{{\mathrm{l,x}}}}^{{\mathrm{c}}} } \right)}}{{\left( {T_{{\mathrm{l}}}^{{\mathrm{m}}} - T_{{\mathrm{l}}}^{{\mathrm{s}}} } \right)}}$$
(7)

\(T_{{\mathrm{x}}}^{{\mathrm{c}}}\) and \(T_{{{\mathrm{l,x}}}}^{{\mathrm{c}}}\) are shown in Fig. 13b.

Lines were fitted to describe the two-phase process more accurately.

Table 4 shows R2 values when the results of Model IV were compared to measurements.

Table 4 R2 values comparing the measurement with different models for P53

The SS column shows the value of R2 when the modelling was based on the two-phase model SS. This also applies for the TS column. The diagonal model shows the model that was developed for the accurate simulation.

In Table 4R2 gets lower with the SS modelling when the temperature is getting higher and the use of the TS model gets more accurate. This can also be seen concerning the interrupted solidification.

As mentioned above, the diagonal model was developed using the measurement data of P53 interrupted phase change and was also tested for C.oil20. The results for coconut butter show a good relation with the theory shown above. The R2 for measurements of C.oil20 is presented in Table 5. The results look similar.

Table 5 R2 values comparing the measurement with different models for C.oil20

Tables 4 and 5 present the accuracy of the different two-phase scenarios. At higher temperatures, the TS (interrupted phase change using the cooling curve) is more accurate, while on the other hand, at lower temperatures the certainty of the SS (material uses the heating curve after an interruption in phase change) is higher. The diagonal model has the highest accuracy for all measured points.

The results in Tables 4 and 5 show the accuracy of diagonal model on interrupted phase change with 0.5 K min−1 heating/cooling rate. According to our results, the diagonal model probably can be used for arbitrary heating/cooling rates as well. Table 6 presents the accuracy on the simulations of P53 material when the DSC measurements were taken with 2 K min−1 heating/cooling rate. Similar results can be seen as in Tables 4 and 5, so the model is not dependent on the DSC heating/cooling rate. The results of the diagonal model are more accurate for both heating/cooling rates than the investigated TS and SS models.

Table 6 R2 values comparing the measurement with different models for P53 with 2 K min−1 heating/cooling rate

Conclusions and further research aims

This paper presents a new method to model the thermal behaviour of materials in the solid–liquid two-phase state. Measurements were taken with a DSC TA Q2000 device on P53 paraffin and C.oil20 coconut oil for full phase change and for interruption in melting and solidification. Four existing models were presented, and their accuracy was investigated.

Two different scenarios were taken from the literature and investigated to model the thermal behaviour of materials in the solid–liquid two-phase state when an interrupted phase change occurs. The new diagonal model was established evaluating the measurements of the investigated P53 paraffin wax material and was tested for the C.oil20 coconut oil. According to the measurements, the interrupted phase change could be modelled accurately with fitting two lines, where the corner points of the lines are located near the \(T_{{\mathrm{s}}}^{{\mathrm{m}}} - T_{{\mathrm{l}}}^{s}\) diagonal of the hysteresis. Modelling accuracy was highly increased, which means a more accurate simulation of phase change material applications. The results of the model show high accuracy for the two investigated materials and for the different heating/cooling rates.

After further research, results can be extended to all paraffin waxes and also for fatty acids due to their similar chemical structure. Further research will be aimed at investigating the interrupted phase change with a higher resolution, with more interruption points in the melting and solidification process. Furthermore, the accuracy of the model should be investigated if the fitted lines in the interrupted lines were calculated from the liquid fraction of the PCM.