[TRNSYS-users] TRNSYS ERROR (dll loaded but not found)

Mehdi Shahrestani mahdishahrestani at yahoo.com
Tue Jul 12 13:19:58 PDT 2011


Aaron 

 

Check the following items.

1-Make sure that the type number mentioned in the main windows of proforma
is correct (in this case 203) 

2- If you copy and modified any exiting code as a new code, make sure in
main code (FORTRAN or .) the previous type number is changed to the new
number (this case 203)

3- Make sure dll compiling is performed in release mode (if you using CVF ) 

 

Hope these solve your problem 

Mehdi

 

 

 

  _____  

From: trnsys-users-bounces at cae.wisc.edu
[mailto:trnsys-users-bounces at cae.wisc.edu] On Behalf Of Aaron J. Danenberg
Sent: 12 July 2011 21:10
To: trnsys-users at cae.wisc.edu
Subject: [TRNSYS-users] TRNSYS ERROR (dll loaded but not found)

 

I have encountered an error when trying to run a simulation with a user
written component.  The list file indicates the Type has been loaded, then
later states that the type cannot be found.  See error received below.

 

*** Notice at time        :         0.000000

    Generated by Unit     : Not applicable or not available

    Generated by Type     : Not applicable or not available

    Message               : "Type203.dll" was found but did not contain any
components from the input file.

 

There is a Type 203 in the simulation, and then when it is called, it cannot
be found.

 

*** Fatal Error at time   :         0.000000

    Generated by Unit     :     2

    Generated by Type     :   203

    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  : Not available

 

The performa uses Type number 203, the dll was written with Type203 on the
first line of the code.

 

SUBROUTINE TYPE203 (TIME,XIN,OUT,T,DTDT,PAR,INFO,ICNTRL,*)

 

The dll i stored in the "Release Folder" in the User Lib.  Any ideas on how
this is happening?

 

Aaron J. Danenberg

Graduate Research Assistant

Candidate for Master of Mechanical Engineering, September 2011

University of Hartford

Dana Hall 103, Research Laboratory 1

200 Bloomfield Ave.

West Hartford, CT 06117

M: 203 - 610 - 2509

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110712/67a2aa8a/attachment-0005.htm>


More information about the TRNSYS-users mailing list