File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -345,3 +345,22 @@ def get_fcr_lcoe(fcr: float) -> float:
345
345
self .assertAlmostEqual (9.61 , get_fcr_lcoe (0.05 ), places = 1 )
346
346
self .assertAlmostEqual (3.33 , get_fcr_lcoe (0.0001 ), places = 1 )
347
347
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 )
You can’t perform that action at this time.
0 commit comments