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

Re: [TRNSYS-users] Error in the simulation of a new Type



Juan,
  When you run your simulation, there should be a few NOTICES at the beginning of the log file. If you look through them, you'll notice that some of the early ones tell you which directory the TRNDll is being loaded from, which directory is expected to contain additional DLLs, which DLLs were found and which ones actually contained Types that were in the simulation. Those NOTICES should give you an idea what the problem is. For example, if you see a notice that says "Type210.dll was found but did not contain any Types from the simulation" then the problem is in how the name of Type210 is exported (at the beginning of your code there must be a line that says:

!DEC$Attributes DLLexport :: Type210

if the notices do not mention that a file called Type210.dll was found then there is a directory problem.

If you aren't able to figure it out, please send me the *.log file that is being created when you run your simulation and I'll try to help.
Best,
 David


On 1/12/2011 12:25, JUAN FRANCISCO BELMONTE TOLEDO wrote:
Hello everyone.
 
i´ve downloaded from the official website of TRNSYS  a type http://sel.me.wisc.edu/trnsys/trnlib/library16.htm
 
in particular Type210 NODE (i think very interesting when  i can use it).
i´ve  created the dll file because it was not included.
 
and i´ve put the files in the folders as follows:
 
Trnsys16_1\Studio\Proformas the Type210.tmf file.
Trnsys16_1\Studio\Icon the Type210.bmp file
Trnsys16_1\UserLib\DebugDLLs the Type210.dll file
Trnsys16_1\UserLib\ReleaseDLLs the Type210.dll file
and Trnsys16_1\SourceCode\Types the Type210.f90 file (and browse from the Proforma editor - Files, the Source Code File Type210.f90)
 
but i always get the following error:
 
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
 
Did i miss Something?
What i´m doing wrong?
 
Thanks in advance.
 
 
Juan Francisco Belmonte Toledo
Instituto de Investigación en Energías Renovables
Albacete Spain
_______________________________________________ TRNSYS-users mailing list TRNSYS-users@cae.wisc.edu https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com