Package Modelica.Thermal.FluidHeatFlow.Sensors
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).
| Name | Description |
|---|---|
EnthalpyFlowSensor | Enthalpy flow sensor |
MassFlowSensor | Mass flow sensor |
PressureSensor | Absolute pressure sensor |
RelPressureSensor | Pressure difference sensor |
RelTemperatureSensor | Temperature difference sensor |
TemperatureSensor | Absolute temperature sensor |
VolumeFlowSensor | Volume flow sensor |
Model Modelica.Thermal.FluidHeatFlow.Sensors.PressureSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Sensor's medium |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.TemperatureSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Sensor's medium |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.RelPressureSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Sensor's medium |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.RelTemperatureSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Sensor's medium |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.MassFlowSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
final Mass | m | 0 | Mass of medium |
final Temperature | T0 | 293.15 | Initial temperature of medium |
final Boolean | T0fixed | false | Initial temperature guess value or fixed |
final Real | tapT | 1 | Defines temperature of heatPort between inlet and outlet temperature |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.VolumeFlowSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
final Mass | m | 0 | Mass of medium |
final Temperature | T0 | 293.15 | Initial temperature of medium |
final Boolean | T0fixed | false | Initial temperature guess value or fixed |
final Real | tapT | 1 | Defines temperature of heatPort between inlet and outlet temperature |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
output RealOutput | y |   |
Model Modelica.Thermal.FluidHeatFlow.Sensors.EnthalpyFlowSensor
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).
| Type | Name | Default | Description |
|---|---|---|---|
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
final Mass | m | 0 | Mass of medium |
final Temperature | T0 | 293.15 | Initial temperature of medium |
final Boolean | T0fixed | false | Initial temperature guess value or fixed |
final Real | tapT | 1 | Defines temperature of heatPort between inlet and outlet temperature |
| Type | Name | Description |
|---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
output RealOutput | y |   |