Skip to content

Commit

Permalink
Generalize tuning script
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Oct 31, 2019
1 parent b510105 commit f24fb4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 236 deletions.
91 changes: 0 additions & 91 deletions Tune_Cases/tune_IEA10MW.py

This file was deleted.

79 changes: 0 additions & 79 deletions Tune_Cases/tune_NREL15MW.py

This file was deleted.

62 changes: 0 additions & 62 deletions Tune_Cases/tune_NREL5MW.py

This file was deleted.

12 changes: 8 additions & 4 deletions Tune_Cases/tune_DTU10MW.py → Tune_Cases/tune_ROSCO.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
# -- Made to run the tools distributed as a part of the ROSCO_Toolbox

#-------------------------------- LOAD INPUT PARAMETERS ---------------------------------#
parameter_filename = 'DTU10MW.yaml' # Name of .yaml input file for the specific turbine
# Change this for your turbine
parameter_filename = 'NREL5MW.yaml' # Name of .yaml input file for the specific turbine


#----------------------------------------------------------------------------------------#
#--------------------- NOTHING SHOULD NEED TO CHANGE AFTER THIS -------------------------#
#----------------------------------------------------------------------------------------#


#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------#
#--------------------- NOTHING SHOULD NEED TO CHANGE AFTER THIS -----------------------------------------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------#


#------------------------------------- INITIALIZATION ----------------------------------#
Expand All @@ -26,6 +29,7 @@
turbine_params = {}
control_params = {}

os.chdir('/Users/nabbas/Documents/WindEnergyToolbox/ROSCO_toolbox/Tune_Cases')
# Load input file contents, put them in some dictionaries to keep things cleaner
inps = yaml.safe_load(open(parameter_filename))
path_params = inps['path_params']
Expand Down

0 comments on commit f24fb4d

Please sign in to comment.