minor revisions on pz-max's PR

This commit is contained in:
Fabian Neumann 2021-04-27 14:36:34 +02:00
parent e3863084cd
commit 164c168a30
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,8 @@ Upcoming Release
* Fix: Value for ``co2base`` in ``config.yaml`` adjusted to 1.487e9 t CO2-eq (from 3.1e9 t CO2-eq). The new value represents emissions related to the electricity sector for EU+UK. The old value was ~2x too high and used when the emissions wildcard in ``{opts}`` was used. * Fix: Value for ``co2base`` in ``config.yaml`` adjusted to 1.487e9 t CO2-eq (from 3.1e9 t CO2-eq). The new value represents emissions related to the electricity sector for EU+UK. The old value was ~2x too high and used when the emissions wildcard in ``{opts}`` was used.
* Add option to include marginal costs of links representing fuel cells, electrolysis, and battery inverters
[`#232 <https://github.com/PyPSA/pypsa-eur/pull/232>`_].
PyPSA-Eur 0.3.0 (7th December 2020) PyPSA-Eur 0.3.0 (7th December 2020)
================================== ==================================

View File

@ -106,8 +106,7 @@ def attach_stores(n, costs):
carrier='H2', carrier='H2',
e_nom_extendable=True, e_nom_extendable=True,
e_cyclic=True, e_cyclic=True,
capital_cost=costs.at["hydrogen storage", "capital_cost"], capital_cost=costs.at["hydrogen storage", "capital_cost"])
marginal_cost=costs.at["H2", "marginal_cost"])
n.madd("Link", h2_buses_i + " Electrolysis", n.madd("Link", h2_buses_i + " Electrolysis",
bus0=buses_i, bus0=buses_i,