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

Re: [TRNSYS-users] Problem with a new component



Werner,
 
Finaly I found the problem. It was coming from a mistake in the code that I copied from an existing component to the new one (Type reference in the DEC$ATTRIBUTES DLLEXPORT not correct).
 
However the begining of the story is that I attempt to create a Type160 which was already existing (electrolizer).
 
Now all is correct but I would like to know what are the type numbers reserved for the user. I am sure the information exist in the doc but I cannot find it.
 
Thank you !!
 
Benoît


De : keilholz, werner [mailto:werner.keilholz@cstb.fr]
Envoyé : lundi 21 juin 2010 09:30
À : Benoit COGNE; trnsys-users@cae.wisc.edu
Objet : Re: [TRNSYS-users] Problem with a new component

Benoît,

 

Are you sure your DLL is in ?C:\Program Files\Trnsys16\UserLib\ReleaseDLLs » ?

 

When using the procedure "export as fortran" in the studio environment, it uses the default path,

\Trnsys16\UserLib\ReleaseDLLs 

 

Werner

 

De : Benoit COGNE [mailto:b.cogne.perso@orange.fr]
Envoyé : samedi 19 juin 2010 17:46
À : trnsys-users@cae.wisc.edu
Objet : [TRNSYS-users] Problem with a new component

 

Dear all,

 

I have a problem with a new component.

I get following error message in the list file.

I can not identify where the problem is coming from, as I created some new components in the past without facing this.

The dll has been created, following the procedure "export as fortran" in the studio environment.

My compiler is CVF6.6B

 

Looking for your help,

 

best regards

 

Benoît

 

*** Notice at time        :         0.000000
    Generated by Unit     : Not applicable or not available
    Generated by Type     : Not applicable or not available
    TRNSYS Message    199 : TRNSYS found at least one user DLL in the UserLib directory. (Note: Only DLL's including Types that are used in the simulation are loaded)
    Reported information  : 0 user DLLs were loaded after searching in "C:\Program Files\Trnsys16\UserLib\ReleaseDLLs"
 
 
*** Fatal Error at time   :      4344.000000
    Generated by Unit     :     4
    Generated by Type     :   162
    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

 



GDF SUEZ Mail Disclaimer: http://www.gdfsuez.com/disclaimer/disclaimer-fr.html