[TRNSYS-users] TRNSYS 18 - Custom Type doesn't work anymore - TypeStudio

David BRADLEY d.bradley at tess-inc.com
Fri Oct 20 10:01:58 PDT 2017


Marie-Hélène,

   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.

kind regards,

  David



On 10/19/2017 13:12, Marie-Hélène via TRNSYS-users wrote:
>
> Dear users,
>
>
> 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.
>
>
> 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:
>
>
>
> Images intégrées 1
>
>
> I’m new to FORTRAN and I don’t know what to do to adjust Type203 to 
> make it work in TRNSYS 18.
>
> Any advice would help tremendously!
>
>
> Kind regards,
>
> *Marie-Hélène Talbot*| Étudiante à la maîtrise
> Énergies renouvelables et efficacité énergétique
> Département de génie de la construction
> École de technologie supérieure
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
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
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20171020/88ced5a8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4993 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20171020/88ced5a8/attachment-0001.png>


More information about the TRNSYS-users mailing list