From 81f3b1a93fe355125a78dacf45b5e638ea59aee9 Mon Sep 17 00:00:00 2001 From: "christoph.von.oy" <christoph.von.oy@rwth-aachen.de> Date: Thu, 15 Jun 2023 11:34:52 +0200 Subject: [PATCH] Made t_step and t_horizon be interpreted correctly Fixed focus-framework#44 --- input_profile_processor/input_profile_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input_profile_processor/input_profile_processor.py b/input_profile_processor/input_profile_processor.py index 2735774..3fa001c 100644 --- a/input_profile_processor/input_profile_processor.py +++ b/input_profile_processor/input_profile_processor.py @@ -88,7 +88,7 @@ def generate_profile(profile_type, parameters, input_profiles, t_start, t_horizo temperature=input_profiles[parameters['temperature']][1], building_class=1, wind_class=1, - annual_heat_demand=parameters['yearly_demand'] / t_step, + annual_heat_demand=parameters['yearly_demand'], name='HeatDemand_EFH', ww_incl=0).get_bdew_profile() profiles.append(profile) @@ -105,7 +105,7 @@ def generate_profile(profile_type, parameters, input_profiles, t_start, t_horizo temperature=input_profiles[parameters['temperature']][1], building_class=1, wind_class=1, - annual_heat_demand=parameters['yearly_demand'] / t_step, + annual_heat_demand=parameters['yearly_demand'], name='DomesticHotWaterDemand_EFH', ww_incl=1).get_bdew_profile() profiles.append(profile) -- GitLab