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

Re: [TRNSYS-users] hay



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? Find great prices on flights and hotels with Yahoo! FareChase.
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@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@tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************