forked from wouterpeere/GHEtool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible to make changes in GHEtool and give to pygfunction for dynam…
…ic short-term g-function calculation?
- Loading branch information
1 parent
97c09ea
commit 75aa334
Showing
1 changed file
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
""" | ||
This document contains the code to add the dynamic short-term effects to the pygfunction package as they can be | ||
translated into short-term g-functions following the paper of (Meertens et al., 2023) | ||
References: | ||
----------- | ||
- | ||
""" | ||
|
||
import pygfunction as gt | ||
import numpy as np | ||
|
||
def radial_numerical_borehole(self,time, alpha): | ||
|
||
|
||
|
||
|
||
|
||
def update_pygfunction() -> None: | ||
""" | ||
This function updates pygfunction by adding the cylindrical correction methods to it. | ||
Returns | ||
------- | ||
None | ||
""" | ||
gt.heat_transfer.cylindrical_heat_source = cylindrical_heat_source | ||
gt.heat_transfer.infinite_line_source = infinite_line_source | ||
gt.gfunction._Equivalent.thermal_response_factors = thermal_response_factors | ||
gt.gfunction._BaseSolver.solve = solve | ||
gt.gfunction._BaseSolver.__init__ = __init__ |