[TRNSYS-users] hay

David Bradley bradley at tess-inc.com
Thu Jun 28 09:52:46 PDT 2007


Habtamu,
   If you are getting a DLL that is called "typen.dll" then I think 
you have not correctly assigned a Type number in your proforma. Types 
in TRNSYS are designated by numbers. In the field just to the right 
of the icon displayed in the forst tab of the proforma, you should 
enter a number between 201 and 300. If you choose the number 201 then 
the fortran that is generated when you export the proforma should 
have a first line that says:

SUBROUTINE TYPE201(TIME,XIN,OUT,T,DTDT,PAR,INFO,ICNTRL,*)

and a line later that says

!DEC$ATTRIBUTES DLLEXPORT :: TYPE201

If that isn't happening then can you please send me the proforma that 
you are working with (*.tmf) and the Fortran code that you have 
modified (*.for).

Cheers,
  David



At 10:12 6/28/2007, habtamu tkubet wrote:
>hay trnsys users
>I went to constract a new component and I am starting to add the 
>proforma(type number and variables)-save intems of 
>.tmf(trnsys16\stduio\proforma\my components...) then export as 
>fortran... by writing the necessary equation I press F7 and the 
>visual fortran I get typen.dll after this in the simulation studio 
>in the direct acess "refresh" the new component I get in the right side.
>my problem is when I went to constract the project in the simulation 
>stduio and connecting with other components and make run I get a error
>"A type wase called in the trnsys input file but was either not 
>linked into trndll.dll or wasnot found in an external dll.a dummy 
>subroutine was called in its place. please link the type or remove 
>it from the input file'
>then any one that try to insert a newcomponent and it is possible to 
>ran then please help me
>
>
>Looking for a deal? 
><http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->Find 
>great prices on flights and hotels with Yahoo! FareChase.
>_______________________________________________
>TRNSYS-users mailing list
>TRNSYS-users at engr.wisc.edu
>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20070628/6567e6bf/attachment-0005.htm>


More information about the TRNSYS-users mailing list