1 Introduction

As International Energy Agency [1] reports, building and the construction sector takes up nearly 40% of greenhouse gas emission. The appropriate designs of building envelop needs to be exploit for their energy saving potential [1]. Phase Change Material (PCM) is comprising material, which could be placed in walls to capture and store passive solar energy instead of conventional energy to heat buildings [2,3,4,5,6].

Early studies from 1990s by Athienitis et al. which reduced room peak temperature by 4 ℃ [7], indicated its attractiveness of reducing temperature fluctuation inside buildings. In order to further improve energy efficiency of PCMs, much research has focused on its structure and thermal performance for application [8,9,10]. Izquierdo-Barrientos et al. [11] and Lagou et al. [12] installed PCM board on internal side, external side and other positions of building envelope to obtain approximate phase transition temperature range for each configuration and different European locations. Jin et al. [13] determined the optimal location of PCM by 1/5 distance from the bounding wallboard of buildings, to obtain the least PCM temperature fluctuation. Yu et al. [14] placed the PCMs on outer wall surface to facilitate the release of PCM solidification heat during summer nights.

Furthermore, Gracia proposed a dynamic system in which the position of PCM relative to the insulation can be changed [15], which can ensure that peak cooling load can be discharged to outdoors without obstruction of insulation layer. The PCM was 7 mm thickness, due to its specific rotating structure, PCM wall can’t be too thick due to position exchange. So it was probably proposed to use in Spain climate of summer [15]. While the dynamic PCM system in current work was for cold winter. Moreover, different structure was designed and much thicker PCM wall was adopted for winter application. And the thermal performance for heat transferred into interior room was analyzed and economic potential was also evaluated.

In general, the thermal performance of entire building caused by PCM heat exchange is complex, which involved coupled heat and air flow. The possibility to obtain temperature contour distribution in entire space by experiments is highly limited, hence numerical simulation method is a very useful tool to explore the complicate thermal behavior of PCM system in buildings [16,17,18]. Jin and Zhang [19] built a numerical model of double layer PCM floor, which showed about 40% energy release shift from peak period and mitigated temperature fluctuation. Markarian et al. [20] adopted a multi-objective algorithmic programs to simulate and evaluate the economic benefits and carbon emissions brought by different PCM types and locations in five cities in Iran. Moreover, Computational Fluid Dynamics (CFD) is a powerful tool for understanding the heat transfer regime and air flow by characterizing PCM phase change through solving mathematical equations [21]. Mahdaoui et al. [22] used Ansys Fluent software to assess the thermal performance and turned out that the addition of PCM into hollow brick played a vital role in reducing indoor temperature swing.

Hence, the position of PCM and insulation layer are significant for thermal performance and energy saving, which needs further optimization. To counter those drawbacks, an innovative design of dynamic PCM system was proposed in current work, and CFD simulation was used to evaluate its application potential. Unfortunately, limited research concerning some of the problems faced in application of this new PCM system has taken place. Questions remaining include: (i) According to different place and weather, the heat effect from the system is unknown; (ii) For different room size, the heat effect need to be optimized; (iii) the heat effect from different position of PCM should be considered.

In this work, a dynamic PCM wall system was optimized, in which the position of PCM can be exchanged with insulation during day and night. CFD simulation was conducted by applying the novel PCM wall to a building under realistic ambient temperature and solar radiation. The thermal performance of dynamic PCM wall adopted in building in cold season was evaluated. Based on the novel dynamic PCM wall, the numerical simulation was carried out in four cities of Harbin, Tianjin, Jinan and Guangzhou in China. In order to maximize energy saving, the climate condition, room size and the position of the novel dynamic PCM wall system in the south wall were optimized.

2 Description of the model

2.1 Proposed wall system

