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

division by zero error

1 Posts
2 Users
0 Reactions
987 Views
0
Topic starter

can anyone tell me why this error occurs only when i run the PVT wiiht both electrical and thermal simulation and as soon as i remove the electrical side..everything seems to be okay

This topic was modified 9 months ago by sw17032
1 Answer
0

@sw17032

I can tell you for sure that no one can diagnose the problem from a screenshot and that description alone. 

Floating point division by zero errors mean the source code of one of the Types in the project tried to divide by zero. Unfortunately the only way to figure out which line of source code in which Type caused the error, is by stepping through the project in debug mode until the offending line is encountered. This requires a Fortran compiler and development environment. Your TRNSYS distributor has these tools and can diagnose the problem if you send them a copy of your project, any weather, data, or other external files required to run your project, and a copy of your user18.id file. A list of TRNSYS distributors is available at https://sel.me.wisc.edu/trnsys/sales/distributors.html.  

If the floating point division by zero error occurs in a standard Type or in a Type in the TESS or Transsolar libraries, your TRNSYS distributor should be able to find the problem and issue an update that either fixes the problem or results in a "clean" error when the problem occurs. If the error occurs in a Type written by another party, they may only be able to conclude that the error is in that Type's code. 

Share: