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.
Dear all,
I am working on a heating system for a building that consists of an air-source heat pump (type 954a), PV arrays, an inverter (type 48b), and a battery (47b). The issue I am facing is that, to prevent the software from displaying an "invalid floating point operation" error, I have to multiply the total energy input of the heat pump by -1 before connecting it to the inverter. I suspect this is causing the battery to not discharge at all—it only charges but does not discharge.
I believe this issue arises because the input energy to the heat pump is negative and is not being considered by the battery, though I am not entirely sure. I would greatly appreciate any insights or suggestions on how to resolve this problem.
Kind regards,
The heat pump model computes the required power consumption. That value would have to be given to Type48 using whatever sign convention Type48 expects as a load. If it's sign convention is that a load is a negative number then you are correct to multiply the heat pump's power requirement by -1 before passing the value to Type48. I am concerned about the invalid floating point error; that is usually a sign that there is a problem in the code that we need to address at least to generate a more sensible error. Can you please send the *.tpf that you are working with to techsupport@tess-inc.com. Please include any files needed in order to run the simulation (weather, heat pump data files, etc.) as well as the *.lst and *.log files that are generated when you run the project.
thank you in advance,
David
@davidbradley
Dear David
Thank you very much for your response. I have sent you the complete information. If you need any other files, please email me at Alirezakooshesh1993@gmail.com. I appreciate your cooperation in advance.
Kind regards
Alireza