As shown in Fig. 1a, the conceptual architecture of target room which was southernly exposure in a building in Northern hemisphere. As shown in Fig. 2(a), the size of the room is 5.2 × 3.75 × 2.6 m, while the PCM is placed in the part of the wall below the window opening with surface area of 1.0 × 0.8 m2. In multi-story buildings, it can be placed inside the spandrel walls. In order to conveniently exchange the position of PCM and insulation layers, and without break the wall structure of the whole building envelope, the PCM layer and insulation was made in a column of 37.5 mm radius and 800 mm height. According to the room and PCM amount, these columns could be arranged horizontally, as shown in Fig. 1b. In this way, the columns could be rotated to realize the position exchange of PCM and insulation layers, without breaking the building structure.

Fig. 1
figure 1

a Room with dynamic PCM wall system; b PCM orientations, with Position 1 during daytime, and Position 3 during nighttime

Fig. 2
figure 2

a Room dimension; b Wall layers arrangements and boundary conditions in the dynamic PCM wall

Referring to Fig. 1b, in the daytime, the PCM layer could be located outside the insulation, to absorb solar radiation more directly and faster, the energy could be stored through PCM melting process. While during the night, it could be rotated to the inside of insulation, the PCM released the discharging heat to the room, which could be dissipated to the external less since the insulation was outside. The melting and solidification process could be influenced by PCM location, thus the energy transferred into the room could be different, which could result in indoor temperature changes. It is important to mention that this study is focused on proof and validation of concept of dynamic PCM wall rather than the mechanics of the PCM rotation the focus of this work was to proof and validate the concept of dynamic PCM wall, rather than the mechanics of rotation. However, by making the PCM-insulation units suitably dimensioned, each unit can be rotated sequentially and automatically by the spindle.

Different layers of building envelop in this study was shown in Fig. 2b. The 4 layers consist of plaster with insulation, backing, PCM and brick with thickness of 20, 50, 25 and 100 mm respectively. The outside brick veneer faces the south as indicated in the figure. The weather used in this work was from the city of Tianjin and Harbin, China, which locations were latitude 39.13 and latitude 45.75 and have cold climate in winter.

2.2 Mathematical model and governing equations

To evaluate the heat transfer between the inside of the room and outside air through the wall, CFD was used and a model of the room (3D) was constructed in the ANSYS FLUENT 14.5 platform. To model the PCM phase change, the enthalpy-porosity concept in FLUENT was applied, which involves a quantity called the liquid fraction, i.e. the fraction of the liquid versus the solid in each cell of the CFD model. The liquid fraction is computed at each iteration, according to the enthalpy balance. The region where the liquid fraction is between 0 and 1 is called the mushy zone. The mushy zone is modeled as a “pseudo” porous medium in which the porosity decreases from 1 to 0 as the material solidifies. When the material has fully solidified in a cell, the cell porosity becomes zero and mass transport through it ceases.

The governing 3D equations of heat and mass transfer and how they are applied in the present model are presented below.

(i) The energy balance equations for solidification/melting:

$$\frac{\partial }{\partial {\text{t}}}\left(\uprho {\text{H}}\right)+\nabla \bullet \left(\uprho \overrightarrow{{\text{v}}}{\text{H}}\right)=\nabla \bullet \left({\text{K}}\nabla {\text{T}}\right)+{\text{S}}$$
(1)

where ρ is the density, v is the fluid velocity, K is the thermal conductivity, S is the source term and H is the enthalpy, which is defined as the sum of the sensible enthalpy (h) and the latent heat (ΔH) as

$${\text{H}}={\text{h}}+\Delta {\text{H}}$$
(2)

where the sensible enthalpy is defined as

$${\text{h}}={{\text{h}}}_{ref}+\underset{{{\text{T}}}_{ref}}{\overset{{\text{T}}}{\int }}{{\text{c}}}_{p}{\text{dT}}$$
(3)

where href is the reference enthalpy, Tref is the reference temperature, cp is the specific heat at constant pressure. The latent heat content \(\Delta {\text{H}}\) is expressed as

$$\Delta {\text{H}}=\mathrm{\beta L}$$
(4)

where L is the latent heat of the PCM, and β is its liquid fraction, which can be defined as

