From 76065624496203a49c8d41b9aa751fc49114438f Mon Sep 17 00:00:00 2001 From: lisazeyen Date: Wed, 28 Sep 2022 16:09:53 +0200 Subject: [PATCH] update sector opt for co2 seq potential --- config.default.yaml | 2 +- scripts/solve_network.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.default.yaml b/config.default.yaml index 9824b1f5..3e6576e3 100644 --- a/config.default.yaml +++ b/config.default.yaml @@ -33,7 +33,7 @@ scenario: # A for agriculture, forestry and fishing # solar+c0.5 reduces the capital cost of solar to 50\% of reference value # solar+p3 multiplies the available installable potential by factor 3 - # co2 stored+e2 multiplies the potential of CO2 sequestration by a factor 2 + # seq2 (or e.g. seq0p5) multiplies the potential of CO2 sequestration by a factor 2 (or e.g. 0.5) # dist{n} includes distribution grids with investment cost of n times cost in data/costs.csv # for myopic/perfect foresight cb states the carbon budget in GtCO2 (cumulative # emissions throughout the transition path in the timeframe determined by the diff --git a/scripts/solve_network.py b/scripts/solve_network.py index 563d8c29..626cc2a7 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -227,7 +227,8 @@ def add_co2_sequestration_limit(n, sns): limit = n.config["sector"].get("co2_sequestration_potential", 200) * 1e6 for o in opts: if not "seq" in o: continue - limit = float(o[o.find("seq")+3:]) + factor = float(o[o.find("seq")+3:]) + limit *= factor break name = 'co2_sequestration_limit'