Skip to content

Commit

Permalink
Merge pull request #689 from openego/fixes/#688-pv-rooftop-timeseries
Browse files Browse the repository at this point in the history
Fix time series creation
  • Loading branch information
IlkaCu authored Mar 15, 2022
2 parents f5ce199 + e6865a2 commit 80538fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,9 @@ Bug fixes
`#676 <https://github.com/openego/eGon-data/issues/676>`_
* Distribute rural heat supply to residetntial and service demands
`#679 <https://github.com/openego/eGon-data/issues/679>`_
* Fix time series creation for pv rooftop
`#688 <https://github.com/openego/eGon-data/issues/688>`_
* Fix extraction of buildings without amenities
`#693 <https://github.com/openego/eGon-data/issues/693>`_
* Assign DLR capacities to every transmission line
`#683 <https://github.com/openego/eGon-data/issues/683>`_
`#683 <https://github.com/openego/eGon-data/issues/683>`_
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 @@ -53,7 +53,7 @@ class PowerPlants(Dataset):
def __init__(self, dependencies):
super().__init__(
name="PowerPlants",
version="0.0.6",
version="0.0.7",
dependencies=dependencies,
tasks=(
create_tables,
Expand Down
2 changes: 1 addition & 1 deletion src/egon/data/datasets/power_plants/pv_rooftop.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def pv_rooftop_per_mv_grid(scenario="eGon2035", level="federal_state"):
)

# Create timeseries only for mv grid districts with pv rooftop
join = join[join.index_right.isin(pv_rooftop.generator_id)]
join = join[join.index_right.isin(pv_rooftop.bus)]

timeseries = pd.DataFrame(
data={
Expand Down

0 comments on commit 80538fc

Please sign in to comment.