Modelica.Thermal.FluidHeatFlow.Interfaces.Partials

Partial models

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
SimpleFriction Simple friction model
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.TwoPort TwoPort Partial model of two port
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.Ambient Ambient Partial model of ambient
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.AbsoluteSensor AbsoluteSensor Partial model of absolute sensor
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.RelativeSensor RelativeSensor Partial model of relative sensor
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.FlowSensor FlowSensor Partial model of flow sensor

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SimpleFriction

Simple friction model

Information

Definition of relationship between pressure drop and volume flow rate:
-V_flowLaminar < VolumeFlow < +V_flowLaminar: laminar i.e., linear dependency of pressure drop on volume flow.
-V_flowLaminar > VolumeFlow or VolumeFlow < +V_flowLaminar: turbulent i.e., quadratic dependency of pressure drop on volume flow.
Linear and quadratic dependency are coupled smoothly at V_flowLaminar / dpLaminar.
Quadratic dependency is defined by nominal volume flow and pressure drop (V_flowNominal / dpNominal).
See also sketch at diagram layer.

Parameters

NameDescription
Simple Friction
V_flowLaminarLaminar volume flow [m3/s]
dpLaminarLaminar pressure drop [Pa]
V_flowNominalNominal volume flow [m3/s]
dpNominalNominal pressure drop [Pa]
frictionLossPart of friction losses fed to medium

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.TwoPort Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.TwoPort

Partial model of two port

Information

Partial model with two flowPorts.
Possible heat exchange with the ambient is defined by Q_flow; setting this = 0 means no energy exchange.
Setting parameter m (mass of medium within pipe) to zero leads to neglection of temperature transient cv*m*der(T).
Mixing rule is applied.
Parameter 0 < tapT < 1 defines temperature of heatPort between medium's inlet and outlet temperature.

Parameters

NameDescription
mediumMedium in the component
mMass of medium [kg]
T0Initial temperature of medium [K]
T0fixedInitial temperature guess value or fixed
tapTDefines temperature of heatPort between inlet and outlet temperature

Connectors

NameDescription
flowPort_a 
flowPort_b 

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.Ambient Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.Ambient

Partial model of ambient

Information

Partial model of (Infinite) ambient, defines pressure and temperature.

Parameters

NameDescription
mediumAmbient medium

Connectors

NameDescription
flowPort 

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.AbsoluteSensor Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.AbsoluteSensor

Partial model of absolute sensor

Information

Partial model for an absolute sensor (pressure/temperature).
Pressure, mass flow, temperature and enthalpy flow of medium are not affected.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Parameters

NameDescription
mediumSensor's medium

Connectors

NameDescription
flowPort 
y 

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.RelativeSensor Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.RelativeSensor

Partial model of relative sensor

Information

Partial model for a relative sensor (pressure drop/temperature difference).
Pressure, mass flow, temperature and enthalpy flow of medium are not affected.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Parameters

NameDescription
mediumSensor's medium

Connectors

NameDescription
flowPort_a 
flowPort_b 
y 

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.FlowSensor Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.FlowSensor

Partial model of flow sensor

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.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device), TwoPort (Partial model of two port).

Parameters

NameDescription
mediumMedium in the component
mMass of medium [kg]
T0Initial temperature of medium [K]
T0fixedInitial temperature guess value or fixed
tapTDefines temperature of heatPort between inlet and outlet temperature

Connectors

NameDescription
flowPort_a 
flowPort_b 
y 
Automatically generated Tue Apr 05 09:37:03 2016.