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

Re: [TRNSYS-users] Invalid floating point operation: strangebehaviour



Matteo,
  An invalid floating point error is usually an indication that there is a division by zero. As you noted, if you turn on the debugging mode in Studio, it will check for that condition among the outputs of a component. However, Werner and the others are quite correct that you should try to run your simulation from the Compaq compiler and walk line by line through your code to try and determine where that division by zero is occurring.
Best,
 David


Matteo DF wrote:
Hi again,
my trnsys version is 16.00.0038 so it's not the most recent one... Anyway under UserLib I have the two folders you've mentioned, ReleaseDlls and DebugDlls. Probably the installation of TESS models created them, so my version is a bit old.

Anyway, trying to run my simulation in debug mode I discovered that there's another unit which is giving NaN as output... In fact type 534, vertical storage tank, by Tess is producing error 419 with the output 1, which is directly connected to the type I was developing. This output 1 is the temperature at outlet and I don't know how it's possible that it influences so much the simulation.
I'll check again the implications of this temperature.

Thanks for your help!
Matteo.



--
La scoperta è vedere ciò che tutti hanno sempre visto e
pensare ciò che nessuno ha mai pensato.
(Albert Szent-Gyorgyi, scopritore della vitamina C e premio Nobel)


_______________________________________________ TRNSYS-users mailing list TRNSYS-users@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@tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************