Merge branch 'biogas-upgrade-cc' of github.com:PyPSA/pypsa-eur into biogas-upgrade-cc

This commit is contained in:
Fabian Neumann 2024-01-02 18:49:26 +01:00
commit c5bd95d124

View File

@ -2163,7 +2163,6 @@ def add_biomass(n, costs):
e_initial=solid_biomass_potentials_spatial,
)
n.madd(
"Link",
spatial.gas.biogas_to_gas,
@ -2176,10 +2175,9 @@ def add_biomass(n, costs):
marginal_cost=costs.at["biogas upgrading", "VOM"],
efficiency=costs.at["biogas", "efficiency"],
efficiency2=-costs.at["gas", "CO2 intensity"],
p_nom_extendable=True
p_nom_extendable=True,
)
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
# equivalent. Adding biomass CHP capture because biogas is often small-scale and decentral so further