| Medium.ThermodynamicState | state_a (from PartialResistancenew) | | |
| Medium.ThermodynamicState | state_b (from PartialResistancenew) | | |
| Medium.ThermodynamicState | state (from PartialResistancenew) | | |
| SI.PressureDifference | dp (from PartialResistancenew) | | |
| SI.MassFlowRate | m_flow (from PartialResistancenew) | | |
| SI.Length[2] | dimensions_ab | {0.01, 0.02} | Characteristic dimension (e.g., hydraulic diameter) at {port_a,port_b} |
| SI.Area[2] | crossAreas_ab | 0.25*Modelica.Constants.pi*dimensions_ab.*dimensions_ab | Cross sectional area at {port_a,port_b} |
| SI.Length[2] | perimeters_ab | Modelica.Constants.pi*dimensions_ab | Wetted perimeter at {port_a,port_b} |
| Units.NonDim[4] | CFs | {1.0, 1.0, 1.0, 1.0} | Expansion correction factors: {Laminar expansion, Turbulent expansion, Laminar contraction, Turbulent contraction} |
| SI.ReynoldsNumber | Re | | Reynolds number |
| Units.NonDim | K_ab | | Minor loss coefficient if flow a->b |
| Units.NonDim | K_ba | | Minor loss coefficient if flow b->a |
| Units.NonDim | K | | Minor loss coefficient |
| SI.Velocity | v_a | | Velocity at port_a |
| SI.Velocity | v_b | | Velocity at port_a |
| SI.Length[2] | dimensions | if use_Dimension then dimensions_ab else 4*crossAreas_ab./perimeters_ab | Characteristic dimension (e.g., hydraulic diameter) |
| SI.Area[2] | crossAreas | if use_Dimension then 0.25*Modelica.Constants.pi*dimensions_ab.*dimensions_ab else crossAreas_ab | Cross-sectional area |
| SI.Length[2] | perimeters | if use_Dimension then Modelica.Constants.pi*dimensions_ab else perimeters_ab | Wetted perimeter |
| Real | crossAreaRatio | crossAreas[1]/crossAreas[2] | Ratio of crossArea_a/crossArea_b |