[TRNSYS-users] the causes of error 'NaN'
Gottwald Dieter
Dieter.Gottwald at arsenal.ac.at
Mon Nov 20 03:44:03 PST 2006
NaN means "not a number" and usually occurs when a function is evaluated outside its definition interval (e.g. sqrt(-1), log(-1)), the expression is not defined (e.g. 0/0, 0^0), and sometimes when the result is infinite (e.g. 1/0, exp(very large number)). Check your program for such things.
Hope that helped, Dieter
> -----Ursprüngliche Nachricht-----
> Von: trnsys-users-bounces at engr.wisc.edu [mailto:trnsys-users-
> bounces at engr.wisc.edu] Im Auftrag von mohammad abdunnabi
> Gesendet: Montag, 20. November 2006 12:21
> An: TRNSYS USER
> Betreff: [TRNSYS-users] the causes of error 'NaN'
>
> Dear Trnsys users
>
> Does any one have idea about the possible causes that make the output
> results ' NaN'. In fact, the program runs perfect and gives good results
> when i run it as a console file , however, when i included it in
> Trndll.dll most result comes as NaN. I have tried a lot to trace the error
> however without benefit. these information might help, the program
> contains two iteration loops and may subroutines and functions and also I
> reduced the number of subroutine and functions also still error appears.
>
> any help will be appreciated
> thanks
>
> M. Abdunnabi
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at engr.wisc.edu
> https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
More information about the TRNSYS-users
mailing list