The following are some useful formulae for absolute profiles.
if(to<16,16,to) 16 when outside air temperature (to) is less than 16 and to when to is greater than 16 (a supply condition for mechanical ventilation when heating, but not cooling, is available)
ramp(to,12,12,20,20) emulates a supply condition for mechanical ventilation when the outside air is heated to 12 and cooled to 20.
if(to<12,12,if(to<20,to,20)) an alternative to the above formula
if(to<26,22,to+4) 22 when to is less than 26 and to+4 when to is greater than 26 (an adaptive room set-point)
if(to<20,to+.6*(20-to),to) emulates a mechanical supply condition where heat recovery is applied to an outside air supply. The return air is assumed to be at 20°C and the effectiveness of the heat recovery device is 60%.