Welcome to the TRNSYS Users Forum.

The forum is a place where people can interact and have discussions about different topics involving the use of the TRNSYS software package. Here you can post topics for discussion or questions on using TRNSYS and get advice from other users or TRNSYS experts. This forum is not intended for detailed technical support. Users should contact their distributor’s hotline for such assistance.

Some tips for success on using the forum:

  • Follow the Forum Rules posted in Forum Administration.
  • There are categories for different types of topics and questions. Post your topic or question into the proper category.
  • Before posting a topic or question search the existing topics  (and the TRNSYS Users listserv archive or Post archive) to see if a similar topic or question has already been answered.
  • Use a descriptive topic name. Don’t use attention getting subjects, they don’t get attention and only annoy people.
  • State the version of TRNSYS and which add-ons your are using.
  • Include enough specific details for your topic of question to be answered. Just posting “Why am I getting an error?” without describing the specific error and what you are trying to do when you get the error will not receive a response that fixes your issue.
  • Remember when people help you, they are doing you a favor. Be patient, help people out by posting good descriptions of what you need help with, and be polite even if a response does not solve your issue.
  • Moderators may edit your post for clarity or move your topic to a more appropriate category.

Notifications
Clear all

Issue with creating new component

2 Posts
2 Users
0 Reactions
530 Views
0
Topic starter

Hello Community,

I got an issue creating new component. This component is a drying room, i have a matrix (6,6) solved with Gauss seidel method in order to have the temperatures of each component of drying room + the moisture content of dried product. I wrote the Fortran code and I followed the steps mentionned in documentation until the dll file is generated, but when I run the simulation (Just for the component to see) it doesn't run and appears a message "Invalid floating point operation". and in the list file there is no error just notices. I don't know if the code is the issue or the way i added the code. If you have any advice in case you had same case, please don't ignore my request. Thank you very much.

Kind regards.

 

2 Answers
0

An invalid floating point operation means the code tried to complete an undefined mathematical operation, like taking the square root of a negative number or the natural log of zero. It's a Fortran error, not a TRNSYS error, so unfortunately you won't find any further information about it in the list file (but thank you for looking!). It sounds like you followed the steps to create a new Type .dll correctly, you just have a math error somewhere in your code.

See this post for more on debugging floating point errors in TRNSYS Types: https://trnsys.org/community/standard-forum/floating-point-error-in-trnsys/

 

0
Topic starter

Thank you very much Mr A_weiss for your reply.

Share: