[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TRNSYS-users] A question
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@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