Hi all, I am simulating the three phases' temperature of composites. I performed a coupled electromagnetic and heat transfer module from COMSOL. I apply a certain current to coils to get the temperature raise, with which I use an if-else statement, after certain seconds it to cool with lesser current applied. How can I simulate the constant temperature phase (as in the below figure)? Can someone tell if it is possible with COMSOL or something else, any suggestions most welcome, I basically simulated only heating and cooling, not the constant phase. it would be nice if I can do the constant phase. I'm stuck here, thank you in advance for the help.