<html>
There are two steps required in order to create and use a new component
in TRNSYS. I should preface this by noting that these instructions
pertain to TRNSYS 15. I have included an outline of the procedure for
TRNSYS 16 at the end. <br><br>
The first step is that you must recreate the trnlib.dll, including all
code that you find in the \kernal directory and in the \types directory.
There should be a workspace set up for Compaq Visual Fortran in your
\trnsys15 directory already. You will need to add Type186 and any
subroutines that it calls to the project as well. Instructions on
manipulating Fortran workspaces can be found at the end of Chapter 3 in
the main TRNSYS manual and online at
<a href="http://sel.me.wisc.edu/trnsys" eudora="autourl">http://sel.me.wisc.edu/trnsys</a>
by following the "Fortran Info" link. Once you have recompiled trnlib.dll, you must then create an IISiBat Proforma in order to use the new component with the TRNSYS front end. To get started on creating a Proforma, open IISiBat and select "New" then "Component" from the File menu. Instructions on how to fill out the Proforma can be found starting on page 14 of the "IISiBat" manual. NOTE, please do not confuse this with the "Introduction to TRNSYS with IISiBat" manual, which is primarily a getting started tutorial.<br><br>
In TRNSYS 16, it will no longer be necessary to recompile any of the standard TRNSYS code. IISiBat (now called "Studio") allows you to generate a self contained Fortran project that will create a dll with just your new component. The new dll will automatically be called and loaded by the TRNSYS engine.<br>
Kind regards,<br>
  David<br><br>
At 01:12 PM 8/16/2004 +0200, Vanden Bossche Lydia wrote:<br>
<blockquote type=cite class=cite cite><font face="arial" size=2>Dear Trnsys Users,</font><br>
 <br>
<font face="arial" size=2>I would like to use the component type 186 (Serpentine Collector). I have the fortran code from the Trnsys site but I don't manage to use it. Can you explain how can I use this code in order to create a new component.</font><br>
<font face="arial" size=2>I have the Compaq Visual Fortran v 6.6A in my possession.</font><br>
 <br>
<font face="arial" size=2>Thank you very much in advance for your help  </font><br>
 <br>
<font face="arial" size=2>Vanden Bossche Lydia</font><br>
<font face="arial" size=2>Student</font><br>
<font face="arial" size=2>Royal Military Academy</font><br>
<font face="arial" size=2>Belgium  </font> </blockquote>
<x-sigsep><p></x-sigsep>
****************************************************************************************<br>
Thermal Energy System Specialists (TESS), LLC <br>
David BRADLEY                           2916 Marketplace Drive - Suite 104 <br>
Partner                                        Madison, WI 53719 <br>
Phone: (608) 274-2577 USA <br>
Fax: (608) 278-1475 <br>
E-mail: bradley@tess-inc.com <br>
Web Pages:  <a href="http://www.tess-inc.com/" eudora="autourl">http://www.tess-inc.com</a>     and      <a href="http://www.trnsys.com/" eudora="autourl">http://www.trnsys.com<br><br>
</a>"Providing software solutions for today's energy engineering projects" <br>
****************************************************************************************<br>
</html>