Skip to content

Commit

Permalink
Always run determine_network_topology on pre_market model
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Apr 19, 2024
1 parent f13750a commit 3f59493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etrago/execute/market_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
def market_optimization(self):
logger.info("Start building pre market model")
build_market_model(self)
self.pre_market_model.determine_network_topology()

logger.info("Start solving pre market model")

if self.args["method"]["formulation"] == "pyomo":
self.pre_market_model.determine_network_topology()
self.pre_market_model.lopf(
solver_name=self.args["solver"],
solver_options=self.args["solver_options"],
Expand Down

0 comments on commit 3f59493

Please sign in to comment.