Skip to content

Commit

Permalink
Fix electricity demand to year 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed May 7, 2024
1 parent e888076 commit bfeb1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe
- popups for distilled layers
- charts for popups
- disappearing region charts
- electricity demand base set to year 2022

## [0.1.0] - 2024-03-19
### Added
Expand Down
2 changes: 1 addition & 1 deletion digiplan/map/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def electricity_demand_per_municipality_2045(user_settings: dict) -> pd.DataFram
pd.DataFrame
Electricity demand per municipality (index) and sector (column)
"""
demand = electricity_demand_per_municipality(year=2045)
demand = electricity_demand_per_municipality(year=2022)
shares = [int(user_settings[key]) / 100 for key in ("s_v_3", "s_v_4", "s_v_5")]
return demand.iloc[:] * shares

Expand Down

0 comments on commit bfeb1a6

Please sign in to comment.