Skip to content

Commit

Permalink
bring back weis_driver_model_only
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrbortolotti committed Jan 2, 2025
1 parent 7aedb7c commit 9a99005
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions examples/05_IEA-3.4-130-RWT/weis_driver_model_only.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import os
import time
import sys

from weis.glue_code.runWEIS import run_weis
from openmdao.utils.mpi import MPI

## File management
run_dir = os.path.dirname( os.path.realpath(__file__) )
fname_wt_input = os.path.join(run_dir, 'IEA-3p4-130-RWT.yaml')
fname_modeling_options = os.path.join(run_dir, 'modeling_options.yaml')
fname_analysis_options = os.path.join(run_dir, 'analysis_options.yaml')

modeling_override = {}
modeling_override['General'] = {}
modeling_override['General']['openfast_configuration'] = {}
modeling_override['General']['openfast_configuration']['model_only'] = True

wt_opt, modeling_options, opt_options = run_weis(fname_wt_input,
fname_modeling_options,
fname_analysis_options,
modeling_override=modeling_override)
2 changes: 1 addition & 1 deletion weis/test/run_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# "03_NREL5MW_OC3_spar/weis_freq_driver", # executed in examples_skinny
# "04_NREL5MW_OC4_semi/weis_driver", # skipping until we resolve multiple variable ballasts
"04_NREL5MW_OC4_semi/weis_freq_driver",
# "05_IEA-3.4-130-RWT/weis_driver", # also executed via mpi in the gitthub workflow
"05_IEA-3.4-130-RWT/weis_driver", # also executed via mpi in the gitthub workflow
#"06_IEA-15-240-RWT/weis_driver", # executed in the test_IEA15.py
# "07_te_flaps/dac_driver",
"08_OLAF/weis_driver",
Expand Down
2 changes: 1 addition & 1 deletion weis/test/test_examples_skinny.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"02_run_openfast_cases/weis_driver_sm", #Not as fast as weis_driver, but not too bad (120 sec. locally)
#"03_NREL5MW_OC3_spar/weis_driver",
"03_NREL5MW_OC3_spar/weis_freq_driver",
"05_IEA-3.4-130-RWT/weis_driver",
"05_IEA-3.4-130-RWT/weis_driver_model_only",
"06_IEA-15-240-RWT/weis_driver_monopile",
"06_IEA-15-240-RWT/weis_driver_TMDs",
"09_design_of_experiments/DOE_openfast",
Expand Down

0 comments on commit 9a99005

Please sign in to comment.