modelPipe

Discretized DynamicPipe with heat loss to ambient

Extends from Interfaces.PartialTwoPort.

Information

Overview

Dynamic Pipe with pipe wall and insulation wall which allows discretisation of pipe wall and pipe insulation. This model considers heat loss through radiation and convection if pipe is not embedded in wall. In case that the pipe is embedded in the wall, heat transfer between the pipe wall / insulation and the surrounding material is based on heat conduction.

Concept

Dynamic pipe model with heat losses for various applications. It is possible to choose whether the pipe is embedded in a wall or not. In addition, no insulation can be selected, if used for example for CCA ( concrete core activation).

The model already includes heat-transfer by convection and by radiation. Instead of modeling these phenomena outside the pipe, an ambient temperature can be prescribed at the heat-port and the star of the pipe, so the loss to ambient will be calculated within the pipe model.

For each discretisation of the pipe, there is a connector to the corresponding element of the discretized pipe wall. Each element of the discretised pipe wall is connected to a corresponding element of the discretized insulation wall. The heat-ports and stars of all nodes are then collected to form two single ports, which can be connected to an ambient temperature.

Example Results

AixLib.Fluid.FixedResistances.Examples.DPEAgg_ambientLoss

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.DiameterdiameterparameterPipe.d_iDiameter of circular pipe
Modelica.Units.SI.CoefficientOfHeatTransferhCon_i1000Heat tranfer coefficient from fluid to pipe wall
Geometry
IntegernParallel1Number of identical parallel pipes
Modelica.Units.SI.Lengthlength1Length
BooleanisCirculartrue=true if cross sectional area is circular
Modelica.Units.SI.AreacrossAreaModelica.Constants.pi*diameter*diameter/4Inner cross section area
Modelica.Units.SI.LengthperimeterModelica.Constants.pi*diameterInner perimeter
Modelica.Units.SI.Heightroughness2.5e-5Average height of surface asperities (default: smooth steel pipe)
Static head
Modelica.Units.SI.Lengthheight_ab0Height(port_b)-Height(port_a)
Assumptions › Dynamics
Modelica.Fluid.Types.DynamicsenergyDynamicssystem.energyDynamicsFormulation of energy balances
Modelica.Fluid.Types.DynamicsmassDynamicssystem.massDynamicsFormulation of mass balances
Modelica.Fluid.Types.DynamicsmomentumDynamicssystem.momentumDynamicsFormulation of momentum balances
Heat transfer
BooleanHeat_Loss_To_Ambientfalse= true to internally simulate heat loss to ambient by convection and radiation
BooleanisEmbeddedfalse= true if pipe is embedded in a solid material, for example walls
BooleanwithInsulationfalse= true to use a pipe with insulation
Booleanuse_HeatTransferConvectivetrue= true to use the convective HeatTransfer model
AixLib.DataBase.Pipes.PipeBaseDataDefinitionparameterPipeAixLib.DataBase.Pipes.Copper.Copper_6x1()Pipe type
AixLib.DataBase.Pipes.InsulationBaseDataDefinitionparameterIsoAixLib.DataBase.Pipes.Insulation.Iso50pc()Insulation Type
Modelica.Units.SI.CoefficientOfHeatTransferhCon8Heat transfer coefficient to ambient
Modelica.Units.SI.Emissivityeps0.8Emissivity
Initialization
Medium.AbsolutePressurep_a_startsystem.p_startStart value of pressure at port a
Medium.AbsolutePressurep_b_startp_a_startStart value of pressure at port b
Booleanuse_T_starttrueUse T_start if true, otherwise h_start
Medium.TemperatureT_startif use_T_start then system.T_start else Medium.temperature_phX((p_a_start + p_b_start)/2, h_start, X_start)Start value of temperature
Medium.SpecificEnthalpyh_startif use_T_start then Medium.specificEnthalpy_pTX((p_a_start + p_b_start)/2, T_start, X_start) else Medium.h_defaultStart value of specific enthalpy
Medium.MassFraction[Medium.nX]X_startMedium.X_defaultStart value of mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_startfill(0, Medium.nC)Start value of trace substances
Medium.MassFlowRatem_flow_startsystem.m_flow_startStart value for mass flow rate
Advanced
IntegernNodes2Number of discrete flow volumes
Modelica.Fluid.Types.ModelStructuremodelStructureModelica.Fluid.Types.ModelStructure.av_vbDetermines whether flow or volume models are present at the ports
BooleanuseLumpedPressurefalse=true to lump pressure states together
BooleanuseInnerPortPropertiesfalse=true to take port properties for flow models from internal control volumes

Components

TypeNameDefaultDescription
Modelica.Fluid.SystemsystemSystem wide properties
Utilities.HeatTransfer.CylindricHeatTransfer[nNodes]PipeWall
Utilities.HeatTransfer.CylindricHeatTransfer[nNodes]Insulation
Modelica.Fluid.Pipes.DynamicPipepipe
AixLib.Utilities.HeatTransfer.HeatConv[nNodes]heatConvConvection from pipe wall
AixLib.Utilities.HeatTransfer.HeatConv[nNodes]heatConv_withInsulationConvection from insulation
Utilities.HeatTransfer.HeatToRad[nNodes]twoStar_RadExRadiation
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort_outside
Modelica.Thermal.HeatTransfer.Components.ThermalCollectorthermalCollector
AixLib.Utilities.Interfaces.RadPortStar
Modelica.Thermal.HeatTransfer.Components.ThermalCollectorthermalCollector_Star

Contents

NameDescription
FlowModel
HeatTransferConvective

Revisions

  • February 03, 2020 by Alexander Kümpel:
    Multiplication with nParallel in heatConv
  • April 25, 2017 by Tobias Blacha:
    Parameter isEmbedded added and correction of connections for different applications
  • April 25, 2017 by Tobias Blacha:
    Moved into AixLib
  • March 18, 2015 by Roozbeh Sangi:
    Outputs for stored energy and temperature added
  • November 26, 2014  by Roozbeh Sangi:
    Updated connectors to EBC Library 2.2, Updated documentation, Added example
  • May 19, 2014  by Roozbeh Sangi:
    Added to the HVAC library
  • November 13, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • August 3, 2011 by Ana Constantin:
    Implemented