-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from MassimoCimmino/issue146_equivalentBoreholes
Issue146 equivalent boreholes
- Loading branch information
Showing
8 changed files
with
1,765 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.. examples: | ||
************************************************************** | ||
Compare the accuracy and speed of different g-function solvers | ||
************************************************************** | ||
|
||
This example compares the simulation times and the accuracy of different | ||
solvers for the evaluation of g-functions. | ||
|
||
The g-function of a field of 6 by4 boreholes is first calculated for a boundary | ||
condition of uniform borehole wall temperature along the boreholes, equal | ||
for all boreholes. Three different solvers are compared : 'detailed', | ||
'similarities' [1]_ and 'equivalent' [2]_. Their accuracy and calculation time | ||
are compared using the 'detailed' solver as a reference. This shows that the | ||
'similarities' solver can evaluate g-functions with high accuracy. | ||
|
||
The g-function of a field of 12 by 10 boreholes is then calculated for a boundary | ||
condition of uniform borehole wall temperature along the boreholes, equal | ||
for all boreholes. Two different solvers are compared : 'similarities' and | ||
'equivalent'. The accuracy and calculation time of the 'equivalent' is | ||
compared using the 'similarities' solver as a reference. This shows that | ||
the 'equivalent' solver evaluates g-functions at a very high calculation | ||
speed while maintaining reasonable accuracy. | ||
|
||
The script is located in: | ||
`pygfunction/examples/comparison_gfunction_solvers.py` | ||
|
||
.. literalinclude:: ../../../pygfunction/examples/comparison_gfunction_solvers.py | ||
:language: python | ||
:linenos: | ||
|
||
.. rubric:: References | ||
.. [1] Cimmino, M. (2018). Fast calculation of the | ||
g-functions of geothermal borehole fields using similarities in the | ||
evaluation of the finite line source solution. Journal of Building | ||
Performance Simulation, 11 (6), 655-668. | ||
.. [2] Prieto, C., & Cimmino, M. | ||
(2021). Thermal interactions in large irregular fields of geothermal | ||
boreholes: the method of equivalent borehole. Journal of Building | ||
Performance Simulation, 14 (4), 446-460. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.