Return to search results
Coupling Subsurface and Above-Surface Models for Optimizing the Design of Borefields and District Heating and Cooling Systems
Accurate dynamic energy simulation is important for the design and sizing of district heating and cooling systems with geothermal heat exchange for seasonal energy storage. Current modeling approaches in building and district energy simulation tools typically consider heat conduction through the ground between boreholes without flowing groundwater. While detailed simulation tools for subsurface heat and mass transfer exist, these fall short in simulating above-surface energy systems.
To support the design and operation of such systems, the study developed a coupled model including a software package for building and district energy simulation, and software for detailed heat and mass transfer in the subsurface. For the first, it uses the open-source Modelica Buildings Library, which includes dynamic simulation models for building and district energy and control systems. For the heat and mass transfer in the soil, it uses the TOUGH simulator. The TOUGH family of codes can model heat and multi-phase, multi-component mass transport for a variety of fluid systems, as well as chemical reactions, in fractured porous media.
The study validated the coupled modeling approach by comparing the simulation results with one from the g-function based ground response model. It then looked into effects when the water table and the regional groundwater flow are considered in the ground, from the perspective of heat exchange between borehole and ground, and the electrical consumption of the district heating and cooling systems.
To access the simulation models, please find the links in the submission:
-- For coupled approach validation: see model Buildings.Fluid.Geothermal.Borefields.Examples.BorefieldsWithTough and Buildings.Examples.DistrictReservoirNetworks.Examples.Reservoir3Variable_TOUGH from the "Modelica Building Library" resource, branch issue1495_tough_interface, commit a2667c0.
-- For the study of the effect of water table: see model Buildings.Examples.DistrictReservoirNetworks.Examples.Reservoir3Variable_TOUGH from he "Modelica Building Library" resource, branch issue1495_tough_interface_moreIO, commit 760de49.
The coupling interface script "GrounResponse.py" can be found from the above links in the folder Buildings/Resources/Python-Sources. Also, the needed files for TOUGH simulation are in the folder Buildings/Resources/Python-Sources/ToughFiles that can be accessed through the above links. A brief description of these files is given below; detailed specifications for the first three files may be found in the TOUGH3 Users Guide (Jung et al., 2018) https://tough.lbl.gov/documentation/tough-manuals/.
(1) INCON - initial conditions for each grid block
(2) INFILE - main input file with material properties and control parameters
(3) MESH - description of the computational grid
(4) readsave - Modelica/TOUGH interface program: read the final output of TOUGH simulation after TOUGH time step and prepare for transfer to Modelica for next Modelica time step
(5) readsave.inp - input parameters for program readsave
(6) writeincon - Modelica/TOUGH interface program: write the output of Modelica after Modelica time step and prepare for transfer to TOUGH as initial conditions for the next TOUGH step
(7) writeincon.inp - input parameters for program writeincon
Complete Metadata
| @type | dcat:Dataset |
|---|---|
| accessLevel | public |
| bureauCode |
[
"019:20"
]
|
| contactPoint |
{
"fn": "Peter Nico",
"@type": "vcard:Contact",
"hasEmail": "mailto:psnico@lbl.gov"
}
|
| dataQuality |
true
|
| description | Accurate dynamic energy simulation is important for the design and sizing of district heating and cooling systems with geothermal heat exchange for seasonal energy storage. Current modeling approaches in building and district energy simulation tools typically consider heat conduction through the ground between boreholes without flowing groundwater. While detailed simulation tools for subsurface heat and mass transfer exist, these fall short in simulating above-surface energy systems. To support the design and operation of such systems, the study developed a coupled model including a software package for building and district energy simulation, and software for detailed heat and mass transfer in the subsurface. For the first, it uses the open-source Modelica Buildings Library, which includes dynamic simulation models for building and district energy and control systems. For the heat and mass transfer in the soil, it uses the TOUGH simulator. The TOUGH family of codes can model heat and multi-phase, multi-component mass transport for a variety of fluid systems, as well as chemical reactions, in fractured porous media. The study validated the coupled modeling approach by comparing the simulation results with one from the g-function based ground response model. It then looked into effects when the water table and the regional groundwater flow are considered in the ground, from the perspective of heat exchange between borehole and ground, and the electrical consumption of the district heating and cooling systems. To access the simulation models, please find the links in the submission: -- For coupled approach validation: see model Buildings.Fluid.Geothermal.Borefields.Examples.BorefieldsWithTough and Buildings.Examples.DistrictReservoirNetworks.Examples.Reservoir3Variable_TOUGH from the "Modelica Building Library" resource, branch issue1495_tough_interface, commit a2667c0. -- For the study of the effect of water table: see model Buildings.Examples.DistrictReservoirNetworks.Examples.Reservoir3Variable_TOUGH from he "Modelica Building Library" resource, branch issue1495_tough_interface_moreIO, commit 760de49. The coupling interface script "GrounResponse.py" can be found from the above links in the folder Buildings/Resources/Python-Sources. Also, the needed files for TOUGH simulation are in the folder Buildings/Resources/Python-Sources/ToughFiles that can be accessed through the above links. A brief description of these files is given below; detailed specifications for the first three files may be found in the TOUGH3 Users Guide (Jung et al., 2018) https://tough.lbl.gov/documentation/tough-manuals/. (1) INCON - initial conditions for each grid block (2) INFILE - main input file with material properties and control parameters (3) MESH - description of the computational grid (4) readsave - Modelica/TOUGH interface program: read the final output of TOUGH simulation after TOUGH time step and prepare for transfer to Modelica for next Modelica time step (5) readsave.inp - input parameters for program readsave (6) writeincon - Modelica/TOUGH interface program: write the output of Modelica after Modelica time step and prepare for transfer to TOUGH as initial conditions for the next TOUGH step (7) writeincon.inp - input parameters for program writeincon |
| distribution |
[
{
"@type": "dcat:Distribution",
"title": "Simulation Validation.zip",
"format": "zip",
"accessURL": "https://gdr.openei.org/files/1365/01-Validation.zip",
"mediaType": "application/zip",
"description": "Coupled simulation results for validating the coupling approach. It compared the pure-conduction TOUGH simulation with the g-function-based approach."
},
{
"@type": "dcat:Distribution",
"title": "Water Table Effect Simulation.zip",
"format": "zip",
"accessURL": "https://gdr.openei.org/files/1365/02-Water-Table_effect.zip",
"mediaType": "application/zip",
"description": "The package includes the simulation results for investing the water table effects on the heat transfer between borehole and ground. It looked into the different permeabilities and the bottom pressure profiles."
},
{
"@type": "dcat:Distribution",
"title": "Ground Waterflow Simulation Results.zip",
"format": "zip",
"accessURL": "https://gdr.openei.org/files/1365/03-Ground-waterflow.zip",
"mediaType": "application/zip",
"description": "The package includes the simulation results for investing the regional groundwater flow's effect on the heat transfer between the ground and the borehole. It looked into the effect on electrical consumption and also looked into the long-term performance of the system."
},
{
"@type": "dcat:Distribution",
"title": "Doughty 2021 - Water Table Effect Report.pdf",
"format": "pdf",
"accessURL": "https://gdr.openei.org/files/1365/Doughty2021_waterTableEffect.pdf",
"mediaType": "application/pdf",
"description": "It's the paper presenting the effects of the water table on the heat exchange between the ground the borehole. However, it includes only purely TOUGH simulation results."
},
{
"@type": "dcat:Distribution",
"title": "Hu 2020 - Simulation Validation Report.pdf",
"format": "pdf",
"accessURL": "https://gdr.openei.org/files/1365/Hu2020_validation.pdf",
"mediaType": "application/pdf",
"description": "A paper that has a detailed introduction of how the Modelica and TOUGH are coupled. It also validated the coupling approach by comparing the simulation results with the g-function-based simulation results."
},
{
"@type": "dcat:Distribution",
"title": "Hu 2022 - Water Flow Effect Report.pdf",
"format": "pdf",
"accessURL": "https://gdr.openei.org/files/1365/Hu2022_waterFlowEffect.pdf",
"mediaType": "application/pdf",
"description": "It's the paper presenting the effects of the groundwater flow on the performance of the district energy system."
},
{
"@type": "dcat:Distribution",
"title": "Modelica Buildings Library",
"format": "HTML",
"accessURL": "https://github.com/lbl-srg/modelica-buildings",
"mediaType": "text/html",
"description": "The Modelica Buildings library is a free open-source library with dynamic simulation models for building energy and control systems."
},
{
"@type": "dcat:Distribution",
"title": "District Energy System Model for Validating Coupling Approach",
"format": "mo",
"accessURL": "https://github.com/lbl-srg/modelica-buildings/blob/issue1495_tough_interface/Buildings/Examples/DistrictReservoirNetworks/Examples/Reservoir3Variable_TOUGH.mo",
"mediaType": "application/octet-stream",
"description": "The model was created with the modules in the Modelica Buildings Library. When running the model, it will call the TOUGH simulation every 30 minutes. The coupling between Modelica and TOUGH is through the script "GroundResponse.py" in folder Buildings/Resources/Python-Sources. It will call the TOUGH simulator which is installed at /opt/esd-tough/tough3-serial/tough3-install/. The required files for TOUGH simulation are in folder Buildings/Resources/Python-Sources/ToughFiles ."
},
{
"@type": "dcat:Distribution",
"title": "District Energy System Model for Studying Water Table Effect",
"format": "mo",
"accessURL": "https://github.com/lbl-srg/modelica-buildings/blob/issue1495_tough_interface_moreIO/Buildings/Examples/DistrictReservoirNetworks/Examples/Reservoir3Variable_TOUGH.mo",
"mediaType": "application/octet-stream",
"description": "Different from the model used for validating the coupling approach, this model considered the water table in the ground. It was implemented by settings in the INFILE and the INCON for TOUGH simulation. Please see the attached paper "Doughty2021_waterTableEffect.pdf" and "Hu2022_waterFlowEffect.pdf"."
}
]
|
| DOI | 10.15121/1843793 |
| identifier | https://data.openei.org/submissions/8503 |
| issued | 2022-01-31T07:00:00Z |
| keyword |
[
"Coupling",
"District Energy System",
"Energy",
"Geothermal",
"Geothermal Bofield",
"Modelica",
"Modelica Buildings Library",
"TOUGH",
"borefield",
"code",
"district cooling",
"district heating",
"energy storage",
"geothermal heat exchange",
"ground source heat pump",
"gshp",
"model",
"modeling",
"optimization",
"python",
"seasonal energy storage",
"simulation"
]
|
| landingPage | https://gdr.openei.org/submissions/1365 |
| license | https://creativecommons.org/licenses/by/4.0/ |
| modified | 2025-02-17T18:16:22Z |
| programCode |
[
"019:006"
]
|
| projectLead | Arlene Anderson |
| projectNumber | FY21 AOP 2.7.1.4 |
| projectTitle | Community Resilience through Low-Temperature Geothermal Reservoir Thermal Energy Storage |
| publisher |
{
"name": "Lawrence Berkeley National Laboratory",
"@type": "org:Organization"
}
|
| spatial |
"{"type":"Polygon","coordinates":[[[-122.496049609375,37.64925467195342],[-121.83697109375,37.64925467195342],[-121.83697109375,38.1382338824006],[-122.496049609375,38.1382338824006],[-122.496049609375,37.64925467195342]]]}"
|
| title | Coupling Subsurface and Above-Surface Models for Optimizing the Design of Borefields and District Heating and Cooling Systems |