Skip to content

Commit 6863b64

Browse files
TODO re: parameterizing/documenting default 5% indirect cost factor
1 parent 23800d0 commit 6863b64

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/geophires_x/Economics.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ def __init__(self, model: Model):
648648
ToolTipText="Injection Well Drilling and Completion Capital Cost"
649649
)
650650

651+
# TODO parameterize/document default 5% indirect cost factor that is applied when neither of the well
652+
# drilling/completion capital cost adjustment factors are provided
651653
injection_well_cost_adjustment_factor_name = "Injection Well Drilling and Completion Capital Cost Adjustment Factor"
652654
self.production_well_cost_adjustment_factor = self.ParameterDict[self.production_well_cost_adjustment_factor.Name] = floatParameter(
653655
"Well Drilling and Completion Capital Cost Adjustment Factor",
@@ -2294,7 +2296,7 @@ def Calculate(self, model: Model) -> None:
22942296
else:
22952297
self.cost_lateral_section.value = 0.0
22962298
# cost of the well field
2297-
# 1.05 for 5% indirect costs
2299+
# 1.05 for 5% indirect costs - see TODO re:parameterizing at src/geophires_x/Economics.py:652
22982300
self.Cwell.value = 1.05 * ((self.cost_one_production_well.value * model.wellbores.nprod.value) +
22992301
(self.cost_one_injection_well.value * model.wellbores.ninj.value) +
23002302
self.cost_lateral_section.value)

tests/test_geophires_x.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,8 @@ def c_well(r, prod: bool = False, inj: bool = False):
620620
c = r.result['CAPITAL COSTS (M$)'][f'Drilling and completion costs per {well_type}well']['value']
621621

622622
if not prod and not inj:
623-
# indirect cost is not applied to prod/inj-specific per-well cost
623+
# indirect cost is not applied to prod/inj-specific per-well cost;
624+
# see TODO re:parameterizing at src/geophires_x/Economics.py:652
624625
default_indirect_cost_factor = 1.05
625626
c = c / default_indirect_cost_factor
626627

0 commit comments

Comments
 (0)