Skip to content

Commit

Permalink
Remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Nov 14, 2023
1 parent 03ab18a commit a1a9d09
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions etrago/tools/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1587,12 +1587,8 @@ def calc_dc_loading(network, timesteps):
"""
dc_links = network.links.loc[network.links.carrier == "DC", :]

# Set p_nom_max and line_loading for one directional links
link_load = network.links_t.p0[
network.links.index[ # (network.links.linked_to == "0")
# &
(network.links.carrier == "DC")
]
network.links.index[network.links.carrier == "DC"]
]

dc_load = pd.Series(index=network.links.index, data=0.0)
Expand Down

0 comments on commit a1a9d09

Please sign in to comment.