add release notes

fix config references in configuration.rst
This commit is contained in:
Fabian 2023-04-21 11:33:06 +02:00
parent 97bdbe636c
commit 8c19a74fa5
2 changed files with 30 additions and 27 deletions

View File

@ -16,7 +16,7 @@ PyPSA-Eur has several configuration options which are documented in this section
Top-level configuration Top-level configuration
======================= =======================
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:lines: 5-11,18-19,62,80-90 :lines: 5-11,18-19,62,80-90
@ -37,7 +37,7 @@ investment changes as more ambitious greenhouse-gas emission reduction targets a
The ``run`` section is used for running and storing scenarios with different configurations which are not covered by :ref:`wildcards`. It determines the path at which resources, networks and results are stored. Therefore the user can run different configurations within the same directory. If a run with a non-empty name should use cutouts shared across runs, set ``shared_cutouts`` to `true`. The ``run`` section is used for running and storing scenarios with different configurations which are not covered by :ref:`wildcards`. It determines the path at which resources, networks and results are stored. Therefore the user can run different configurations within the same directory. If a run with a non-empty name should use cutouts shared across runs, set ``shared_cutouts`` to `true`.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: run: :start-at: run:
:end-before: foresight: :end-before: foresight:
@ -76,7 +76,7 @@ An exemplary dependency graph (starting from the simplification rules) then look
.. image:: img/scenarios.png .. image:: img/scenarios.png
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: scenario: :start-at: scenario:
:end-before: countries: :end-before: countries:
@ -93,7 +93,7 @@ An exemplary dependency graph (starting from the simplification rules) then look
Specifies the temporal range to build an energy system model for as arguments to `pandas.date_range <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.date_range.html>`_ Specifies the temporal range to build an energy system model for as arguments to `pandas.date_range <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.date_range.html>`_
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: snapshots: :start-at: snapshots:
:end-before: enable: :end-before: enable:
@ -110,7 +110,7 @@ Specifies the temporal range to build an energy system model for as arguments to
Switches for some rules and optional features. Switches for some rules and optional features.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: enable: :start-at: enable:
:end-before: co2_budget: :end-before: co2_budget:
@ -125,7 +125,7 @@ Switches for some rules and optional features.
``electricity`` ``electricity``
=============== ===============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: electricity: :start-at: electricity:
:end-before: atlite: :end-before: atlite:
@ -142,7 +142,7 @@ Switches for some rules and optional features.
Define and specify the ``atlite.Cutout`` used for calculating renewable potentials and time-series. All options except for ``features`` are directly used as `cutout parameters <https://atlite.readthedocs.io/en/latest/ref_api.html#cutout>`_. Define and specify the ``atlite.Cutout`` used for calculating renewable potentials and time-series. All options except for ``features`` are directly used as `cutout parameters <https://atlite.readthedocs.io/en/latest/ref_api.html#cutout>`_.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: atlite: :start-at: atlite:
:end-before: renewable: :end-before: renewable:
@ -160,7 +160,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
``onwind`` ``onwind``
---------- ----------
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: renewable: :start-at: renewable:
:end-before: offwind-ac: :end-before: offwind-ac:
@ -173,7 +173,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
``offwind-ac`` ``offwind-ac``
-------------- --------------
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: offwind-ac: :start-at: offwind-ac:
:end-before: offwind-dc: :end-before: offwind-dc:
@ -186,7 +186,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
``offwind-dc`` ``offwind-dc``
--------------- ---------------
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: offwind-dc: :start-at: offwind-dc:
:end-before: solar: :end-before: solar:
@ -199,7 +199,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
``solar`` ``solar``
--------------- ---------------
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: solar: :start-at: solar:
:end-before: hydro: :end-before: hydro:
@ -212,7 +212,7 @@ Define and specify the ``atlite.Cutout`` used for calculating renewable potentia
``hydro`` ``hydro``
--------------- ---------------
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: hydro: :start-at: hydro:
:end-before: conventional: :end-before: conventional:
@ -234,7 +234,7 @@ with country specific values. Then, the values are read in and applied to all
generators of the given carrier in the given country. Note that the value(s) generators of the given carrier in the given country. Note that the value(s)
overwrite the existing values. overwrite the existing values.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: conventional: :start-at: conventional:
:end-before: lines: :end-before: lines:
@ -247,7 +247,7 @@ overwrite the existing values.
``lines`` ``lines``
============= =============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: lines: :start-at: lines:
:end-before: links: :end-before: links:
@ -262,7 +262,7 @@ overwrite the existing values.
``links`` ``links``
============= =============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: links: :start-at: links:
:end-before: transformers: :end-before: transformers:
@ -277,7 +277,7 @@ overwrite the existing values.
``transformers`` ``transformers``
================ ================
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: transformers: :start-at: transformers:
:end-before: load: :end-before: load:
@ -292,7 +292,7 @@ overwrite the existing values.
``load`` ``load``
============= =============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-after: type: :start-after: type:
:end-at: scaling_factor: :end-at: scaling_factor:
@ -307,7 +307,7 @@ overwrite the existing values.
``costs`` ``costs``
============= =============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: costs: :start-at: costs:
:end-before: clustering: :end-before: clustering:
@ -323,7 +323,7 @@ overwrite the existing values.
``clustering`` ``clustering``
============== ==============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: clustering: :start-at: clustering:
:end-before: solving: :end-before: solving:
@ -345,7 +345,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: energy: :start-at: energy:
:end-before: biomass: :end-before: biomass:
@ -362,7 +362,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: biomass: :start-at: biomass:
:end-before: solar_thermal: :end-before: solar_thermal:
@ -378,7 +378,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: solar_thermal: :start-at: solar_thermal:
:end-before: existing_capacities: :end-before: existing_capacities:
@ -394,7 +394,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: existing_capacities: :start-at: existing_capacities:
:end-before: sector: :end-before: sector:
@ -410,7 +410,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: sector: :start-at: sector:
:end-before: industry: :end-before: industry:
@ -426,7 +426,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: industry: :start-at: industry:
:end-before: costs: :end-before: costs:
@ -436,7 +436,7 @@ overwrite the existing values.
``solving`` ``solving``
============= =============
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: solving: :start-at: solving:
:end-before: plotting: :end-before: plotting:
@ -459,7 +459,7 @@ overwrite the existing values.
.. warning:: .. warning::
More comprehensive documentation for this segment will be released soon. More comprehensive documentation for this segment will be released soon.
.. literalinclude:: ../config.default.yaml .. literalinclude:: ../config/config.default.yaml
:language: yaml :language: yaml
:start-at: plotting: :start-at: plotting:

View File

@ -10,6 +10,9 @@ Release Notes
Upcoming Release Upcoming Release
================ ================
* **Important:** The configuration files are now located in the ``config`` directory. This counts for ``config.default.yaml``, ``config.yaml`` as well as the test configuration files which are now located in ``config/test``. Config files that are still in the root directory will be ignored.
* Bugfix: Correct typo in the CPLEX solver configuration in ``config.default.yaml``. * Bugfix: Correct typo in the CPLEX solver configuration in ``config.default.yaml``.
* Renamed script file from PyPSA-EUR ``build_load_data`` to ``build_electricity_demand``. * Renamed script file from PyPSA-EUR ``build_load_data`` to ``build_electricity_demand``.