Skip to content

Commit

Permalink
Set committable=False for extendable links
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Jan 22, 2025
1 parent a2a519b commit 39a261f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etrago/execute/market_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
def market_optimization(self):
logger.info("Start building pre market model")
build_market_model(self)

self.pre_market_model.links.loc[self.pre_market_model.links.p_nom_extendable, "committable"] = False

self.pre_market_model.determine_network_topology()

logger.info("Start solving pre market model")
Expand Down Expand Up @@ -86,6 +89,8 @@ def market_optimization(self):
logger.info("Preparing short-term UC market model")

build_shortterm_market_model(self)

self.market_model.links.loc[self.market_model.links.p_nom_extendable, "committable"] = False
self.market_model.determine_network_topology()
logger.info("Start solving short-term UC market model")

Expand Down

0 comments on commit 39a261f

Please sign in to comment.