[TRNSYS-users] floating point division by zero

thornton at tess-inc.com thornton at tess-inc.com
Fri Mar 3 09:23:18 PST 2023


On 2023-03-03 11:00, mohamed sarmouk via TRNSYS-users wrote:

> I keep on having this error "Floating point division by zero".
> I verified my type code and there is no division by zero, also i added
> an insignificant number to denominator to avoid division by zero.

If you want to track the source of the divide by zero, I would suggest 
that you use the compiler and put the project into debug mode and run 
it.  It'll flag the line that is causing the divide by zero.

Jeff

-- 
----
Jeff Thornton
President
Thermal Energy System Specialists (TESS)
3 N. Pinckney Street - Suite 202
Madison WI 53703
(608) 274-2577
www.tess-inc.com


More information about the TRNSYS-users mailing list