Skip to content
Snippets Groups Projects
Commit 6f428d6d authored by Maël Madon's avatar Maël Madon
Browse files

fix error DM_window boundary not int

parent 5f98e2da
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ def run_expe(expe_num, user_category, window_size, clean_log): ...@@ -44,7 +44,7 @@ def run_expe(expe_num, user_category, window_size, clean_log):
uf = f"{ROOT_DIR}/sched_input/user_description_file.json" uf = f"{ROOT_DIR}/sched_input/user_description_file.json"
# Demand response window, from 12 to (12 + window_size) on day2 # Demand response window, from 12 to (12 + window_size) on day2
dm_window = [(24+12)*3600, (int) (24+12+window_size)*3600] dm_window = [(24+12)*3600, (int) ((24+12+window_size)*3600)]
# User description file # User description file
def user_description(user): def user_description(user):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment