Skip to content

Commit

Permalink
still error since Rb not 0.13 when imposed
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneMeertens committed Dec 5, 2024
1 parent adf9e42 commit 10d7850
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 207 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ def run_sizing_case(borefield, load, ground_data, fluid_data, pipe_data, peak_du
print(f"\nRe-initializing borefield for {method} method.")
borefield = initialize_borefield(load, delta_t, ground_data, fluid_data, pipe_data)
borefield.set_options_gfunction_calculation(options)

# Perform sizing with short-term effects
depth = borefield.size(100, L3_sizing=(method == 'L3_ste'), L4_sizing=(method == 'L4_ste'))
else:
# Perform sizing for regular methods (L2, L3, L4)
borefield = initialize_borefield(load, delta_t, ground_data, fluid_data, pipe_data)
depth = borefield.size(100, L2_sizing=(method == 'L2'), L3_sizing=(method == 'L3'), L4_sizing=(method == 'L4'))

results[method] = {
Expand All @@ -100,7 +100,7 @@ def run_sizing_case(borefield, load, ground_data, fluid_data, pipe_data, peak_du
return results


def test_geothermal_borefield():
def test1a_ste():
"""
Test the L2, L3, L4, L3_ste, and L4_ste sizing methods of the GHEtool library on a synthetic balanced load profile.
"""
Expand Down Expand Up @@ -187,4 +187,4 @@ def test_geothermal_borefield():
"""

if __name__ == "__main__":
test_geothermal_borefield()
test1a_ste()
Loading

0 comments on commit 10d7850

Please sign in to comment.