solve_operations_network: integrate all extendable links, not only DC (#244)
* add_electricity.py Resolve FutureWarning 771 Index.__or__ operating as set operation is deprecated * solve_operations_network: bug fix * release notes * Update doc/release_notes.rst Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
This commit is contained in:
parent
11c29ac6cc
commit
f5a0d566d9
@ -19,6 +19,7 @@ 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
|
* Add option to include marginal costs of links representing fuel cells, electrolysis, and battery inverters
|
||||||
[`#232 <https://github.com/PyPSA/pypsa-eur/pull/232>`_].
|
[`#232 <https://github.com/PyPSA/pypsa-eur/pull/232>`_].
|
||||||
|
* Bugfix in :mod:`solve_operations_network`: optimised capacities are now fixed for all extendable links, not only HVDC links [`#244 <https://github.com/PyPSA/pypsa-eur/pull/244>`_].
|
||||||
* The ``focus_weights`` are now also considered when pre-clustering in the :mod:`simplify_network` rule [`#241 <https://github.com/PyPSA/pypsa-eur/pull/241>`_].
|
* The ``focus_weights`` are now also considered when pre-clustering in the :mod:`simplify_network` rule [`#241 <https://github.com/PyPSA/pypsa-eur/pull/241>`_].
|
||||||
|
|
||||||
PyPSA-Eur 0.3.0 (7th December 2020)
|
PyPSA-Eur 0.3.0 (7th December 2020)
|
||||||
@ -45,6 +46,7 @@ Using the ``{opts}`` wildcard for scenarios:
|
|||||||
uses the `tsam <https://tsam.readthedocs.io/en/latest/index.html>`_ package
|
uses the `tsam <https://tsam.readthedocs.io/en/latest/index.html>`_ package
|
||||||
[`#186 <https://github.com/PyPSA/pypsa-eur/pull/186>`_].
|
[`#186 <https://github.com/PyPSA/pypsa-eur/pull/186>`_].
|
||||||
|
|
||||||
|
|
||||||
More OPSD integration:
|
More OPSD integration:
|
||||||
|
|
||||||
* Add renewable power plants from `OPSD <https://data.open-power-system-data.org/renewable_power_plants/2020-08-25>`_ to the network for specified technologies.
|
* Add renewable power plants from `OPSD <https://data.open-power-system-data.org/renewable_power_plants/2020-08-25>`_ to the network for specified technologies.
|
||||||
|
@ -71,7 +71,7 @@ def set_parameters_from_optimized(n, n_optim):
|
|||||||
n_optim.lines[attr].reindex(lines_untyped_i, fill_value=0.)
|
n_optim.lines[attr].reindex(lines_untyped_i, fill_value=0.)
|
||||||
n.lines['s_nom_extendable'] = False
|
n.lines['s_nom_extendable'] = False
|
||||||
|
|
||||||
links_dc_i = n.links.index[n.links.carrier == 'DC']
|
links_dc_i = n.links.index[n.links.p_nom_extendable]
|
||||||
n.links.loc[links_dc_i, 'p_nom'] = \
|
n.links.loc[links_dc_i, 'p_nom'] = \
|
||||||
n_optim.links['p_nom_opt'].reindex(links_dc_i, fill_value=0.)
|
n_optim.links['p_nom_opt'].reindex(links_dc_i, fill_value=0.)
|
||||||
n.links.loc[links_dc_i, 'p_nom_extendable'] = False
|
n.links.loc[links_dc_i, 'p_nom_extendable'] = False
|
||||||
|
Loading…
Reference in New Issue
Block a user