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

TypeNameDefaultDescription
Integerprecision (from PartialMultiSensor_1values)0Number of decimals displayed
BooleanrefPort_atrue=true for T_rel = port_a.T - port_b.T else T_rel = port_b.T - port_a.T
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.RealOutputT_relRelative temperature signal

Components

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