File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -531,11 +531,12 @@ def test_parse_annualized_capital_costs(self):
531
531
532
532
def test_parse_number_with_commas (self ):
533
533
result = GeophiresXResult (self ._get_test_file_path ('examples/S-DAC-GT.out' ))
534
- self .assertAlmostEqualWithinPercentage (
535
- 499_311_405.59 , result .result ['S-DAC-GT ECONOMICS' ]['Total Cost of Capture' ]['value' ]
536
- )
534
+ sdac_e = result .result ['S-DAC-GT ECONOMICS' ]
535
+ self .assertAlmostEqualWithinPercentage (499_311_405.59 , sdac_e ['Total Cost of Capture' ]['value' ])
536
+
537
+ self .assertAlmostEqualWithinPercentage (0.0017 , sdac_e ['Geothermal LCOH' ]['value' ])
537
538
538
- self .assertAlmostEqualWithinPercentage (result . result [ 'S-DAC-GT ECONOMICS' ] ['Geothermal LCOH ' ]['value' ], 0.0017 )
539
+ self .assertAlmostEqualWithinPercentage (20.7259 , sdac_e ['Geothermal Ratio (electricity vs heat) ' ]['value' ])
539
540
540
541
def test_parse_sdacgt_profile (self ):
541
542
result = GeophiresXResult (self ._get_test_file_path ('examples/S-DAC-GT.out' ))
You can’t perform that action at this time.
0 commit comments