Skip to content

Commit

Permalink
Merge pull request #765 from openego/features/#764-store-grid-busmap-…
Browse files Browse the repository at this point in the history
…if-market-optimization

Do not overwrite clustering ans busmap object when creating the marke…
  • Loading branch information
ClaraBuettner authored Nov 1, 2024
2 parents 4c9d46c + b0ad7be commit af4b038
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions etrago/execute/market_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def build_market_model(self):

logger.info("Start market zone specifc clustering")

self.clustering, busmap = postprocessing(
clustering, busmap = postprocessing(
self,
busmap,
busmap_foreign,
Expand All @@ -311,9 +311,7 @@ def build_market_model(self):
apply_on="market_model",
)

self.update_busmap(busmap)

net = self.clustering.network
net = clustering.network
# links_col = net.links.columns
ac = net.lines[net.lines.carrier == "AC"]
str1 = "transshipment_"
Expand Down

0 comments on commit af4b038

Please sign in to comment.