[TRNSYS-users] invalid floating point operation

Marie-Hélène mariehtalbot at gmail.com
Thu Jan 25 08:37:55 PST 2018


Hi Sabrine,

I got this issue recently. This error was happening in a custom type that
someone gave me. This type was working well in TRNSYS 17, but I had this
error in TRNSYS 18.

First of all, I made sure I had no division by zero. So no input with a
zero value.

I was still getting the same error, but it was happening later in the
simulation.

Then, I used the debug mode with Microsoft Visual Studio and the Fortran
Compiler. I found out that a few value (x)  were getting bigger through the
simulation until exp(x) wasn't possible anymore (maximum value of the
computer was then outmatch).

I fixed those bugs and now it works fine.

Hope this can help somehow,

*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


2018-01-25 3:26 GMT-05:00 <trnsys-users at lists.onebuilding.org>:

> Dear TRNSYS users and developers,
>
>
>
> Does anyone have an idea how to deal with "invalid floating point
> operation"
>
> messages during simulation ?
>
>
>
> Thanks in advance,
>
>
>
>
>
> *Sabrine ZADI*
> Ingénieur Efficacité Energétique
> Service Engagement Energétique - Direction Ingénierie Conception
> *sabrine.zadi at engie.com <sabrine.zadi at engie.com>*
> T 02 40 41 33 28
>
> [image: Logo] <http://www.engie-axima.fr/>
>
> [image: Curseur]
>
> www.engie-axima.fr
>
>
>
>
> *15 rue Nina Simone - CS 39601 44096 NANTES Cedex 1 – France   **Pensez à
> l'environnement avant d'imprimer ce message.*
>
>
> [image: Curseur]    [image: Flux]
>
>
>
>
>
>
>
>
>
> ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180125/36829da2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 18826 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180125/36829da2/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3206 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180125/36829da2/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 13025 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180125/36829da2/attachment-0008.jpg>


More information about the TRNSYS-users mailing list