Skip to content

Commit

Permalink
Run iterate_lopf within grid optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Sep 25, 2023
1 parent c179170 commit f154e97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions etrago/execute/grid_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ def grid_optimization(self):
#self.network.links.drop(self.network.links[self.network.links.index.str.contains('ramp')].index, inplace=True)

logger.info("Start solving grid optimization model")
self.network.lopf(
solver_name=self.args["solver"],
solver_options=self.args["solver_options"],
pyomo=True,
self.iterate_lopf(
extra_functionality=extra_functionality(),
formulation=self.args["model_formulation"],
)
self.export_to_csv(self.args["csv_export"])

Expand Down

0 comments on commit f154e97

Please sign in to comment.