modelGFunction_SmallScaleValidation

g-Function calculation for the small scale validation case

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

Information

This example checks the implementation of functions that evaluate the g-function of the borehole used in the small-scale experiment of Cimmino and Bernier (2015).

References

Cimmino, M. and Bernier, M. 2015. Experimental determination of the g-functions of a small-scale geothermal borehole. Geothermics 56: 60-71.

Parameters

TypeNameDefaultDescription
Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.BaseClasses.SmallScale_BorefieldborFieDatRecord of borehole configuration data
IntegernBorborFieDat.conDat.nBorNumber of boreholes
Modelica.Units.SI.Position[nBor,2]cooBorborFieDat.conDat.cooBorCoordinates of boreholes
Modelica.Units.SI.HeighthBorborFieDat.conDat.hBorBorehole length
Modelica.Units.SI.HeightdBorborFieDat.conDat.dBorBorehole buried depth
Modelica.Units.SI.RadiusrBorborFieDat.conDat.rBorBorehole radius
Modelica.Units.SI.ThermalDiffusivityaSoiborFieDat.soiDat.kSoi/(borFieDat.soiDat.dSoi*borFieDat.soiDat.cSoi)Ground thermal diffusivity used in g-function evaluation
IntegernSeg12Number of line source segments per borehole
IntegernTimSho26Number of time steps in short time region
IntegernTimLon50Number of time steps in long time region
RealttsMaxexp(5)Maximum non-dimensional time for g-function calculation
IntegernTimTotnTimSho + nTimLon
RealgFun
Reallntts
Modelica.Units.SI.TimetGFun
Realdspline
IntegernClu1Number of clusters to be generated
Integer[nBor]labelsCluster label associated with each data point
Integer[nClu]cluSizSize of the clusters
Modelica.Units.SI.TimetshBor^2/(9*aSoi)Bore field characteristic time

Components

TypeNameDefaultDescription
RealgFun_intInterpolated value of g-function
Reallntts_intNon-dimensional logarithmic time for interpolation
IntegerkCurrent interpolation interval
Modelica.Units.SI.Timet1Previous value of time for interpolation
Modelica.Units.SI.Timet2Next value of time for interpolation
RealgFun1Previous g-function value for interpolation
RealgFun2Next g-function value for interpolation

Revisions

  • June 9, 2022, by Massimo Cimmino:
    Added parameters to define the number of clusters for the method of Prieto and Cimmino (2021).
  • July 18, 2018, by Massimo Cimmino:
    First implementation.