From d6a11c28c937ff058c90b88a4028d87f5da46e65 Mon Sep 17 00:00:00 2001 From: millingermarkus Date: Mon, 11 Dec 2023 10:49:44 +0100 Subject: [PATCH] Added co2 storage shadow price output to csv --- scripts/make_summary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/make_summary.py b/scripts/make_summary.py index 3ec01b66..5afc247e 100644 --- a/scripts/make_summary.py +++ b/scripts/make_summary.py @@ -446,6 +446,8 @@ 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