Skip to content

Commit

Permalink
Merge pull request #1056 from openego/fixes/#1055-pv-rooftop-sh-mode
Browse files Browse the repository at this point in the history
Fixes/#1055 pv rooftop sh mode
  • Loading branch information
nesnoj committed Nov 29, 2022
2 parents 4a2d016 + 49e6d91 commit 4acceba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@ Bug Fixes
`#989 <https://github.com/openego/eGon-data/issues/989>`_
* Fix zensus weather cells mapping
`#1031 <https://github.com/openego/eGon-data/issues/1031>`_
* Fix solar rooftop in test mode
`#1055 <https://github.com/openego/eGon-data/issues/1055>`_

.. _PR #692: https://github.com/openego/eGon-data/pull/692
.. _#343: https://github.com/openego/eGon-data/issues/343
Expand Down
2 changes: 1 addition & 1 deletion src/egon/data/datasets/power_plants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PowerPlants(Dataset):
def __init__(self, dependencies):
super().__init__(
name="PowerPlants",
version="0.0.14",
version="0.0.15",
dependencies=dependencies,
tasks=(
create_tables,
Expand Down
4 changes: 2 additions & 2 deletions src/egon/data/datasets/power_plants/pv_rooftop.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ def pv_rooftop_per_mv_grid_and_scenario(scenario, level):
dataset = config.settings()["egon-data"]["--dataset-boundary"]

if dataset == "Schleswig-Holstein":
sources = config.datasets()["scenario_input"]["sources"]
sources_scn = config.datasets()["scenario_input"]["sources"]

path = Path(
f"./data_bundle_egon_data/nep2035_version2021/"
f"{sources['eGon2035']['capacities']}"
f"{sources_scn['eGon2035']['capacities']}"
).resolve()

total_2035 = (
Expand Down

0 comments on commit 4acceba

Please sign in to comment.