$${\upbeta } = 0\quad {\text{if}} {\text{T}} < {\text{T}}_{liquidus}$$
(5a)
$${\upbeta } = 1\quad {\text{ifT}} < {\text{T}}_{liquidus}$$
(5b)
$${\upbeta } = \frac{{{\text{T}} - {\text{T}}_{solidus} }}{{{\text{T}}_{liquidus} - {\text{T}}_{solidus} }}\quad {\text{ifT}}_{solidus} { } < {\text{T}} < {\text{T}}_{liquidus}$$
(5c)

To determine the liquid fraction in a mushy zone, in the current analysis a rather small temperature interval ΔT near the PCM melting point (Tm) was selected and it was assumed that melting occurred within a narrow temperature range (Tm-ΔT and Tm + ΔT). Using Eq. (5), and substituting Tm-ΔT and Tm + ΔT for Tsolidus and Tliquidus, respectively, the liquid fraction was calculated [23].

(ii) Heat transfer equation in the solid wall region:

$$\frac{\partial }{\partial t}\left( {\rho {\text{h}}} \right) + \nabla \left( {\vec{v}\rho {\text{h}}} \right) = \nabla \left( {{\text{K}}\nabla {\text{T}}} \right) + S_{h}$$
(6)

where Sh is the volumetric heat source term. The second term on the left-hand side of Eq. (6) represents convective heat transfer due to rotational or translational motion of the solids. The velocity field is computed from the motion specified for the solid zone as explained in [24]. The terms on the right-hand side of Eq. (6) are the heat flux due to conduction and volumetric heat sources within the solid, respectively.

(iii) The mass and momentum conservation equations for the air flow inside the room:

$$\frac{\partial\uprho }{\partial {\text{t}}}+\nabla \left(\uprho \overrightarrow{{\text{u}}}\right)=0$$
(7)
$$\frac{\partial }{\partial {\text{t}}}\left(\uprho \overrightarrow{{\text{u}}}\right)+\nabla \left(\uprho \overrightarrow{{\text{u}}}\overrightarrow{{\text{u}}}\right)=-\nabla {\text{P}}+\uprho \overrightarrow{{\text{g}}}+\uprho \overrightarrow{{\text{F}}}+\nabla \overrightarrow{\uptau }$$
(8)

where P, \(\overrightarrow{{\text{g}}}\) and \(\overrightarrow{{\text{F}}}\) are the pressure, gravitational acceleration, and external force, respectively.

In FLUENT several turbulence models are available for air flow. The realizable k–ε model was model chosen here for capturing the turbulence of the air movement in the room produced by convective heat transfer. The turbulent viscosity was computed as function of k (turbulence kinetic energy) and ε (energy dissipation rate). Therefore, two additional transport equations for k and ε need be solved, i.e. Equations (9) and (10) as follows

$$\frac{\partial }{\partial {\text{t}}}\left(\mathrm{\rho k}\right)+\frac{\partial }{\partial {{\text{x}}}_{j}}\left(\mathrm{\rho k}{{\text{u}}}_{j}\right)=\frac{\partial }{\partial {{\text{x}}}_{j}}\left[\left(\upmu +\frac{{\upmu }_{t}}{{\upsigma }_{k}}\right)\frac{\partial {\text{k}}}{\partial {{\text{x}}}_{j}}\right]+{{\text{G}}}_{k}+{{\text{G}}}_{b}-\mathrm{\rho \varepsilon }-{{\text{Y}}}_{M}$$
(9)
$$\frac{\partial }{\partial {\text{t}}}\left(\mathrm{\rho \varepsilon }\right)+\frac{\partial }{\partial {{\text{x}}}_{j}}\left(\mathrm{\rho \varepsilon }{{\text{u}}}_{j}\right)=\frac{\partial }{\partial {{\text{x}}}_{j}}\left[\left(\upmu +\frac{{\upmu }_{t}}{{\upsigma }_{\varepsilon }}\right)\frac{\partial\upvarepsilon }{\partial {{\text{x}}}_{j}}\right]+\uprho {{\text{C}}}_{1}\mathrm{S\varepsilon }-\uprho {{\text{C}}}_{2}\frac{{\upvarepsilon }^{2}}{{\text{k}}+\sqrt{\mathrm{\upsilon \varepsilon }}}+{{\text{C}}}_{1\varepsilon }\frac{\upvarepsilon }{{\text{k}}}{{\text{C}}}_{3\varepsilon }{{\text{G}}}_{b}+{{\text{S}}}_{\epsilon }$$
(10)

