Merge pull request #803 from millingermarkus/master
Added co2 storage shadow price output to csv
This commit is contained in:
commit
57b4724ebe
@ -446,6 +446,10 @@ def calculate_metrics(n, label, metrics):
|
||||
if "CO2Limit" in n.global_constraints.index:
|
||||
metrics.at["co2_shadow", label] = n.global_constraints.at["CO2Limit", "mu"]
|
||||
|
||||
if "co2_sequestration_limit" in n.global_constraints.index:
|
||||
metrics.at["co2_storage_shadow", label] = n.global_constraints.at[
|
||||
"co2_sequestration_limit", "mu"
|
||||
]
|
||||
return metrics
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user