[TRNSYS-users] HELP-
David BRADLEY
d.bradley at tess-inc.com
Mon Jan 3 07:48:38 PST 2022
Susana,
TRNSYS has boolean functions that you can use. The function LT(x,y)
will return a 1 if x < y and a 0 otherwise. Typically you can use those
functions to construct more complex functions. For instance you could do:
result = A*LT(v,8) + B*GE(v,8)
kind regards,
David
On 01/03/2022 06:24, SUSANA LAGE CAL via TRNSYS-users wrote:
>
> Hello, everybody
>
> Happy New Year!
>
> I am in the middle of the process of introducing external *h
> convection parameter* in my building simulation.
>
> Nevertheless, formulas are not always the same: They vary with wind
> velocity. And I do not know how to *introduce such conditionial
> condition in a Trnsys Equation*.
>
> If wind velocity limit was 8 m/s, the formula would be A for v< 8 m/s
> and B for v>8 m/s: If we were to work with Excel, solution could be
> easily found by writing: =IF (v_CELL<8;A;B). But, *how can I possibly
> such replicate by means of an Equation?*
>
> Hope any of you can help me
>
> Best regards
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220103/46f0d51b/attachment.htm>
More information about the TRNSYS-users
mailing list