Skip to content

Commit

Permalink
Merge pull request #692 from PyPSA/FabianHofmann-patch-1
Browse files Browse the repository at this point in the history
fix carrier assignment
  • Loading branch information
FabianHofmann authored Jul 6, 2023
2 parents f59695e + 3ea8b26 commit e78faac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def sanitize_carriers(n, config):

for c in n.iterate_components():
if "carrier" in c.df:
add_missing_carriers(n, c.df)
add_missing_carriers(n, c.df.carrier)

carrier_i = n.carriers.index
nice_names = (
Expand Down

0 comments on commit e78faac

Please sign in to comment.