[TRNSYS-users] Run time error "Invalid float point operation"

David Bradley bradley at tess-inc.com
Sat Feb 9 04:05:28 PST 2008


Chun Kwon,
   An invalid float point error is a generic error generated by 
Fortran and can be caused by a lot of things (division by zero, log 
of a negative number). From outside the Fortran compiler, it is not 
really possible to tell what happened. If you are not using any 
user-written types, you can contact your distributor for assistance 
in finding out what went wrong. If you are using a user-written Type, 
you can get some idea if you turn on TRNSYS's "debugging" mode by 
changing the  value of field 9 in the Simulation Studio control cards 
(where you change the simulation start and stop times). This will 
tell you if TRNSYS found a component's output set to the "NaN" (not a 
number) condition, or if a component wrote to an output outside the 
range that it reserved for itself. If that doesn't show you anything, 
then I would suggest running your simulation from within the Compiler 
so that you can put in breakpoints and walk line by line through the 
code to find out where it is going wrong. There are some tips on how 
to do this in the 08-Programmer's Guide manual.
Cheers,
  David


At 20:17 2/8/2008, h8304506 at hkusua.hku.hk wrote:
>Dear Trnsys users.
>
>When I ran my simulation of a liquid desiccant dehumidifier, the
>captioned error occurred.  Does anyone know what is the likely cause
>of such error.  Thank you!
>
>Best Regards
>LEE, Chun Kwong
>PhD student
>Department of Mechanical Engineering
>University of Hong Kong
>
>
>
>
>_______________________________________________
>TRNSYS-users mailing list
>TRNSYS-users at 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 at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

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





More information about the TRNSYS-users mailing list