[TRNSYS-users] A question

Leen Peeters Leen.Peeters at mech.kuleuven.be
Wed Feb 27 01:43:55 PST 2008


Dear Ming,

import an equation writer/calculator in which you take the temperature
of interest as input. 
Then add the following equations:

thistime=(t<20)*STEP


old=lasttime+thistime
 
Take a memory/type 9 to store the value of 'thistime' in between two
timesteps.The output of that type 9 is then the new input in the
equation writer and called 'lasttime'

to overwrite that value each 24 hours, you do

daytime=mod(time,24)
lastime=lasttime*(1-(daytime.lt.step))


before the other equations


Leen






QUoting "Liu, Ming - liumy008" <Ming.Liu at postgrads.unisa.edu.au>:

> Dear Trnsys users,
> 
>  
> 
> In my model, I want to calculate how long the temperature of a zone
> is
> kept under 20OC during a day. Does anyone have any idea about that?
> Thanks in advance.
> 
>  
> 
> Best regards,
> 
> Ming  
> 
> 




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the TRNSYS-users mailing list