Hello Metkel, you have to utilize the greater than and less than function GT/LT in the right way. GT(Tamb,18)+LT(Tamb,14)*2 è 0 no mode è 1 cooling mode è 2 heating mode Mit freundlichen Grüßen / Kind Regards,
Telefon: 0721 608 43769 Von: trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] Im Auftrag von metkell yebiyo Dear TRNSYS users, Could you anyone tell me if it is possible to write an if statement in the equation box, I am trying to send a control signal based on the outside temperature, if outside air temperature is greater than 18 deg C then the heat pump would run in cooling mode else if the outside air temperature is less than 14 deg C then the heat pump would run in heating mode. Any suggestions would be appreciated thank you very much. Regards, Metkel Metkel Yebiyo BEng (Hons), MSc CEREB PhD Researcher - Ground Source Heat Pumps Room T615 Department of Urban Engineering Faculty of Engineering, Science and the Built Environment London South Bank University, 103 Borough Road, London SE1 0AA Tel: +44 (0)20 7815 7639 |