modelRelativePressure

Ideal relative pressure sensor

Extends from BaseClasses.PartialRelativeSensor (Partial component to model a sensor that measures the difference between two potential variables), BaseClasses.PartialRelativeIcon_withValueIndicator.

Information

The relative pressure "port_a.p - port_b.p" is determined between the two ports of this component and is provided as output signal. The sensor should be connected in parallel with other equipment, no flow through the sensor is allowed.

Parameters

TypeNameDefaultDescription
Integerprecision (from PartialRelativeIcon_withValueIndicator)0Number of decimals displayed
Assumptions
BooleanallowFlowReversal (from PartialRelativeSensor)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowName (from PartialRelativeSensor)true= false to hide component name

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_a (from PartialRelativeSensor)Fluid connector a (positive design flow direction is from port_a to port_b)
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_b (from PartialRelativeSensor)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.RealOutputp_relRelative pressure signal

Components

TypeNameDefaultDescription
Realvar (from PartialRelativeIcon_withValueIndicator)Variable to be converted
Realy (from PartialRelativeIcon_withValueIndicator)iconUnit(var)Icon display