Skip to content

Commit 8cdfa88

Browse files
Always calculate well drilling cost in SUTRAEconomics. Note - this change did not affect unit tests because the enum comparison (==) was always evaluating to true - TBD why this is the case, but the fix is correct either way
1 parent 63545f3 commit 8cdfa88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/geophires_x/SUTRAEconomics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,7 @@ def Calculate(self, model: Model) -> None:
436436
'Warning: simple user-specified cost per meter used for drilling depth < 500 or > 7000 m'
437437
)
438438

439-
if self.wellcorrelation.value == WellDrillingCostCorrelation.SIMPLE:
440-
self.C1well = self.wellcorrelation.value.calculate_cost_MUSD(model.reserv.depth.value)
439+
self.C1well = self.wellcorrelation.value.calculate_cost_MUSD(model.reserv.depth.value)
441440

442441
self.C1well = self.C1well * self.ccwelladjfactor.value
443442
self.Cwell.value = self.C1well * (model.wellbores.nprod.value + model.wellbores.ninj.value)

0 commit comments

Comments
 (0)