[TRNSYS-users] Editing module's source code

David BRADLEY d.bradley at tess-inc.com
Wed Feb 24 11:09:08 PST 2016


Alexandros,
  You do not need to modify the Type1257 or 1259 source code in order to 
specify a different working fluid. The properties of the working fluid 
are taken among the model's parameters (fluid density, fluid enthalpy, 
and fluid internal energy coefficients). Modifying the source code is a 
somewhat complex procedure because once you have modified the source 
code you need to recompile it and relink it into a DLL using a Fortran 
compiler. If you added parameters, inputs, or outputs you would also 
need to modify the component's proforma.
kind regards,
  David


On 02/24/2016 11:38, P3XT3L wrote:
> Dear Users,
>
> I would like to edit an existing source file for Types 1257 and 1259 of TESS library. I want to do this change because I need to simulate a solar thermal field with a different transfer mean (that would be a specific thermal oil). I have the formula describing the equations of its density, thermal conductivity and enthalpy.
> I managed to add the extra parameters into the source text file. Is it necessary to do anything else? For example add any parameter into the “variable tab” of each component inside TRNSYS?
>
> Regards
> Alexandros
> _______________________________________________
> 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
22 North Carroll Street - suite 370
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




More information about the TRNSYS-users mailing list