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
Ingénieur Process - ENIM - Rabat - Promo
2010
Master Stratégies Énergétiques - Mines Paristech - Paris
Tel : +33 6 48 81 01 13
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@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@tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
|