File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
tests/geophires_x_client_tests Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ class GeophiresXResult:
4040 _StringValueField ('End-Use Option' ),
4141 _StringValueField ('End-Use' ),
4242 _StringValueField ('Surface Application' ),
43+ _EqualSignDelimitedField ('Reservoir Model' ), # SUTRA only
4344 'Average Net Electricity Production' ,
4445 'Electricity breakeven price' ,
4546 'Total CAPEX' ,
Original file line number Diff line number Diff line change @@ -63,3 +63,7 @@ def test_ags_clgs_style_output(self) -> None:
6363 self ._get_test_file_path ('../examples/Beckers_et_al_2023_Tabulated_Database_Uloop_sCO2_elec.out' )
6464 )
6565 self .assertIsNotNone (r .result ['SUMMARY OF RESULTS' ]['LCOE' ])
66+
67+ def test_sutra_reservoir_model_in_summary (self ) -> None :
68+ r : GeophiresXResult = GeophiresXResult (self ._get_test_file_path ('../examples/SUTRAExample1.out' ))
69+ self .assertEqual ('SUTRA Model' , r .result ['SUMMARY OF RESULTS' ]['Reservoir Model' ])
You can’t perform that action at this time.
0 commit comments