diff --git a/.github/workflows/run_exhaustive_examples.yml b/.github/workflows/run_exhaustive_examples.yml index 3c88b4152..cf4bae13c 100644 --- a/.github/workflows/run_exhaustive_examples.yml +++ b/.github/workflows/run_exhaustive_examples.yml @@ -102,8 +102,18 @@ jobs: # python dac_driver.py # Run scripts within design of experiments folder - - name: Run examples design of experiments + - name: Run OpenFAST design of experiments run: | cd examples/09_design_of_experiments mpiexec -n 2 --bind-to core python DOE_openfast.py python postprocess_results.py + + - name: Run RAFT design of experiments + run: | + cd examples/09_design_of_experiments + mpiexec -n 2 python DOE_raft.py + + - name: Run parallel script with RAFT + run: | + cd examples/17_IEA22_Optimization + mpiexec -n 2 python driver_weis_raft_opt.py diff --git a/examples/09_design_of_experiments/analysis_options_openfast.yaml b/examples/09_design_of_experiments/analysis_options_openfast.yaml index ce8090574..3f0fb3c56 100644 --- a/examples/09_design_of_experiments/analysis_options_openfast.yaml +++ b/examples/09_design_of_experiments/analysis_options_openfast.yaml @@ -1,5 +1,5 @@ general: - folder_output: outputs + folder_output: outputs/OpenFAST_DOE fname_output: OpenFAST_DOE design_variables: blade: diff --git a/examples/09_design_of_experiments/postprocess_results.py b/examples/09_design_of_experiments/postprocess_results.py index 78af0acf5..d8b3abf7b 100644 --- a/examples/09_design_of_experiments/postprocess_results.py +++ b/examples/09_design_of_experiments/postprocess_results.py @@ -34,7 +34,7 @@ def load_OMsql(log): # sql outfile directory run_dir = os.path.dirname(os.path.realpath(__file__)) - output_dir = os.path.join(run_dir, "outputs/RAFT_DOE") + output_dir = os.path.join(run_dir, "outputs/OpenFAST_DOE") doe_logs = glob.glob(os.path.join(output_dir,"log_opt.sql*")) if len(doe_logs) < 1: raise FileExistsError("No output logs to post process!")