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

Re: [TRNSYS-users] Problems with version 15 Types in legacy mode



Jochen,
This may be totally obvious but the "xxx" in "Typexxx" should actually be your Type's number. So if you are putting Type201 into legacy mode, the line that you add should be:

!DEC$ATTRIBUTES DLLEXPORT :: TYPE201

not

!DEC$ATTRIBUTES DLLEXPORT :: TYPEXXX

If that isn't the cause of the problem, then please send me the *.for and the *.tpf that you are trying to run and I will see what I can find.

Kind regards,
David


Jochen Doell wrote:
Hello TRNSYS users,

I have problems using a TRNSYS 15 type in the legacy mode in TRNSYS 16.1. I added the two modifications as given in the manual and recompiled the TRNDLL.dll. When I start my deck with only the type in it, the type is found in the TRNDLL (lst file: "Message: The following Types were loaded from TRNDll.dll: Typexxx"), but it still doesn't calculate. The list file says:

*** Fatal Error at time   :         1.000000
    Generated by Unit     : Not applicable or not available
    Generated by Type     : Not applicable or not available
TRNSYS Message 105 : A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. A dummy subroutine was called in its place. Please link the TYPE or remove it from the input file
    Reported information  : Reported by LINKCK
Since there is only one type in the deck it must be the one giving me trouble. But since it was loaded I have no idea what to do...

Any ideas?

Best regards,
Jochen


--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC David BRADLEY 2916 Marketplace Drive - Suite 104 Partner Madison, WI 53719 USA P: +1.608.274.2577 F: +1.608.278.1475 E-mail: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com

***********************************************************************