modelElevationChange
Elevation pressure change (i.e., port_a.p - port_b.p = dp = dheight*d*g_n)
Extends from BaseClasses.PartialResistance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Visualization | |||
| Boolean | showName (from PartialResistance) | true | |
| Boolean | showDP (from PartialResistance) | true | |
| Integer | precision (from PartialResistance) | 3 | Number of decimals displayed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_a (from PartialResistanceInterface) | ||
| Interfaces.FluidPort_Flow | port_b (from PartialResistanceInterface) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialResistanceInterface) | ||
| SI.PressureDifference | dp (from PartialResistance) | ||
| SI.MassFlowRate | m_flow (from PartialResistance) | ||
| Real | dp_display (from PartialResistance) | iconUnit(dp) | Icon display |
| SI.Length | dheight | 0 | Height change (port_b - port_a) |
| SI.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| SI.Density | d | Medium.density(state) | Density |