Skip to content

Commit 1e617b9

Browse files
Well Drilling and Completion Capital Cost more complete documentation in tooltip text
1 parent 7f025d3 commit 1e617b9

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

src/geophires_x/Economics.py

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -671,33 +671,36 @@ def __init__(self, model: Model):
671671
ToolTipText="Multiplier for built-in exploration capital cost correlation"
672672
)
673673

674-
self.per_injection_well_cost = self.ParameterDict[self.per_injection_well_cost.Name] = floatParameter(
675-
"Injection Well Drilling and Completion Capital Cost",
676-
DefaultValue=-1.0,
674+
per_injection_well_cost_name = 'Injection Well Drilling and Completion Capital Cost'
675+
self.per_production_well_cost = self.ParameterDict[self.per_production_well_cost.Name] = floatParameter(
676+
"Well Drilling and Completion Capital Cost",
677+
DefaultValue=-1,
677678
Min=0,
678679
Max=200,
679680
UnitType=Units.CURRENCY,
680681
PreferredUnits=CurrencyUnit.MDOLLARS,
681682
CurrentUnits=CurrencyUnit.MDOLLARS,
682683
Provided=False,
683684
Valid=False,
684-
ToolTipText="Injection Well Drilling and Completion Capital Cost"
685+
ToolTipText=f'Well drilling and completion capital cost per well including indirect costs and contingency. '
686+
f'Applied to production wells; also applied to injection wells unless '
687+
f'{per_injection_well_cost_name} is provided.'
685688
)
686-
self.per_production_well_cost = self.ParameterDict[self.per_production_well_cost.Name] = floatParameter(
687-
"Well Drilling and Completion Capital Cost",
688-
DefaultValue=self.per_injection_well_cost.value,
689+
self.per_injection_well_cost = self.ParameterDict[self.per_injection_well_cost.Name] = floatParameter(
690+
per_injection_well_cost_name,
691+
DefaultValue=self.per_production_well_cost.DefaultValue,
689692
Min=0,
690693
Max=200,
691694
UnitType=Units.CURRENCY,
692695
PreferredUnits=CurrencyUnit.MDOLLARS,
693696
CurrentUnits=CurrencyUnit.MDOLLARS,
694697
Provided=False,
695698
Valid=False,
696-
ToolTipText=f'Well Drilling and Completion Capital Cost per well. Applied to production wells, '
697-
f'and injection wells unless {self.per_injection_well_cost.Name} is provided.'
699+
ToolTipText='Injection well drilling and completion capital cost per well '
700+
'including indirect costs and contingency'
698701
)
699702

700-
injection_well_cost_adjustment_factor_name = "Injection Well Drilling and Completion Capital Cost Adjustment Factor"
703+
inj_well_cost_adjustment_factor_name = "Injection Well Drilling and Completion Capital Cost Adjustment Factor"
701704
self.production_well_cost_adjustment_factor = self.ParameterDict[self.production_well_cost_adjustment_factor.Name] = floatParameter(
702705
"Well Drilling and Completion Capital Cost Adjustment Factor",
703706
DefaultValue=1.0,
@@ -708,12 +711,12 @@ def __init__(self, model: Model):
708711
CurrentUnits=PercentUnit.TENTH,
709712
Provided=False,
710713
Valid=True,
711-
ToolTipText="Well Drilling and Completion Capital Cost Adjustment Factor. Applies to production wells; "
712-
f"also applies to injection wells unless a value is provided for "
713-
f"{injection_well_cost_adjustment_factor_name}."
714+
ToolTipText=f'Well Drilling and Completion Capital Cost Adjustment Factor. Applies to production wells; '
715+
f'also applies to injection wells unless a value is provided for '
716+
f'{inj_well_cost_adjustment_factor_name}.'
714717
)
715718
self.injection_well_cost_adjustment_factor = self.ParameterDict[self.injection_well_cost_adjustment_factor.Name] = floatParameter(
716-
injection_well_cost_adjustment_factor_name,
719+
inj_well_cost_adjustment_factor_name,
717720
DefaultValue=self.production_well_cost_adjustment_factor.DefaultValue,
718721
Min=self.production_well_cost_adjustment_factor.Min,
719722
Max=self.production_well_cost_adjustment_factor.Max,

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,21 +1449,21 @@
14491449
"minimum": 0,
14501450
"maximum": 10
14511451
},
1452-
"Injection Well Drilling and Completion Capital Cost": {
1453-
"description": "Injection Well Drilling and Completion Capital Cost",
1452+
"Well Drilling and Completion Capital Cost": {
1453+
"description": "Well drilling and completion capital cost per well including indirect costs and contingency. Applied to production wells; also applied to injection wells unless Injection Well Drilling and Completion Capital Cost is provided.",
14541454
"type": "number",
14551455
"units": "MUSD",
14561456
"category": "Economics",
1457-
"default": -1.0,
1457+
"default": -1,
14581458
"minimum": 0,
14591459
"maximum": 200
14601460
},
1461-
"Well Drilling and Completion Capital Cost": {
1462-
"description": "Well Drilling and Completion Capital Cost per well. Applied to production wells, and injection wells unless Injection Well Drilling and Completion Capital Cost is provided.",
1461+
"Injection Well Drilling and Completion Capital Cost": {
1462+
"description": "Injection well drilling and completion capital cost per well including indirect costs and contingency",
14631463
"type": "number",
14641464
"units": "MUSD",
14651465
"category": "Economics",
1466-
"default": -1.0,
1466+
"default": -1,
14671467
"minimum": 0,
14681468
"maximum": 200
14691469
},

0 commit comments

Comments
 (0)