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

Re: [TRNSYS-users] The smooth results suddenly are changed to "NaN"



Reza,
  NaN stands for "not a number" and it is usually the result of a model dividing by zero internally. In order to find where the NaN occurs, it is necessary to run your simulation using the line by line debugger in a fortran compiler. If you don't have a compiler and have checked your *.m code to make certain that it cannot produce a division by zero then it might be helpful to know how this NaN is being reported (is it in the lst/log files? is it reported as a FORTRAN error on screen?) in order to get a better idea of where you might look for the problem.
Kind regards,
 David


On 12/20/2013 22:06, Safizadeh Mohammadreza wrote:
Dear all TRNYSY users,

Indeed, I am using two Types155 in series, in which the results from first one are used by next one.

*** Problem:
Once I run the simulation for 9000 experimental input data, the simulation runs smoothly for 1370th data but suddenly it produces simulation results as NaN.

I would appreciate if you could help me what the source of problem is. :)

Best Regards,
Reza Safi

Solar Energy Research Institute of Singapore (SERIS)
National University of Singapore
7 Engineering Drive 1, Blk E3A #06-01, Singapore 117574
www.seris.sg
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users


--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com