The FAQ says that the developers use Intel's Visual Fortran. If you're willing to experiment, you could always try these free alternatives and see if the code compiles.
Their are a few issues to resolve, such as whether TRNSYS makes use of the Windows GUI APIs (I think that's now part of .NET). The GNU Fortran compilers don't - afaik (as far as I know).
Personally I cannot advice something, but compilers are widely described in the TRNSYS user community - http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/. Try to search there.
Hi Karolis, I'm in the same situation you were 2 year ago...I'm trying to create trnsys components and looking for a suitable fortran compiler for windows7. Did you solved the problem? Any suggestion will be really useful! Thanks!! Valeria
Hi Karolis & Valeria, I am also trying to design a new component, but facing a lot of errors. Can you please tell me reg. (1) Compiler you are using, (2) How to create dll (3) What third party softwares are required to design new component in TRNSYS. (4) Step by step procedure & (5) Documentation/material for support. PLEASE
Has anybody used Gfortran to compile newly build Types in Trnsys? If yes, then how successful were you in compiling and debugging the errors generated in the process? Any kind of help is appreciated!
The TRNSYS engine, the standard component library and most of the publicly available non-standard component libraries are written in Fortran and are compiled into a dynamic link library for the Windows operating system. Users wishing to write their own components may write them in Fortran, C, C++, or any other language provided that they have a compiler capable of creating a DLL. Purchase of the TRNSYS Environment includes the source code for the entire kernel and all standard components save the multizone building model. Alternatively, components can be written in the TRNSYS "W" language in the TRNSYS Simulation Studio which does not require a compiler.