[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TRNSYS-users] Solved issue with "MoistAirProperties"



Hello,

 

Here is my recent experience that I think can be useful for some of you.

 

Problem : When simulating the operation of an Air to Water Heat pump (Type 941 from TESS lib), the simulation starts normally and then freezes few hours later without letting any message (no warnings, nothing in the log or lst file). Whereas the HP operation conditions are quite usual and there is no sudden events at the problematic simulation time.

 

Reason : Actually, Type941 calls the TRNSYS “Moist Air properties” functions to have the states of air at different points of the HP. The air can be close to the saturation pressure. When close to those nonlinear conditions, the implemented solver in this function (secant method) can turn around the solution without reaching the required tolerance (being still very close). In this case, the calculations can’t go out of this iterative solver. The simulation is stuck.

 

Possible solution : I have modified the code of the “Moist Air properties” to gradually raise the tolerance when there is too much iteration in this kind of solver. So that a solution can be found at each time and avoiding such a problem. I can share my modified code if needed.

 

 

Best regards,

 

------------------------------------------------------------------------------------------

Description : cid:image001.png@01CF110C.81BE0EF0

Antoine LECONTE

Research Engineer

National Institute of Solar Energy 

CEA/LITEN - Department of Solar Energy

Building and Thermal Systems

Description : cid:image002.jpg@01CF110C.81BE0EF0

Commissariat à l’énergie atomique et aux énergies alternatives

Bât. HELIOS, 50 avenue du Lac Léman | F-73375 Le Bourget-du-Lac

T. +33 (0)4 79 79 21 38 | F. +33 (0) 4 79 62 13 74 |

antoine.leconte@cea.fr; www.ines-solaire.org; liten.cea.fr

------------------------------------------------------------------------------------------