<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Tushar,</p>
<p> 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:</p>
<p>NAN_CHECK 1</p>
<p>to your *.dck or else change the line "NAN_CHECK 0" to "NAN_CHECK
1"<br>
</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/06/2019 04:35, Tushar Sharma via
TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:000001d5948d$fa69e080$ef3da180$@hof-university.de">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Times;
panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Dear TRNSYS Users <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">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).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">A window pops up with a
message : <b>TRNEXE64 : Invalid floating point operation</b>
<o:p></o:p></span></p>
<p class="MsoNormal">Then another window pops up <o:p></o:p></p>
<p class="MsoNormal"><b><span lang="EN-GB">An unexpected error
was encountered. TRNSYS will abort</span></b><span
lang="EN-GB"> and then I’m back at TRNEdit. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Regards <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:12.0pt;text-autospace:none"><b><span
style="font-family:"Arial",sans-serif;mso-fareast-language:DE">Tushar
Sharma, M.Sc.<br>
</span></b><span
style="font-family:"Arial",sans-serif;mso-fareast-language:DE">Wissenschaftlicher
Mitarbeiter / Research Fellow<br>
Institut für Wasser- und Energiemanagement der Hochschule
Hof (iwe)<br>
Institute of Water- and Energy Management at Hof University<br>
Alfons-Goppel-Platz 1<br>
95028 Hof / Saale<br>
Germany <br>
Phone +49 9281 409-4592<br>
Fax +49 9281 409-55 4592<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:12.0pt;text-autospace:none"><u><span
style="font-family:"Arial",sans-serif;color:blue;mso-fareast-language:DE"
lang="EN-US"><a
href="mailto:tushar.sharma@hof-university.de"
moz-do-not-send="true"><span lang="DE">tushar.sharma@hof-university.de</span></a></span></u><span
style="font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
<a href="http://www.hof-university.de/"
moz-do-not-send="true"><span style="color:#0563C1">www.hof-university.de</span></a></span><span
style="font-family:"Times New
Roman",serif;color:#262B33;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#262B33;mso-fareast-language:DE"><img
style="width:1.8125in;height:.802in" id="Picture_x0020_1"
src="cid:part3.A45E4F9B.7E937EDF@tess-inc.com" alt="IWE
Logo DE Standard 4C PRINT" class="" width="174"
height="77" border="0"></span><span
style="color:#262B33;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><img
style="width:3.2187in;height:1.1041in" id="Grafik_x0020_1"
src="cid:part4.A83FEC6A.87316802@tess-inc.com"
alt="cid:image001.png@01D4DA91.0CC99E80" class=""
width="309" height="106" border="0"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#C2171C;mso-fareast-language:DE">***<b>25
Jahre Hochschule Hof + 10 Jahre BayIND</b>***<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:12.0pt;text-autospace:none"><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE"
lang="EN-US">Save paper. Please do not print this E-Mail.</span><span
style="font-size:8.0pt;font-family:"Times",serif;mso-fareast-language:DE"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
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
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>