-
Notifications
You must be signed in to change notification settings - Fork 164
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
Avoid code duplication of functions g2, cond_dT and visc_dTp in Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new #3296
Avoid code duplication of functions g2, cond_dT and visc_dTp in Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new #3296
Conversation
Avoid code duplication of functions g2, cond_dT and visc_dTp by introduction of short-class functions in Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new
@MartinOtter I added you as reviewer since you added the IF97_new package by ba2f041. |
Shouldn't it be "final p=0, final phase=0" as well as "final checkLimits=false"? |
I only included this package into the MSL. The package was developed by LTX Simulation GmbH. Therefore, I suggest that @wischhusen should approve this change |
Makes sense to me. I did not find obstacles, because the calculation is now equivalent to the state we had after the first release of ReferenceMoistAir. |
@wischhusen Can you approve (or reject) the PR then since we require a second review. 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.
approved
Jippieh :-D |
Avoid code duplication of functions g2, cond_dT and visc_dTp by introduction of short-class functions in Modelica.Media.Air.ReferenceMoistAir.Utilities.IF97_new.
I checked that all 7 example models of Modelica.Media.Examples.ReferenceAir still give identical results.
As reported by #3060 (comment).