<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Julien,<div><br></div><div>Before you go in and make changes to Type533 - which would mean you can’t use the plug-ins any longer - have you considered a work-around? 533 assumes the heat transfer from the edges of the node is:</div><div><br></div><div>Qloss = Uedge * SAedge*(Tnode - Tenv)</div><div><br></div><div>In your case, Uedge is fixed as a parameter but Tenv is an input. You could simply manipulate Tenv to give you the desired losses:</div><div><br></div><div>Unew*(Tnode-Tnew) = Uedge*(Tnode-Tenv)</div><div>then</div><div>Tnew = Tnode - Uedge/Unew*(Tnode-Tenv)</div><div><br></div><div>You might want to use Tnode from the previous timestep so you don’t run into convergence issues.</div><div><br></div><div>I wrote 533 and while it’s not overly hard to make that internal parameter/input change, there is a lot of manipulations you’ll have to do. You’ll also have to save it as a new type number so that you won’t have any issues loading your version instead of our version.</div><div><br></div><div>But I’m curious - why the need for variable edge losses? Are you concerned about long-wave radiation? Do you want to study natural convection off the surfaces? Is it exposed to a lot of wind?</div><div><br></div><div>Jeff - TESS<br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Nov 6, 2020, at 8:41 AM, Julien Gambade via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thanks for your answer.</div><div><br></div><div>I just have a problem. My version of TypeStudio can't open Type533.for and it gives me this message : <br></div><div><br data-mce-bogus="1"></div><div><div><154255></div></div><div><br data-mce-bogus="1"></div><div>I have the latest versionf of Trnsys.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Does anyone know a solution ?<br data-mce-bogus="1"></div><div><br></div><div>Best regards <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"David BRADLEY" <d.bradley@tess-inc.com><br><b>À: </b>"trnsys-users" <trnsys-users@lists.onebuilding.org><br><b>Cc: </b>"Julien Gambade" <julien.gambade@univ-ubs.fr><br><b>Envoyé: </b>Jeudi 5 Novembre 2020 16:44:11<br><b>Objet: </b>Re: [TRNSYS-users] Surface Loss Coefficients Type 533 Horizontal Cylinder Tank</div><div><br></div><div data-marker="__QUOTED_TEXT__"><div><p>Julien,</p><p> Changing parameters to inputs requires that you modify the source code of the Type and recompile it into a new DLL. The source code for Type533 is in the .\Tess Models\SourceCode\ directory and TRNSYSv18 has a Fortran compiler built into it so in theory you should be able to use the TypeStudio to make the changes that you need. I say "in theory" because Type533 is a fairly complicated piece of code and it may not be a trivial process to modify and recompile.</p><p>kind regards,</p><p> David</p><p><br></p><div class="moz-cite-prefix">On <span class="Object" role="link" id="OBJ_PREFIX_DWT131_com_zimbra_date"><span class="Object" role="link" id="OBJ_PREFIX_DWT139_com_zimbra_date">11/05/2020</span> </span>09:17, Julien Gambade via TRNSYS-users wrote:</div><blockquote cite="mid:1040918761.836314.1604589433580.JavaMail.zimbra@univ-ubs.fr"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;"><div>Hello,</div><div><br></div><div>I am using Type 533 Horizontal Cylinder Tank from Tess Library. I would like to define Surface Loss Coefficients as inputs instead of a parameters.</div><div>I can't assign a variable name and I would prefer to avoid modifying the source code.</div><div><br></div><div>Does anyone know a solution ?</div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Best regards</div><div>--</div><div><div><strong>Julien GAMBADE</strong><br><strong>Doctorant</strong><br>Institut de Recherche Dupuy de Lôme (UMR CNRS 6027)<br>Centre de recherche Christian Huygens<br>Rue de Saint-Maudé - 56100 Lorient - France<br><span class="Object" role="link" id="OBJ_PREFIX_DWT132_ZmEmailObjectHandler"><span class="Object" role="link" id="OBJ_PREFIX_DWT140_ZmEmailObjectHandler"><a class="moz-txt-link-abbreviated" href="mailto:julien.gambade@univ-ubs.fr" target="_blank" rel="noopener" data-mce-href="mailto:julien.gambade@univ-ubs.fr">julien.gambade@univ-ubs.fr</a></span></span><br><span class="Object" role="link" id="OBJ_PREFIX_DWT133_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT141_com_zimbra_url"><a href="http://www.irdl.fr" target="_blank" rel="noopener" data-mce-href="http://www.irdl.fr">www.irdl.fr</a></span></span><br data-mce-bogus="1"></div><div><img class="aligncenter wp-image-3793 size-medium" alt="" style="float: left;" src="https://irdl.fr/wp-content/uploads/2016/03/IRDL-LOGOTYPE-COULEURSCNRS-300x192.jpg" saveddisplaymode="" data-mce-src="https://irdl.fr/wp-content/uploads/2016/03/IRDL-LOGOTYPE-COULEURSCNRS-300x192.jpg" data-mce-style="float: left;" width="300" height="192" data-unique-identifier=""></div></div></div><br><fieldset class="mimeAttachmentHeader"></fieldset><pre class="moz-quote-pre">_______________________________________________
TRNSYS-users mailing list
<span class="Object" role="link" id="OBJ_PREFIX_DWT134_ZmEmailObjectHandler"><span class="Object" role="link" id="OBJ_PREFIX_DWT142_ZmEmailObjectHandler"><a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org" target="_blank" rel="noopener" data-mce-href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></span></span>
<span class="Object" role="link" id="OBJ_PREFIX_DWT135_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT143_com_zimbra_url"><a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank" rel="noopener" data-mce-href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></span></span>
</pre></blockquote><pre class="moz-signature">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<span class="Object" role="link" id="OBJ_PREFIX_DWT136_ZmEmailObjectHandler"><span class="Object" role="link" id="OBJ_PREFIX_DWT144_ZmEmailObjectHandler"><a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com" target="_blank" rel="noopener" data-mce-href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a></span></span>
<span class="Object" role="link" id="OBJ_PREFIX_DWT137_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT145_com_zimbra_url"><a class="moz-txt-link-freetext" href="http://www.tess-inc.com" target="_blank" rel="noopener" data-mce-href="http://www.tess-inc.com">http://www.tess-inc.com</a></span></span>
<span class="Object" role="link" id="OBJ_PREFIX_DWT138_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT146_com_zimbra_url"><a class="moz-txt-link-freetext" href="http://www.trnsys.com" target="_blank" rel="noopener" data-mce-href="http://www.trnsys.com">http://www.trnsys.com</a></span></span><br data-mce-bogus="1"></pre></div></div><div><br></div><div data-marker="__SIG_POST__">--</div><div><div><strong>Julien GAMBADE</strong><br><strong>Doctorant</strong><br>Institut de Recherche Dupuy de Lôme (UMR CNRS 6027)<br>Centre de recherche Christian Huygens<br>Rue de Saint-Maudé - 56100 Lorient - France<br>julien.gambade@univ-ubs.fr<br><a href="http://www.irdl.fr" target="_blank" rel="noopener" data-mce-href="http://www.irdl.fr">www.irdl.fr</a><br data-mce-bogus="1"></div><div><img class="aligncenter wp-image-3793 size-medium" src="https://irdl.fr/wp-content/uploads/2016/03/IRDL-LOGOTYPE-COULEURSCNRS-300x192.jpg" alt="" style="float: left;" data-mce-src="https://irdl.fr/wp-content/uploads/2016/03/IRDL-LOGOTYPE-COULEURSCNRS-300x192.jpg" data-mce-style="float: left;" width="300" height="192" data-unique-identifier=""></div></div></div><span>_______________________________________________</span><br><span>TRNSYS-users mailing list</span><br><span>TRNSYS-users@lists.onebuilding.org</span><br><span>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</span><br></div></blockquote></div></div></body></html>