Skip to content

Commit

Permalink
* nemo/generators.py: Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Dec 13, 2023
1 parent e5b0d76 commit fdbe9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def capcost(self, costs):
"""Return the capital cost."""
kwh = self.battery.maxstorage * 1000
assert self.shours in [1, 2, 4, 8]
cost_per_kwh = costs.totcost_per_kwh[type(self)][shours]
cost_per_kwh = costs.totcost_per_kwh[type(self)][self.shours]
return kwh * cost_per_kwh

def fixed_om_costs(self, costs):
Expand Down

0 comments on commit fdbe9fa

Please sign in to comment.