WEIS
WEIS copied to clipboard
User Defined control optimization based on 02_control_opt
Hello, everyone!
After a period of learning and debugging, I have been able to run basic cases. But when I started user Defined control optimization based on 02_control_opt, something went wrong, although I think I have already referred to the relevant code.
- When I add wave_spectrum at DLCs in DLC_driver of modeling_options.yaml, I used the below words: wave_spectrum: ["JONSWAP", "unit", "JONSWAP"] which refers to the statement of line 158 of https://github.com/WISDEM/WEIS/blob/main/examples/05_IEA-3.4-130-RWT/modeling_options.yaml But it seems not work, and It has an error message, which tell me there's something wrong with this expression.
- I also want to know if the expression below is right or not, especially Z0: turbulent_wind: HubHt: 90 RefHt: 90 URef: 8 GridHeight: 160 GridWidth: 160 IECturbc: 0.05 PLExp: 0.14 Z0: "0.03"
- Lastly, could you give me some advice on In below-rated operation? As I want that ROSCO uses a wind speed estimate to determine the optimal generator speed set point for tracking the optimal tip speed ratio. What about the setting below for ROSCO in modeling_options.yaml and design_variables/merit_figure/constraints for analysis_options.yaml? ROSCO: flag: True SD_Mode: 0 PS_Mode: 0 ps_percent: 0.85 F_LPFType: 2 F_NotchType: 2 Fl_Mode: 2 tuning_yaml: /home/wind/WEIS/ROSCO/Tune_Cases/NREL5MW.yaml zeta_pc: [ 0 ] omega_pc: [ 0 ] U_pc: [ 8 ] zeta_vs: 0.85 # Torque controller desired damping ratio [-] omega_vs: 0.12 twr_freq: 3.2 ptfm_freq: 0.2 Kp_float: -10
design_variables: control: servo: torque_control: omega: flag: True min: 0.1 max: 1.0 zeta: flag: True min: 0.1 max: 1.5 merit_figure: Cp # Merit figure of the optimization problem. The options are 'AEP' - 'LCOE' - 'Cp' - 'blade_mass' - 'blade_tip_deflection' constraints: control: nacelle_acceleration: flag: false max: 3.0
If anyone can give me some kindly remind, I would be very grateful. Thank you all.
modeling and analysis files.zip