Skip to content

Commit

Permalink
Possible to make changes in GHEtool and give to pygfunction for dynam…
Browse files Browse the repository at this point in the history
…ic short-term g-function calculation?
  • Loading branch information
LoneMeertens committed May 13, 2024
1 parent 97c09ea commit 75aa334
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions GHEtool/VariableClasses/Dyn_short_term_effects.py
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__

0 comments on commit 75aa334

Please sign in to comment.