Skip to content

Commit abd7609

Browse files
Further reduce sensitivity of rounding heuristic for determining whether to output lateral section cost
1 parent fd7f56a commit abd7609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geophires_x/Outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ def PrintOutputs(self, model: Model):
18031803
f.write(NL)
18041804
if not model.economics.totalcapcost.Valid:
18051805
f.write(f' Drilling and completion costs: {model.economics.Cwell.value:10.2f} ' + model.economics.Cwell.CurrentUnits.value + NL)
1806-
if round(econ.cost_one_production_well.value, 3) != round(econ.cost_one_injection_well.value, 3) and \
1806+
if round(econ.cost_one_production_well.value, 2) != round(econ.cost_one_injection_well.value, 2) and \
18071807
model.economics.cost_one_injection_well.value != -1:
18081808
f.write(f' Drilling and completion costs per production well: {econ.cost_one_production_well.value:10.2f} ' + econ.cost_one_production_well.CurrentUnits.value + NL)
18091809
f.write(f' Drilling and completion costs per injection well: {econ.cost_one_injection_well.value:10.2f} ' + econ.cost_one_injection_well.CurrentUnits.value + NL)

0 commit comments

Comments
 (0)