where

$${\upmu }_{t}=\uprho {{\text{C}}}_{\mu }\frac{{{\text{k}}}^{2}}{\upvarepsilon }$$
(11)
$${{\text{C}}}_{1}={\text{max}}[0.43,\frac{\upeta }{\upeta +5}]$$
(12)
$$\upeta ={\text{S}}\frac{{\text{k}}}{\upvarepsilon }$$
(13)
$${\text{S}}=\sqrt{2{{\text{S}}}_{ij}{{\text{S}}}_{ij}}$$
(14)

In these equations, \({{\text{C}}}_{\mu }\) is not constant, but is a function of the mean strain, rotation and turbulence fields; \({{\text{G}}}_{k}\) represents the generation of turbulence kinetic energy due to the mean velocity gradients; \({{\text{G}}}_{b}\) is the generation of turbulence kinetic energy due to buoyancy; \({{\text{Y}}}_{M}\) represents the contribution of the fluctuating dilatation in compressible turbulence to the overall dissipation rate; \({{\text{C}}}_{2}\), \({{\text{C}}}_{1\varepsilon }\) and \({{\text{C}}}_{3\varepsilon }\) are constants; \({\upsigma }_{k}\) and \({\upsigma }_{\varepsilon }\) are the turbulent Prandtl numbers for k and ε, respectively;\({{\text{S}}}_{k}\) and \({{\text{S}}}_{\varepsilon }\) are user-defined source terms.

The energy balance equation for air flow is

$$\frac{\partial }{\partial {\text{t}}}\left(\mathrm{\rho E}\right)+\nabla \bullet \left(\overrightarrow{{\text{v}}}\left(\mathrm{\rho E}+{\text{p}}\right)\right)=\nabla \bullet \left({{\text{D}}}_{eff}\nabla {\text{T}}-\sum_{j}{{\text{h}}}_{j}{\overrightarrow{{\text{J}}}}_{j}+\left({\overline{\overline{\uptau }}}_{eff}\bullet \overrightarrow{{\text{v}}}\right)\right)+{{\text{S}}}_{h}$$
(15)

where Deff = D + Dt is the effective conductivity, Dt is the turbulent thermal conductivity, defined according to the selected turbulence model, and \({\overrightarrow{{\text{J}}}}_{j}\) is the diffusion flux of species j. The first three terms on the right-hand side of Eq. (15) represent energy due to conduction, species diffusion, and viscous dissipation, respectively while \({S}_{h}\) represents the volumetric heat sources. The quantity E is given by

$${\text{E}}={\text{h}}-\frac{{\text{p}}}{\uprho }+\frac{{{\text{v}}}^{2}}{2}$$
(16)

The sensible enthalpy h is defined for ideal gases as

$${\text{h}}=\sum_{j}{{\text{Y}}}_{j}{{\text{h}}}_{j}+\frac{{\text{p}}}{\uprho }$$
(17)

2.3 Material properties

Many studies [25, 26] revealed the benefits of organic PCMs, like paraffin, in building energy saving owing to their superiority of stability and low corrosion [27]. Besides, they are not as prone to supercooling and phase separation as many inorganic PCMs. In present simulation, an organic compound PCM, named A16, was applied to improve building energy efficiency. The relevant properties of PCM A16 and other wall layers composition in the present analyses are summarized in Table 1. It must be noted that the merits and demerits of various PCMs are beyond the scope of the present study, but other references can be made to the literature, e.g. [25], for the choice of the appropriate PCM for a particular application.

Table 1 Properties of PCM and other materials used in the present analyses [28]

2.4 Numerical discretization and analysis

