modelFlowSensor
Partial model of flow sensor
Extends from Modelica.Icons.RoundSensor (Icon representing a round measurement device), FluidHeatFlow.BaseClasses.TwoPort (Partial model of two port).
Information
Partial model for a flow sensor (mass flow/heat flow).
Pressure, mass flow, temperature and enthalpy flow of medium are not affected, but mixing rule is applied.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| FluidHeatFlow.Media.Medium | medium (from TwoPort) | FluidHeatFlow.Media.Medium() | Medium in the component |
| SI.Mass | m (from TwoPort) | Mass of medium | |
| SI.Temperature | T0 (from TwoPort) | Initial temperature of medium | |
| Boolean | T0fixed (from TwoPort) | false | Initial temperature guess value or fixed |
| Real | tapT (from TwoPort) | 1 | Defines temperature of heatPort between inlet and outlet temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FluidHeatFlow.Interfaces.FlowPort_a | flowPort_a (from TwoPort) | ||
| FluidHeatFlow.Interfaces.FlowPort_b | flowPort_b (from TwoPort) | ||
| Modelica.Blocks.Interfaces.RealOutput | y |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp (from TwoPort) | Pressure drop a->b | |
| SI.VolumeFlowRate | V_flow (from TwoPort) | Volume flow a->b | |
| SI.HeatFlowRate | Q_flow (from TwoPort) | Heat exchange with ambient | |
| SI.Temperature | T (from TwoPort) | Outlet temperature of medium | |
| SI.Temperature | T_a (from TwoPort) | Temperature at flowPort_a | |
| SI.Temperature | T_b (from TwoPort) | Temperature at flowPort_b | |
| SI.TemperatureDifference | dT (from TwoPort) | Temperature increase of coolant in flow direction | |
| SI.Temperature | T_q (from TwoPort) | Temperature relevant for heat exchange with ambient |