Skip to content

Commit

Permalink
update result packae for null tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorb1 committed Oct 27, 2024
1 parent af7dd63 commit a7c3c11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/otoole/results/result_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def discounted_capital_investment(self) -> pd.DataFrame:
capital_investment = self["CapitalInvestment"]

except KeyError as ex:
raise KeyError(self._msg("CapitalInvestment", str(ex)))
raise KeyError(self._msg("DiscountedCapitalInvestment", str(ex)))

df = discount_factor(regions, years, discount_rate, 0.0)

Expand Down Expand Up @@ -491,7 +491,7 @@ def discounted_operational_cost(self) -> pd.DataFrame:
annual_variable_operating_cost = self["AnnualVariableOperatingCost"]

except KeyError as ex:
raise KeyError(self._msg("DiscountedOperatingCost", str(ex)))
raise KeyError(self._msg("DiscountedOperationalCost", str(ex)))

df_mid = discount_factor(regions, years, discount_rate, 0.5)

Expand Down Expand Up @@ -549,7 +549,7 @@ def discounted_technology_cost(self) -> pd.DataFrame:
discounted_salvage_value = self["DiscountedSalvageValue"]

except KeyError as ex:
raise KeyError(self._msg("TotalDiscountedCostByTechnology", str(ex)))
raise KeyError(self._msg("DiscountedCostByTechnology", str(ex)))

discounted_total_costs = discounted_operational_costs.add(
discounted_capital_costs, fill_value=0.0
Expand Down

0 comments on commit a7c3c11

Please sign in to comment.