[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-03-01 17:10:49 +00:00 committed by Fabian Neumann
parent ac0d52e1c3
commit f7dc8a7f22

View File

@ -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,
)