modelRelativeTemperature
Ideal relative temperature sensor
Extends from BaseClasses.PartialRelativeSensor (Partial component to model a sensor that measures the difference between two potential variables), BaseClasses.PartialMultiSensor_1values.
Information
The relative temperature "T(port_a) - T(port_b)" 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 PartialMultiSensor_1values) | 0 | Number of decimals displayed |
| Boolean | refPort_a | true | =true for T_rel = port_a.T - port_b.T else T_rel = port_b.T - port_a.T |
| 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 | T_rel | Relative temperature signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | var (from PartialMultiSensor_1values) | Variable to be converted | |
| Real | y (from PartialMultiSensor_1values) | iconUnit(var) | Icon display |