[TRNSYS-users] Insert equation

Stefan de Kool S.deKool at chri.nl
Thu Apr 19 01:15:49 PDT 2007


Dear Samir,

 

You could use something like the following:

 

Tsouf = 20*LT(Text,16) + (..)*GE(Text,16)*LT(Text,32) + 18*GT(Text,32)

 

With (.) = Input2-(Input3/(0.34*MAX(Input4,0.0001))

 

The LT, GE and GT are boolean equations (less than, greater or equal than,
greater than) resulting in a factor of 1 if the condition is satisfied and 0
if not. So for eqample Text = 18,5 would give:

Tsouf = 20*1 + (.)*0 + 18*0 = 20

 

Good luck

Stefan de Kool

 

Met vriendelijke groeten,

Stefan de Kool

 

Cauberg-Huygen Raadgevende Ingenieurs B.V.

Bezoekadres: Boterdiep 48, 3077 AW  ROTTERDAM

Postadres: Postbus 9222, 3007 AE  ROTTERDAM

Telefoon: +31 (0)10-2443638

Fax: +31 (0)10-425 44 43

http://www.chri.nl

E-mail: s.dekool at chri.nl

 



  _____  

Van: Chehal, Samir [mailto:Samir.Chehal at jacobs.com] 
Verzonden: donderdag 19 april 2007 9:54
Aan: trnsys-users at engr.wisc.edu
Onderwerp: [TRNSYS-users] Insert equation

 

Hello,

I try to model this schedule :

If Text<16 Tsouff = 20

If 16<Text<32

Tsouff = Input2-(Input3/(0.34*MAX(Input4,0.0001))

If Text>32

Tsouff = 18

And I don't know how integrate these conditions with "equation".

Best Regards

=========================================================

NOTICE - This communication may contain confidential and privileged 
information that is for the sole use of the intended recipient. Any viewing,
copying or distribution of, or reliance on this message by unintended
recipients is strictly prohibited. If you have received this message in
error, please notify us immediately by replying to the message and deleting
it from your computer.

=========================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20070419/c5292c7f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5894 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20070419/c5292c7f/attachment-0001.jpeg>


More information about the TRNSYS-users mailing list