Skip to content
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

Utilize PressureSlope unit in Media consistently #4262

Merged
merged 2 commits into from Jan 16, 2024

Conversation

beutlich
Copy link
Member

This is a follow-up of the recently merged PRs #4115 (adding unit "Pa/s") and #4103 (introducing a new type PressureRate with unit "Pa/s").

@beutlich beutlich added the L: Media Issue addresses Modelica.Media label Jan 14, 2024
@beutlich beutlich added this to the MSL4.1.0 milestone Jan 14, 2024
@beutlich beutlich changed the title Utilize PressureRate unit in Media everywhere Utilize PressureRate unit in Media consistently Jan 14, 2024
@beutlich beutlich enabled auto-merge (squash) January 14, 2024 19:50
Copy link
Contributor

@maltelenz maltelenz 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 to me.

@HansOlsson
Copy link
Contributor

HansOlsson commented Jan 15, 2024

Based on #4236 shouldn't it be PressureSlope instead of PressureRate?

That would make Pressure and Temperature more consistent.
Based on #4236 FlowRate is for connector variables, whereas Slope is for derivatives, (and plain Rate is used for completely different things).

@beutlich
Copy link
Member Author

Based on #4236 shouldn't it be PressureSlope instead of PressureRate?

That would make Pressure and Temperature more consistent. Based on #4236 FlowRate is for connector variables, whereas Slope is for derivatives, (and plain Rate is used for completely different things).

Will do (in this PR).

@beutlich beutlich changed the title Utilize PressureRate unit in Media consistently Utilize PressureSlope unit in Media consistently Jan 15, 2024
Copy link
Contributor

@casella casella left a comment

Choose a reason for hiding this comment

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

LGTM

@casella casella merged commit fa90ce7 into modelica:master Jan 16, 2024
2 checks passed
@beutlich beutlich deleted the utilize-PressureRate-unit branch January 16, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: Media Issue addresses Modelica.Media
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants