Skip to content

Commit 49a03fc

Browse files
1 parent e79e582 commit 49a03fc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/test_geophires_x.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,22 @@ def get_fcr_lcoe(fcr: float) -> float:
345345
self.assertAlmostEqual(9.61, get_fcr_lcoe(0.05), places=1)
346346
self.assertAlmostEqual(3.33, get_fcr_lcoe(0.0001), places=1)
347347
self.assertAlmostEqual(104.34, get_fcr_lcoe(0.8), places=0)
348+
349+
def test_vapor_pressure_above_critical_temperature(self):
350+
"""https://github.com/NREL/GEOPHIRES-X/issues/214"""
351+
352+
input_params = GeophiresInputParameters(
353+
{
354+
'End-Use Option': 2,
355+
'Reservoir Depth': 6,
356+
'Gradient 1': 75,
357+
'Reservoir Model': 1,
358+
'Time steps per year': 1,
359+
'Maximum Temperature': 500,
360+
'Print Output to Console': 0,
361+
}
362+
)
363+
364+
result = GeophiresXClient().get_geophires_result(input_params)
365+
self.assertIsNotNone(result)
366+
self.assertIn('SUMMARY OF RESULTS', result.result)

0 commit comments

Comments
 (0)