Modelica.Thermal.FluidHeatFlow.BaseClasses

Base classes of FluidHeatFlow models

Information

This package contains partial models based on interface models and physical equations.

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

Package Content

Name Description
Modelica.Thermal.FluidHeatFlow.BaseClasses.SinglePortLeft SinglePortLeft Partial model of a single port at the left
Modelica.Thermal.FluidHeatFlow.BaseClasses.SinglePortBottom SinglePortBottom Partial model of a single port at the bottom
Modelica.Thermal.FluidHeatFlow.BaseClasses.TwoPort TwoPort Partial model of two port
Modelica.Thermal.FluidHeatFlow.BaseClasses.SimpleFriction SimpleFriction Simple friction model

Modelica.Thermal.FluidHeatFlow.BaseClasses.SinglePortLeft Modelica.Thermal.FluidHeatFlow.BaseClasses.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.BaseClasses.SinglePortBottom Modelica.Thermal.FluidHeatFlow.BaseClasses.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.BaseClasses.TwoPort Modelica.Thermal.FluidHeatFlow.BaseClasses.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.BaseClasses.SimpleFriction

Simple friction model

Information

Definition of relationship between pressure drop and volume flow rate:

SimpleFriction.png

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
Automatically generated Thu Oct 1 16:08:14 2020.