Open
Labels
enhancementNew feature or request
Description
Imported automatically from GitLab.
Original GitLab issue: https://gitlab.pam-retd.fr/thermosysproandco/ThermoSysPro/-/work_items/120
Original GitLab IID: 120
Original author: SIMONINI Giorgio (@giorgio.simonini) (GitHub: @Sonyoyo)
Original creation date: 2025-04-04T15:27:35.997Z
Original update date: 2025-05-26T13:27:46.748Z
Change Request
Description
In v4.Fluid href*Xh20 is subtracted from the enthalpy. This is done to have the same reference for the enthalpy of water, both in WaterSteam and in FlueGases (e.g. when sending some vapor from a WaterSteam.Tank to a FlueGases.Volume.
Proposed Solution
It should be possible to improve how we deal with this in a couple of ways:
- Moving the href correction directly into the property functions.
- Changing the ref in the call to used tables (used Media).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
modelibot commentedon Oct 12, 2026
Comment by HOCINE-RASTIC Sarah (@sarah.hocine-rastic) (GitHub: @hocine-rastic) on 2025-05-21T17:47:32.176Z:
That sounds the good solution : when the fluegase is water then it works. I think it's ok also when fluegases is not water. @Sonyoyo would it be a solution to the "when sending some vapor from a
WaterSteam.Tankto a `FlueGases.Volume" situation you were talking about ? Then we can close the issue and resolve it in the v5 "fluid" TSP with mediamodelibot commentedon Oct 12, 2026
Comment by SIMONINI Giorgio (@giorgio.simonini) (GitHub: @Sonyoyo) on 2025-05-21T19:00:45.082Z:
Well done, this is clearly the good solution for this issue.
A couple of remarks:
modelibot commentedon Oct 12, 2026
Comment by MAZURIE Baptiste (@mazurie.baptiste) (GitHub: @bmazurie) on 2025-05-22T09:10:13.715Z:
Modelica.Media.Examples), thus having validation cases could be too!