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

Psychrometric properties component (Type 33)

4 Posts
2 Users
0 Reactions
41 Views
0
Topic starter

Dear TRNSYS Users,

I hope this email finds you well.

I am reaching out to inquire about the acceptable range for the dry-bulb temperature in the Psychrometric Properties component (Type 33c or Type 33d). My understanding is that there might be specific limitations for this input, but I could not find detailed information in the documentation.
To investigate, I created a very simple project in TRNSYS consisting only of Type 33c or 33d. When I input a dry-bulb temperature value exceeding 100°C, I received the following error message: "floating point division by zero"

I would greatly appreciate any guidance on the following:

  1. What is the acceptable range for the dry-bulb temperature input for these components?
  2. Is there any way to extend or adjust this range if needed?
  3. Suggestions for resolving the "floating point division by zero" error when using high temperature values.

Thank you in advance for your support. I look forward to your insights.

Best regards,

Ali

4 Answers
0

Ali, @alish usually if you add Type33 to your project directly and call it with conditions outside of its intended range, it will write a warning to the list file, which you can check at the end of the simulation. A division by zero is an unintended situation that should be corrected in the code. Can you reply with the exact values of the conditions you are sending to Type33 so we can see if the divide by zero can be caught and remedied or at least if a clean error can be generated?

kind regards,

 David

 

0
Topic starter

Dear David,

Thank you for your email and for the clarification regarding Type33 behavior.

I used the default values in Type33 (both Type33c and Type33d):

  • Patm = 1
  • Relative Humidity = 60%
  • Humidity Ratio = 0.006

The only change I made was to Input#1, the dry bulb temperature. I increased it from the default value of 22°C to a value higher than 100°C (in my case, 101°C). When I ran the simulation with this input, I received the "floating point division by zero" error that I mentioned in my previous email.

Please let me know if you need any additional information or clarification.

Kind regards,
Ali

0

Ali, I should have asked which Trnsys release you are using. If you aren't sure, you can check by opening the file .\TrnsysXX\trnsys.ini with a text editor. I just tried that combination with the latest release (18.06.0002) and did not get a floating point error with the combination that you provided. Maybe this is something that has already been fixed.

kind regards,

 David 

0
Topic starter

Dear David,

I apologize for the delay in responding. Thank you for your guidance. I checked my TRNSYS version, and it is 18.03.0002.

Please let me know if you need any further details.

Kind regards,
Ali

Share: