File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ class PressureUnit(str, Enum):
220
220
PASCAL = "Pa"
221
221
BAR = "bar"
222
222
KBAR = "kbar"
223
+ PSI = "psi"
223
224
224
225
225
226
class AvailabilityUnit (str , Enum ):
Original file line number Diff line number Diff line change @@ -473,3 +473,15 @@ def test_project_red_larger_fractures(self):
473
473
474
474
self .assertEqual (result .result ['RESERVOIR PARAMETERS' ]['Fracture width' ]['value' ], 320.0 )
475
475
self .assertEqual (result .result ['RESERVOIR PARAMETERS' ]['Fracture width' ]['unit' ], 'meter' )
476
+
477
+ def test_convert_output_psi_to_kpa (self ):
478
+ GeophiresXClient ().get_geophires_result (
479
+ GeophiresInputParameters (
480
+ from_file_path = self ._get_test_file_path (Path ('examples/example_SHR-2.txt' )),
481
+ params = {
482
+ 'Production Wellhead Pressure' : '64.69 psi' ,
483
+ },
484
+ )
485
+ )
486
+
487
+ # TODO validate output values (for now we are just testing an exception isn't thrown)
You can’t perform that action at this time.
0 commit comments