Validation of a numerical model for predicting the behaviour of phase change materials using an approximate analytical solution in the finite domain.
Abstract
Phase change materials (PCMs) have attracted considerable attention for their potential to reduce energy consumption in buildings, particularly by reducing the need for heating, ventilation and air conditioning (HVAC) systems. These materials, which absorb and release latent heat during phase transitions, can help maintain stable indoor temperatures, thereby improving energy efficiency. The integration of PCMs into building envelopes—such as walls, roofs and floors—provides passive thermal control. However, accurately modelling the behaviour of PCMs within thermal simulation codes remains a challenging task due to the non-linear nature of their phase change behaviour. This non-linearity results in abrupt changes in temperature and heat flux around the phase transition temperature, making it difficult to predict their performance under varying environmental conditions. This paper presents a 1D numerical finite difference model developed on the MATLAB platform to predict the behaviour of phase change materials. Numerical validation is performed using an approximate analytical solution in a finite domain. A function called [expression mathématique non restituée] is introduced into the numerical model, and its parameter coefficients are determined using an optimisation algorithm. This parameter is designed to capture the non-linearities in the thermal behaviour of the material and improve the accuracy of the simulations. Finally, the model results are compared with the analytical solution and are promising. This validation demonstrates the reliability of the model and its potential to improve energy simulation in building design. Future work will focus on extending the model to handle more complex, multi-dimensional cases and integrating it with existing building energy simulation platforms to further explore its practical applications in energy-efficient building design.