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

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



Tushar,

  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:

NAN_CHECK 1

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

kind regards,

 David


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@hof-university.de
www.hof-university.de

IWE
              Logo DE Standard 4C PRINT

 

cid:image001.png@01D4DA91.0CC99E80

 

***25 Jahre Hochschule Hof + 10 Jahre BayIND***

Save paper. Please do not print this E-Mail.

 


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
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