[TRNSYS-users] new components with TRNSYS 16

Technical Support TechSupport at tess-inc.com
Wed Apr 9 09:56:14 PDT 2008


Laurent,

>we called this new types, type152, type153, type154 and type156
>type155 is reserved for mathlab application?

that is correct.

>the trnexe.exe file is not modified (is  it normal?)

that is also correct. The TRNExe.exe is never modified. It primarily
handles the online plotter and calls the TRNDll.dll.

>1- types 16, 56, 25, 9 and 154 are charged, but not 152, 153 and 156.
>Is it normal?

If Types 152, 153, and 156 are in the input file written by the Studio
then you should either get a message saying that they were found in a DLL
or you should get a message saying that they were in the input file but
not found in a DLL. It sounds as though you are getting the second
message, not the first.

>2- we obtained an error message for each type 152 and 153 because they
>are not found (no message for type156!?)

>we have checked that the file trndll is a new version

you might try to right-click on the TRNDll.dll that was created and see if
an option called "view dependencies" is available. This option is
installed with some Fortran compilers and it allows you to see what
subroutines in the DLL are exported. In TRNSYS 16, Types must be exported
using a DLLEXPORT command in the Type. I assume that you followed the
instructions in the beginning of the 08-Programmer's Guide manual on how
to update a TRNSYS 15 component to work in TRNSYS 16. There are some
modifications that need to be made. If you followed those steps and are
still not able to get your Types to load, please send me your TRNDll.dll,
the Fortran code of your components, and the project that you are trying
to run and I will see if I can find the cause of the problem.
Kind regards,
 David
Technical Support Team
Thermal Energy System Specialists, LLC
2916 Marketplace Dr, Suite 104
Madison, WI 53719
techsupport at tess-inc.com




More information about the TRNSYS-users mailing list