From d9e31f4b3fa20bb167adcdc21b2e53d7464120b6 Mon Sep 17 00:00:00 2001 From: Marvin Kastner Date: Thu, 23 May 2024 14:23:37 +0200 Subject: [PATCH] show difference of demo script in folder name --- .../demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py b/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py index 66eec26..322413c 100644 --- a/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py +++ b/examples/Python_Script/demo_DEHAM_CTA__with_ramp_up_and_ramp_down_period.py @@ -319,7 +319,10 @@ # Export important entries from SQL to CSV so that it can be further processed, e.g., by a simulation software export_container_flow_manager = conflowgen.ExportContainerFlowManager() export_container_flow_manager.export( - folder_name="demo-DEHAM-of-day--" + str(datetime.datetime.now()).replace(":", "-").replace(" ", "--").split(".")[0], + folder_name=( + "demo-DEHAM-inc-ramp-up-and-down-of-day--" + + str(datetime.datetime.now()).replace(":", "-").replace(" ", "--").split(".")[0] + ), path_to_export_folder=os.path.join(this_dir, "export"), file_format=conflowgen.ExportFileFormat.csv )