Loading src/pythermogis/workflow/utc/doublet.py +10 −9 Original line number Diff line number Diff line from dataclasses import dataclass import timeit from dataclasses import dataclass import numpy as np from utils.timer import print_time from pythermogis.workflow.utc.utc_properties import UTCConfiguration from pythermogis.workflow.utc.doublet_utils import calculate_injection_temp_with_heat_pump, \ calc_lifetime from pythermogis.workflow.utc.pressure import calculate_max_pressure, optimize_pressure from pythermogis.workflow.utc.cooling_temp import calculate_cooling_temperature from pythermogis.workflow.utc.well_distance import optimize_well_distance, \ optimize_well_distance_original from utils.timer import print_time from pythermogis.workflow.utc.doublet_utils import ( calc_lifetime, calculate_injection_temp_with_heat_pump, ) from pythermogis.workflow.utc.pressure import calculate_max_pressure, optimize_pressure from pythermogis.workflow.utc.utc_properties import UTCConfiguration from pythermogis.workflow.utc.well_distance import optimize_well_distance EUR_PER_CT_PER_KWH = 0.36 NPV_SCALE = 1e-6 Loading Loading @@ -105,7 +106,7 @@ def calculate_doublet_performance(props: UTCConfiguration, input: DoubletInput, timer = print_time(timer, "cooling temperature: ", verbose=verbose) if props.optim_well_dist: well_distance = optimize_well_distance_original( well_distance = optimize_well_distance( props, input, drawdown_pressure, Loading tests/utc/test_doublet.py +0 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ def test_calculate_doublet_performance_precise(): props = UTCConfiguration( viscosity_mode="kestin", dh_return_temp=40, segment_length=1.0, ) # Create a minimal valid DoubletInput Loading Loading
src/pythermogis/workflow/utc/doublet.py +10 −9 Original line number Diff line number Diff line from dataclasses import dataclass import timeit from dataclasses import dataclass import numpy as np from utils.timer import print_time from pythermogis.workflow.utc.utc_properties import UTCConfiguration from pythermogis.workflow.utc.doublet_utils import calculate_injection_temp_with_heat_pump, \ calc_lifetime from pythermogis.workflow.utc.pressure import calculate_max_pressure, optimize_pressure from pythermogis.workflow.utc.cooling_temp import calculate_cooling_temperature from pythermogis.workflow.utc.well_distance import optimize_well_distance, \ optimize_well_distance_original from utils.timer import print_time from pythermogis.workflow.utc.doublet_utils import ( calc_lifetime, calculate_injection_temp_with_heat_pump, ) from pythermogis.workflow.utc.pressure import calculate_max_pressure, optimize_pressure from pythermogis.workflow.utc.utc_properties import UTCConfiguration from pythermogis.workflow.utc.well_distance import optimize_well_distance EUR_PER_CT_PER_KWH = 0.36 NPV_SCALE = 1e-6 Loading Loading @@ -105,7 +106,7 @@ def calculate_doublet_performance(props: UTCConfiguration, input: DoubletInput, timer = print_time(timer, "cooling temperature: ", verbose=verbose) if props.optim_well_dist: well_distance = optimize_well_distance_original( well_distance = optimize_well_distance( props, input, drawdown_pressure, Loading
tests/utc/test_doublet.py +0 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ def test_calculate_doublet_performance_precise(): props = UTCConfiguration( viscosity_mode="kestin", dh_return_temp=40, segment_length=1.0, ) # Create a minimal valid DoubletInput Loading