From 9d3aacbe0e11f9ce79fc7f140b9928996e482132 Mon Sep 17 00:00:00 2001 From: JayHuLBL Date: Tue, 19 Nov 2024 13:06:19 -0800 Subject: [PATCH] corrected typo, added reference --- .../Borefields/TOUGHResponse/UsersGuide.mo | 34 +++++++++++++------ 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/Buildings/Fluid/Geothermal/Borefields/TOUGHResponse/UsersGuide.mo b/Buildings/Fluid/Geothermal/Borefields/TOUGHResponse/UsersGuide.mo index f6d8686f418..1e54de213d5 100644 --- a/Buildings/Fluid/Geothermal/Borefields/TOUGHResponse/UsersGuide.mo +++ b/Buildings/Fluid/Geothermal/Borefields/TOUGHResponse/UsersGuide.mo @@ -148,7 +148,7 @@ Then it invokes TOUGH simulator.
  • With the function readsave, it extracts the borehole wall temperature and the temperature of ground on the interested points, from TOUGH simulation result -file SAVE. +file SAVE.
  • Update the state to store the TOUGH simulation stop time, the heat flow @@ -159,9 +159,10 @@ new borehole wall temperatures at each section.

    The program GroundReponse should be updated if there is change in the TOUGH inputs files MESH and INFILE. The reason is that the Python -script hardcodes the position of the nodes in the MESH and INFILE. In particular -the assumption is that all the revelant nodes are at the top of MESH and -INFILE. The sub-functions that need to be updated are: +script hardcodes the position of the nodes in the MESH and INFILE. +In particular the assumption is that all the relevant nodes are at the top of +MESH and INFILE. The sub-functions that need to be updated +are:

    TOUGH setup

    -A mesh file for the simulation domain should be prepared for the TOUGH simulation -and the simulation domain should be initialized. It also requires the -INFILE to specificy the ground properties and to set the start and -end simulation time. Please see TOUGH manual of how to setup the inputs files. +A mesh file (MESH) for the simulation domain should be prepared for the +TOUGH simulation and the simulation domain should be initialized (INCON). +It also requires the INFILE to specificy the ground properties and to +set the start and end simulation time. Please see TOUGH manual of how to setup the +inputs files.

    Example

    @@ -226,9 +228,9 @@ The class Buildings.Fluid.Geothermal.Borefields.TOUGHResponse.Examples.Borefields shows the comparisons between the g-function based ground response model and the TOUGH ground response model. -In the case when the TOUGH simulator is not installed, the Python interface model includes -a dummy code to imitate the TOUGH response for updating the ground temperatures, -def tough_avatar(heatFlux, T_out). +In the case when the TOUGH simulator is not installed, for the demonstration purpose +the Python interface model includes a dummy code to imitate the TOUGH response for +updating the ground temperatures, def tough_avatar(heatFlux, T_out).

     def tough_avatar(heatFlux, T_out):
    @@ -244,6 +246,16 @@ def tough_avatar(heatFlux, T_out):
         os.remove('SAVE')
         os.rename('temp_SAVE', 'SAVE')
     
    + +

    References

    +

    +J. Hu, C. Doughty, P. Dobson, P. Nico, M. Wetter. +Coupling subsurface and above-surface models for design of borefields and +geothermal district heating and cooling systems. +Proceedings, 45th Workshop on Geothermal Reservior Engineering. + +https://pangea.stanford.edu/ERE/db/GeoConf/papers/SGW/2020/Hu.pdf. +

    ")); end UsersGuide;