modelDiscretizedBuriedPipe

Example model of a buried pipe with multiple segments

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example showcases the ground thermal coupling for two uninsulated buried pipes - direct and reverse flow direction - operating around ambient temperature (20°C), and separated in 2 and 10 segments respectively.

This example illustrates the difference in boundary conditions that results from different segmentation of the pipes, since both pipes are representative of the same conditions (see Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe for validation that direct and reverse flow result in the same modeled operation).

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.LengthtotLen10000Total pipe length
IntegernSeg2Number of pipe segments
Modelica.Units.SI.Length[nSeg]segLenfill(totLen/nSeg, nSeg)Pipe segments length
IntegernSegRev10Number of pipe segments
Modelica.Units.SI.Length[nSegRev]segLenRevfill(totLen/nSegRev, nSegRev)Pipe segments length
Modelica.Units.SI.LengthdIns0.2Virtual insulation layer thickness
Buildings.BoundaryConditions.GroundTemperature.ClimaticConstants.BostoncliConSurface temperature climatic conditions
Buildings.HeatTransfer.Data.Soil.GenericsoiDatSoil thermal properties

Components

TypeNameDefaultDescription
FixedResistances.PlugFlowPipeDiscretizedpipBuried pipe
Buildings.Fluid.FixedResistances.BuriedPipes.GroundCouplinggroGround coupling
Modelica.Blocks.Sources.SineTinPipe inlet temperature signal
Sources.MassFlowSource_TsouFlow source
Sensors.TemperatureTwoPortsenTemInlPipe inlet temperature sensor
Sources.Boundary_pTsinBoundary condition
Sensors.TemperatureTwoPortsenTemOutPipe outlet temperature sensor
FixedResistances.PlugFlowPipeDiscretizedpipRevBuried pipe
GroundCouplinggroRevGround coupling
Sensors.TemperatureTwoPortsenTemOutRevPipe outlet temperature sensor
Sensors.TemperatureTwoPortsenTemInlRevPipe outlet temperature sensor
Sources.MassFlowSource_TsouRevFlow source
Sources.Boundary_pTsinRevBoundary condition

Contents

NameDescription
MediumMedium in the pipe

Revisions

  • December 7, 2023, by Ettore Zanetti:
    Moved BuriedPipes package
    This is for issue 3431.
  • May 17, 2021, by Baptiste Ravache:
    First implementation.