<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Nicolas,</p>
<p> It depends a bit on what version of TRNSYS you are using. If you
are using v18 then there is a built-in Fortran compiler and you
should be able to take the source code file (which is just a text
file with a different extension), compile it and make a dll. If
you are using an earlier TRNSYS version then it is a bit more
complicated and you will need to have access to a Fortran
compiler. The Intel Fortran compiler plugs into the same Visual
Studio that already contains your C++ compiler.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 07/03/2019 04:05, Nicolas Poitrenaud
via TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2087109035.523238.1562144736859.JavaMail.zimbra@insa-lyon.fr">
<pre class="moz-quote-pre" wrap="">Hello everyone,
I would like to know how to add a component from the TRNLIB library to TRNSYS.
The TRNLIB library is mostly only providing the fortran source code and a component description in .txt format.
However, to get to use a component, one also needs the proforma file, the project file and to create (to "build") a DLL, linking the component to TRNSYS.
To create my own components, I actually use the "new component" interface in TRNSYS, export the component in C++ format and complete the source code via Visual Studio.
I guess that there is some easy way to generate the proforma/DLL/project file by compiling the Fortran code, but I am not so gifted when it comes to computer science.
Can someone please give me hints on how to use the TRNLIB components ? The software to use ?
Thank you very much and have a nice day !
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
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
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>