|
10 | 10 | import geophires_x.Model as Model
|
11 | 11 | from .CylindricalReservoir import CylindricalReservoir
|
12 | 12 | from .OptionList import FlowrateModel, InjectionTemperatureModel, Configuration
|
13 |
| -from .Parameter import intParameter, floatParameter, OutputParameter, ReadParameter, strParameter |
| 13 | +from .Parameter import intParameter, floatParameter, OutputParameter, ReadParameter, strParameter, boolParameter |
14 | 14 | from .Reservoir import Reservoir
|
15 | 15 | from .Units import *
|
16 | 16 | import sys
|
@@ -267,7 +267,14 @@ def __init__(self, model: Model):
|
267 | 267 | PreferredUnits=TimeUnit.SECOND,
|
268 | 268 | CurrentUnits=TimeUnit.SECOND,
|
269 | 269 | ErrMessage='assume default for Initial to Final Timestep Transition (9900 seconds)',
|
270 |
| - ToolTipText='The time in secs at which the time arrays switches from closely spaced linear to logrithmatic' |
| 270 | + ToolTipText='The time in secs at which the time arrays switches from closely spaced linear to logarithmic' |
| 271 | + ) |
| 272 | + self.generate_wireframe_graphics = self.ParameterDict[self.generate_wireframe_graphics.Name] = boolParameter( |
| 273 | + 'SBT Generate Wireframe Graphics', |
| 274 | + DefaultValue=False, |
| 275 | + UnitType=Units.NONE, |
| 276 | + ErrMessage='assume default for SBT Generate Wireframe Graphics (False)', |
| 277 | + ToolTipText='Switch to control the generation of a wireframe drawing of a SBT wells configuration' |
271 | 278 | )
|
272 | 279 |
|
273 | 280 | sclass = str(__class__).replace("<class \'", "")
|
@@ -1130,7 +1137,7 @@ def Calculate_Uloop(self, model):
|
1130 | 1137 | model.wellbores.vertical_section_length.value,
|
1131 | 1138 | model.wellbores.lateral_inclination_angle.value * np.pi / 180.0,
|
1132 | 1139 | model.wellbores.vertical_wellbore_spacing.value,
|
1133 |
| - False) |
| 1140 | + self.generate_wireframe_graphics.value) |
1134 | 1141 |
|
1135 | 1142 | # Merge x-, y-, and z-coordinates
|
1136 | 1143 | x = np.concatenate((xinj, xprod))
|
|
0 commit comments