Using a pressure-based solver to carried out the simulations in FLUENT. Pressure implicit splitting of operators (PISO) was used for pressure–velocity coupling. A 2nd order upwind scheme was chosen for the discretization of momentum, k and ε equations. A southern exposure of the PCM wall was assumed. Ambient temperature record was downloaded from China’s National Meteorological Science Data Center covering the cities of Harbin and Tianjin. The solar radiation was obtained from ASHRAE [29] database, including diffuse solar irradiation, the direct normal solar irradiation, and the ground reflection. The PCM, layers of plaster, insulation and brick were assumed to be well-distributed throughout the wall while the volumetric expansion of the PCM was ignored. The thermal boundary condition for the other walls of the room, such as ceiling and floor, were assumed to be adiabatic.

2.5 Mesh and grid independency

The 3D geometry of the room was constructed with GAMBIT 2.4.6. The Structured Cooper-type hex mesh was created, consisting of 428,505 nodes 1,250,288 faces and 411,008 cells. The average EquiSize Skew parameter, a key parameter for assessing the mesh quality, ranged from 0 to 1 (0-best; 1-worst).

To ensure that the solution was independent of the adopted grid, grid independence testing was conducted. Three grid sizes were considered: 51,376 (fine), 411,008 (extra fine) and 1,881,375 (extremely fine). Simulations were performed for each grid size and it was discovered that the extra fine and the extremely fine meshes gave practically the same results, therefore, the extra fine mesh was selected for further analysis.

3 Model validation

In order to validate the PCM phase change and heat transfer model used in this work, same method was established and compared by the experimental results from Pasupathy et al. [30]. The outside temperature was shown in Fig. 3a and the indoor temperature is 27 ℃. Additionally, the results from our simulation method were also compared to Pasupathy et al. [30] and Li et al. [28]. Pasupathy et al. [30] work details could be found elsewhere.

Fig. 3
figure 3

a Temperature distribution and global radiation with respect with respect to time in the summer for the city of Isfahan, Iran [28]; b Comparison and validation for the present thermal model with those of Pasupathy et al. [30] and Li et al. [28]

To simulate the heat transfer process of Pasupathy et al. [30] work, a room model with a size of 1.22 m × 1.22 m × 2.44 m was established through the Fluent software. According to the experimental settings of Pasupathy et al. [30], the same parameters were used in our model method. In compliance with Pasupathy and Li et al. [28, 30] simulations, the convective heat transfer coefficient at the inside and outside surfaces of the roof were 1.0 W/(m2 K) and 5.0 W/(mK), respectively.

The diurnal temperature variation of the concrete slab soffit obtained by the current simulation are compared with the corresponding experiment values in Fig. 3b. It showed that the simulation results from our thermal model used in this study was agreed with the experimental measurements of Pasupathy et al. [30]. Moreover, it presented closer to the experimental data compared to other simulation results, which indicated the thermal model was robust for the simulation of PCM phase change and its heat transfer process.

4 Results and discussion

4.1 Different climates

According to the different climate characteristics of China, four cities, namely, Harbin, Tianjin, Jinan and Guangzhou, were selected for the simulation analysis. Harbin and Tianjin have a temperate monsoon climate, with cold and dry winters. The difference is that Harbin has higher latitudes and colder winters than Tianjin. Jinan belongs to the warm temperate continental monsoon climate zone, with distinct four seasons and sufficient sunshine, which has the coldest planting season in January throughout the year, with an average temperature of − 0.4 ℃. Guangzhou belongs to the South Asian tropical monsoon climate zone, with a mild climate and significant maritime climate characteristics. The temperature and solar radiation variation in representative day of each city in February are plotted in Fig. 4a and b, respectively. The outdoor temperature fluctuates from 259 to 272 K, 275 K to 281 K, 276 K to 286 K and 285 K to 298 K in Harbin, Tianjin, Jinan and Guangzhou, separately.

Fig. 4
figure 4

Meteorological data for (a) exterior ambient temperature and (b) solar radiation in four cities in China

