[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Control problem



Atli,
  You'll need to implement an equation that combines the results of your three different control signals into one. For example, if you want the diverter to do something if any of your three cases are true then you could write the equation:

yDiv = OR(OR(condition1,condition2),condition3)

yDiv would have a value of 1 if condition1, condition2, or condition3 have a value of 1. Alternately if you want the diverter to do something only if all three of your conditions are true then you could write:

yDiv = AND(AND(condition1,condition2),condition3)

There are also greater than, less than, etc. functions available for making comparisons between cases.
Regards,
 David



On 11/20/2014 04:48, Atli Thor Olason (164693) wrote:

Hello fellow TRNSYS-users,


I need to control a pump on/off but it has to take three different control signals into account. 


I also need to control a flow diverter that has to take two control signals into account.


Any ideas?


​It would be greatly appreciated. I'm working on my bachelors project and quite stuck.





_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com