Skip to content

Commit

Permalink
* nemo/generators.py (PumpedHydroPump.__init__): Allow adjustment of
Browse files Browse the repository at this point in the history
  capacity in the range between zero and the initial capacity.
  • Loading branch information
bje- committed Jan 11, 2024
1 parent e884c14 commit ef17ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nemo/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ def __init__(self, polygon, capacity, reservoirs, rte=0.8, label=None):
raise TypeError
Storage.__init__(self)
Generator.__init__(self, polygon, capacity, label)
# capacity is in MW, but build limit is in GW
self.setters = [(self.set_capacity, 0, capacity / 1000.)]
self.reservoirs = reservoirs
self.rte = rte

Expand Down

0 comments on commit ef17ffa

Please sign in to comment.