Skip to content

Commit

Permalink
Exclude not disaggregated DC links from checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Oct 2, 2023
1 parent bd84371 commit be13ecd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etrago/cluster/disaggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,9 @@ def solve(self, scenario, solver):
):
log.info(f"Attribute sums, {bt}, clustered - disaggregated:")
cnb = getattr(self.clustered_network, bt)
cnb = cnb[cnb.carrier!="DC"]
onb = getattr(self.original_network, bt)
onb = onb[onb.carrier!="DC"]
log.info(
"{:>{}}: {}".format(
"p_nom_opt",
Expand Down

0 comments on commit be13ecd

Please sign in to comment.