Figure 5 shows the temperature profile and phase change profile of the novel PCM wall system under different climatic conditions. In the simulation of four cities of Harbin, Tianjin, Jinan and Guangzhou, the same PCM A16 was used, and the phase change temperature was fixed at 288.15 K. The dynamic PCM wall system is located on the south facing wall of the room, below the middle of the two windows, as shown in Fig. 1a. In this study, based on the 24-h system, a day is divided into melting (charging) stage and solidification (discharging) stage, which are 08:00–17:00 and 17:00–08:00, respectively. In the melting stage, the hourly temperature distribution of PCM in four cities are shown in Fig. 5a. Accordingly, the phase change process of PCM is shown in Fig. 5b.

Fig. 5
figure 5figure 5

PCM temperature distribution and liquid fraction in the dynamic PCM walls under different climates

As can be seen from Fig. 5a, the temperature of PCM layer at 09:00 in four cities is close to their outdoor temperature. Since their temperature was lower than the phase transition temperature of 288.15 K, they were all in a solidified state. With the increase of ambient temperature and strengthening of solar radiation, the energy obtained by PCM layer also increased, and the temperature rose accordingly. Among the four cities, the temperature of the whole PCM layer in Harbin rose fastest, rising to about 286 K by 12:00, an increase of about 13 K. At about 13:00, the temperature reached the phase change temperature, and the PCM layer began to melt. In the other three cities, the temperature of PCM layer was rising and reaching 288.15 K before 12:00. At 17:00, the temperature of PCM layer in Harbin was still close to the phase change temperature, indicating that it was in the melting state. In the other three cities, the overall temperature of PCM layer at 17:00 was equal to or higher than the phase change temperature, and PCM layer can basically melt completely.

PCM phase transition process during the charging period can also refer to the profile of liquid fraction in Fig. 5b. When the liquid fraction is 0, the picture is blue and PCM is solid phase. On the contrary, when the liquid fraction is 1, the picture is red and PCM is liquid phase. When the liquid fraction is between 0 and 1, the color in the middle of the two indicates that PCM is in paste. It can be seen from Fig. 5b that in Harbin, the PCM begins to melt after 12:00, and about 70% of them melt at 17:00. In the other cities, the PCM layer can almost melt completely before 17:00. In general, PCM in Harbin can not completely melt, which is not conducive to subsequent solidification and heat release, while PCM in Tianjin, Jinan and Guangzhou can almost melt all, which is conducive to solidification and heat release at night.

According to the concept of dynamic PCM wall, after the charging period, the PCM layer will rotate, the insulation layer will face the brick layer, and the PCM will face the room. In the solidification stage, the hourly temperature and liquid phase ratio of PCM in four cities are shown in Fig. 5c and d. At the beginning, the temperature of PCM layer in Harbin did not decrease with the sun setting and the decrease of external temperature. In fact, when PCM layer turned over to the inner side of the wall, the temperature of the solid part facing the insulation and brick layer is low, it can absorb the heat of the brick, so that it continued to melt. At 19:00, the whole PCM layer completely melted. Then, affected by the decrease of external temperature, the temperature of the south side of PCM decreased, so it began to solidify from the south side. Until 03:00, PCM layer completely solidified. In other cities, the temperature of PCM layer decreased at the beginning of solidification stage. Under the influence of the external temperature, the temperature of the south side of the PCM layer decreased faster than that of the north side, so it began to solidify from the south side. In Tianjin, the PCM layer solidified completely at 05:00. In Jinan, the PCM layer solidified about 80% at 08:00. In Guangzhou, there is no solidification of PCM and no energy release during most of the night. Therefore, comparing the solidification heat release in four cities, it was found that when A16 was applied in northern cities, especially in Tianjin, the solidification process had longer heat release time. Further research is needed in Harbin or Jinan by adjusting the thickness and position of A16 or other factors, to improve the thermal performance.

Figure 6 shows the indoor temperature under different climatic conditions during charge and discharge period. During the heat storage stage, the initial indoor temperature is maintained at 298.15 K under the regulation of the HVAC system. It did not rise significantly in the next two hours. At 11:00, with the increase of solar radiation intensity, the indoor temperature in Harbin, Tianjin and Jinan began to increase significantly, and the temperature in Tianjin increased faster than that in Jinan and Harbin, which is influenced by the combined action of solar radiation and external temperature. After 11:00, the room temperature basically maintained the same rising speed. The indoor temperature in Guangzhou has been rising slowly. After 15:00, the rising speed became faster and the temperature finally reached about 301 K. This is mainly due to the rapid enhancement of solar radiation at this time.

