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

Re: [TRNSYS-users] Create a new type



Tiziano,
I am not entirely sure that I understand your question. Fortran 90 is a language while Compaq Visual Fortran is a compiler. Most Types in Trnsys16 were written Fortran77 language conventions but some where written using Fortran90 conventions; the two language conventions should be able to interact with each other without problems.

Whichever set of language conventions you choose, you need some kind of compiler that can create a DLL containing the source code for your Type. Some users have succeeded in using the free G95 compiler to make user Types. There is a tutorial available at: http://sel.me.wisc.edu/trnsys/downloads/tutorials_and_examples/tutex17.htm. While the tutorial is written based on Trnsys17, most of it applies to Trnsys16 as well.

Kind regards,
 David

On 3/30/2012 04:14, Tiziano Terlizzese wrote:
Dear trnsys users,

I need to create a new type, a rain water tank. It seems that the only way to create a new type is to have at disposal COMPAQ Visual Fortran. Is that correct? Can't you use FORTRAN 90 instead of compaq visual fortran?
The problem I faced in using fortran 90 is that transys constants are not already implemented into it. Is there a way out that won't imply to buy Compaq Visual Fortran? I have TRNSYS 16 version.

Thank you in advance for your help.
Greetings,

Tiziano Terlizzese

Università di Bologna
Dipartimento di Ingegneria Energetica Nucleare e del Controllo Ambientale - DIENCA
Via del Risorgimento, 2 - 40136
Bologna - Italia
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users


--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com