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

move utils g5k to dedicated folder

parent 055a28d3
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ def compute_expe_start_time(args) :
day1 += betweentime
print(expe_start_time)
# Save selected dates in a txt file
with open(f"{WL_DIR}/start_days_for_campaign3.txt", 'w') as f:
with open(f"{WL_DIR}/start_days_for_campaign.txt", 'w') as f:
for date in str_start_day:
f.write(date + '\n')
return expe_start_time,begin_time,end_time,heating_days
......@@ -292,9 +292,9 @@ def compute_metrics(args, expe_done_dict, red_windows_dict, yellow_windows_dict,
True,
maximum_worker, out_dir,
{"_simu_solar_wind": production_files[1]}, start_day)
metrics_file_name = f"{out_dir}/metrics_campaign3_{save_num}.csv"
metrics_file_name = f"{out_dir}/metrics_campaign_{save_num}.csv"
metrics.to_csv(metrics_file_name)
metrics_relative.to_csv(f"{out_dir}/metrics_relative_campaign3_{save_num}.csv")
metrics_relative.to_csv(f"{out_dir}/metrics_relative_campaign_{save_num}.csv")
plot_exec_time(expe_done_dict, WL_DIR, out_dir, f'{out_dir}/execution_times_{save_num}.svg')
plot_queue_load(expe_done_dict, out_dir)
......
File moved
File moved
File moved
File moved
File moved
#/bin/bash
cd ~/demand-response-user
nix-shell --pure -A exp_env --run "jupyter notebook --ip $(hostname -f) --no-browser"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment