[TRNSYS-users] Keeping a value during a period

David BRADLEY d.bradley at tess-inc.com
Wed Apr 24 07:46:38 PDT 2013


Pauline,
   There are a few Types that might help you. The first is a moving 
average component (either Type84 or Type939) which calculates the 
average value of an input over a certain period of time (for instance 
over the last 4 hours). The second is the "input value delay" (Type93 or 
Type661 in the TESS Libs). These components hold on to an input value 
for a desired number of timesteps before "releasing" it as an output. 
There are also some controllers in the TESS Libraries that have 
"lock-outs" (the controller must stay on or off for a certain time after 
changing state) and another that will calculate run-time (the time that 
has elapsed since its input changed state.)
Best,
  David



On 4/24/2013 08:26, Pauline GELIN wrote:
>
> Hello,
>
> I would like to modelize a manual night ventilation. For that I need 
> to keep the value of temperature for the time X (for example 17 pm) 
> and compare this value with a set temperature during a given period 
> (for example a night).
>
> I don't know to keep a value in a variable during a given period. 
> Could anyone help me?
>
> I began with the following formulas but  when the condition of the 
> first  variable is not checked it returns 0 and the third variable 
> doesn't return  what I want :
>
> T17h = eql(mod(TIME,24),17)*temperature_zone10
>
> periode = or(lt(mod(TIME,24),9),gt(mod(TIME,24),17))
>
> vnat = gt(T17h,24)*periode*2
>
> Thanks a lot for your help.
>
> Best Regards,
>
> *Pauline GELIN*
>
> *Ingénieur Conception environnementale*
>
> cid:image004.jpg at 01CE062A.F4C2C000
>
> **
>
> cid:image006.jpg at 01CE062A.F4C2C000
>
> 10 avenue des canuts
>
> 69120 VAULX EN VELIN
>
> T : 04.37.45.33.33
>
> *Ligne directe : 04.37.45.33.47*
>
> **
>
> *www.katene.coop***
>
> *www.quadriplus-groupe.com* <http://www.quadriplus-groupe.com>**
>
> *www.woopa.coop* <http://www.woopa.coop>**
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

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


More information about the TRNSYS-users mailing list