Modelica.Thermal.FluidHeatFlow.Interfaces.Partials

Partial models

Information


This package contains partial models, defining in a very compact way the basic thermodynamic equations used by the different components.
Main Authors:

Anton Haumer
Technical Consulting & Electrical Engineering
A-3423 St.Andrae-Woerdern, Austria
email: a.haumer@haumer.at

Dr. Christian Kral
Austrian Institute of Technology, AIT
Giefinggasse 2
A-1210 Vienna, Austria

Copyright © 1998-2013, Modelica Association, Anton Haumer and Austrian Institute of Technology, AIT.

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2. For license conditions (including the disclaimer of warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit https://www.modelica.org/licenses/ModelicaLicense2.

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

Package Content

NameDescription
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 Mon Sep 23 17:21:09 2013.