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.
Hi there
Could anyone point me to some literature to understand better what kind of systems can be simulated/do converge under what conditions when using successive substitution as the solver strategy. I tried to do some analytical convergence analysis myself for some very simple systems, like e.g. a constant power source connected to a storage via a heat exchanger. I found that to be quite challenging and don’t really know how and if my findings translate to larger systems.
The reason for going down this route for me was to find a suitable time step for simulating my system without getting convergence errors in a bit more principle way than just trial and error.
Thanks for your help,
Damian
Hello Damian,
Trial and error can be a valuable part of the TRNSYS learning experience! That said, there are a couple of guidelines you can use to find a suitable time step for your system.
- If you have any on/off controllers in your system (differential controller, thermostat, aquastat, humidistat, and so forth), make sure the time step of your simulation is less than or equal to the minimum run time of the equipment controlled. For example, if a pump must run for at least 5 minutes each time it switches on, or rest for at least 5 minutes each time it switches off, a time step of 5 minutes would be appropriate. We commonly use either a 5-minute or a 1-minute time step for this reason.
- If you have closed fluid loops in your system, make sure you have at least a time step’s worth of mass in each fluid loop. For example, in a closed fluid loop with two pipes and a storage tank, you would want the total volume x fluid density of pipe1, pipe2, and the tank, to be greater than the maximum flow rate in the loop x the time step. Every fluid loop should have at least one component that has mass or capacitance. You will likely have convergence problems if this condition is not satisfied.
You can also read David's post here about convergence problems and their most common causes and solutions.