<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Marie-Hélène,</p>
<p> I do not think that the name of the DLL is the problem. 64-bit
software (which Trnsys18 is and which Trnsys17 was not) is much
less tolerant of floating point errors (divisions by zero). I
suspect that there is a division by zero going on in your code
that is causing the invalid floating point error. The division by
zero was probably there before but the 32-bit version of the dll
was better able to recover from it than the 64-bit version of the
dll is.</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 10/19/2017 13:12, Marie-Hélène via
TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOaxjXz_pYiMVZFRmKj-+ZWAyatdwtxy6FO0j3sOXDmrwe27wA@mail.gmail.com">
<div dir="ltr">
<p class="MsoNormal"><span lang="EN-CA">Dear users,<span></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-CA">I have
trouble using a created type (named Type 203) in TRNSYS 18.
I had no problem
with the TRNSYS 17, but when I do the same ‘copy-paste’ to
insert this type in
TRNSYS 18, it doesn’t work. TRNSYS does not find it anymore.<span></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-CA">I tried to
compile it again with the new integrated compiler:
TypeStudio. When I do that,
my dll files (release and debug) get renamed Type203_x64.dll
instead of
Type203.dll. When I try to run it with TRNSYS 18, it seems
to be able to find
it, but it now gives me different error message: <span></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-CA"><img
src="cid:part1.FFA872AD.E7693CD5@tess-inc.com" alt="Images
intégrées 1" class="" height="172" width="284"><br>
</span></p>
<p class="MsoNormal" style="text-align:center"><br>
</p>
<p class="MsoNormal" style="text-align:center">I’m new to
FORTRAN and I don’t know what to do to adjust Type203 to make
it work in TRNSYS
18.</p>
<p class="MsoNormal" style="text-align:left">Any advice would
help tremendously!</p>
<p class="MsoNormal"><span lang="EN-CA">
<br>
Kind regards,<span></span></span></p>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div style="color:rgb(0,0,0);margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span
style="font-size:9pt;font-family:"Arial Unicode
MS",sans-serif">Marie-Hélène Talbot</span></b><span
style="font-size:8pt;font-family:"Arial
Unicode MS",sans-serif"> </span><span
style="font-size:8pt">| </span><span
style="font-family:"Arial Unicode
MS",sans-serif;font-size:11px">Étudiante
à la maîtrise</span></div>
<div style="color:rgb(0,0,0);margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-family:"Arial Unicode
MS",sans-serif;font-size:11px">Énergies
renouvelables et efficacité énergétique</span></div>
<div style="color:rgb(0,0,0);margin:0cm 0cm
0.0001pt;font-family:Calibri,sans-serif"><span
style="font-family:"Arial Unicode
MS",sans-serif"><span
style="font-size:8pt">Département de génie
de la construction</span></span></div>
<div style="color:rgb(0,0,0);margin:0cm 0cm
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:8pt;font-family:"Arial
Unicode MS",sans-serif">École de
technologie supérieure</span></div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
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>