modelRectangularBorefield

Example model of a rectangular borefield

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

Information

This example model illustrates how to configure the layout of the boreholes for a rectangular borefield. The configuration is

cooBor = {{dBorHol*mod((i-1),nXBorHol), dBorHol*floor((i-1)/nXBorHol)} for i in 1:nBorHol}

where dBorHol is the distance between the boreholes, nXBorHol is the number of boreholes in the x-direction, and nBorHol is the total number of boreholes.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimetLoaAgg300Time resolution of load aggregation
Modelica.Units.SI.TemperatureTGro283.15Ground temperature
Modelica.Units.SI.Velocityv_nominal1Nominal velocity
Modelica.Units.SI.MassFlowRatem_flow_nominalnBorHol*v_nominal*rTub^2*3.14*1000Nominal mass flow rate
Modelica.Units.SI.PressuredpBorFie_nominal(hBor + (xBorFie + yBorFie)/2)*2Pressure losses for the entire borefield
Modelica.Units.SI.PressuredpHex_nominal10000Pressure drop heat exchanger
Modelica.Units.SI.Pressuredp_nominaldpBorFie_nominal + dpHex_nominalTotal pressure drop
Modelica.Units.SI.HeighthBor100Total height of the borehole
Modelica.Units.SI.RadiusrTub0.02Outer radius of the tubes
Modelica.Units.SI.LengthxBorFie10Borefield length
Modelica.Units.SI.LengthyBorFie30Borefield width
Modelica.Units.SI.LengthdBorHol5Distance between two boreholes
IntegernXBorHolinteger((xBorFie + dBorHol)/dBorHol)Number of boreholes in x-direction
IntegernYBorHolinteger((yBorFie + dBorHol)/dBorHol)Number of boreholes in y-direction
IntegernBorHolnXBorHol*nYBorHolNumber of boreholes
Buildings.Fluid.Geothermal.Borefields.Data.Filling.BentonitefilDat
Buildings.Fluid.Geothermal.Borefields.Data.Soil.SandStonesoiDatSoil data
Buildings.Fluid.Geothermal.Borefields.Data.Configuration.TemplateconDatBorefield configuration
Buildings.Fluid.Geothermal.Borefields.Data.Borefield.TemplateborFieDatBorefield parameters

Components

TypeNameDefaultDescription
Buildings.Fluid.Geothermal.Borefields.OneUTubeborFieGeothermal borefield
Buildings.Fluid.Sources.Boundary_pTbouPressure boundary condition
Buildings.Fluid.Movers.FlowControlled_m_flowpum
Buildings.Fluid.HeatExchangers.Heater_TheaHeater
Modelica.Blocks.Sources.ConstantTSouTemperature of water that goes into the borefield

Contents

NameDescription
MediumMedium model

Revisions

  • April 9, 2024, by Hongxiang Fu:
    Specified nominalValuesDefineDefaultPressureCurve=true in the mover component to suppress a warning. This is for #3819.
  • September 10, 2018, by Michael Wetter:
    First implementation.