From 18a1cbc81bdf847a5d288cce58e4fd100ba3733c Mon Sep 17 00:00:00 2001 From: "christoph.von.oy" <christoph.von.oy@rwth-aachen.de> Date: Tue, 16 Apr 2024 11:38:30 +0200 Subject: [PATCH] Fixed electric vs electrical --- input_profile_processor/input_profile_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_profile_processor/input_profile_processor.py b/input_profile_processor/input_profile_processor.py index 32ff1cd..639d637 100644 --- a/input_profile_processor/input_profile_processor.py +++ b/input_profile_processor/input_profile_processor.py @@ -159,7 +159,7 @@ def generate_profile(name, profile_type, parameters, input_profiles, t_start, dy t_last = t_start + pd.Timedelta(hours = sum(dynamic.step_size(index) for index in list(dynamic.time_steps())[:-1])) years = range(t_start.year, t_last.year + 1) - if profile_type == 'elec_demand': + if profile_type == 'electricity_demand': profiles = [] for year in years: year_profile = ElectricalDemand(year).get_profile(parameters['yearly_demand'], 'h0', True) # True: with smoothing function for household profiles, False: no smoothing function for household profiles -- GitLab