modelPressureTemperature

Ideal pressure and temperature sensor

Extends from BaseClasses.PartialAbsoluteSensor (Partial component to model a sensor that measures a potential variable), BaseClasses.PartialMultiSensor_2values.

Information

This component monitors the absolute pressure at its fluid port. The sensor is ideal, i.e., it does not influence the fluid.

Parameters

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

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport (from PartialAbsoluteSensor)Fluid connector
Modelica.Blocks.Interfaces.RealOutputpPressure at port
Modelica.Blocks.Interfaces.RealOutputTTemperature in port medium

Components

TypeNameDefaultDescription
Realvar (from PartialMultiSensor_2values)Variable to be converted
Realy (from PartialMultiSensor_2values)iconUnit(var)Icon display
Realvar2 (from PartialMultiSensor_2values)Variable to be converted
Realy2 (from PartialMultiSensor_2values)iconUnit2(var2)Icon display