[TRNSYS-users] if-elseif statement in TRNSYS

leen peeters l.f.r.peeters at gmail.com
Wed Feb 27 15:31:44 PST 2013


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 at 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 at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130228/67da60b4/attachment-0001.htm>


More information about the TRNSYS-users mailing list