[TRNSYS-users] Regarding using TRNLIB - Libraries of User-Written Components for TRNSYS in TRNSYS 17.

David BRADLEY d.bradley at tess-inc.com
Fri Jan 17 08:17:54 PST 2020


Ashmin,

   The Types that are available in TRNLib are all user-donated. As such 
they are in various states depending on when they were donated by their 
authors. I had a look at both the Types you mentioned and while you will 
need to compile the code and turn it into a DLL, both are written in 
such a way that they should be compatible with Trnsys17. You'll need to 
have access to a fortran compiler such as Intel's Visual Fortran in 
order to create the DLLs. If you do have access to that particular 
compiler then a compiler project is already set up for you in the 
.\Trnsys71\Compilers\ directory. If by some chance you have access to 
Trnsys18 then you could use the TypeStudio to compile the code and would 
not have to have access to an external fortran compiler.

   You'll also need to make proformas so that the components can be used 
in the Simulation Studio. Some of the components in TRNLib have those 
available but not Types206 or 214

   As a side note, the equations in Type206 are simple enough that I 
think you could recode it as a block of equations in your Simulation 
Studio project. Type214 is more complicated and probably needs to stay a 
Type.

kind regards

  David



On 01/14/2020 23:26, asmin aryal via TRNSYS-users wrote:
> Hello,
> I am planning to use a 3-way valve with an actuator(component 214) and 
> damper/valve (component 206) which are user-written. When I searched 
> for it on the internet I found it on this link 
> http://sel.me.wisc.edu/trnsys/trnlib/library16.htm. FORTRAN code for 
> it is given on this 
> linkhttp://sel.me.wisc.edu/trnsys/trnlib/trnlib16/hydronics/type214.for.
> *I was wondering how can I use this code to implement and create a 
> module so I can use it in my simulation using TRNSYS 17*. Please help me.
> Thanking you in anticipation.
> Ashmin Aryal
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200117/4fdd678f/attachment.htm>


More information about the TRNSYS-users mailing list