[TRNSYS-users] Branch function implementation using equations
Ana Delgado
ana.delgado at ua.pt
Tue Jul 19 02:52:08 PDT 2022
Hello,
I have an input variable that changes over time. The most correct way to characterize it is to use a branch function. I wanted to use the equations feature but it is giving me lots of errors. Using programming language, my variable changes like this:
If -57 < x < -30
Y1=8E-5x^2-0.0024+0.2385
End IF
If -30< x<-15
Y2=0.0001x^2+0.0028x+0.3494
End if
If -15< x<-5
Y3=-0.0001x^2-0.004x+0.3058
End if
Do you have any tip on how to do it on TRNSYS? Also it’s not mandatory to use equations.
Thank you in advance,
Kind Regards,
Ana Delgado, University of Aveiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220719/22feffe8/attachment.htm>
More information about the TRNSYS-users
mailing list