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

TypeNameDefaultDescription
FluidHeatFlow.Media.Mediummedium (from TwoPort)FluidHeatFlow.Media.Medium()Medium in the component
SI.Massm (from TwoPort)Mass of medium
SI.TemperatureT0 (from TwoPort)Initial temperature of medium
BooleanT0fixed (from TwoPort)falseInitial temperature guess value or fixed
RealtapT (from TwoPort)1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDefaultDescription
FluidHeatFlow.Interfaces.FlowPort_aflowPort_a (from TwoPort)
FluidHeatFlow.Interfaces.FlowPort_bflowPort_b (from TwoPort)
Modelica.Blocks.Interfaces.RealOutputy

Components

TypeNameDefaultDescription
SI.Pressuredp (from TwoPort)Pressure drop a->b
SI.VolumeFlowRateV_flow (from TwoPort)Volume flow a->b
SI.HeatFlowRateQ_flow (from TwoPort)Heat exchange with ambient
SI.TemperatureT (from TwoPort)Outlet temperature of medium
SI.TemperatureT_a (from TwoPort)Temperature at flowPort_a
SI.TemperatureT_b (from TwoPort)Temperature at flowPort_b
SI.TemperatureDifferencedT (from TwoPort)Temperature increase of coolant in flow direction
SI.TemperatureT_q (from TwoPort)Temperature relevant for heat exchange with ambient