Skip to content

Commit

Permalink
temporal fix for #681
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfmueller committed Oct 19, 2023
1 parent 3840f14 commit de4990f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etrago/execute/grid_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ def add_redispatch_generators(self):

# just for the current status2019 scenario a quick fix for buses which do not have a connection
#self.network.buses.drop(self.network.buses[self.network.buses.index.isin(['47085', '47086', '37865', '37870'])].index, inplace=True)

# TEMPORAL
self.network.generators.loc[self.network.generators.index.str.contains('run_of_river'), 'p_max_pu'] = 0.65
self.network.generators.loc[self.network.generators.index.str.contains('reservoir'), 'p_max_pu'] = 0.65


def extra_functionality():
return None

0 comments on commit de4990f

Please sign in to comment.