-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in running 02_ccblade.py #378
Comments
|
hello, the error is most likely caused by some issue with the input files. can you maybe share your setup? |
Hello @ptrbortolotti, Elastodyn:
|
Hello, I'm sorry but I don't really understand what's going on from this text. I talked to @dzalkind and our recommendation is to go back to a working example and start changing things one by one. It looks like you've changed the airfoil polars. Maybe start there, as things could easily go wrong in those tables. Please let us know if and when you find the issue |
Hello @ptrbortolotti, the issue was indeed with the polars list. The order was messed up in the aerodyn input file. Thanks |
I'm trying to tune the controller for a 80m diameter 2MW turbine and when I run 02_ccblade, I get this error:
(rosco-envir) c:\Users\xxxx\ROSCO\Examples>python 02_ccblade.py
Using ofTools in rosco.toolbox...
Loading wind turbine data for NREL's ROSCO tuning and simulation processeses
Loading FAST model: Turb10ms.fst
Loading rotor performace data from text file: c:\NREL-2p8-127_Cp_Ct_Cq.txt
Loading rotor performance data from CC-Blade.
Running CCBlade aerodynamic analysis, this may take a minute...
UserWarning: C:\Users\xxxx\AppData\Local\anaconda3\envs\rosco-envir\lib\site-packages\wisdem\ccblade\ccblade.py:970
error. check input values.NaNs at 0/41: 1.5707963267948966 0.0 3.141591653589793
NaNs at 0/41: 1.5707963267948966 0.0 3.141591653589793
NaNs at 0/41: 1.5707963267948966 0.0 3.141591653589793
CCBlade aerodynamic analysis run successfully.
Writing rotor performance text file: c:\Users\xxxx\ROSCO\Examples\examples_out\02_Cp_Ct_Cq.Ex03.txt
I have a few questions regarding this.
.yaml file that I used:
path_params: {FAST_InputFile: Turb10ms.fst, FAST_directory: c:\01_OpenFAST_MM82, rotor_performance_filename: c:\01_OpenFAST_MM82\02_Cp_Ct_Cq.Ex03.txt}
controller_params:
LoggingLevel: 2
F_LPFType: 1
F_NotchType: 0
IPC_ControlMode: 1
VS_ControlMode: 3
PC_ControlMode: 1
Y_ControlMode: 0
SS_Mode: 1
WE_Mode: 2
PS_Mode: 1
SD_Mode: 0
Fl_Mode: 0
Flp_Mode: 0
zeta_pc: [2.0062413749856227]
omega_pc: [0.13653659182284006]
zeta_vs: 0.465
omega_vs: 0.11
twr_freq: 0.458
ptfm_freq: 0.2
ps_percent: 0.8
sd_maxpit: 0.4363
DISCON: {PC_MinPit: -0.1745329, PC_FinePit: 0.0, DLL_FileName: libdiscon, DLL_InFile: discon, DLL_ProcName: DISCON}
TD_Mode: 0
PwC_Mode: 0
ZMQ_Mode: 0
ZMQ_UpdatePeriod: 2
PA_Mode: 0
Ext_Mode: 0
U_pc: [12]
interp_type: sigma
max_pitch: 1.57
min_pitch: 0.0
vs_minspd: 0.0
ss_vsgain: 1.0
ss_pcgain: 0.001
flp_maxpit: 0.1745
WS_GS_n: 60
PC_GS_n: 30
tune_Fl: true
max_torque_factor: 1.2
IPC_Kp1p: 0.0
IPC_Kp2p: 0.0
IPC_Ki1p: 5.2e-9
IPC_Ki2p: 0.0
IPC_Vramp: [0.0, 0.0]
filter_params: {f_we_cornerfreq: 0.20944, f_fl_highpassfreq: 0.01042, f_ss_cornerfreq: 0.6283, f_yawerr: 0.17952, f_sd_cornerfreq: 0.41888}
open_loop: {flag: false, filename: unused, OL_Ind_Breakpoint: 1, OL_Ind_BldPitch: 0, OL_Ind_GenTq: 0, OL_Ind_YawRate: 0}
PA_CornerFreq: 3.14
PA_Damping: 0.707
linmodel_tuning:
type: none
linfile_path: none
lintune_outpath: lintune_outfiles
load_parallel: false
stability_margin: 0.1
omega_pc: {}
flag: true
tuning_yaml: /home/dzalkind/Tools/ROSCO/Tune_Cases/NREL2p8.yaml
n_pitch: 30
n_tsr: 30
n_U: 1
omega_flp: 0.0
zeta_flp: 0.0
turbine_params: {rotor_inertia: 5375828.000, rated_rotor_speed: 1.7854, v_min: 3.0, v_rated: 8.4, v_max: 25.0, max_pitch_rate: 0.1745, max_torque_rate: 11000.0, rated_power: 2000000.0, bld_edgewise_freq: 1.663, bld_flapwise_freq: 0.905}
Thanks in advance!
The text was updated successfully, but these errors were encountered: