modelPlugFlowPipeEmbedded

Embedded pipe model using spatialDistribution for temperature delay

Extends from AixLib.Fluid.Interfaces.PartialTwoPortInterface.

Information

This model represents an extension of AixLib.Fluid.DistrictHeatingCooling.Pipes.PlugFlowPipe by modelling the thermal capacity of the surrounding soil. For the description of the cylindric heat transfer within the surrounding soil AixLib.Utilities.HeatTransfer.CylindricHeatTransfer is used. The considered layer thickness of the surrounding soil is set as a parameter and divided into three capacities. For the heat transfer calculation within the material/soil, the density, the specific heat capacity, the thickness of the considered soil layer and the thermal conductivity of the material are used.

The default values for the soil are for sandy soil with clay content and based on: "Simulationsmodell Erdwärmekollektor zur wärmetechnischen Beurteilung von Wärmequellen, Wärmesenken und Wärme-/Kältespeicher" by Berd Glück

References

Full details on the model implementation and experimental validation can be found in:

van der Heijde, B., Fuchs, M., Ribas Tugores, C., Schweiger, G., Sartor, K., Basciotti, D., Müller, D., Nytsch-Geusen, C., Wetter, M. and Helsen, L. (2017).
Dynamic equation-based thermo-hydraulic pipe model for district heating and cooling systems.
Energy Conversion and Management, vol. 151, p. 158-169. doi: 10.1016/j.enconman.2017.08.072.

  • November 21, 2019, by Nils Neuland:
    Model is now using PlugFlowPipe model from DistrictHeatingCooling
  • July, 2018 by Tobias Blacha:
    First implementation.

Parameters

TypeNameDefaultDescription
RealReC4000Reynolds number where transition to turbulent starts
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Additional pressurelosses
Booleanuse_zetafalse= true HydraulicResistance is implemented, zeta value has to be given next
Realfac1Factor to take into account flow resistance of bends etc., fac=dp_nominal/dpStraightPipe_nominal
Realsum_zetas0Sum of all zeta values. Takes into account additional pressure drops due to bends/valves/etc.
Advanced
Booleanfrom_dpfalse= true, use m_flow = f(dp) else dp = f(m_flow)
Modelica.Units.SI.MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow
BooleanhomotopyInitializationtrue= true, use homotopy method
Booleanlinearizedfalse= true, use linear relation between m_flow and dp for any flow rate
Material
Modelica.Units.SI.Lengthdhsqrt(4*m_flow_nominal/rho_default/v_nominal/Modelica.Constants.pi)Hydraulic diameter (assuming a round cross section area)
Modelica.Units.SI.Heightroughness2.5e-5Average height of surface asperities (default: smooth steel pipe)
Modelica.Units.SI.LengthlengthPipe length
Modelica.Units.SI.SpecificHeatCapacitycPip2300Specific heat of pipe wall material. 2300 for PE, 500 for steel
Modelica.Units.SI.DensityrhoPip930Density of pipe wall material. 930 for PE, 8000 for steel
Modelica.Units.SI.Lengththickness0.0035Pipe wall thickness
Nominal condition
Modelica.Units.SI.Velocityv_nominal1.5Velocity at m_flow_nominal (used to compute default value for hydraulic diameter dh)
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate
Thermal resistance
Modelica.Units.SI.LengthdInsThickness of pipe insulation, used to compute R
Modelica.Units.SI.ThermalConductivitykInsHeat conductivity of pipe insulation, used to compute R
RealR1/(kIns*2*Modelica.Constants.pi/Modelica.Math.log((dh/2 + dIns)/(dh/2)))Thermal resistance per unit length from fluid to boundary temperature
Initialization
Modelica.Units.SI.TemperatureT_start_inMedium.T_defaultInitialization temperature at pipe inlet
Modelica.Units.SI.TemperatureT_start_outT_start_inInitialization temperature at pipe outlet
BooleaninitDelayfalseInitialize delay for a constant mass flow rate if true, otherwise start from 0
Modelica.Units.SI.MassFlowRatem_flow_start0Initial value of mass flow rate through pipe
Soil
Modelica.Units.SI.Densityrho_soi1630Density of material/soil
Modelica.Units.SI.SpecificHeatCapacityc1046Specific heat capacity of material/soil
Modelica.Units.SI.Lengththickness_soi0.6thickness of soil layer for heat loss calulcation
Modelica.Units.SI.ThermalConductivitylambda1.5Heat conductivity of material/soil
Modelica.Units.SI.Lengthd_indh + 2*thicknessInner diameter of pipe
IntegernParallel1Number of identical parallel pipes
Modelica.Units.SI.TemperatureT0289.15Initial temperature

Components

TypeNameDefaultDescription
Modelica.Units.SI.Velocityv_medVelocity of the medium in the pipe
AixLib.Fluid.DistrictHeatingCooling.Pipes.PlugFlowPipeZetaplugFlowPipeZeta
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortHeat transfer to or from surroundings (heat loss from pipe results in a positive heat flow)
AixLib.Utilities.HeatTransfer.CylindricHeatTransfercylindricHeatTransfer_1
AixLib.Utilities.HeatTransfer.CylindricHeatTransfercylindricHeatTransfer_2
AixLib.Utilities.HeatTransfer.CylindricHeatTransfercylindricHeatTransfer_3