Skip to content

MoistAir entropy and isentropicExponent issue#172

Draft
RaphaelGebhart wants to merge 3 commits intoDLR-SR:mainfrom
RaphaelGebhart:FixMoistAir
Draft

MoistAir entropy and isentropicExponent issue#172
RaphaelGebhart wants to merge 3 commits intoDLR-SR:mainfrom
RaphaelGebhart:FixMoistAir

Conversation

@RaphaelGebhart
Copy link
Collaborator

Added assert(relativeHumidty<=1) to MoistAir.isentropicExponent and MoistAir.specificEntropy and added 3 Test Models for further discussion closes #169

…oistAir.specificEntropy and added 3 Test Models for further discussion
@RaphaelGebhart RaphaelGebhart requested a review from nieweber March 11, 2024 09:49
@RaphaelGebhart RaphaelGebhart marked this pull request as draft March 11, 2024 09:50
@RaphaelGebhart RaphaelGebhart self-assigned this Mar 11, 2024
@RaphaelGebhart RaphaelGebhart requested a review from dzimmer March 11, 2024 09:50
@dzimmer dzimmer marked this pull request as ready for review March 18, 2024 15:13
Copy link
Contributor

@dzimmer dzimmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me by reading through it. I have to test the code though yet. No complaints so far.

@tobolar tobolar changed the title MoistAir entropy and isentropcExponent issue MoistAir entropy and isentropicExponent issue Jul 3, 2024
@RaphaelGebhart RaphaelGebhart requested a review from tobolar July 3, 2024 13:21
@RaphaelGebhart RaphaelGebhart marked this pull request as draft July 4, 2024 08:33
@dzimmer
Copy link
Contributor

dzimmer commented Jul 23, 2024

What is the reason for this being a draft? I would otherwise go on with the regression test

@RaphaelGebhart
Copy link
Collaborator Author

I think jakub suggested the PR to be a draft, because i called the package "MoistAirDiscussion" and wrote "I assume" and "I suggest" in the docu, since im no expert in the media model but just noticed some issues at saturation where the media model retuns not reasonable results without warning the user, and maybe also since we said we might want to tell the MSL directly.

@tobolar tobolar removed their request for review October 21, 2024 10:01
@nieweber nieweber added priority::high Should be treated with high priority effort::low Low effort expected to solve issue. p::Media Concerns package Media labels Dec 11, 2025
@RaphaelGebhart
Copy link
Collaborator Author

I’ve transferred this issue to the Modelica Standard Library for discussion:
modelica/ModelicaStandardLibrary#4728

Let’s wait for their feedback and recommendations. This aligns well with our plans anyway, as we are intending to switch back to Modelica.Media (4.1.0).

@RaphaelGebhart RaphaelGebhart removed the request for review from nieweber February 2, 2026 08:42
@RaphaelGebhart
Copy link
Collaborator Author

In OpenModelica v1.26.1 the warning is ussed once. In Dymola 2024x Refresh 1 it is issued at every function call. @CorentinLepais can you check ThermofluidStream.Media.Tests.MoistAirEntropyAndIsentropicExponent in Dymola 2026x?

@CorentinLepais
Copy link
Contributor

In Dymola 2025x and Dymola 2026x the is issued 4 times in total.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort::low Low effort expected to solve issue. p::Media Concerns package Media priority::high Should be treated with high priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit ThermofluidStream.Media.myMedia.Air.MoistAir isentropic exponent kappa and entropy to relative humidity phi<1

4 participants