fix syntax error in master

This commit is contained in:
Fabian Neumann 2021-08-10 10:27:54 +02:00
parent ed3fec4664
commit 05c2332420

View File

@ -1931,7 +1931,7 @@ def maybe_adjust_costs_and_potentials(n, opts):
else:
if attr == 'p_nom_max':
comps = {"Generator", "Link", "StorageUnit"}
elif attr = 'e_nom_max':
elif attr == 'e_nom_max':
comps = {"Store"}
else:
comps = {"Generator", "Link", "StorageUnit", "Store"}