prepare: fix syntax error

This commit is contained in:
Fabian Neumann 2021-08-04 18:13:01 +02:00
parent 85111e2ae3
commit 50dd4ce285

View File

@ -1934,7 +1934,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"}