[TRNSYS-users] Trnsed Distributable
Michaël Kummert
michael.kummert at gmail.com
Mon Nov 23 11:20:22 PST 2009
Kent,
I think that in this case Error message 71 is used (incorrectly) by Type 96
to indicate any error that happens reading the data file, not just a problem
with the logical unit. You seem to be getting different errors depending
where the input (dck) file is located so I would think that the problem
comes from an incorrect path. Maybe you are using a relative path that only
works in the original folder but not in the distributable folder. Sometimes
TRNSYS leaves empty files around when that happens, so if you find an empty
file with the name that Type96 is referring to this would be an indication
of where it is looking for.
I remember that at some point TRNEdit had a tendency to mangle some
pathnames when you created the distributable I am not sure it is still the
case but it would be worth checking the path of the Type96 file in the final
.TRD file (the one in the distributable folder).
Hope this helps,
Michaël Kummert
_______________________________
Michaël Kummert
Ecole Polytechnique de Montréal
From: Kent Beason [mailto:kbeason at schlitterbahn.com]
Sent: 23 November 2009 09:18
To: David Bradley
Cc: trnsys-users at engr.wisc.edu
Subject: Re: [TRNSYS-users] Trnsed Distributable
David,
Ive tried your suggestion below with no success. I then tried 9953, 9954,
and 9955 as well, with no success. Ive attached this portion of the .trd
file. As you can see, Ive commented out some of the lines.
A curious note: The .trd file runs in Trnedit in the original directory just
fine. I tried running the same file (in Trnedit this time, not
stand-alone!) after copying it over to the Distributable directory, and the
same error described below happens. Below, I dont get any errors when I
run the simulation within Trnedit, was in context of running the file in
Trnedit in the original directory, not the Distributable directory as Ive
just done.
This deepens the intrigue, but suggests that Ive overlooked something more
fundamental in the Distributable-creation process. Ive copied all files I
believe and made all reference paths relative to the Distributable
directory. Let me know if there is anything else that comes to mind which I
should do to get this Distributable working.
Thanks for your (and others!) help.
Kent Beason
Schlitterbahn Development Group
830-609-8904 m
________________________________________
From: David Bradley [mailto:bradley at tess-inc.com]
Sent: Friday, November 20, 2009 12:21 AM
To: Kent Beason
Cc: trnsys-users at engr.wisc.edu
Subject: Re: [TRNSYS-users] Trnsed Distributable
Kent,
Try setting the logical unit parameters referenced by Type96 (and the
logical units in the corresponding ASSIGN statements) to some other numbers
(953, 954, 955 for example). There are some spots in the Trnsys kernel where
a logical unit number is internally assigned to a temporary file that needs
to be opened up. The kernel tries to pick a logical unit that isn't
otherwise needed but it doesn't always succeed.
Best,
David
Kent Beason wrote:
Ive created a Distributable file and copied all files that I need into the
same directory. I am getting a fatal error when running the Distributable
by itself. I dont get any errors when I run the simulation within
Trnedit. The error reads as follows:
*** Fatal Error at time : 0.000000
Generated by Unit : 33
Generated by Type : 96
TRNSYS Message 71 : An ASSIGNED logical unit number is already in
use, either by the TRNSYS kernal or by a Type
Reported information : Not available
Attached is the section within the .trd file for Type 96 as used in my
simulation. Ive scoured it without finding obvious problems. I havent
found the logical unit numbers duplicated elsewhere in the list file either.
Any deeper insights on what may be the problem, or other things to check,
would be most appreciated.
Kent Beason
Schlitterbahn Development Group
830-609-8904 m
830-608-8040 f
________________________________________
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 22 N. Carroll Street - Suite 370
Partner Madison, WI 53703
USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: bradley at tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
***********************************************************************
More information about the TRNSYS-users
mailing list