Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not overwrite clustering ans busmap object when creating the marke… #765

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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