From 919c9d8b8dfa6f19ca4db19d30435f29e2c4d0ff Mon Sep 17 00:00:00 2001 From: martavp <30744159+martavp@users.noreply.github.com> Date: Tue, 24 Aug 2021 18:48:20 +0200 Subject: [PATCH] Update prepare_sector_network.py update build_carbon_budget to use budget estimation from 2020 onwards --- scripts/prepare_sector_network.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index a5bc0d14..3de7154f 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -103,9 +103,6 @@ def build_carbon_budget(o, fn): #emissions at the beginning of the path (last year available 2018) e_0 = co2_emissions_year(countries, opts, year=2018) - #emissions in 2019 and 2020 assumed equal to 2018 and substracted - carbon_budget -= 2 * e_0 - planning_horizons = snakemake.config['scenario']['planning_horizons'] t_0 = planning_horizons[0]