allow varying marginal cost of carrier in opts wc: CCGT+m2.0
This commit is contained in:
parent
f474f8bce4
commit
f9ede37a02
@ -257,7 +257,7 @@ if __name__ == "__main__":
|
||||
if oo[0].startswith(tuple(suptechs)):
|
||||
carrier = oo[0]
|
||||
# handles only p_nom_max as stores and lines have no potentials
|
||||
attr_lookup = {"p": "p_nom_max", "c": "capital_cost"}
|
||||
attr_lookup = {"p": "p_nom_max", "c": "capital_cost", "m": "marginal_cost"}
|
||||
attr = attr_lookup[oo[1][0]]
|
||||
factor = float(oo[1][1:])
|
||||
if carrier == "AC": # lines do not have carrier
|
||||
|
Loading…
Reference in New Issue
Block a user