<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Dimitris,<div class=""><br class=""></div><div class="">as far as I know, there is no guide readily available, no. The steps are basically the following:</div><div class=""><br class=""></div><div class="">In cetc/h3kmodule.f90 add the parameter definitions … just follow &nbsp;the general structure of variables given. You will need to give the type (somewhere close to the beginning of the file)&nbsp;</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 143, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">&nbsp; &nbsp;</span><span style="font-variant-ligatures: no-common-ligatures" class="">!Used by casual.F</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp;&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #0433ff" class="">Type</span><span style="font-variant-ligatures: no-common-ligatures" class="">(ReportVariable) :: rvXX, rvYY (whatever name you fancy, the “rv” is “report variable” ...)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class="">&nbsp; &nbsp;...</div><div class=""><br class=""></div><div class="">and also the definitions similar to</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp;&nbsp;rvInsolationTotal%VariableName = </span><span style="font-variant-ligatures: no-common-ligatures; color: #b4261a" class="">'building/*/insolation/total'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; rvInsolationTotal%MetaType = </span><span style="font-variant-ligatures: no-common-ligatures; color: #b4261a" class="">'units'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; rvInsolationTotal%VariableType = </span><span style="font-variant-ligatures: no-common-ligatures; color: #b4261a" class="">'(W)'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; rvInsolationTotal%Description = </span><span style="font-variant-ligatures: no-common-ligatures; color: #b4261a" class="">'Solar gains admitted through glazing'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #0433ff" class="">Call</span><span style="font-variant-ligatures: no-common-ligatures" class=""> AddVariable(rvInsolationTotal)</span></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""></span><br class=""></div></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">somewhere later on in the file. The “*” in above example allows for zone naming. Likely, you will want to have a second “*” for the lighting zone in a given zone. Then, in casual.F (probably necessary, because the variables of interest are not available via a program-wide common, I think), you will need to call “Addtoreport” like so:</div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures; color: #0433ff" class="">call</span><span style="font-variant-ligatures: no-common-ligatures" class=""> AddToReport(</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp;&nbsp; &nbsp; &amp; &nbsp; &nbsp; rvBldZnLightPow%Identifier,</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp;&nbsp; &nbsp; &amp; &nbsp; &nbsp; Cas_Lights(iZone),</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp;&nbsp; &nbsp; &amp; &nbsp; &nbsp; cZone_Chars)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><br class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span></div></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">where of course the “rvXX” is the name you chose in step 1. Cas_Lights is the value and cZone_Chars is the zone name. If you also have the lighting zone,&nbsp;simply add the appropriate variable after cZone_Chars.&nbsp;Probably it is best to place this close to where the “final value” per time step is available. The procedure is actually quite straightforward and there are many examples in the code from which to learn.</div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">Recompile (depending on your development environment, make sure the relevant object files actually have been created newly - make does not always accept the .f90 and attached module as changed!), rerun and check out.dictionary … the new variables should be available.</div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">Good luck!</div><div style="margin: 0px; line-height: normal; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">Best</div><div style="margin: 0px; line-height: normal; min-height: 13px;" class="">Achim</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 12 Mar 2017, at 18:54, Dimitris Jim Sfakianakis &lt;<a href="mailto:dsfakianakis@gmail.com" class="">dsfakianakis@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Achim,<div class=""><br class=""></div><div class="">I found selum() and zelum() in casual.F, however, I don't know what is the process of including additional variables in the h3k reports. Is there a guide available that can guide me through the process?</div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Kind regards,</div><div class=""><br class=""></div><div class="">Dimitris</div><div class=""><br class=""></div></div></div></div></div></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Fri, Feb 17, 2017 at 12:06 PM, Achim Geissler <span dir="ltr" class="">&lt;<a href="mailto:achim.geissler@intergga.ch" target="_blank" class="">achim.geissler@intergga.ch</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Jim,<div class=""><br class=""></div><div class="">most likely selum() and zelum(), one is per sensor, the other per zone as far as I recall / can see by a quick peek. Subroutine intlum(). However, at least selum() is reported by trace, so I am not entirely sure they are what you are looking for.&nbsp;</div><div class=""><br class=""></div><div class="">Best</div><div class="">Achim</div><div class=""><br class=""></div><div class=""><div class=""><div class="h5"><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 16 Feb 2017, at 23:01, Dimitris Jim Sfakianakis &lt;<a href="mailto:dsfakianakis@gmail.com" target="_blank" class="">dsfakianakis@gmail.com</a>&gt; wrote:</div><br class="m_6606641627838258025Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">Hi Achim,<div dir="auto" class=""><br class=""></div><div dir="auto" class="">Thank you for the response, really appreciate it. Do you happen to remember what the variable for the lumens is? I am pretty sure it won't be difficult to locate but it'd help a lot if you happene to remember it.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Thanks!</div><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Feb 14, 2017 8:55 AM, "Achim Geissler" &lt;<a href="mailto:achim.geissler@intergga.ch" target="_blank" class="">achim.geissler@intergga.ch</a>&gt; wrote:<br type="attribution" class=""><blockquote class="m_6606641627838258025quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE-CH" link="blue" vlink="purple" class=""><div class="m_6606641627838258025m_-6139035582710096006WordSection1"><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class="">Dear Jim,<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class="">it has been a while, but as far as I recall that data really is not transported to any results listings. If you are prepared to compile ESP-r, you could probably pipe the desired variables out via h3k output quite easily (esrubld/casual.F).<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class="">Best<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class="">Achim<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><u class=""></u>&nbsp;<u class=""></u></span></p><p class="MsoNormal"><b class=""><span lang="DE" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" class="">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" class=""> <a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank" class="">esp-r-bounces@lists.strath.ac.<wbr class="">uk</a> [mailto:<a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank" class="">esp-r-bounces@lists.st<wbr class="">rath.ac.uk</a>] <b class="">Im Auftrag von </b>Dimitris "Jim" Sfakianakis<br class=""><b class="">Gesendet:</b> Montag, 13. Februar 2017 21:29<br class=""><b class="">An:</b> <a href="mailto:esp-r@lists.strath.ac.uk" target="_blank" class="">esp-r@lists.strath.ac.uk</a><br class=""><b class="">Betreff:</b> [esp-r] Getting the value for Lumens in a zone<u class=""></u><u class=""></u></span></p><div class="m_6606641627838258025elided-text"><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p><div class=""><p class="MsoNormal">Hi group,<u class=""></u><u class=""></u></p><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">I have been working on a project with lighting control. I set up a casual gains control file in order to represent optimal lighting control in my model.<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">Is there a way to pull the value for the Lumens in a zone at each time step, after the simulation?<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">I checked in the "results analysis" and "trace facilities" but couldn't locate the associated parameter.<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">Your help is greatly appreciated!<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><br clear="all" class=""><u class=""></u><u class=""></u></p><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><p class="MsoNormal">Kind regards,<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">Jim<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div><div class=""><p class="MsoNormal">e: <a href="mailto:dsfakianakis@gmail.com" target="_blank" class="">dsfakianakis@gmail.com</a><u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
esp-r mailing list<br class="">
<a href="mailto:esp-r@lists.strath.ac.uk" target="_blank" class="">esp-r@lists.strath.ac.uk</a><br class="">
<a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" rel="noreferrer" target="_blank" class="">http://lists.strath.ac.uk/mail<wbr class="">man/listinfo/esp-r</a><br class=""></blockquote></div><br class=""></div></div></div>
</div></blockquote></div><br class=""></div></div><div class="">
<span class="m_6606641627838258025Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div class=""><a href="mailto:achim.geissler@intergga.ch" target="_blank" class="">achim.geissler@intergga.ch</a></div><div class=""><br class=""></div><div class=""><br class=""></div></span><br class="m_6606641627838258025Apple-interchange-newline">

</div>

<br class=""></div></div><br class="">______________________________<wbr class="">_________________<br class="">
esp-r mailing list<br class="">
<a href="mailto:esp-r@lists.strath.ac.uk" class="">esp-r@lists.strath.ac.uk</a><br class="">
<a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" rel="noreferrer" target="_blank" class="">http://lists.strath.ac.uk/<wbr class="">mailman/listinfo/esp-r</a><br class=""></blockquote></div><br class=""></div></div>
_______________________________________________<br class="">esp-r mailing list<br class=""><a href="mailto:esp-r@lists.strath.ac.uk" class="">esp-r@lists.strath.ac.uk</a><br class="">http://lists.strath.ac.uk/mailman/listinfo/esp-r</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><div class=""><a href="mailto:achim.geissler@intergga.ch" class="">achim.geissler@intergga.ch</a></div><div class=""><br class=""></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>