modelSingleUTubeBoundaryCondition

Prescribed temperature at the outer boundary of a single U tube borehole

Information

This model computes the temperature boundary condition at the outer boundary of the borehole. It takes as an input the heat flow rate at the center of the borehole. This heat flow rate is averaged over the sample period. At each sampling interval, typically every one week, a new temperature boundary conditions is computed using the analytical solution to a line source heat transfer problem.

Implementation

The computation of the temperature change of the boundary is computed using the function Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop.

Parameters

TypeNameDefaultDescription
Buildings.HeatTransfer.Data.Soil.GenericmatSoiThermal properties of the soil
Modelica.Units.SI.RadiusrExt3Distance from the brine where the calculation is performed
Modelica.Units.SI.HeighthSeg10Height of the segment
Modelica.Units.SI.TemperatureTExt_start283.15Initial external temperature
Modelica.Units.SI.TimesamplePeriod604800Period between two samples

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputQ_flowHeat flow rate at the center of the borehole, positive if heat is added to soil
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bportHeat port

Components

TypeNameDefaultDescription
ExtendableArraytableExtendableArray()Extentable array, used to store history of rate of heat flows
Modelica.Units.SI.HeatFlowRateQAve_flowAverage heat flux over a time period

Revisions

  • June 26, 2018, by Michael Wetter:
    Replaced algorithm with equation.
  • June 9, 2015 by Michael Wetter:
    Revised model to provide start values and avoid a warning if Buildings.Fluid.Geothermal.Boreholes.Examples.UTube is translated using pedantic mode in Dymola 2016. This is for #426.
  • September 27, 2013, by Michael Wetter:
    Moved assignment of startTime to initial algorithm section to avoid an error in OpenModelica.
  • November 3 2011, by Michael Wetter:
    Moved der(U) := Q_flow; from the algorithm section to the equation section as this assignment does not conform to the Modelica specification.
  • September 9 2011, by Michael Wetter:
    Moved equation section into algorithm section to make sure that the equations in the when block are ordered correctly.
  • July 28 2011, by Pierre Vigouroux:
    First implementation.