prepare: fix syntax error
This commit is contained in:
parent
85111e2ae3
commit
50dd4ce285
@ -1934,7 +1934,7 @@ def maybe_adjust_costs_and_potentials(n, opts):
|
|||||||
else:
|
else:
|
||||||
if attr == 'p_nom_max':
|
if attr == 'p_nom_max':
|
||||||
comps = {"Generator", "Link", "StorageUnit"}
|
comps = {"Generator", "Link", "StorageUnit"}
|
||||||
elif attr = 'e_nom_max':
|
elif attr == 'e_nom_max':
|
||||||
comps = {"Store"}
|
comps = {"Store"}
|
||||||
else:
|
else:
|
||||||
comps = {"Generator", "Link", "StorageUnit", "Store"}
|
comps = {"Generator", "Link", "StorageUnit", "Store"}
|
||||||
|
Loading…
Reference in New Issue
Block a user