update sector opt for co2 seq potential

This commit is contained in:
lisazeyen 2022-09-28 16:09:53 +02:00
parent f139025100
commit 7606562449
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ scenario:
# A for agriculture, forestry and fishing # A for agriculture, forestry and fishing
# solar+c0.5 reduces the capital cost of solar to 50\% of reference value # solar+c0.5 reduces the capital cost of solar to 50\% of reference value
# solar+p3 multiplies the available installable potential by factor 3 # 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 # 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 # for myopic/perfect foresight cb states the carbon budget in GtCO2 (cumulative
# emissions throughout the transition path in the timeframe determined by the # emissions throughout the transition path in the timeframe determined by the

View File

@ -227,7 +227,8 @@ def add_co2_sequestration_limit(n, sns):
limit = n.config["sector"].get("co2_sequestration_potential", 200) * 1e6 limit = n.config["sector"].get("co2_sequestration_potential", 200) * 1e6
for o in opts: for o in opts:
if not "seq" in o: continue if not "seq" in o: continue
limit = float(o[o.find("seq")+3:]) factor = float(o[o.find("seq")+3:])
limit *= factor
break break
name = 'co2_sequestration_limit' name = 'co2_sequestration_limit'