Skip to content

Commit 23800d0

Browse files
Document adjustment factors relationship in tooltip text
1 parent 8d12bd8 commit 23800d0

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/geophires_x/Economics.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,8 @@ def __init__(self, model: Model):
647647
Valid=False,
648648
ToolTipText="Injection Well Drilling and Completion Capital Cost"
649649
)
650+
651+
injection_well_cost_adjustment_factor_name = "Injection Well Drilling and Completion Capital Cost Adjustment Factor"
650652
self.production_well_cost_adjustment_factor = self.ParameterDict[self.production_well_cost_adjustment_factor.Name] = floatParameter(
651653
"Well Drilling and Completion Capital Cost Adjustment Factor",
652654
DefaultValue=1.0,
@@ -657,10 +659,12 @@ def __init__(self, model: Model):
657659
CurrentUnits=PercentUnit.TENTH,
658660
Provided=False,
659661
Valid=True,
660-
ToolTipText="Well Drilling and Completion Capital Cost Adjustment Factor"
662+
ToolTipText="Well Drilling and Completion Capital Cost Adjustment Factor. Applies to production wells; "
663+
f"also applies to injection wells unless a value is provided for "
664+
f"{injection_well_cost_adjustment_factor_name}."
661665
)
662666
self.injection_well_cost_adjustment_factor = self.ParameterDict[self.injection_well_cost_adjustment_factor.Name] = floatParameter(
663-
"Injection Well Drilling and Completion Capital Cost Adjustment Factor",
667+
injection_well_cost_adjustment_factor_name,
664668
DefaultValue=self.production_well_cost_adjustment_factor.DefaultValue,
665669
Min=self.production_well_cost_adjustment_factor.Min,
666670
Max=self.production_well_cost_adjustment_factor.Max,
@@ -669,7 +673,9 @@ def __init__(self, model: Model):
669673
CurrentUnits=PercentUnit.TENTH,
670674
Provided=False,
671675
Valid=True,
672-
ToolTipText="Injection Well Drilling and Completion Capital Cost Adjustment Factor"
676+
ToolTipText="Injection Well Drilling and Completion Capital Cost Adjustment Factor. "
677+
f"If not provided, this value will be set automatically to the same value as "
678+
f"{self.production_well_cost_adjustment_factor.Name}."
673679
)
674680
self.oamwellfixed = self.ParameterDict[self.oamwellfixed.Name] = floatParameter(
675681
"Wellfield O&M Cost",

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@
13921392
"maximum": 200
13931393
},
13941394
"Well Drilling and Completion Capital Cost Adjustment Factor": {
1395-
"description": "Well Drilling and Completion Capital Cost Adjustment Factor",
1395+
"description": "Well Drilling and Completion Capital Cost Adjustment Factor. Applies to production wells; also applies to injection wells unless a value is provided for Injection Well Drilling and Completion Capital Cost Adjustment Factor.",
13961396
"type": "number",
13971397
"units": "",
13981398
"category": "Economics",
@@ -1401,7 +1401,7 @@
14011401
"maximum": 10
14021402
},
14031403
"Injection Well Drilling and Completion Capital Cost Adjustment Factor": {
1404-
"description": "Injection Well Drilling and Completion Capital Cost Adjustment Factor",
1404+
"description": "Injection Well Drilling and Completion Capital Cost Adjustment Factor. If not provided, this value will be set automatically to the same value as Well Drilling and Completion Capital Cost Adjustment Factor.",
14051405
"type": "number",
14061406
"units": "",
14071407
"category": "Economics",

0 commit comments

Comments
 (0)