[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Unable to Compile New Component



Bradley Painting -

The only supported FORTRAN compiler for TRNSYS is the IVF compiler.  If you want to use a different compiler you will need to figure out how to import and export the functions and procedures that are needed from the dll.

Regards,

Tim

 

---
Timothy P. McDowell Executive Vice President Thermal Energy System Specialists, LLC 22 N Carroll St, Suite 370 Madison, WI 53703 608-274-2577

On 2015-10-23 08:50, Bradley Painting wrote:

I am trying to make a couple changes to the Type 559 component to allow for night sky radiative cooling. First I am trying to just create a new component that will be read by TRNSYS by saving the existing Type 559 as Type 242. I have created the Type242.tmf, linked it to the Type242.f90, and exported the proforma as fortran (Type242.for) into my compiler folder. I am using G95 and following the instructions on the University of Wisconsin website:
http://sel.me.wisc.edu/trnsys/downloads/tutorials_and_examples/tutex17.htm
 
When I run compile.bat I keep getting an error that says function "getSimulationTime() has no implicit type", and it is creating a few new Type242 files but not the Type242.dll I need to actually run the component. How can I overcome this error? Thanks.
 
--

Brad Painting

Master of Science Candidate, Renewable Energy Engineering

Department of Technology & Environmental Design

Appalachian State University

Boone, NC  28608


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org