Switch positions of two construction materials
Problem: I am using EnergyPlus's Energy Management System (EMS) to model dynamic phase change material (PCM). Dynamic PCM, illustrated in the attached figures, is a system consisting of two layers – one containing PCM (has a high latent heat, stores energy by undergoing phase change) and the other is some common material. Once a day, PCM layer is moved to face the outer side of the wall, and later, back to the inner side. The movement is considered to be instantaneous for simulation, so we can think of it as two materials switching their positions, while keeping their temperature, enthalpy. My task is to model this switch.
I have tried switching material properties, but later discovered that this is not correct since temperature and enthalpy data are not moved together with other properties.
Question: How to switch positions of two construction materials keeping their current state (temperature, enthalpy)? Is it possible to model this system in EnergyPlus? I went through the InputOutputReference document, but could not find anything related to this.
Once again, any advice or comments will be much appreciated. Thank you very much.!
Dynamic PCM #1 [adapted from de Gracia (2019)] Dynamic PCM #2 [adapted from de Gracia (2019)]