From f7dc8a7f22e3ec7f7a934acc093590504ac00591 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 17:10:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/prepare_sector_network.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index c308f786..f88ab94a 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2901,10 +2901,10 @@ def add_industry(n, costs): emitted_co2_per_naphtha = costs.at["oil", "CO2 intensity"] - process_co2_per_naphtha non_sequestered = 1 - get( - snakemake.config["industry"]["HVC_environment_sequestration_fraction"], investment_year + snakemake.config["industry"]["HVC_environment_sequestration_fraction"], + investment_year, ) - n.madd( "Link", spatial.oil.naphtha, @@ -2914,7 +2914,7 @@ def add_industry(n, costs): bus3=spatial.co2.process_emissions, carrier="naphtha for industry", p_nom_extendable=True, - efficiency2=emitted_co2_per_naphtha*non_sequestered, + efficiency2=emitted_co2_per_naphtha * non_sequestered, efficiency3=process_co2_per_naphtha, )