[TRNSYS-users] Convergence errors with adaptive temperature limits

Tom B onherkenbaar at hotmail.nl
Sat May 4 04:38:48 PDT 2013




Dear all,
 
In short, I'm facing a problem in which I would like to use a formula for cooling which works perfectly for heating, but gives convergence errors when I apply it to my cooling temperature. It occurs when I'm using adaptive temperature limits in an energy calculation to find the efficiency of a certain shading device. I tried increasing the thermal capacitance to 5*1.2*1.007*roomvolume, the moisture capacitance to 7, I've used time steps varying from 5 minutes to 1 hour, but nothing works. Eventually this results in a fatal error, or if I increase the Limits drastically it only slows down my simulation enormously. I'm using Trnsys 17 by the way.
 
Problem descriptionI've used a 4199.1 kJ/h for both heating and cooling, so given a floor area of 19.44m2 that would be 60W/m2. I've included a file of a project where I isolated this adaptive temperature limit and heating/cooling schedule, so without any shading. One of them shows the situation when there are no convergence errors, but T_Cool_On remains zero degrees, and the other one where in my mind the formula is correct, but convergence errors occur. I think I found where the problem occurs, but I don't know what I'm doing wrong. I use a loop from type 56 to an equation, in which the acceptable indoor temperature depends on the outside temperature (people tollerate higher temperatures if it's warm outside as well), and is compared to the actual indoor temperature to see whether the cooling/heating should be on or off. This goes to another equation to incorporate the annual occupancy schedule for heating and cooling, which is then lead back to type 56. 
 Heating goes fine, cooling becomes a problem
Strangely enough, I use similar formulas for heating and cooling, and while heating does not give any problems, the cooling does. This is what I use:
 
T_Heat_On = Heating_need*Heating_schedule*(Target_temperature - 15) + 15 --> 'need' and 'schedule' give either a 0 or 1, and in this way the heating goes on either when the indoor temperature drops below the target temperature while the building is occupied, or when the temperature drops below 15 degrees at any time.
 
T_Cool_On = Cooling_need*Cooling_schedule*(Target_temperature - 30) + 30 --> I tried to do the same for cooling, so it would cool when it would become too hot, or when the temperature would rise above 30 degrees when the building is unoccupied. Strangely enough, this only works when I leave out the maximum of 30 degrees (so T_Cool_On = Cooling_need*Cooling_schedule*Target_temperature), but if I'm not mistaking, this means that at times when the building is not occupied or no cooling is needed, the T_Cool_On is equal to 0, meaning that the heating and cooling start to compete with each other because the cooling 'wants' a lower temperature than the heating. Could someone please tell me what might cause this convergence error, and possibly also how to solve this? Thank you very much in advance! Kind regards, Tom
 


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130504/3eb5facb/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Convergence error.txt
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130504/3eb5facb/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: T_Cool_equal_to_zero.txt
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130504/3eb5facb/attachment-0003.txt>


More information about the TRNSYS-users mailing list