Package 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 Contents

NameDescription
AbsoluteSensorPartial model of absolute sensor
AmbientPartial model of ambient
FlowSensorPartial model of flow sensor
RelativeSensorPartial model of relative sensor
SimpleFrictionSimple friction model
SinglePortBottomPartial model of a single port at the bottom
SinglePortLeftPartial model of a single port at the left
TwoPortPartial model of two port

Partial Model 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

TypeNameDefaultDescription
VolumeFlowRateV_flowLaminar Laminar volume flow
PressuredpLaminar Laminar pressure drop
VolumeFlowRateV_flowNominal Nominal volume flow
PressuredpNominal Nominal pressure drop
RealfrictionLoss0Part of friction losses fed to medium

Partial Model 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

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium in the component
Massm Mass of medium
TemperatureT0 Initial temperature of medium
BooleanT0fixedfalseInitial temperature guess value or fixed
RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 

Partial Model 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

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium
TemperatureT0 Initial temperature of medium
BooleanT0fixedfalseInitial temperature guess value or fixed

Connectors

TypeNameDescription
FlowPort_aflowPort 

Partial Model 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) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium
final TemperatureT0293.15Initial temperature of medium
BooleanT0fixedfalseInitial temperature guess value or fixed

Connectors

TypeNameDescription
FlowPort_aflowPort 

Partial Model 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

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium
TemperatureT0 Initial temperature of medium
BooleanT0fixedfalseInitial temperature guess value or fixed

Connectors

TypeNameDescription
FlowPort_aflowPort 

Partial Model 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

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort 
output RealOutputy 

Partial Model 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

TypeNameDefaultDescription
MediummediumFluidHeatFlow.Media.Medium()Sensor's medium

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Partial Model 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) and Modelica.​Thermal.​FluidHeatFlow.​Interfaces.​Partials.​TwoPort (Partial model of two port).

Parameters

TypeNameDefaultDescription
MediummediumModelica.Thermal.FluidHeatFlow.Media.Medium()Medium in the component
final Massm0Mass of medium
final TemperatureT0293.15Initial temperature of medium
final BooleanT0fixedfalseInitial temperature guess value or fixed
final RealtapT1Defines temperature of heatPort between inlet and outlet temperature

Connectors

TypeNameDescription
FlowPort_aflowPort_a 
FlowPort_bflowPort_b 
output RealOutputy 

Generated 2018-12-12 12:14:33 EST by MapleSim.