Anton Haumer
Technical Consulting & Electrical Engineering
A-3423 St.Andrae-Woerdern, Austria
email: a.haumer@haumer.at
Dr. Christian Kral
Austrian Institute of Technology, AIT
Giefinggasse 2
A-1210 Vienna, Austria
Copyright © 1998-2010, Modelica Association, Anton Haumer and Austrian Institute of Technology, AIT.
This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2. For license conditions (including the disclaimer of warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit http://www.modelica.org/licenses/ModelicaLicense2.
Extends from Modelica.Icons.SensorsPackage (Icon for packages containing sensors).
Name | Description |
---|---|
PressureSensor | Absolute pressure sensor |
TemperatureSensor | Absolute temperature sensor |
RelPressureSensor | Pressure difference sensor |
RelTemperatureSensor | Temperature difference sensor |
MassFlowSensor | Mass flow sensor |
VolumeFlowSensor | Volume flow sensor |
EnthalpyFlowSensor | Enthapy flow sensor |
Extends from 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 PressureSensor "Absolute pressure sensor" extends Interfaces.Partials.AbsoluteSensor; equation y = flowPort.p;end PressureSensor;
Extends from 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 TemperatureSensor "Absolute temperature sensor" extends Interfaces.Partials.AbsoluteSensor; equation medium.cp*y = flowPort.h;end TemperatureSensor;
Extends from 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 RelPressureSensor "Pressure difference sensor" extends Interfaces.Partials.RelativeSensor; equation y = flowPort_a.p - flowPort_b.p;end RelPressureSensor;
Extends from 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 RelTemperatureSensor "Temperature difference sensor" extends Interfaces.Partials.RelativeSensor; equation medium.cp*y = flowPort_a.h - flowPort_b.h;end RelTemperatureSensor;
Extends from Interfaces.Partials.FlowSensor (Partial model of flow sensor).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Medium in the component |
Type | Name | Description |
---|---|---|
FlowPort_a | flowPort_a | |
FlowPort_b | flowPort_b | |
output RealOutput | y |
model MassFlowSensor "Mass flow sensor" extends Interfaces.Partials.FlowSensor; equation y = V_flow*medium.rho;end MassFlowSensor;
Extends from Interfaces.Partials.FlowSensor (Partial model of flow sensor).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Medium in the component |
Type | Name | Description |
---|---|---|
FlowPort_a | flowPort_a | |
FlowPort_b | flowPort_b | |
output RealOutput | y |
model VolumeFlowSensor "Volume flow sensor" extends Interfaces.Partials.FlowSensor; equation y = V_flow;end VolumeFlowSensor;
Extends from Interfaces.Partials.FlowSensor (Partial model of flow sensor).
Type | Name | Default | Description |
---|---|---|---|
Medium | medium | FluidHeatFlow.Media.Medium() | Medium in the component |
Type | Name | Description |
---|---|---|
FlowPort_a | flowPort_a | |
FlowPort_b | flowPort_b | |
output RealOutput | y |
model EnthalpyFlowSensor "Enthapy flow sensor" extends Interfaces.Partials.FlowSensor; equation y = flowPort_a.H_flow;end EnthalpyFlowSensor;