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

Re: Problems on running new input and model filles



Dear Mr. Yu,
   Technically, the TRNSYS group no longer supports TRNSYS 14.2 and I would 
highly recommend upgrading to v. 15.2. However, I think that the error you 
are seeing is not related to a particular version. The most basic steps 
required to add a new Type to the TRNSYS dll can be executaed from a 
command prompt and are.

1. recompile your new type (89 in your case) - this will create a .obj file
2. open the file link.dvf and add a line that says 
"\trnwin\types\type89.obj" (modify the path name depending on where the 
.obj file was created
3. relink the file trnlib32.dll by executing a link command that references 
the newly modified link.dvf file.
4. check the date on the file trlib32.dll - if it is the current date, then 
there is some problem and a new .dll file was not created.

There are some web pages available at the Solar Energy Lab's site which 
will give you more detailed information about recompiling and relinking the 
dll. They talk about TRNSYS 15 and while the names of the files and 
pathnames have changed, the basic concept for adding new Types has not.

Kind regards,
   David


At 03:14 PM 2/18/2002 +0800, YU Fu wing wrote:
>Dear all
>
>I have built up an input file "SIM.dck" and a component model called "Type
>89" and faced some errors on running them. Having examined one of the errors
>#105 indicating the new model was not linked, I tried to compile "Type 89"
>by following the instructions mentioned in the error message, but the error
>#2 always existed. I also face the error #2 when I compiled the existing
>ones. I have checked that there was nothing wrong with the file
>"CNFGTR.TRN".
>
>Basically, the above stuffs were carried out in the program TRNSHELL32. I
>want to know the reasons for the above problems and the ways to carrying out
>debugging and correcting the self-developed files. The .lst file is attached
>for your information.
>
>Thanks!
>
>Kind Regards
>
>YU Fu-wing
>
>Research student
>Department of Building Services Engineering
>The Hong Kong Polytechnic University

*********************************************************************************
Thermal Energy System Specialists (TESS)
David BRADLEY           2916 Marketplace Drive - Suite 104
Project Engineer                Madison, WI  53719
Phone:  (608) 274-2577  USA
Fax:  (608) 278-1475
E-mail:   bradley@tess-inc.com
Web Page:       www.tess-inc.com

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