Skip to content
Snippets Groups Projects
Commit a92aa0cd authored by Jingyu Gong's avatar Jingyu Gong
Browse files

debug: t_horizon was treated as hour, now linked with t_step

parent 7f7f99cc
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ def process_input_profiles(input_profile_dict, t_start, t_horizon, t_step):
input_profiles[input_profile_name] = (input_profile_config[0], profile)
for input_profile_name, (input_profile_type, input_profile) in input_profiles.items():
input_profile = input_profile[t_start:t_start + pd.Timedelta(hours=t_horizon - 1)]
input_profile = input_profile[t_start:t_start + pd.Timedelta(hours=t_horizon * t_step - t_step)]
if input_profile_type == 'irradiance':
lambda_1 = 14.122
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment