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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Height | hBor | Total height of the borehole | |
| Integer | nSeg | Total number of segments | |
| Integer | nInt | Number of points in the ground to be investigated | |
| Integer | nTouSeg | Total number of grids along the entire borehole in the TOUGH mesh | |
| String | touWorDir | TOUGH working directory name | |
| Real | startTime | Simulation start time | |
| Sampling | |||
| Modelica.Units.SI.Time | samplePeriod | Sample period of component | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nSeg] | QBor_flow | Heat flow from boreholes (positive if heat from fluid into soil) | |
| Modelica.Blocks.Interfaces.RealInput[nSeg] | TBorWal_start | Initial borehole outer wall temperature at the beginning of the simulation | |
| Modelica.Blocks.Interfaces.RealInput | TOut | Outdoor air temperature | |
| Modelica.Blocks.Interfaces.RealOutput[nSeg] | TBorWal | Temperature of current borehole wall temperature | |
| Modelica.Blocks.Interfaces.RealOutput[nInt] | pInt | Pressure of the interested points in the ground | |
| Modelica.Blocks.Interfaces.RealOutput[nInt] | xInt | Saturation of the interested points in the ground | |
| Modelica.Blocks.Interfaces.RealOutput[nInt] | TInt | Temperature at the interested points in the ground |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Geothermal.Borefields.TOUGH.BaseClasses.Real_Real | pyt | Python interface model to call TOUGH simulator | |
| Modelica.Blocks.Routing.Multiplex | mul | Multiplex | |
| Buildings.Utilities.Time.ModelTime | clock | Model time | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[3] | griNum | Total number of grids | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | borHei | Total height of the borehole |
Revisions
-
March 8, 2024, by Jianjun Hu:
First implementation.