Skip to content

Commit c6957ea

Browse files
Increase max Number of Multilateral SEctions to 1199 (3 laterals per well when max number of allowed wells)
1 parent b97ee90 commit c6957ea

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/geophires_x/WellBores.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,14 +1035,24 @@ def __init__(self, model: Model):
10351035
ErrMessage="assume default for Non-vertical Wellbore Diameter (0.156 m)",
10361036
ToolTipText="Non-vertical Wellbore Diameter"
10371037
)
1038+
1039+
max_allowed_total_wells = max(self.nprod.AllowableRange) + max(self.ninj.AllowableRange)
1040+
max_allowed_laterals_per_well_when_max_wells = 3
1041+
"""Arbitrary upper limit, could be increased in future if needed"""
1042+
1043+
# noinspection SpellCheckingInspection
10381044
self.numnonverticalsections = self.ParameterDict[self.numnonverticalsections.Name] = intParameter(
10391045
"Number of Multilateral Sections",
10401046
DefaultValue=0,
1041-
AllowableRange=list(range(0, 101, 1)),
1047+
AllowableRange=list(range(0, max_allowed_total_wells * max_allowed_laterals_per_well_when_max_wells, 1)),
10421048
UnitType=Units.NONE,
10431049
ErrMessage="assume default for Number of Nonvertical Wellbore Sections (0)",
1044-
ToolTipText="Number of Nonvertical Wellbore Sections"
1050+
ToolTipText='Number of Nonvertical Wellbore Sections, aka laterals or horizontals. '
1051+
'Note that this is the total number of sections for the entire project and not the number of '
1052+
'sections per well. For example, a project with 2 injectors and 2 producers with 3 laterals '
1053+
'per well should set Number of Multilateral Sections = 2 * 2 * 3 = 12.'
10451054
)
1055+
10461056
self.NonverticalsCased = self.ParameterDict[self.NonverticalsCased.Name] = boolParameter(
10471057
"Multilaterals Cased",
10481058
DefaultValue=False,

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,13 +947,13 @@
947947
"maximum": 100.0
948948
},
949949
"Number of Multilateral Sections": {
950-
"description": "Number of Nonvertical Wellbore Sections",
950+
"description": "Number of Nonvertical Wellbore Sections, aka laterals or horizontals. Note that this is the total number of sections for the entire project and not the number of sections per well. For example, a project with 2 injectors and 2 producers with 3 laterals per well should set Number of Multilateral Sections = 2 * 2 * 3 = 12.",
951951
"type": "integer",
952952
"units": null,
953953
"category": "Well Bores",
954954
"default": 0,
955955
"minimum": 0,
956-
"maximum": 100
956+
"maximum": 1199
957957
},
958958
"Multilaterals Cased": {
959959
"description": "If set to True, casing & cementing are assumed to comprise 50% of drilling costs (doubling cost compared to uncased).",

0 commit comments

Comments
 (0)