[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-01-02 17:47:46 +00:00
parent 4b178a7fa1
commit 6714858e17

View File

@ -2163,7 +2163,6 @@ def add_biomass(n, costs):
e_initial=solid_biomass_potentials_spatial, e_initial=solid_biomass_potentials_spatial,
) )
n.madd( n.madd(
"Link", "Link",
spatial.gas.biogas_to_gas, spatial.gas.biogas_to_gas,
@ -2178,10 +2177,9 @@ def add_biomass(n, costs):
efficiency=costs.at["biogas", "efficiency"], efficiency=costs.at["biogas", "efficiency"],
efficiency2=-costs.at["gas", "CO2 intensity"], efficiency2=-costs.at["gas", "CO2 intensity"],
efficiency3=costs.at["biogas", "CO2 stored"], efficiency3=costs.at["biogas", "CO2 stored"],
p_nom_extendable=True p_nom_extendable=True,
) )
if options.get("biomass_upgrading_cc"): if options.get("biomass_upgrading_cc"):
# Assuming for costs that the CO2 from upgrading is pure, such as in amine scrubbing. I.e., with and without CC is # Assuming for costs that the CO2 from upgrading is pure, such as in amine scrubbing. I.e., with and without CC is
# equivalent. Adding biomass CHP capture because biogas is often small-scale and decentral so further # equivalent. Adding biomass CHP capture because biogas is often small-scale and decentral so further