Package Modelica.​Thermal.​FluidHeatFlow.​Sensors
Ideal sensors to measure port properties

Information

This package contains sensors:

Some of the sensors do not need access to medium properties for measuring, but it is necessary to define the medium in the connector (check of connections). Thermodynamic equations are defined in partial models (package Interfaces.Partials). All sensors are considered massless, they do not change mass flow or enthalpy flow.

Extends from Modelica.​Icons.​SensorsPackage (Icon for packages containing sensors).

Package Contents

NameDescription
EnthalpyFlowSensorEnthalpy flow sensor
MassFlowSensorMass flow sensor
PressureSensorAbsolute pressure sensor
RelPressureSensorPressure difference sensor
RelTemperatureSensorTemperature difference sensor
TemperatureSensorAbsolute temperature sensor
VolumeFlowSensorVolume flow sensor

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​PressureSensor
Absolute pressure sensor

Information

The PressureSensor measures the absolute pressure.

Thermodynamic equations are defined by Partials.AbsoluteSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​AbsoluteSensor (Partial model of absolute sensor).

Parameters

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​TemperatureSensor
Absolute temperature sensor

Information

The TempreatureSensor measures the absolute temperature (Kelvin).

Thermodynamic equations are defined by Partials.AbsoluteSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​AbsoluteSensor (Partial model of absolute sensor).

Parameters

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​RelPressureSensor
Pressure difference sensor

Information

The RelPressureSensor measures the pressure drop between flowPort_a and flowPort_b.

Thermodynamic equations are defined by Partials.RelativeSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​RelativeSensor (Partial model of relative sensor).

Parameters

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​RelTemperatureSensor
Temperature difference sensor

Information

The RelTemperatureSensor measures the temperature difference between flowPort_a and flowPort_b.

Thermodynamic equations are defined by Partials.RelativeSensor.

Note: Connected flowPorts have the same temperature (mixing temperature)! Since mixing my occur, the outlet temperature of a component may be different from the connector's temperature. Outlet temperature is defined by variable T of the corresponding component.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​RelativeSensor (Partial model of relative sensor).

Parameters

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​MassFlowSensor
Mass flow sensor

Information

The MassFlowSensor measures the mass flow rate.

Thermodynamic equations are defined by Partials.FlowSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​FlowSensor (Partial model of flow sensor).

Parameters

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium in the component
final Massm0Mass of medium
final TemperatureT0293.15Initial temperature of medium
final BooleanT0fixedfalseInitial temperature guess value or fixed
final RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​VolumeFlowSensor
Volume flow sensor

Information

The VolumeFlowSensor measures the volume flow rate.

Thermodynamic equations are defined by Partials.FlowSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​FlowSensor (Partial model of flow sensor).

Parameters

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium in the component
final Massm0Mass of medium
final TemperatureT0293.15Initial temperature of medium
final BooleanT0fixedfalseInitial temperature guess value or fixed
final RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Model Modelica.​Thermal.​FluidHeatFlow.​Sensors.​EnthalpyFlowSensor
Enthalpy flow sensor

Information

The EnthalpyFlowSensor measures the enthalpy flow rate.

Thermodynamic equations are defined by Partials.FlowSensor.

Extends from Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​FlowSensor (Partial model of flow sensor).

Parameters

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium in the component
final Massm0Mass of medium
final TemperatureT0293.15Initial temperature of medium
final BooleanT0fixedfalseInitial temperature guess value or fixed
final RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy