7. ROSCO_Toolbox tuning .yaml
Definition of inputs for ROSCO tuning procedure
toolbox_schema
7.1. path_params
FAST_InputFileStringName of *.fst file
FAST_directoryStringMain OpenFAST model directory, where the *.fst lives, relative to ROSCO dir (if applicable)
rotor_performance_filenameStringFilename for rotor performance text file (if it has been generated by ccblade already)
7.2. turbine_params
rotor_inertiaFloat, kg m^2Rotor inertia [kg m^2], {Available in Elastodyn .sum file}
rated_rotor_speedFloat, rad/sRated rotor speed [rad/s]
Minimum = 0
v_minFloat, m/sCut-in wind speed of the wind turbine.
Minimum = 0
v_maxFloat, m/sCut-out wind speed of the wind turbine.
Minimum = 0
max_pitch_rateFloat, rad/sMaximum blade pitch rate [rad/s]
Minimum = 0
max_torque_rateFloat, Nm/sMaximum torque rate [Nm/s], {~1/4 VS_RtTq/s}
Minimum = 0
rated_powerFloat, WRated Power [W]
Minimum = 0
bld_edgewise_freqFloat, rad/sBlade edgewise first natural frequency [rad/s]
Default = 4.0
Minimum = 0
bld_flapwise_freqFloat, rad/sBlade flapwise first natural frequency [rad/s]
Default = 0
Minimum = 0
TSR_operationalFloatOptimal tip speed ratio, if 0 the optimal TSR will be determined by the Cp surface
Default = 0
Minimum = 0
7.3. controller_params
LoggingLevelFloat0- write no debug files, 1- write standard output .dbg-file, 2- write standard output .dbg-file and complete avrSWAP-array .dbg2-file
Default = 1
Minimum = 0 Maximum = 3
F_LPFTypeFloat1- first-order low-pass filter, 2- second-order low-pass filter, [rad/s] (currently filters generator speed and pitch control signals)
Default = 1
Minimum = 1 Maximum = 2
F_NotchTypeFloatNotch on the measured generator speed and/or tower fore-aft motion (for floating) {0- disable, 1- generator speed, 2- tower-top fore- aft motion, 3- generator speed and tower-top fore-aft motion}
Default = 0
Minimum = 0 Maximum = 3
IPC_ControlModeFloatTurn Individual Pitch Control (IPC) for fatigue load reductions (pitch contribution) (0- off, 1- 1P reductions, 2- 1P+2P reduction)
Default = 0
Minimum = 0 Maximum = 2
VS_ControlModeFloatGenerator torque control mode in above rated conditions (0- constant torque, 1- constant power, 2- TSR tracking PI control with constant torque, 3- TSR tracking with constant power)
Default = 2
Minimum = 0 Maximum = 3
PC_ControlModeFloatBlade pitch control mode (0- No pitch, fix to fine pitch, 1- active PI blade pitch control)
Default = 1
Minimum = 0 Maximum = 1
Y_ControlModeFloatYaw control mode (0- no yaw control, 1- yaw rate control, 2- yaw- by-IPC)
Default = 0
Minimum = 0 Maximum = 2
SS_ModeFloatSetpoint Smoother mode (0- no setpoint smoothing, 1- introduce setpoint smoothing)
Default = 1
Minimum = 0 Maximum = 2
WE_ModeFloatWind speed estimator mode (0- One-second low pass filtered hub height wind speed, 1- Immersion and Invariance Estimator (Ortega et al.)
Default = 2
Minimum = 0 Maximum = 2
PS_ModeFloatPitch saturation mode (0- no pitch saturation, 1- peak shaving, 2- Cp-maximizing pitch saturation, 3- peak shaving and Cp-maximizing pitch saturation)
Default = 3
Minimum = 0 Maximum = 3
SD_ModeFloatShutdown mode (0- no shutdown procedure, 1- pitch to max pitch at shutdown)
Default = 0
Minimum = 0 Maximum = 1
TD_ModeFloatTower damper mode (0- no tower damper, 1- feed back translational nacelle accelleration to pitch angle
Default = 0
Minimum = 0 Maximum = 1
Fl_ModeFloatFloating specific feedback mode (0- no nacelle velocity feedback, 1 - nacelle velocity feedback, 2 - nacelle pitching acceleration feedback)
Default = 0
Minimum = 0 Maximum = 2
Flp_ModeFloatFlap control mode (0- no flap control, 1- steady state flap angle, 2- Proportional flap control)
Default = 0
Minimum = 0 Maximum = 2
PwC_ModeFloatActive Power Control Mode (0- no active power control 1- constant active power control, 2- open loop power vs time, 3- open loop power vs. wind speed)
Default = 0
Minimum = 0 Maximum = 2
ZMQ_ModeFloatZMQ Mode (0 - ZMQ Inteface, 1 - ZMQ for yaw control)
Default = 0
Minimum = 0 Maximum = 1
PA_ModeFloatPitch actuator mode {0 - not used, 1 - first order filter, 2 - second order filter}
Default = 0
Minimum = 0 Maximum = 2
PF_ModeFloatPitch fault mode {0 - not used, 1 - constant offset on one or more blades}
Default = 0
Minimum = 0 Maximum = 1
Ext_ModeFloatExternal control mode [0 - not used, 1 - call external dynamic library]
Default = 0
Minimum = 0 Maximum = 1
CC_ModeFloatCable control mode [0- unused, 1- User defined, 2- Position control (not yet implemented)]
Default = 0
Minimum = 0 Maximum = 1
StC_ModeFloatStructural control mode [0- unused, 1- User defined]
Default = 0
Minimum = 0 Maximum = 1
U_pcArray of FloatsList of wind speeds to schedule pitch control zeta and omega
Default = [12]
Minimum = 0
zeta_pcArray of Floats or FloatList of pitch controller desired damping ratio at U_pc [-]
Default = [1.0]
omega_pcArray of Floats or Float, rad/sList of pitch controller desired natural frequency at U_pc [rad/s]
Default = [0.2]
interp_typeString from, [‘sigma’, ‘linear’, ‘quadratic’, ‘cubic’]Type of interpolation between above rated tuning values (only used for multiple pitch controller tuning values)
Default = sigma
zeta_vsFloatTorque controller desired damping ratio [-]
Default = 1.0
Minimum = 0
omega_vsFloat, rad/sTorque controller desired natural frequency [rad/s]
Default = 0.2
Minimum = 0
max_pitchFloat, radMaximum pitch angle [rad], {default = 90 degrees}
Default = 1.57
min_pitchFloat, radMinimum pitch angle [rad], {default = 0 degrees}
Default = 0
vs_minspdFloat, rad/sMinimum rotor speed [rad/s], {default = 0 rad/s}
Default = 0
ss_vsgainFloatTorque controller setpoint smoother gain bias percentage [%, <= 1 ], {default = 100%}
Default = 1.0
ss_pcgainFloat, radPitch controller setpoint smoother gain bias percentage [%, <= 1 ], {default = 0.1%}
Default = 0.001
ps_percentFloat, radPercent peak shaving [%, <= 1 ], {default = 80%}
Default = 0.8 Maximum = 1
sd_maxpitFloat, radMaximum blade pitch angle to initiate shutdown [rad], {default = 40 deg.}
Default = 0.6981
flp_maxpitFloat, radMaximum (and minimum) flap pitch angle [rad]
Default = 0.1745
twr_freqFloat, rad/sTower natural frequency, for floating only
Minimum = 0
ptfm_freqFloat, rad/sPlatform natural frequency, for floating only
Minimum = 0
WS_GS_nFloatNumber of wind speed breakpoints
Default = 60
Minimum = 0
PC_GS_nFloatNumber of pitch angle gain scheduling breakpoints
Default = 30
Minimum = 0
Kp_floatFloat, sGain of floating feedback control
tune_FlBooleanWhether to automatically tune Kp_float
Default = True
zeta_flpFloatFlap controller desired damping ratio [-]
Minimum = 0
omega_flpFloat, rad/sFlap controller desired natural frequency [rad/s]
Minimum = 0
flp_kp_normFloatFlap controller normalization term for DC gain (kappa)
Minimum = 0
flp_tauFloat, sFlap controller time constant for integral gain
Minimum = 0
max_torque_factorFloatMaximum torque = rated torque * max_torque_factor
Default = 1.1
Minimum = 0
IPC_Kp1pFloat, sProportional gain for IPC, 1P [s]
Default = 0.0
Minimum = 0
IPC_Kp2pFloatProportional gain for IPC, 2P [-]
Default = 0.0
Minimum = 0
IPC_Ki1pFloat, sIntegral gain for IPC, 1P [s]
Default = 0.0
Minimum = 0
IPC_Ki2pFloatintegral gain for IPC, 2P [-]
Default = 0.0
Minimum = 0
IPC_VrampArray of Floatswind speeds for IPC cut-in sigma function [m/s]
Default = [0.0, 0.0]
Minimum = 0.0
7.3.1. filter_params
f_lpf_cornerfreqFloat, rad/sCorner frequency (-3dB point) in the first order low pass filter of the generator speed [rad/s]
Minimum = 0
f_lpf_dampingFloat, rad/sDamping ratio in the first order low pass filter of the generator speed [-]
Minimum = 0
f_we_cornerfreqFloat, rad/sCorner frequency (-3dB point) in the first order low pass filter for the wind speed estimate [rad/s]
Default = 0.20944
Minimum = 0
f_fl_highpassfreqFloat, rad/sNatural frequency of first-order high-pass filter for nacelle fore-aft motion [rad/s]
Default = 0.01042
Minimum = 0
f_ss_cornerfreqFloat, rad/sFirst order low-pass filter cornering frequency for setpoint smoother [rad/s]
Default = 0.6283
Minimum = 0
f_yawerrFloat, rad/sLow pass filter corner frequency for yaw controller [rad/
Default = 0.17952
Minimum = 0
f_sd_cornerfreqFloat, radCutoff Frequency for first order low-pass filter for blade pitch angle [rad/s], {default = 0.41888 ~ time constant of 15s}
Default = 0.41888
7.3.2. open_loop
flagBooleanFlag to use open loop control
Default = False
filenameStringFilename of open loop input that ROSCO reads
Default = unused
OL_Ind_BreakpointFloatIndex (column, 1-indexed) of breakpoint (time) in open loop index
Default = 1
OL_Ind_BldPitchFloatIndex (column, 1-indexed) of breakpoint (time) in open loop index
Default = 0
OL_Ind_GenTqFloatIndex (column, 1-indexed) of breakpoint (time) in open loop index
Default = 0
OL_Ind_YawRateFloatIndex (column, 1-indexed) of breakpoint (time) in open loop index
Default = 0
PA_CornerFreqFloat, rad/sPitch actuator natural frequency [rad/s]
Default = 3.14
Minimum = 0
PA_DampingFloatPitch actuator damping ratio [-]
Default = 0.707
Minimum = 0
7.3.3. DISCON
These are pass-through parameters for the DISCON.IN file. Use with caution.
LoggingLevelFloat(0- write no debug files, 1- write standard output .dbg-file, 2- write standard output .dbg-file and complete avrSWAP-array .dbg2-file)
EchoFloat0 - no Echo, 1 - Echo input data to <RootName>.echo
Default = 0
F_LPFTypeFloat1- first-order low-pass filter, 2- second-order low-pass filter (currently filters generator speed and pitch control signals
F_NotchTypeFloatNotch on the measured generator speed and/or tower fore-aft motion (for floating) (0- disable, 1- generator speed, 2- tower-top fore- aft motion, 3- generator speed and tower-top fore-aft motion)
IPC_ControlModeFloatTurn Individual Pitch Control (IPC) for fatigue load reductions (pitch contribution) (0- off, 1- 1P reductions, 2- 1P+2P reductions)
VS_ControlModeFloatGenerator torque control mode in above rated conditions (0- constant torque, 1- constant power, 2- TSR tracking PI control with constant torque, 3- TSR tracking PI control with constant power)
PC_ControlModeFloatBlade pitch control mode (0- No pitch, fix to fine pitch, 1- active PI blade pitch control)
Y_ControlModeFloatYaw control mode (0- no yaw control, 1- yaw rate control, 2- yaw- by-IPC)
SS_ModeFloatSetpoint Smoother mode (0- no setpoint smoothing, 1- introduce setpoint smoothing)
WE_ModeFloatWind speed estimator mode (0- One-second low pass filtered hub height wind speed, 1- Immersion and Invariance Estimator, 2- Extended Kalman Filter)
PS_ModeFloatPitch saturation mode (0- no pitch saturation, 1- implement pitch saturation)
SD_ModeFloatShutdown mode (0- no shutdown procedure, 1- pitch to max pitch at shutdown)
Fl_ModeFloatFloating specific feedback mode (0- no nacelle velocity feedback, 1- feed back translational velocity, 2- feed back rotational veloicty)
Flp_ModeFloatFlap control mode (0- no flap control, 1- steady state flap angle, 2- Proportional flap control)
F_LPFCornerFreqFloat, rad/sCorner frequency (-3dB point) in the low-pass filters,
F_LPFDampingFloatDamping coefficient (used only when F_FilterType = 2 [-]
F_NotchCornerFreqFloat, rad/sNatural frequency of the notch filter,
F_NotchBetaNumDenArray of FloatsTwo notch damping values (numerator and denominator, resp) - determines the width and depth of the notch, [-]
F_SSCornerFreqFloat, rad/s.Corner frequency (-3dB point) in the first order low pass filter for the setpoint smoother,
F_WECornerFreqFloat, rad/s.Corner frequency (-3dB point) in the first order low pass filter for the wind speed estimate
F_FlCornerFreqArray of FloatsNatural frequency and damping in the second order low pass filter of the tower-top fore-aft motion for floating feedback control
F_FlHighPassFreqFloat, rad/sNatural frequency of first-order high-pass filter for nacelle fore-aft motion
F_FlpCornerFreqArray of FloatsCorner frequency and damping in the second order low pass filter of the blade root bending moment for flap control
PC_GS_nFloatAmount of gain-scheduling table entries
PC_GS_anglesArray of FloatsGain-schedule table- pitch angles
PC_GS_KPArray of FloatsGain-schedule table- pitch controller kp gains
PC_GS_KIArray of FloatsGain-schedule table- pitch controller ki gains
PC_GS_KDArray of FloatsGain-schedule table- pitch controller kd gains
PC_GS_TFArray of FloatsGain-schedule table- pitch controller tf gains (derivative filter)
PC_MaxPitFloat, radMaximum physical pitch limit,
PC_MinPitFloat, radMinimum physical pitch limit,
PC_MaxRatFloat, rad/s.Maximum pitch rate (in absolute value) in pitch controller
PC_MinRatFloat, rad/s.Minimum pitch rate (in absolute value) in pitch controller
PC_RefSpdFloat, rad/s.Desired (reference) HSS speed for pitch controller
PC_FinePitFloat, radRecord 5- Below-rated pitch angle set-point
PC_SwitchFloat, radAngle above lowest minimum pitch angle for switch
IPC_IntSatFloat, radIntegrator saturation (maximum signal amplitude contribution to pitch from IPC)
IPC_SatModeIntegerIPC Saturation method (0 - no saturation, 1 - saturate by PC_MinPit, 2 - saturate by PS_BldPitchMin)
IPC_KPArray of FloatsProportional gain for the individual pitch controller- first parameter for 1P reductions, second for 2P reductions, [-]
IPC_KIArray of FloatsIntegral gain for the individual pitch controller- first parameter for 1P reductions, second for 2P reductions, [-]
IPC_aziOffsetArray of FloatsPhase offset added to the azimuth angle for the individual pitch controller
IPC_CornerFreqActFloat, rad/sCorner frequency of the first-order actuators model, to induce a phase lag in the IPC signal (0- Disable)
VS_GenEffFloat, percentGenerator efficiency mechanical power -> electrical power, should match the efficiency defined in the generator properties
VS_ArSatTqFloat, NmAbove rated generator torque PI control saturation
VS_MaxRatFloat, Nm/sMaximum torque rate (in absolute value) in torque controller
VS_MaxTqFloat, NmMaximum generator torque in Region 3 (HSS side)
VS_MinTqFloat, NmMinimum generator torque (HSS side)
VS_MinOMSpdFloat, rad/sMinimum generator speed
VS_Rgn2KFloat, Nm/(rad/s)^2Generator torque constant in Region 2 (HSS side)
VS_RtPwrFloat, WWind turbine rated power
VS_RtTqFloat, NmRated torque
VS_RefSpdFloat, rad/sRated generator speed
VS_nFloatNumber of generator PI torque controller gains
VS_KPFloatProportional gain for generator PI torque controller. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2)
VS_KIFloat, sIntegral gain for generator PI torque controller (Only used in the transitional 2.5 region if VS_ControlMode =/ 2)
VS_TSRoptFloat, radPower-maximizing region 2 tip-speed-ratio
SS_VSGainFloatVariable speed torque controller setpoint smoother gain
SS_PCGainFloatCollective pitch controller setpoint smoother gain
WE_BladeRadiusFloat, mBlade length (distance from hub center to blade tip)
WE_CP_nFloatAmount of parameters in the Cp array
WE_CPArray of FloatsParameters that define the parameterized CP(lambda) function
WE_GammaFloat, m/radAdaption gain of the wind speed estimator algorithm
WE_GearboxRatioFloatGearbox ratio, >=1
WE_JtotFloat, kg m^2Total drivetrain inertia, including blades, hub and casted generator inertia to LSS
WE_RhoAirFloat, kg m^-3Air density
PerfFileNameStringFile containing rotor performance tables (Cp,Ct,Cq) (absolute path or relative to this file)
PerfTableSizeFloatSize of rotor performance tables, first number refers to number of blade pitch angles, second number referse to number of tip-speed ratios
WE_FOPoles_NFloatNumber of first-order system poles used in EKF
WE_FOPoles_vArray of FloatsWind speeds corresponding to first-order system poles
WE_FOPolesArray of FloatsFirst order system poles
Y_ErrThreshFloat, rad^2 sYaw error threshold. Turbine begins to yaw when it passes this
Y_IPC_IntSatFloat, radIntegrator saturation (maximum signal amplitude contribution to pitch from yaw-by-IPC)
Y_IPC_nFloatNumber of controller gains (yaw-by-IPC)
Y_IPC_KPFloatYaw-by-IPC proportional controller gain Kp
Y_IPC_KIFloatYaw-by-IPC integral controller gain Ki
Y_IPC_omegaLPFloat, rad/s.Low-pass filter corner frequency for the Yaw-by-IPC controller to filtering the yaw alignment error
Y_IPC_zetaLPFloatLow-pass filter damping factor for the Yaw-by-IPC controller to filtering the yaw alignment error.
Y_MErrSetFloat, radYaw alignment error, set point
Y_omegaLPFastFloat, rad/sCorner frequency fast low pass filter, 1.0
Y_omegaLPSlowFloat, rad/sCorner frequency slow low pass filter, 1/60
Y_RateFloat, rad/sYaw rate
FA_KIFloat, rad s/mIntegral gain for the fore-aft tower damper controller, -1 = off / >0 = on
FA_HPFCornerFreqFloat, rad/sCorner frequency (-3dB point) in the high-pass filter on the fore- aft acceleration signal
FA_IntSatFloat, radIntegrator saturation (maximum signal amplitude contribution to pitch from FA damper)
PS_BldPitchMin_NFloatNumber of values in minimum blade pitch lookup table (should equal number of values in PS_WindSpeeds and PS_BldPitchMin)
PS_WindSpeedsArray of FloatsWind speeds corresponding to minimum blade pitch angles
PS_BldPitchMinArray of FloatsMinimum blade pitch angles
SD_MaxPitFloat, radMaximum blade pitch angle to initiate shutdown
SD_CornerFreqFloat, rad/sCutoff Frequency for first order low-pass filter for blade pitch angle
Fl_KpFloat, sNacelle velocity proportional feedback gain
Flp_AngleFloat, radInitial or steady state flap angle
Flp_KpFloat, sBlade root bending moment proportional gain for flap control
Flp_KiFloatFlap displacement integral gain for flap control
Flp_MaxPitFloat, radMaximum (and minimum) flap pitch angle
OL_FilenameStringInput file with open loop timeseries (absolute path or relative to this file)
Ind_BreakpointFloatThe column in OL_Filename that contains the breakpoint (time if OL_Mode = 1)
Ind_BldPitchFloatThe column in OL_Filename that contains the blade pitch input in rad
Ind_GenTqFloatThe column in OL_Filename that contains the generator torque in Nm
Ind_YawRateFloatThe column in OL_Filename that contains the generator torque in Nm
DLL_FileNameStringName/location of the dynamic library {.dll [Windows] or .so [Linux]} in the Bladed-DLL format
Default = unused
DLL_InFileStringName of input file sent to the DLL
Default = unused
DLL_ProcNameStringName of procedure in DLL to be called
Default = DISCON
PF_OffsetsArray of FloatsPitch angle offsets for each blade (array with length of 3)
CC_Group_NFloatNumber of cable control groups
Default = 0
CC_GroupIndexArray of FloatsFirst index for cable control group, should correspond to deltaL
Default = [0]
CC_ActTauFloatTime constant for line actuator [s]
Default = 20
StC_Group_NFloatNumber of cable control groups
Default = 0
StC_GroupIndexArray of FloatsFirst index for structural control group, options specified in ServoDyn summary output
Default = [0]
7.4. linmodel_tuning
Inputs used for tuning ROSCO using linear (level 2) models
typeString from, [‘none’, ‘robust’, ‘simulation’]Type of level 2 based tuning - robust gain scheduling (robust) or simulation based optimization (simulation)
Default = none
linfile_pathStringPath to OpenFAST linearization (.lin) files, if they exist
Default = none
lintune_outpathStringPath for outputs from linear model based tuning
Default = lintune_outfiles
load_parallelBooleanLoad linearization files in parallel (True/False)
Default = False
stability_marginFloat or Array of FloatsDesired maximum stability margin
Default = 0.1