[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TRNSYS-users] Serpentine collector
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.
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
http://sel.me.wisc.edu/trnsys
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.
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.
Kind regards,
David
At 01:12 PM 8/16/2004 +0200, Vanden Bossche Lydia wrote:
Dear Trnsys Users,
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.
I have the Compaq Visual Fortran v 6.6A in my possession.
Thank you very much in advance for your help
Vanden Bossche Lydia
Student
Royal Military Academy
Belgium
****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 2916 Marketplace Drive - Suite 104
Partner Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
"Providing software solutions for today's energy engineering projects"
****************************************************************************************