modelPartialInternalHEX

Partial model to implement the internal heat exchanger of a borehole segment

Information

Partial model to implement models simulating the thermal and fluid behaviour of a borehole segment.

The thermodynamic properties of the fluid circulating in the borehole are calculated as protected parameters in this partial model: cp (cpMed), k (kMed) and μ (muMed). Additionally, the following parameters are already declared as protected parameters and thus do not need to be declared in models which extend this partial model:

  • Rgb_val (Thermal resistance between grout zone and borehole wall)
  • RCondGro_val (Thermal resistance between pipe wall and capacity in grout)
  • x (Grout capacity location)

Note that the model is same as Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.PartialInternalHEX, except that different borefield data record is used.

Parameters

TypeNameDefaultDescription
Buildings.Fluid.Geothermal.Borefields.TOUGH.Data.Borefield.TemplateborFieDatBorefield parameters
RealmSenFac1Factor for scaling the sensible thermal mass of the volume
Modelica.Units.SI.LengthhSegLength of the internal heat exchanger
Modelica.Units.SI.VolumeVTubSeghSeg*Modelica.Constants.pi*(borFieDat.conDat.rTub - borFieDat.conDat.eTub)^2Fluid volume in each tube
Initialization
Modelica.Units.SI.TemperatureTFlu_startStart value of fluid temperature
Modelica.Units.SI.TemperatureTGro_startStart value of grout temperature

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_wallThermal connection for borehole wall

Contents

NameDescription
MediumMedium

Revisions

  • June 22, 2026, by Jianjun Hu:
    First implementation.