modelElevationChange

Elevation pressure change (i.e., port_a.p - port_b.p = dp = dheight*d*g_n)

Extends from BaseClasses.PartialResistance.

Parameters

TypeNameDefaultDescription
Visualization
BooleanshowName (from PartialResistance)true
BooleanshowDP (from PartialResistance)true
Integerprecision (from PartialResistance)3Number of decimals displayed

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Flowport_a (from PartialResistanceInterface)
Interfaces.FluidPort_Flowport_b (from PartialResistanceInterface)

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate (from PartialResistanceInterface)
SI.PressureDifferencedp (from PartialResistance)
SI.MassFlowRatem_flow (from PartialResistance)
Realdp_display (from PartialResistance)iconUnit(dp)Icon display
SI.Lengthdheight0Height change (port_b - port_a)
SI.Accelerationg_nModelica.Constants.g_nGravitational acceleration
SI.DensitydMedium.density(state)Density