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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | precision (from PartialRelativeIcon_withValueIndicator) | 0 | Number of decimals displayed |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialRelativeSensor) | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization | |||
| Boolean | showName (from PartialRelativeSensor) | true | = false to hide component name |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TRANSFORM.Fluid.Interfaces.FluidPort_Flow | port_a (from PartialRelativeSensor) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| TRANSFORM.Fluid.Interfaces.FluidPort_Flow | port_b (from PartialRelativeSensor) | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealOutput | p_rel | Relative pressure signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | var (from PartialRelativeIcon_withValueIndicator) | Variable to be converted | |
| Real | y (from PartialRelativeIcon_withValueIndicator) | iconUnit(var) | Icon display |