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

Re: [TRNSYS-users] invalid floating point



Michael,
  An "invalid floating point" is usually generated by either a division by 0 or by accessing an array out of bounds (for instance if you have an array with 100 spots and you try to reference spot 101). If you are able to debug your component while the simulation is running then you can put a breakpoint in your code and walk through one line at a time until you find the problem.
Cheers,
 David


At 09:33 3/30/2007, Hartl Michael wrote:
Hello TRNSYS-Users,
 
I have been creating a simple model of a radiative heater.
Unfortunatelly I get the error "invalid floating point" while running this modell. To solve the equation of the outlet temperature of the radiator I applied the Newton-method and I guess the iteration I wrote is incorrect.
 
I attached the source code for the case anybody would like to look through!
 
I appreciate every sugesstion to get this model work!!
 
Thanks in advance,
Michael
 
 

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************