Merge pull request #161 from PyPSA/fix-build_carbon_budget

fix-build_carbon_budget
This commit is contained in:
Fabian Neumann 2021-09-09 16:07:11 +02:00 committed by GitHub
commit c4d4e88ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]