[TRNSYS-users] Creating a new type

WATRINET, Emmanuel E.WATRINET at bouygues-construction.com
Wed Aug 18 08:57:38 PDT 2010


Hi everyone, 

 

I am currently using TRNSYS 17 / MS Visual Studio 2008 / IVF 11.1

 

As I was following the Programmer’ s Guide to create a new component, I used the provided solution “Ivf111.sln” that includes 3 projects : MyType, TRNDll and Type155.

Tell me if I am wrong : the MyType project is made to create new types, since DLL settings are already set perfectly. Thus, I added the required files (fortan code and some subroutines from the TESS source code file) and rebuilt the whole solution (including the 3 projects) : it seems to work pretty well (MyType.dll is sent to …Trnsys17\UserLib\ReleaseDLLs, I can see it)

 

But when I launched TRNSYS simulation, I got 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  :  Type999 could not be located in either the trndll.dll or in an external dll. Please relink the TRNDll.dll including this Type or make sure that an external DLL in the \UserLib\DebugDLLs and \UserLib\ReleaseDLLs folders contain the Type.”

 

How can it be ? It looks like the external MyType.dll does not include my Type 999.

 

My fortran code (enclosed Type999.for) is mainly based on Type559.for from the TESS library, I only changed some equations in the appropriate area. 

 

 

Does it sound familiar to anyone ?

Thank you very much for your time.

 

--------------------------------------------

Emmanuel Watrinet

Pôle Construction Durable

Bouygues Construction SA

 

Tél  :  06  .  42  .  76 .  17  .  63

e.watrinet at bouygues-construction.com

--------------------------------------------

--
Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et secrets. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee. Si vous n'etes pas le bon destinataire, nous vous demandons de ne pas lire, copier, utiliser ou divulguer cette communication. Nous vous prions de notifier cette erreur a l'expediteur et d'effacer immediatement cette communication de votre systeme.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized. If you are not the right addressee, we ask you not to read, copy, use or disclose this communication. Please notify this error to the sender and erase at once this communication from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100818/e451b131/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ivf111.sln
Type: application/octet-stream
Size: 1792 bytes
Desc: Ivf111.sln
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100818/e451b131/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Type999.for
Type: application/octet-stream
Size: 13746 bytes
Desc: Type999.for
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100818/e451b131/attachment-0003.obj>


More information about the TRNSYS-users mailing list