[TRNSYS-users] (no subject)

leen peeters l.f.r.peeters at gmail.com
Mon Feb 15 07:00:59 PST 2010


Salim,

you can 'translate' that equation into
(eql(input,x))*y

if you have an if(input=x then y else z) this could be

(eql(input,x))*y+(1-(eql(input,x)))*z

Leen

On Mon, Feb 15, 2010 at 3:52 PM, salim mokraoui <
salim.mokraoui at lermab.uhp-nancy.fr> wrote:

>  Hi all,
>
>
>
> I’ve a simple question related to the use of the equation editor in
> simulation studio. Can we use a condition (if) to define an output from an
> equation editor ? What is the syntax ? (example: if Input = x then Output =
> y)
>
>
>
> Best regards
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100215/1f2718ab/attachment-0005.htm>


More information about the TRNSYS-users mailing list