Fig. 6
figure 6

Room temperature in the dynamic PCM walls under different climates

During the heat release period, the indoor temperature in Harbin, Tianjin and Jinan was relatively stable in the first six hours, while that in Guangzhou decreased rapidly. In Harbin, after 23:00, the PCM was still solidifying, so it continued to release heat to maintain the indoor temperature unchanged. After two hours, the PCM is basically completely solidified and no longer gives off heat, the indoor temperature drops rapidly. In Tianjin, the solidification of PCM continued until 6 a.m., so it has been supplying heat to the room, and the room temperature can be maintained at about 300 K. After 6:00, PCM was completely solidified and the room temperature decreased briefly. In Jinan, since the PCM is mainly solidified after 1:00, it can also maintain a high temperature. In Guangzhou, PCM basically did not solidify due to the high external temperature. The room temperature basically changed with the ambient temperature and remained at about 290 K.

Comparing the room temperature changes of the four cities, it is found that the temperature in Tianjin can fluctuate around 300 K, which is close to the thermal comfort temperature. For the last three cities, the conditions need to be optimized to improve indoor comfort, such as changing the type of PCM.

4.2 Size of room

The numerical simulations were performed for rooms of four sizes (same volume) to study the effect of size on the thermal performance of dynamic PCM wall. The four sizes are 6 m × 3.25 m × 2.6 m (R1), 5 m × 3.9 m × 2.6 m (R2), 4 m × 4.875 m × 2.6 m (R3), 3 m × 6.5 m × 2.6 m (R4), respectively. Based on the research on thermal properties of PCM A16 in different climates in 4.1, Tianjin was selected as the research site. On account of climate conditions of Tianjin in February, PCM solidification process at night and the thermal insulation effect of the room were studied. In order to clearly show the change trend of room temperature, temperature of the center point of room was plotted in Fig. 7. As shown in Fig. 7, the temperature trends of the four cases were consistent. After 20:00, the indoor temperature dropped suddenly, because the latent heat released by PCM was very few, and there was energy loss in the process of diffusion. Then, as the latent heat released increased and the heat diffused, the room temperature began to rise. At 23:00, it reached the highest value, and then began to decline. At 06:00 in the morning, the solidification was over, the heat release was completed, and the temperature dropped faster.

Fig.7
figure 7

Central point temperature of rooms of different sizes in Tianjin

Figure 8 shows 2D profile of temperature in four different sizes of rooms in Tianjin, and the position of the plane in 3D room is shown in Fig. 9. According to Fig. 5b, under the Tianjin climate, there was no heat release from 17:00 to 20:00, so HVAC system was turned on for heating during this period, and the temperature maintained at 303 K. In the next four hours, the heat released by PCM gradually spread, and the room temperature began to rise. The temperature of R1 and R2 locally reaches 305–306 K at 23:00. By 06:00 in the morning, PCM was solidifying, but the heat released was reduced, and the room temperature was decreased. From 06:00 to 08:00, PCM solidified completely, and no longer released heat, so that the room temperature naturally decreased. In the above four cases, the initial temperature of R4 was obviously higher than that of R1, R2 and R3 because of the smallest length of R4 in the cross section shown. In the four cases, the overall temperature from large to small is R1, R2, R3 and R4. That is, the temperature distribution in the room is related to the shape of the room when the volume of the room is the same and other conditions are fixed.

Fig.8
figure 8

2D profile of temperature in four different sizes of rooms in Tianjin

Fig. 9
figure 9

The position of 2D plane in the room

4.3 Position of the PCM layer

The location of the novel dynamic PCM wall system in the south wall of the room was considered to optimize. Figure 10a–e respectively shows five different positions of the novel PCM wall on the south wall of the room. In this study, the novel dynamic PCM wall is 0.8 m long and 1.0 m wide. In Fig. 10a, the novel dynamic PCM wall system is located in the middle of the room bottom. In Fig. 10b, it is located between two windows in the south wall at a height of 1.0 m above the ground. In Fig. 10c, it is located at the lower right corner of wall. In Fig. 10d, it is located between two windows at a distance of 1.6 m from the ground. In Fig. 10e, it is located directly below the right window in the south wall.

