Thanks Achim. I&#39;m not really comfortable with writing or modifying code so I&#39;ll just forget about what I was trying to do. I may try to define it roughly in terms of opening/closing schedules.<div><br></div><div>Thanks again. Best regards,</div>

<div><br></div><div>Hugo Santos<br><br><div class="gmail_quote">On 21 July 2011 12:22, Geissler Achim <span dir="ltr">&lt;<a href="mailto:achim.geissler@fhnw.ch">achim.geissler@fhnw.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div lang="DE-CH" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Dear Hugo<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Ah! Sorry, it was not clear to me from your first post that you are already using multiple periods. As to the inverse functionality, I assume that you would need to extend the code. Are you installed to change code and compile? The controller logic is to be found in /esrubld/complex_fenestration.F, approx. line 3734 ff. Focus on lines 3902 ff for the actuator and lines 3931 ff for the sensor.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">You could add a &quot;iact1&quot; type and use this for inverse action. You would need to define your night time periods with this actuator.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">You can likely extend the logic in this section of the code any way you wish … as a &quot;hack&quot; to work for yourself, that would suffice. However, to make changes available to prj, you would also need to add code in other places.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Best<u></u><u></u></span></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Achim<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:black"><br>---------------------------------------------------------------------<br>T +41 61 467 44 51<br><br></span><span style="font-size:10.0pt;color:#1F497D"><a href="mailto:achim.geissler@fhnw.ch" target="_blank"><span lang="EN-US" style="color:#1F497D">achim.geissler@fhnw.ch</span></a></span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><br>

</span><span style="font-size:11.0pt;color:black"><a href="http://www.fhnw.ch/iebau" target="_blank"><span lang="EN-US" style="font-size:10.0pt;color:black">www.fhnw.ch/iebau</span></a></span><span lang="EN-US" style="font-size:11.0pt;color:black"><br>

</span><span lang="EN-US" style="font-size:10.0pt;color:black">---------------------------------------------------------------------<br><br></span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">Von:</span></b><span lang="EN-US" style="font-size:10.0pt"> Hugo Santos [mailto:<a href="mailto:hrsantos@gmail.com" target="_blank">hrsantos@gmail.com</a>] <br>

<b>Gesendet:</b> Donnerstag, 21. Juli 2011 13:06<br><b>An:</b> Geissler Achim; ESP-r mailing list<br><b>B</b></span><b><span lang="DE" style="font-size:10.0pt">etreff:</span></b><span lang="DE" style="font-size:10.0pt"> Re: [esp-r] CFC control and U-value.<u></u><u></u></span></p>

<div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Dear Achim,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks for the help on the U-values.<u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">As for the CFC control issue, I already established three periods per day to account for the day and night periods. The problem is upon defining the control law. I wanted it to be: during the day, turn the shading ON if internal temperature is over 23°C and OFF if below 22°C; but during the night period I wanted it to turn OFF if internal temperature is over 23°C and ON if below 22°C. That is, the inverse! I can&#39;t quite understand how the setpoints for the on/off law are executed or how this could be implemented with them. There is, for instance, no way of saying if the CFC setpoints work in a direct or inverse way as in the multi-sensor law for network flow control.<u></u><u></u></p>

</div><div><p class="MsoNormal">Thanks again. Cheers,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Hugo Santos<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On 21 July 2011 10:45, Geissler Achim &lt;<a href="mailto:achim.geissler@fhnw.ch" target="_blank">achim.geissler@fhnw.ch</a>&gt; wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Dear Hugo</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">did you try defining different start times (more than one control period) for your &quot;night time&quot; issue? That should be possible.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">On your second issue, yes, the CFC deals with U-value calculation internally, but to check &quot;what you have&quot; the simplest approach is to use Window, as you write. The thickness of the glass and the width of the cavities are taken from the mlc construction, however, so these must be correct in terms of &quot;they must be according to the build-up of the glass you are looking at&quot;. The U-value is not a constant with CFCs.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">The &quot;QA report&quot; contents is wrong for CFC constructions. This report uses the entry from the mlc construction. The U-value reported thus uses the gap resistance entered in the mlc.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Regards</span><u></u><u></u></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Achim</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt">Von:</span></b><span lang="DE" style="font-size:10.0pt"> <a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank">esp-r-bounces@lists.strath.ac.uk</a> [mailto:<a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank">esp-r-bounces@lists.strath.ac.uk</a>] <b>Im Auftrag von </b>Hugo Santos<br>

<b>Gesendet:</b> Mittwoch, 20. Juli 2011 18:43<br><b>An:</b> ESP-r mailing list<br><b>Betreff:</b> [esp-r] CFC control and U-value.</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">

Good afternoon to everyone,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">My question is mostly directed to Bartosz Lomanowski but maybe somebody else may have the answers.<u></u><u></u></p>

</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I&#39;ve successfully implemented CFC windows in my models but there are two details that are bugging me:<u></u><u></u></p></div><div><p class="MsoNormal">

 <u></u><u></u></p></div><div><p class="MsoNormal">The first one is related to the complex fenestration control (by schedule) and more specifically the simplest on/off control. In it there are two setpoints to be defined for opening and closing the shading layer. I&#39;m assuming that, when using a temperature sensor, the closing setpoint works in a direct way (shading is closed when temperature goes OVER the setpoint) and that the opening setpoint works in a inverse way (shading is opened when temperature goes BELOW the setpoint). If that is the case, then how may I implement a control that opens the shades at night when the internal temperature is over a specific setpoint (which seems contrary to the control logic)?<u></u><u></u></p>

</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">The second issue is how can I be sure of the U-value for my glazing system? Is conduction dealt within the CFC model or should my MLC emulate the correct U-value for the glazing system? Looking at the .cfc files, it seems that conductivity for glass is not taken into account, only the gas layers have conductivity values attributed to them while glass layers seem to only have optical characteristics. If CFC takes glass conductivity into account, does that mean that to find the U-value I must recreate the glazing system defined in GSLEdit but in a program like Window 6 in order to find exactly what are the physical characteristics of the glazing system?<u></u><u></u></p>

</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks in advance for any help. Regards,<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">

Hugo Santos<u></u><u></u></p></div></div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>