Open
Conversation
Contributor
tobiasreischl
commented
Feb 18, 2026
> Changed from Medium.* to SI.* > keep SI.PressureDifference > SI.Pressure -> SI.AbsolutePressure only for p, not for r > Modelica.Units.SI. changed to SI. > IMPORTANT: Media not changed (for now)
|
|
||
| protected | ||
| SI.Pressure p_env "Environmental pressure"; | ||
| SI.AbsolutePressure p_env "Environmental pressure"; |
Collaborator
There was a problem hiding this comment.
Keep SI.AbsolutePressure. Do not change to Medium.AbsolutePressure.
| parameter Boolean pEnvFromInput = false "=true, if environmental pressure input connector is enabled" | ||
| annotation(Dialog(group="Environmental pressure"),Evaluate=true, HideResult=true, choices(checkBox=true)); | ||
| parameter SI.Pressure p_env_par=1e5 "Environmental pressure set value" | ||
| parameter SI.AbsolutePressure p_env_par=1e5 "Environmental pressure set value" |
Collaborator
There was a problem hiding this comment.
Do not change to Medium.AbsolutePressure.
|
|
||
| protected | ||
| SI.Pressure p_env "Environmental pressure"; | ||
| SI.AbsolutePressure p_env "Environmental pressure"; |
Collaborator
There was a problem hiding this comment.
Do not change to Medium.AbsolutePressure.
RaphaelGebhart
requested changes
Feb 24, 2026
Collaborator
|
The requested changes always refer to the last line of the preview.
|
| input SI.Density rho "Inlet density"; | ||
| input SI.DynamicViscosity mu "Dynamic viscosity"; | ||
| input Real Re1 "Lower boundary Re for laminar-turbulent transition regime"; | ||
| input Real Re2 "Upper boundary Re for laminar-turbulent transition regime"; |
Collaborator
There was a problem hiding this comment.
Suggested change
| input Real Re2 "Upper boundary Re for laminar-turbulent transition regime"; | |
| input SI.ReynoldsNumber Re2 "Upper boundary Re for laminar-turbulent transition regime"; |
| SI.AbsolutePressure p_branching "Total pressure branching inlet"; | ||
| SI.AbsolutePressure p[2] = {p_straight, p_branching} "Total pressure inlets [straight branching]"; | ||
|
|
||
| SI.Pressure dq_straight "Dynamic pressure difference straight inlet - outlet"; |
Collaborator
There was a problem hiding this comment.
Suggested change
| SI.Pressure dq_straight "Dynamic pressure difference straight inlet - outlet"; | |
| SI.PressureDifference dq_straight "Dynamic pressure difference straight inlet - outlet"; |
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…bulentPressureLossHaaland.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…bulentPressureLossHaaland.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…ssureLoss.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…lities/DarcyFriction.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…unctionY.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
…directed.mo Co-authored-by: RaphaelGebhart <159274394+RaphaelGebhart@users.noreply.github.com>
> Checked with "Check" button and works fine now
Contributor
Author
|
Done - final review (needed?) @RaphaelGebhart - or just merge |
Collaborator
|
Regression test passed (according to @tobiasreischl). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.