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

Re: [TRNSYS-users] invalid floating point operation



Dear Marijke,

It is possible that there is a mismatch between the modes of the main TRNDll.dll and your component dll. TRNSYS is distributed with a TRNDll.dll in release mode, so you have to make sure that when you create your dll it is in release mode as well. It is also possible that there is a divide by zero in your component. This is an error that the compiler won't catch, since it may depend on the values that you are passing to the component. If none of these solutions work, please feel free to send me the source code of your component and I will be glad to take a look at it.
Best regards,

Diego

Marijke Steeman wrote:

Dear all,
I am trying to create a new Trnsys type. With Compac Visual Fortran I made an external dll that is been placed in the UserLib. This did not gave any problems. However, when I now try to use the new model in the Simulation Studio, Tnsys gives an error saying "Invalid Floating Point Operation". Can anyone explain me what this mean ? Is there an error in my created dll-file or in the Studio itself? Thank you in advance for helping me out !
Kind regards,
Marijke Steeman
PhD-student
Architecture and Urban Planning
Ghent University
+32(0)92643752

------------------------------------------------------------------------

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users


--

Diego A. Arias
TRNSYS Coordinator
Solar Energy Laboratory
University of Wisconsin - Madison
1500 Engineering Drive
Madison, WI 53706