thermal and hydraulic system modelling