From ad5b4e7903428e2665b89071f6ff0d6e0e92f5d5 Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Thu, 26 Sep 2019 15:35:24 -0600 Subject: [PATCH] Add Cp surface .txt flags --- examples/example_01.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example_01.py b/examples/example_01.py index 041fbe34d..339b7ecd4 100644 --- a/examples/example_01.py +++ b/examples/example_01.py @@ -7,7 +7,7 @@ # https://github.com/WISDEM/AeroelasticSE # https://github.com/OpenFAST/openfast # Be sure to clone the repo with the --recursive flag or execute git submodule update --init --recursive after cloning. -#%% + from WTC_toolbox import turbine as wtc_turbine from WTC_toolbox import controller as wtc_controller from WTC_toolbox import sim as wtc_sim @@ -26,7 +26,7 @@ # Load the turbine model from a FAST input folder drivetrain_inertia = 40469564.444 -turbine.load_from_fast(FAST_InputFile,FAST_directory,drivetrain_inertia=drivetrain_inertia,dev_branch=True) +turbine.load_from_fast(FAST_InputFile,FAST_directory,drivetrain_inertia=drivetrain_inertia,dev_branch=True,rot_source='txt',txt_filename='Cp_Ct_Cq.txt') # Display a little about the turbine print(turbine)