[TRNSYS-users] Solved issue with "MoistAirProperties"

LECONTE Antoine 219492 Antoine.LECONTE at cea.fr
Wed Oct 9 00:56:35 PDT 2019


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 at 01CF110C.81BE0EF0]

Antoine LECONTE
Research Engineer
National Institute of Solar Energy
CEA/LITEN - Department of Solar Energy
Building and Thermal Systems

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 at cea.fr<mailto:antoine.leconte at cea.fr>; www.ines-solaire.org<http://www.ines-solaire.org/>; liten.cea.fr

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191009/85df5f2c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10820 bytes
Desc: image001.png
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191009/85df5f2c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1321 bytes
Desc: image002.jpg
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20191009/85df5f2c/attachment-0001.jpg>


More information about the TRNSYS-users mailing list