[TRNSYS-users] Type 1223, TRNSYS Error Message

Michaël Kummert kummert at engr.wisc.edu
Fri Nov 5 07:16:45 PST 2004


Matthias,
> 
> Running Type 1223, for some input values TRNSYS stops
> and the following error message appears. (See attachment)
> What should I do? Any suggestions?
> 
The Fortran runtime error means that the program has attempted to take 
the log of a number outside the domain of the function (typically a 
number less than or equal to zero).

As usual, the first step is to check your parameters and input/output 
connections, use the TRACE command to check the inputs/outputs, try 
constant-input cases, and use the debugger (if you are familiar with the 
debugger it might be the fastest option, even to detect a wrong 
parameter...). I would put a breakpoint before the lines you suspect of 
being the cause of the problem and go step-by-step from there.

In case of "Type 1223", which I assume is the "Detailed Chilled Water 
Cooling and Dehumidifying Coil by S. Gabel" in ASHRAE's secondary 
toolkit, you seem to be lucky because I only found two calls to the log 
function (in the SATPRESS subroutine). Both take the log of a 
temperature in Kelvin, which could indicate that you have a unit problem 
(deg C instead of K) or that something in the simulation causes the 
temperature to go below the absolute zero. This, of course, only holds 
if the error occurs in Type 1223 (it might be a problem caused by 
Type1223 that generates the log domain error in another Type).

Good luck,

Michaël Kummert



-- 
_________________________________________________________

Michaël Kummert

Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706

Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert at engr.wisc.edu

SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys



More information about the TRNSYS-users mailing list