Modelling techniques for the control of thermal exchanges in mixed continuous-discontinuous flow food plants