Skip to content

Commit

Permalink
Retain Reservoir hydrostatic pressure result field; consume in MC tes…
Browse files Browse the repository at this point in the history
…t as it was before since example isn't overpressure.
  • Loading branch information
softwareengineerprogrammer committed Apr 24, 2024
1 parent 0e5c2c6 commit 6363f21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/geophires_x_client/geophires_x_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class GeophiresXResult:
'Fracture area',
'Fracture width',
'Reservoir volume',
'Reservoir hydrostatic pressure',
'Average reservoir pressure',
'Plant outlet pressure',
'Production wellhead pressure',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ OUTPUT, Average Net Electricity Production
OUTPUT, Project NPV
OUTPUT, Total capital costs
OUTPUT, Average Production Temperature
OUTPUT, Average reservoir pressure
OUTPUT, Reservoir hydrostatic pressure
ITERATIONS, 3
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_monte_carlo_result_ordering(self):
'Project NPV',
'Total capital costs',
'Average Production Temperature',
'Average reservoir pressure',
'Reservoir hydrostatic pressure',
]:
self.assertIn(output, result_json_obj)
for stat in ['average', 'maximum', 'mean', 'median', 'minimum', 'standard deviation']:
Expand All @@ -102,7 +102,7 @@ def test_monte_carlo_result_ordering(self):
self.assertGreater(avg_prod_tmp, 280)
self.assertLess(avg_prod_tmp, 420)

self.assertGreater(result_json_obj['Average reservoir pressure']['average'], 60000)
self.assertGreater(result_json_obj['Reservoir hydrostatic pressure']['average'], 60000)
self.assertLess(result_json_obj['Total capital costs']['average'], 1000)

self.assertDictEqual(result_json_obj, result.result['output'])
Expand Down

0 comments on commit 6363f21

Please sign in to comment.