Fig.10
figure 10

Positions of the novel PCM wall on the south wall of the room

Figure 11 shows indoor temperature of the novel PCM wall system at different locations in the wall. In order to clearly show the temperature trend of the room, the temperature of the center point in the room was plotted. As shown in the figure, from 17:00 to 20:00, the room temperature was maintained at 303 K for the five positions. Under Tianjin climate, PCM has been kept in liquid state from 17:00 to 20:00, so HVAC system will be used for heating during this period, and the temperature will be maintained at 303 K. After 20 o 'clock, PCM began to solidify, so HVAC system was turned off. From 20:00 to 21:00, PCM was at the beginning of solidification, releasing less latent heat, which was not enough to maintain the room temperature, and the room temperature dropped. After 21:00, the room temperature of the five locations was quite different. Among them, the room temperature of the first four positions (P1 to P4) increased after 21:00, and reached the peak at about 24:00, 24:00, 23:00 and 1:00, and then decreased. In the last position (P5), the room temperature had been decreasing after 21:00. The results showed that the position of the PCM system can affect the indoor temperature by changing the heat absorption and diffusion.

Fig.11
figure 11

Indoor temperature of the novel PCM wall system at different locations in the wall

Figure 12 showed 2D images of room temperatures in five different PCM positions in Tianjin. The position of the plane was shown in Fig. 9. As shown in Fig. 12, due to the difference of cold and hot air density, the temperature of the upper part of the room was higher than that of the lower part. And the scope of human activity is mainly concentrated in the middle and lower parts of the room, so the temperature of this part determines comfort level. Overall, the temperatures at the five locations were P4, P2, P1, P3 and P5 from high to low. In terms of comfort temperature, the temperature of the lower half room in P4 can be maintained at about 301 K for the longest time, which is the most suitable for human activities among the five cases.

Fig.12
figure 12

Temperature profile of room with different PCM positions in Tianjin

5 Conclusions

Based on the novel dynamic PCM wall system proposed, numerical simulation was conducted. In order to explore the optimal operating conditions of the system, climatic condition, room size design and PCM location were optimized and analyzed. Results of the analyses support the following conclusions:

  1. 1.

    The dynamic PCM wall used in different climate condition in February was simulated and the results showed that in the charging process, the PCM could all melt in the city of Tianjin, Jinan and Guangzhou. In Harbin, it could melt about 60%. In the discharging process, the PCM could only all solidified in north city of Harbin, Tianjin and lasted for about 6 and 9 h respectively. This demonstrated the application potential in cold winter weather. Further research is needed in Harbin city or Jinan city by adjusting the thickness and position of PCM or building design, etc. to promote PCM’s thermal behavior.

  2. 2.

    For room size design, view the optimization results, the size of 6 m × 3.25 m × 2.6 m (R1) had the best thermal performance among the four designs, which can maintain the temperature in comfort range for the longest time.

  3. 3.

    As for the position of PCM layer in the north facing wall, five typical locations were selected for optimization. The position of PCM layer affected its heat dissipation. So the PCM thermal performance was also related to the heat dissipation of the PCM location. The results revealed that there was obvious difference in thermal properties at different positions of the PCM layer.

  4. 4.

    Overall, the phase change materials selected in this study have the potential for heat release in winter, but not all climate conditions can result in the best performance of phase change materials. It is very important to increase the heat release time of phase change materials in order to maintain indoor temperature through the use of new dynamic phase change material walls.

  5. 5.

    Relatively speaking, from the shape of the room, the smaller the area equipped with PCM walls, the better the indoor insulation effect.

  6. 6.

    The installation position of phase change material walls has a significant impact on the insulation effect. It can be seen that the installation position higher is beneficial for indoor insulation. This may be related to the intensity of solar radiation received at different locations.