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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length | totLen | 10000 | Total pipe length |
| Integer | nSeg | 2 | Number of pipe segments |
| Modelica.Units.SI.Length[nSeg] | segLen | fill(totLen/nSeg, nSeg) | Pipe segments length |
| Integer | nSegRev | 10 | Number of pipe segments |
| Modelica.Units.SI.Length[nSegRev] | segLenRev | fill(totLen/nSegRev, nSegRev) | Pipe segments length |
| Modelica.Units.SI.Length | dIns | 0.2 | Virtual insulation layer thickness |
| Buildings.BoundaryConditions.GroundTemperature.ClimaticConstants.Boston | cliCon | Surface temperature climatic conditions | |
| Buildings.HeatTransfer.Data.Soil.Generic | soiDat | Soil thermal properties |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| FixedResistances.PlugFlowPipeDiscretized | pip | Buried pipe | |
| Buildings.Fluid.FixedResistances.BuriedPipes.GroundCoupling | gro | Ground coupling | |
| Modelica.Blocks.Sources.Sine | Tin | Pipe inlet temperature signal | |
| Sources.MassFlowSource_T | sou | Flow source | |
| Sensors.TemperatureTwoPort | senTemInl | Pipe inlet temperature sensor | |
| Sources.Boundary_pT | sin | Boundary condition | |
| Sensors.TemperatureTwoPort | senTemOut | Pipe outlet temperature sensor | |
| FixedResistances.PlugFlowPipeDiscretized | pipRev | Buried pipe | |
| GroundCoupling | groRev | Ground coupling | |
| Sensors.TemperatureTwoPort | senTemOutRev | Pipe outlet temperature sensor | |
| Sensors.TemperatureTwoPort | senTemInlRev | Pipe outlet temperature sensor | |
| Sources.MassFlowSource_T | souRev | Flow source | |
| Sources.Boundary_pT | sinRev | Boundary condition |
Contents
| Name | Description |
|---|---|
| Medium in the pipe |
Revisions
-
December 7, 2023, by Ettore Zanetti:
MovedBuriedPipespackage
This is for issue 3431. -
May 17, 2021, by Baptiste Ravache:
First implementation.