11
11
from geophires_x .TDPReservoir import TDPReservoir
12
12
from geophires_x .WellBores import WellBores
13
13
from geophires_x .SurfacePlant import SurfacePlant
14
- # from geophires_x.SBTEconomics import SBTEconomics
15
- # from geophires_x.SBTWellbores import SBTWellbores
14
+ from geophires_x .SBTEconomics import SBTEconomics
15
+ from geophires_x .SBTWellbores import SBTWellbores
16
16
from geophires_x .SBTReservoir import SBTReservoir
17
17
from geophires_x .SurfacePlantIndustrialHeat import SurfacePlantIndustrialHeat
18
18
from geophires_x .SurfacePlantSubcriticalORC import SurfacePlantSubcriticalOrc
@@ -104,11 +104,9 @@ def __init__(self, enable_geophires_logging_config=True, input_file=None):
104
104
self .reserv : TOUGH2Reservoir = TOUGH2Reservoir (self ) # Tough2 is called
105
105
elif self .InputParameters ['Reservoir Model' ].sValue == '7' :
106
106
self .reserv : SUTRAReservoir = SUTRAReservoir (self ) # SUTRA output is created
107
- elif self .InputParameters ['Reservoir Model' ].sValue in [ '8' , 'SBT' ] :
107
+ elif self .InputParameters ['Reservoir Model' ].sValue == '8' :
108
108
self .logger .info ('Setup the SBT elements of the Model and instantiate new attributes as needed' )
109
109
self .reserv : SBTReservoir = SBTReservoir (self )
110
- # self.wellbores: SBTWellBores = SBTWellbores(self)
111
- # self.economics: SBTEconomics = SBTEconomics(self)
112
110
113
111
# initialize the default objects
114
112
self .wellbores : WellBores = WellBores (self )
@@ -128,6 +126,9 @@ def __init__(self, enable_geophires_logging_config=True, input_file=None):
128
126
self .surfaceplant : SurfacePlantSUTRA = SurfacePlantSUTRA (self )
129
127
self .economics : SUTRAEconomics = SUTRAEconomics (self )
130
128
self .outputs : SUTRAOutputs = SUTRAOutputs (self , output_file = output_file )
129
+ if self .InputParameters ['Reservoir Model' ].sValue == '8' :
130
+ self .wellbores : SBTWellbores = SBTWellbores (self )
131
+ self .economics : SBTEconomics = SBTEconomics (self )
131
132
132
133
if 'Is AGS' in self .InputParameters :
133
134
if self .InputParameters ['Is AGS' ].sValue in ['True' , 'true' , 'TRUE' , 'T' , '1' ]:
0 commit comments