Update scripts/add_electricity.py

Co-authored-by: Martha Frysztacki <martha.frysztacki@kit.edu>
This commit is contained in:
Fabian Hofmann 2022-06-28 13:16:55 +02:00 committed by GitHub
parent 917f41ef21
commit 82013fd081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ def attach_conventional_generators(n, costs, ppl, conventional_carriers, extenda
# Generators with technology affected
idx = n.generators.query("carrier == @carrier").index
for key in list(set(conventional_carriers[carrier]) & set(n.generators)):
for key in list(set(conventional_config[carrier]) & set(n.generators)):
values = conventional_config[carrier][key]