modelGroundResponse

Ground response calculated by the TOUGH simulator

Information

This model calculates the ground temperature response to obtain the temperature at the borehole wall in a geothermal system where heat is being injected into or extracted from the ground.

The instance pyt finds the ground response with the TOUGH simulator through the Python interface Buildings.Utilities.IO.Python_3_12.Real_Real. See Buildings.Fluid.Geothermal.Borefields.TOUGH.UsersGuide for instructions.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeighthBorTotal height of the borehole
IntegernSegTotal number of segments
IntegernIntNumber of points in the ground to be investigated
IntegernTouSegTotal number of grids along the entire borehole in the TOUGH mesh
StringtouWorDirTOUGH working directory name
RealstartTimeSimulation start time
Sampling
Modelica.Units.SI.TimesamplePeriodSample period of component

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nSeg]QBor_flowHeat flow from boreholes (positive if heat from fluid into soil)
Modelica.Blocks.Interfaces.RealInput[nSeg]TBorWal_startInitial borehole outer wall temperature at the beginning of the simulation
Modelica.Blocks.Interfaces.RealInputTOutOutdoor air temperature
Modelica.Blocks.Interfaces.RealOutput[nSeg]TBorWalTemperature of current borehole wall temperature
Modelica.Blocks.Interfaces.RealOutput[nInt]pIntPressure of the interested points in the ground
Modelica.Blocks.Interfaces.RealOutput[nInt]xIntSaturation of the interested points in the ground
Modelica.Blocks.Interfaces.RealOutput[nInt]TIntTemperature at the interested points in the ground

Components

TypeNameDefaultDescription
Buildings.Fluid.Geothermal.Borefields.TOUGH.BaseClasses.Real_RealpytPython interface model to call TOUGH simulator
Modelica.Blocks.Routing.MultiplexmulMultiplex
Buildings.Utilities.Time.ModelTimeclockModel time
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[3]griNumTotal number of grids
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantborHeiTotal height of the borehole

Revisions

  • March 8, 2024, by Jianjun Hu:
    First implementation.