[TRNSYS-users] Holiday calculator

David BRADLEY d.bradley at tess-inc.com
Thu Dec 8 10:04:22 PST 2011


Youness,
I think you might just use the following equation:

result = AND(GT(TIME,3450),LT(TIME,6745))

note, I changed one thing in your equation. The above represents:

if (time in hour *>* 3450 and time in hour < 6745 ) then return 1
else return 0

instead of

if (time in hour *<* 3450 and time in hour < 6745 ) then return 1
else return 0

kind regards,
David


On 12/8/2011 10:47, youness EL FOUIH wrote:
> Dear TRNSYS users,
> Please, if any one know how can i use the holiday calculator and could
> show me how to use it I will be very grateful for him.
> to be more precise I want to use as follow :
> if (time in hour < 3450 and time in hour < 6745 ) then return 1
> else return 0
> is it possible ? is Holiday calculator the right component that i can
> use or there is an other component more suitable.
>
> Thanks for your help.
>
>
> -- 
> *EL Fouih Younness
> *Inge'nieur Process - ENIM - Rabat- Promo 2010
> Master Strate'gies E'nerge'tiques - Mines Paristech - Paris
> Tel : +33 6 48 81 01 13
>
>
>
> _______________________________________________
> 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/20111208/d14f03a2/attachment-0005.htm>


More information about the TRNSYS-users mailing list