Skip to content

Commit 66e4077

Browse files
Document multilateral casing factor
1 parent 6fa87e2 commit 66e4077

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

src/geophires_x/Economics.py

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,8 @@ def calculate_cost_of_non_vertical_section(model: Model, length_m: float, well_c
120120
f'{fixed_well_cost_name} (fixed cost per well) instead.'
121121
)
122122

123-
casing_factor = 1.0
124-
if not NonverticalsCased:
125-
# assume that casing & cementing costs 50% of drilling costs
126-
casing_factor = 0.5
123+
# assume that casing & cementing costs 50% of drilling costs
124+
casing_factor = 1.0 if NonverticalsCased else 0.5
127125

128126
if model.economics.Nonvertical_drilling_cost_per_m.Provided or well_correlation is WellDrillingCostCorrelation.SIMPLE:
129127
cost_of_non_vertical_section = casing_factor * ((num_nonvertical_sections * nonvertical_drilling_cost_per_m * length_per_section_m)) * 1E-6
@@ -2286,13 +2284,16 @@ def Calculate(self, model: Model) -> None:
22862284
self.injection_well_cost_adjustment_factor.value)
22872285

22882286
if hasattr(model.wellbores, 'numnonverticalsections') and model.wellbores.numnonverticalsections.Provided:
2289-
self.cost_lateral_section.value = calculate_cost_of_non_vertical_section(model, tot_horiz_m,
2290-
self.wellcorrelation.value,
2291-
self.Nonvertical_drilling_cost_per_m.value,
2292-
model.wellbores.numnonverticalsections.value,
2293-
self.per_injection_well_cost.Name,
2294-
model.wellbores.NonverticalsCased.value,
2295-
self.production_well_cost_adjustment_factor.value)
2287+
self.cost_lateral_section.value = calculate_cost_of_non_vertical_section(
2288+
model,
2289+
tot_horiz_m,
2290+
self.wellcorrelation.value,
2291+
self.Nonvertical_drilling_cost_per_m.value,
2292+
model.wellbores.numnonverticalsections.value,
2293+
self.Nonvertical_drilling_cost_per_m.Name,
2294+
model.wellbores.NonverticalsCased.value,
2295+
self.production_well_cost_adjustment_factor.value
2296+
)
22962297
else:
22972298
self.cost_lateral_section.value = 0.0
22982299
# cost of the well field

src/geophires_x/WellBores.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,9 @@ def __init__(self, model: Model):
10421042
Required=False,
10431043
Provided=False,
10441044
Valid=True,
1045-
ErrMessage="assume default value (False)"
1045+
ErrMessage="assume default value (False)",
1046+
ToolTipText="If set to True, casing & cementing are assumed to comprise 50% of drilling costs "
1047+
"(doubling cost compared to uncased)."
10461048
)
10471049

10481050
# local variable initiation

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@
921921
"maximum": 100
922922
},
923923
"Multilaterals Cased": {
924-
"description": "",
924+
"description": "If set to True, casing & cementing are assumed to comprise 50% of drilling costs (doubling cost compared to uncased).",
925925
"type": "boolean",
926926
"units": null,
927927
"category": "Well Bores",

0 commit comments

Comments
 (0)