-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix illegal ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy #4429
Conversation
ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy used the partial medium Modelica.Media.Water.WaterIF97_fixedregion, which is not allowed by the MLS, so it is not valid Modelica code. This PR replaces the medium model with the non-partial package Modelica.Media.Water.StandardWater
After accepting it, this should be back-ported to maint/4.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know enough about Media
to tell if this still tests the intended thing.
I do agree that it was illegal before and is now legal.
@maltelenz if you can approve this, we can merge it in. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@casella seems content with me approving even after my statement that I don't know a lot about Media
, so approving.
@maltelenz the only knowledgeable people on Media that are available now are myself and @arunkumar-narasimhan. @rfranke resigned. @hubertus65 also is very competent, but he delegated to Arun because he doesn't have the time. So, I need someone else to rubber-stamp our PRs 😄 |
Backported to maintenance branch by #4437 |
ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy used the partial medium Modelica.Media.Water.WaterIF97_fixedregion, which is not allowed by the MLS, so it is not valid Modelica code.
This PR replaces the medium model with the non-partial package Modelica.Media.Water.StandardWater