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

Re: [TRNSYS-users] Creating New Component



Hi

 

It seems that you have already developed the new component code. Beside developing the code and making related DLL, it is necessary to arrange your perfoma separately. Based on your email it seems that you are expecting developing perfoma automatically by writing the code in IVF. Trnsys is not doing so. You can first arrange the perfoma then export it to IVF. It provides an skeleton for your new component. Or if you are expert in coding and do not need to such a template, you can first write your code and make related DLL then develop the performa.

 

I expect that you went in the second way (first writing code). Therefore the thing that you need is arrange the performa based on you code inputs, outputs and data files.

Please bear in mind that perfoma is not developing automatically we have to arrange it manually based on our codes.

 

Hope it helps

Mehdi

 

 


From: trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] On Behalf Of Baboo Gowreesunker
Sent: 14 June 2011 17:52
To: trnsys-users@cae.wisc.edu
Subject: [TRNSYS-users] Creating New Component

 

Hi,

 

I’m creating a new component in IVF 11.1 for TRNSYS 17, using the IVF11.1.sln provided in the installation package of TRNSYS 17. I am able to create the Type210.dll file, and export it to ..\Userlib\ReleaseDll. The proforma is created in the ‘proforma’ folder.

 

My problem is that I’m able to access the Type210.tmf directly from the TRNSYS tree in the simulation window, but the component is empty. I’ve tried the same thing with various source codes (of already existing TRNSYS component), but obtained the same results.

 

I believe that TRNSYS is finding the type because the list file said:

Reported Information : 1 user DLL was loaded after searching in “C:\TRNSYS17\UserLib\ReleaseDLLs”.

 

However the component is empty in the simulation window.

 

Can somebody please tell me what might be wrong with my doing.

Lesh