Skip to content

Commit 1c9976b

Browse files
unit test to sanity check baseline cost curve values with paper
1 parent 249da9f commit 1c9976b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/geophires_x_tests/test_options_list.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ def test_equality(self):
3737
self.assertFalse(WellDrillingCostCorrelation.VERTICAL_SMALL == WellDrillingCostCorrelation.DEVIATED_SMALL)
3838
self.assertTrue(WellDrillingCostCorrelation.VERTICAL_SMALL == WellDrillingCostCorrelation.VERTICAL_SMALL)
3939

40+
def test_baseline_curve_costs(self):
41+
# Sanity-check calibration with NREL 2025 Cost Curve Update
42+
# https://pangea.stanford.edu/ERE/db/GeoConf/papers/SGW/2025/Akindipe.pdf?t=1740084555
43+
44+
self.assertAlmostEqual(5.1, WellDrillingCostCorrelation.VERTICAL_SMALL.calculate_cost_MUSD(3500), delta=0.1)
45+
self.assertAlmostEqual(13.9, WellDrillingCostCorrelation.VERTICAL_SMALL.calculate_cost_MUSD(6500), delta=0.1)
46+
self.assertAlmostEqual(15.9, WellDrillingCostCorrelation.VERTICAL_SMALL.calculate_cost_MUSD(7000), delta=0.1)
47+
48+
self.assertAlmostEqual(17.2, WellDrillingCostCorrelation.VERTICAL_LARGE.calculate_cost_MUSD(6500), delta=0.1)
49+
50+
self.assertAlmostEqual(14.9, WellDrillingCostCorrelation.DEVIATED_SMALL.calculate_cost_MUSD(6500), delta=0.1)
51+
52+
self.assertAlmostEqual(18.3, WellDrillingCostCorrelation.DEVIATED_LARGE.calculate_cost_MUSD(6500), delta=0.1)
53+
4054

4155
class PlantTypeTestCase(BaseTestCase):
4256
def test_equality(self):

0 commit comments

Comments
 (0)