Skip to content

Commit

Permalink
* nemo/generators.py (Battery.summary): Print shours as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Dec 13, 2023
1 parent e6b9573 commit f9b24cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nemo/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ def opcost_per_mwh(self, costs):
def summary(self, context):
"""Return a summary of the generator activity."""
return Generator.summary(self, context) + \
f', {self.shours}h storage' + \
f', ran {thousands(self.runhours)} hours'


Expand Down

0 comments on commit f9b24cb

Please sign in to comment.