[TRNSYS-users] TRNSYS-users Digest, Vol 29, Issue 15

Jochen Doell jochen.doell at ise.fraunhofer.de
Mon May 7 01:05:31 PDT 2007


Dear Samuele,

Try an equation with boolean algebra:

signal=(gt((temp1-temp2),2))*(lt((temp1-temp2),10))

gt(X,Y) means "greater than" and gives You a "1" whenever the value X 
(here "temp1-temp2) is greater than the Y-value (here "2").
lt(X,Y) works analogue, it is "less than"

Best regards,
Jochen

trnsys-users-request at engr.wisc.edu schrieb:
> Send TRNSYS-users mailing list submissions to
> 	trnsys-users at engr.wisc.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
> or, via email, send a message with subject or body 'help' to
> 	trnsys-users-request at engr.wisc.edu
>
> You can reach the person managing the list at
> 	trnsys-users-owner at engr.wisc.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TRNSYS-users digest..."
>   
> ------------------------------------------------------------------------
>
> Today's Topics:
>
>    1. Request (Samuele)
>   
>
> ------------------------------------------------------------------------
>
> Betreff:
> [TRNSYS-users] Request
> Von:
> "Samuele" <ozzysam at hotmail.com>
> Datum:
> Sun, 6 May 2007 16:19:29 +0200
> An:
> <trnsys-users at engr.wisc.edu>
>
> An:
> <trnsys-users at engr.wisc.edu>
>
>
> Dear All,
>
> I must control the input control signal of a pump so that it works if  the difference between temperature_1 and temperature_2 is:
>
>                              temperature_1 - temperature_2 > 2°C
>
>                              temperature_1 - temperature_2 < 10°C
>
> Could anybody tell me what type can help me?
>
> Thanks in advance.
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at engr.wisc.edu
> https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
>   

-- 
Dipl.-Ing. (FH) Jochen Döll

Dept. Thermal Systems and Buildings

Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany

Phone:	+49 (761) 4588 5456
Mail:	jochen.doell at ise.fraunhofer.de
Web:	www.ise.fraunhofer.de




More information about the TRNSYS-users mailing list