[TRNSYS-users] new component in trnsys

David BRADLEY d.bradley at tess-inc.com
Fri May 17 07:17:29 PDT 2013


Louis and Angel,
   There are two possibilities that I can think of...

1. depending on whether the trndll.dll is compiled in debug mode or 
release mode, it goes looking in external dlls in either the 
..\Trnsys17\UserLib\DebugDLLs\ or the ..\Trnsys17\UserLib\ReleaseDLLs\ 
directory. It could be that on one machine, the TRNDll is compiled in 
one mode whereas it is compiled in the other mode on the students' 
machines. If you run the simulation on each machine and look at the 
*.log and *.lst files that are produced, you should find a "Notice" 
telling you where the TRNDll was looking for external DLLs. It is best 
if the TRNDll and external DLLs are all compiled in release mode.

2. even when the trndll and external dlls are compiled in release mode, 
they sometimes require access to some other DLLs that are only present 
on computers that have a compiler installed on them. These are the 
so-called Microsoft redistributable libraries. They are free and 
everything may work fine if you install them on the students' machines.

http://software.intel.com/en-us/articles/redistributable-libraries-for-the-intel-c-and-visual-fortran-composer-xe-for-windows

Best,
  David


On 5/16/2013 05:09, Angel Carrera wrote:
>
> Hi Louis,
>
> we faced the same problem some years ago, i think just after the 
> release of v17. We fixed it by installing the compiler used for 
> creating the component in the new computer, but I don't remember what 
> was the reason. Probably we found the solution somewhere in the list 
> archive. Hope it helps,
>
> Angel
>
>
> 2013/5/15 <Louis.Lamarche at etsmtl.ca <mailto:Louis.Lamarche at etsmtl.ca>>
>
>     Hello
>
>     I created a new component in trnsys 17 and everything is working
>     fine on my computer. The new types are well exported and  I
>     receive the message
>
>     " The following types were loaded from  newdll.dll"
>
>     When I give my .dll to my students, I put them in the userlib
>     directory and I we receive the message
>
>     " newdll.dll was found but did not contain any component "
>
>     And also error 105
>
>     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
>
>     Does anyone knows what can happen ? I saw somewhere that the
>     trndll has to be rebuild but I did not rebuild it on my computer,
>     nor did I had to rebuild it when I bought the type type460.dll ?
>
>     Thank you very much
>
>     Louis Lamarche
>
>     Professeur
>
>     Génie mécanique
>
>     Ecole de Technologie Supérieure
>
>     1100 Notre-Dame ouest
>
>     Montréal, H3C 1K3
>
>     louis.lamarche at etsmtl.ca <mailto:louis.lamarche at etsmtl.ca>
>
>
>     _______________________________________________
>     TRNSYS-users mailing list
>     TRNSYS-users at cae.wisc.edu <mailto:TRNSYS-users at cae.wisc.edu>
>     https://mailman.cae.wisc.edu/listinfo/trnsys-users
>
>
>
>
> -- 
> *Àngel Carrera*
>
> *Consultor Senior
> Àrea tècnica*
>
> Sistemes Avançats d'Energia Solar Tèrmica SCCL
> C/ Roger de Llúria, 29 3r 2a 08009 Barcelona
> Mòbil: (+34) 663 27 66 80
> Tel: (+34) 93 342 47 55
> Fax: (+34) 93 342 47 56
>
> angel.carrera at aiguasol.coop <mailto:angel.carrera at aiguasol.coop>
> http://www.aiguasol.coop <http://www.aiguasol.coop/>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at 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 at tess-inc.com

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130517/3e021367/attachment-0001.htm>


More information about the TRNSYS-users mailing list