functionfiniteLineSource

Finite line source solution of Claesson and Javed

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function evaluates the finite line source solution. This solution gives the relation between the constant heat transfer rate (per unit length) injected by a line source of finite length H1 buried at a distance D1 from a constant temperature surface (T=0) and the average temperature raise over a line of finite length H2 buried at a distance D2 from the constant temperature surface. The finite line source solution is defined by:

image

where ΔT1-2(t,r,H1,D1,H2,D2) is the temperature raise after a time t of constant heat injection and at a distance r from the line heat source, Q' is the heat injection rate per unit length, ks is the soil thermal conductivity and hFLS is the finite line source solution.

The finite line source solution is given by:

image

where αs is the ground thermal diffusivity and erfint is the integral of the error function, defined in Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.finiteLineSource_erfint. The integral is solved numerically, with the integrand defined in Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.finiteLineSource_Integrand.

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.TimetTime
Modelica.Units.SI.ThermalDiffusivityaSoiGround thermal diffusivity
Modelica.Units.SI.DistancedisRadial distance between borehole axes
Modelica.Units.SI.Heightlen1Length of emitting borehole
Modelica.Units.SI.HeightburDep1Buried depth of emitting borehole
Modelica.Units.SI.Heightlen2Length of receiving borehole
Modelica.Units.SI.HeightburDep2Buried depth of receiving borehole
BooleanincludeRealSourcetrueTrue if contribution of real source is included
BooleanincludeMirrorSourcetrueTrue if contribution of mirror source is included

Outputs

TypeNameDefaultDescription
Realh_21Thermal response factor of borehole 1 on borehole 2

Revisions

  • March 17, 2019, by Massimo Cimmino:
    Modified the upper bound of integration to avoid underestimating the value of the integral. This is for IBPSA, issue 1107.
  • March 22, 2018 by Massimo Cimmino:
    First implementation.