<html>
<head>
<meta content="text/html; charset=ISO-2022-JP"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Youness,<br>
I think you might just use the following equation:<br>
<br>
result = AND(GT(TIME,3450),LT(TIME,6745))<br>
<br>
note, I changed one thing in your equation. The above represents:<br>
<br>
if (time in hour <font color="#ff0000"><b>></b></font> 3450 and
time in hour < 6745 ) then return 1<br>
else return 0<br>
<br>
instead of <br>
<br>
if (time in hour <font color="#ff0000"><b><</b></font> 3450 and
time in hour < 6745 ) then return 1<br>
else return 0<br>
<br>
kind regards,<br>
David<br>
<br>
<br>
On 12/8/2011 10:47, youness EL FOUIH wrote:
<blockquote
cite="mid:CAA8z4JeVjMA6MbU2LOR_-Ndmze32uXFmk4Y3PMjHyvGWkMqxXA@mail.gmail.com"
type="cite">Dear TRNSYS users, <br>
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.<br>
to be more precise I want to use as follow :<br>
if (time in hour < 3450 and time in hour < 6745 ) then
return 1<br>
else return 0<br>
is it possible ? is Holiday calculator the right component that i
can use or there is an other component more suitable.<br>
<br>
Thanks for your help.<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr"><font color="#999999"><span
style="color:rgb(51,51,51)"><b>EL Fouih Younness<br>
</b><font color="#666666">Ingénieur Process - ENIM </font></span></font><span
style="color:rgb(51,51,51)"><font color="#666666">- Rabat</font></span><span
style="color:rgb(51,51,51)"><font color="#666666"> - Promo
2010 <br>
Master Stratégies Énergétiques - Mines Paristech - Paris<br>
</font></span><font color="#666666">Tel : +33 6 48 81 01 13<br>
</font></div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
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
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>