From 3a88752068777d976cc4dda1642591812bb8e14f Mon Sep 17 00:00:00 2001 From: Jenni Rinker <rink@win.dtu.dk> Date: Tue, 8 Sep 2020 12:04:24 +0200 Subject: [PATCH] removing stale files --- utils/1-make_htc_files.py | 19 ------------------- utils/2-copy_dlls.py | 18 ------------------ utils/3-run_htc_files.py | 11 ----------- utils/4-make_plots.py | 4 ---- 4 files changed, 52 deletions(-) delete mode 100644 utils/1-make_htc_files.py delete mode 100644 utils/2-copy_dlls.py delete mode 100644 utils/3-run_htc_files.py delete mode 100644 utils/4-make_plots.py diff --git a/utils/1-make_htc_files.py b/utils/1-make_htc_files.py deleted file mode 100644 index acf0f3a..0000000 --- a/utils/1-make_htc_files.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -"""Create HAWCStab2 and step-wind files from base (turbulent) htc -""" -from refutils import turb_to_hs2, turb_to_step - - -mod_dir = '../dtu-10mw-rwt/' -basename = 'DTU_10MW_RWT' - -htc_base = mod_dir + f'htc/{basename}.htc' -kwargs = {} # default kwargs in functions are for DTU 10 MW, no need to update - -# HAWCSTAB2 -hs2_path = mod_dir + f'{basename}_hs2.htc' -turb_to_hs2(htc_base, hs2_path, **kwargs) - -# STEP WIND -step_path = mod_dir + f'htc/{basename}_step.htc' -turb_to_step(htc_base, step_path, **kwargs) diff --git a/utils/2-copy_dlls.py b/utils/2-copy_dlls.py deleted file mode 100644 index 4dbd7eb..0000000 --- a/utils/2-copy_dlls.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Copy the DLLs from loca folder - -Make sure folder is at right commit: - >> git checkout 10fbd53c635d93bd84ccf8e33b3671191d0094a8 -""" -import shutil - -print('\n***Have you verified repo is at correct commit?***\n') - -repo = 'C:/Users/rink/git/control-win32' -dlls = ['dtu_we_controller.dll', 'generator_servo.dll', 'mech_brake.dll', - 'servo_with_limits.dll', 'towerclearance_mblade.dll'] - -for dll in dlls: - shutil.copy(repo + '/' + dll, - '../dtu-10mw-rwt/control/' + dll) diff --git a/utils/3-run_htc_files.py b/utils/3-run_htc_files.py deleted file mode 100644 index a807635..0000000 --- a/utils/3-run_htc_files.py +++ /dev/null @@ -1,11 +0,0 @@ -# -*- coding: utf-8 -*- -"""Create the report for the reference model -""" -from refutils.report import generate_results - - -h2s_ver = ['2.16a_x64'] # '2.15', '2.15_x64', '2.16a_x64' -hawc2_ver = ['12.8'] - -# run the htc files -generate_results('../dtu-10mw-rwt', hawc2_ver=hawc2_ver, h2s_ver=h2s_ver) diff --git a/utils/4-make_plots.py b/utils/4-make_plots.py deleted file mode 100644 index 8f5f563..0000000 --- a/utils/4-make_plots.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -"""Make the plots to be placed in the report -""" - -- GitLab