Modelica.Thermal.FluidHeatFlow.Interfaces.Partials

Partial models

Information

Package containing partial models from which all components (except Sources.AbsolutePressure) extend instantiating the medium and containing the thermodynamic equation(s) with semiLinear.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SimpleFriction SimpleFriction Simple friction model
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.TwoPort TwoPort Partial model of two port
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortLeft SinglePortLeft Partial model of a single port at the left
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.Ambient Ambient Partial model of ambient
Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortBottom SinglePortBottom Partial model of a single port at the bottom
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:

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 neglect 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.SinglePortLeft Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortLeft

Partial model of a single port at the left

Information

Partial model of single port at the left, defining the medium and the temperature at the port.

Parameters

NameDescription
mediumMedium
T0Initial temperature of medium [K]
T0fixedInitial temperature guess value or fixed

Connectors

NameDescription
flowPort 

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

Partial model of ambient

Information

This model simply extends from the SinglePortLeft model, only adding an icon, and is kept for compatibility reasons. In the future, it will be removed.

Extends from Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortLeft (Partial model of a single port at the left), Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

NameDescription
mediumMedium
T0Initial temperature of medium [K]
T0fixedInitial temperature guess value or fixed

Connectors

NameDescription
flowPort 

Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortBottom Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.SinglePortBottom

Partial model of a single port at the bottom

Information

Partial model of single port at the bottom, defining the medium and the temperature at the port.

Parameters

NameDescription
mediumMedium
T0Initial temperature of medium [K]
T0fixedInitial temperature guess value or fixed

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), Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.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
Initialization
V_flowVolume flow a->b [m3/s]

Connectors

NameDescription
flowPort_a 
flowPort_b 
y 
Automatically generated Thu Dec 19 17:20:24 2019.