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

Re: [TRNSYS-users] if-elseif statement in TRNSYS



Raksit,
 
you can 'translate it'...
say
if A=1 then B else C
 
you can make it
(eql(A,1)*B)+(not(eql(A,1)*C)
 
Leen


On Thu, Feb 28, 2013 at 12:20 AM, Raksit Pattanapitoon <rp327@cornell.edu> wrote:
Dear all,

Does anyone know if there's TRNSYS component that can implement the if-elseif statements? Any direction would be helpful. Thank you in advance!

Best,
Raksit

--
Raksit Pattanapitoon
Cornell University Mechanical Engineering 
B.S. 2012, M.Eng. 2013

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users