Skip to content

Commit

Permalink
Fix unit of scaling factor
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Jan 15, 2025
1 parent 4ec3519 commit 2bf6b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/egon/data/datasets/heat_demand/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, dependencies):
super().__init__(
name="heat-demands",
# version=self.target_files + "_0.0",
version="0.0.3", # maybe rethink the naming
version="0.0.4", # maybe rethink the naming
dependencies=dependencies,
tasks=(scenario_data_import),
)
Expand Down Expand Up @@ -363,10 +363,10 @@ def future_heat_demand_germany(scenario_name):

# Calculate reduction share based on final energy demand and overall demand from Peta for 2015
res_hd_reduction = (
heat_parameters["DE_demand_residential_MWh"] / 443.788483
heat_parameters["DE_demand_residential_MWh"] / (443.788483 * 1e6)
)
ser_hd_reduction = (
heat_parameters["DE_demand_service_MWh"] / 226.588158
heat_parameters["DE_demand_service_MWh"] / (226.588158 * 1e6)
)
else:
heat_parameters = get_sector_parameters("heat", scenario=scenario_name)
Expand Down

0 comments on commit 2bf6b0a

Please sign in to comment.