From b877b41019ffa4ed8da0ee703a0b875b246c89d4 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Sun, 16 Apr 2023 02:28:56 +0200 Subject: [PATCH] - incorporated the remaining changes - added a released note about the renaming of build_load_data to build_electricity_demand --- doc/preparation.rst | 6 +++--- doc/release_notes.rst | 4 +++- scripts/build_electricity_demand.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/preparation.rst b/doc/preparation.rst index a180bb0d..b5a12062 100644 --- a/doc/preparation.rst +++ b/doc/preparation.rst @@ -86,13 +86,13 @@ Rule ``build_powerplants`` .. automodule:: build_powerplants -.. _load_data: +.. _electricity_demand: -Rule ``build_load_data`` +Rule ``build_electricity_demand`` ============================= -.. automodule:: build_load_data +.. automodule:: build_electricity_demand .. _ship: diff --git a/doc/release_notes.rst b/doc/release_notes.rst index e668e92e..3d05f27c 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -12,6 +12,8 @@ Upcoming Release * 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``. + PyPSA-Eur 0.8.0 (18th March 2023) ================================= @@ -558,7 +560,7 @@ More OPSD integration: This will overwrite the capacities calculated from the heuristic approach in :func:`estimate_renewable_capacities()` [`#212 `_]. -* Electricity consumption data is now retrieved directly from the `OPSD website `_ using the rule :mod:`build_load_data`. +* Electricity consumption data is now retrieved directly from the `OPSD website `_ using the rule :mod:`build_electricity_demand`. The user can decide whether to take the ENTSO-E power statistics data (default) or the ENTSO-E transparency data [`#211 `_]. diff --git a/scripts/build_electricity_demand.py b/scripts/build_electricity_demand.py index 01e3fb1e..4bf0306b 100755 --- a/scripts/build_electricity_demand.py +++ b/scripts/build_electricity_demand.py @@ -276,7 +276,7 @@ if __name__ == "__main__": if "snakemake" not in globals(): from _helpers import mock_snakemake - snakemake = mock_snakemake("build_load_data") + snakemake = mock_snakemake("build_electricity_demand") configure_logging(snakemake)