Generic thermodynamic system modelling in SIMULINK