[TRNSYS-users] Unexpected error while running input file from TRNEdit

David BRADLEY d.bradley at tess-inc.com
Wed Nov 6 08:22:27 PST 2019


   an invalid floating point error is usually caused by a division by 
zero somewhere in the Fortran code. If you are using the Intel compiler 
then you can run your project from the compiler and step a line at a 
time until you find the line that is causing the problem. It is a bit 
more difficult to do if you wrote your Types using the TypeStudio but 
one thing you might try is to turn on the "debug mode" option that is in 
the project control cards. Since you are using TRNEdit, you would add 
the line:


to your *.dck or else change the line "NAN_CHECK 0" to "NAN_CHECK 1"

kind regards,


On 11/06/2019 04:35, Tushar Sharma via TRNSYS-users wrote:
> Dear TRNSYS Users
> I have a query regarding TRNedit. I am trying to read an input file 
> (dck) file using TRNEdit but I am getting the following errors while 
> hitting the Calculate button ( which simulates using TRNSYS engine).
> A window pops up with a message : *TRNEXE64 : Invalid floating point 
> operation*
> Then another window pops up
> *An unexpected error was encountered. TRNSYS will abort*and then I’m 
> back at TRNEdit.
> Even in the list file which is supposed to show the errors, I just get 
> notices, but no Fatal error which can actually show the reason. This 
> dck file uses a user defined Type which I compiled using my own 
> fortran codes using an external compiler. Please tell me where can be 
> the issue and how to resolve it.
> Regards
> *Tushar Sharma, M.Sc.
> *Wissenschaftlicher Mitarbeiter / Research Fellow
> Institut für Wasser- und Energiemanagement der Hochschule Hof (iwe)
> Institute of Water- and Energy Management at Hof University
> Alfons-Goppel-Platz 1
> 95028 Hof / Saale
> Germany
> Phone +49 9281 409-4592
> Fax      +49 9281 409-55 4592
> _tushar.sharma at hof-university.de <mailto:tushar.sharma at hof-university.de>_
> www.hof-university.de <http://www.hof-university.de/>
> IWE Logo DE Standard 4C PRINT
> cid:image001.png at 01D4DA91.0CC99E80
> ****25 Jahre Hochschule Hof + 10 Jahre BayIND****
> Save paper. Please do not print this E-Mail.
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

d.bradley at tess-inc.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191106/bd91cb0d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3443 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191106/bd91cb0d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 19330 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191106/bd91cb0d/attachment-0001.png>

More information about the TRNSYS-users mailing list