How to simulation Thermochrom/PCM exterior wall in Energy plus with EMS

“I want to model an external coating with EnergyPlus so that when the external surface temperature reaches 25°C, the coating starts absorbing heat through a phase change material until 26°C, and simultaneously the solar absorptance of the coating changes from 0.2 to 0.8.”

How can I combine these two changes in energy plus?