[TRNSYS-users] Surface Loss Coefficients Type 533 Horizontal Cylinder Tank

Jeff Thornton thornton at tess-inc.com
Fri Nov 6 09:14:21 PST 2020


Julien,

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:

Qloss = Uedge * SAedge*(Tnode - Tenv)

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:

Unew*(Tnode-Tnew) = Uedge*(Tnode-Tenv)
then
Tnew = Tnode - Uedge/Unew*(Tnode-Tenv)

You might want to use Tnode from the previous timestep so you don’t run into convergence issues.

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.

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?

Jeff - TESS

Sent from my iPhone

>> On Nov 6, 2020, at 8:41 AM, Julien Gambade via TRNSYS-users <trnsys-users at lists.onebuilding.org> wrote:
> 
> Thanks for your answer.
> 
> I just have a problem. My version of TypeStudio can't open Type533.for and it gives me this message : 
> 
> <154255>
> 
> I have the latest versionf of Trnsys.
> 
> Does anyone know a solution ?
> 
> Best regards 
> 
> De: "David BRADLEY" <d.bradley at tess-inc.com>
> À: "trnsys-users" <trnsys-users at lists.onebuilding.org>
> Cc: "Julien Gambade" <julien.gambade at univ-ubs.fr>
> Envoyé: Jeudi 5 Novembre 2020 16:44:11
> Objet: Re: [TRNSYS-users] Surface Loss Coefficients Type 533 Horizontal Cylinder Tank
> 
> Julien,
> 
>   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.
> 
> kind regards,
> 
>  David
> 
> 
> 
> On 11/05/2020 09:17, Julien Gambade via TRNSYS-users wrote:
> Hello,
> 
> 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.
> I can't assign a variable name and I would prefer to avoid modifying the source code.
> 
> Does anyone know a solution ?
> 
> Thank you in advance,
> 
> Best regards
> --
> Julien GAMBADE
> Doctorant
> Institut de Recherche Dupuy de Lôme (UMR CNRS 6027)
> Centre de recherche Christian Huygens
> Rue de Saint-Maudé - 56100 Lorient - France
> julien.gambade at univ-ubs.fr
> www.irdl.fr
> 
> 
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
> -- 
> ***************************
> 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
> d.bradley at tess-inc.com
> 
> http://www.tess-inc.com
> http://www.trnsys.com
> 
> --
> Julien GAMBADE
> Doctorant
> Institut de Recherche Dupuy de Lôme (UMR CNRS 6027)
> Centre de recherche Christian Huygens
> Rue de Saint-Maudé - 56100 Lorient - France
> julien.gambade at univ-ubs.fr
> www.irdl.fr
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20201106/b246970c/attachment.htm>


More information about the TRNSYS-users mailing list