347 lines
14 KiB
YAML
Raw Permalink Normal View History

2025-11-21 18:44:19 +08:00
name: IEA 15MW, 2025/05/23
fst:
t_max: 150.0
dt: 0.05
interp_order: 2
calc_elast: 1
calc_aero: 1
calc_hydro: 0
gravity: 9.81
air_density: 1.225
water_density: 0
kinematic_viscosity: 1.464e-05
speed_of_sound: 335
multidyn:
method: 3
flap_dof1: true
flap_dof2: true
edge_dof: true
teet_dof: false
drtr_dof: false
gen_dof: false
yaw_dof: false
twfa_dof1: false
twfa_dof2: false
twss_dof1: false
twss_dof2: false
ptfm_sg_dof: false
ptfm_sw_dof: false
ptfm_hv_dof: false
ptfm_r_dof: false
ptfm_p_dof: false
ptfm_y_dof: false
initial_conditions:
out_of_plane_def: 0.0
in_plane_def: 0.0
blade_1_pitch_degs: 0.0
blade_2_pitch_degs: 0.0
blade_3_pitch_degs: 0.0
azimuth_degs: 0.0
rotor_speed_rpm: 8.0
nacelle_yaw_degs: 0.0
tower_top_fore_aft_disp: 0.0
tower_top_side_to_side_disp: 0.0
ptfm_surge_disp: 0.0
ptfm_sway_disp: 0.0
ptfm_heave_disp: 0.0
ptfm_roll_degs: 0.0
ptfm_pitch_degs: 0.0
ptfm_yaw_degs: 0.0
# AERODYN 配置(按照你给的 struct 定义)
ADGeneralOptions:
echo: false # bool
dt_aero: "default" # String (s 或 "default")
wakemod: 2 # i32 (switch)
afaeromod: 2 # i32 (switch)
twrpotent: 0 # i32 (switch)
twrshadow: 0 # i32 (switch)
twraero: false # bool
frozen_wake: false # bool
cavit_check: false # bool
buoyancy: false # bool
comp_aa: false # bool
aa_input_file: "" # String (空字符串或文件名)
EnvironmentalCondition:
airdens: "default" # String数值或 "Default"
kinvisc: "default" # String数值或 "Default"
spdsound: "default" # f64 (m/s)
patm: "default" # f64 (Pa)
pvap: "default" # f64 (Pa)
BladeElementOptions:
skewmod: 2 # i32 (switch)
skewmod_factor: "default" # String可能为数值或 "default"
tip_loss: true # bool
hub_loss: true # bool
tan_ind: true # bool
ai_drag: true # bool
ti_drag: true # bool
ind_toler: "default" # String数值或 "Default"
max_iter: 100 # i32
DynamicBemtOptions:
dbemt_mod: 2 # i32
tau1_const: 4.0 # f64 (s)
BeddoesLeishmanOptions:
ua_mod: 6 # i32
f_lookup: true # bool
AirfoilInformation:
af_tab_mod: 1 # i32
incol_alfa: 1 # i32
incol_cl: 2 # i32
incol_cd: 3 # i32
incol_cm: 4 # i32
incol_cpmin: 0 # i32
num_af_files: 8 # i32
af_names: # Vec<String>(多行文件名)
- "NREL5MW/Airfoils/Cylinder1.dat"
- "NREL5MW/Airfoils/Cylinder2.dat"
- "NREL5MW/Airfoils/DU40_A17.dat"
- "NREL5MW/Airfoils/DU35_A17.dat"
- "NREL5MW/Airfoils/DU30_A17.dat"
- "NREL5MW/Airfoils/DU25_A17.dat"
- "NREL5MW/Airfoils/DU21_A17.dat"
- "NREL5MW/Airfoils/NACA64_A17.dat"
RotorBladeProperties:
use_bl_cm: true # bool
ad_bl_files: # Vec<String>(每个 blade 的文件名)
- "NREL5MW/NRELOffshrBsline5MW_AeroDyn_blade.dat"
- "NREL5MW/NRELOffshrBsline5MW_AeroDyn_blade.dat"
- "NREL5MW/NRELOffshrBsline5MW_AeroDyn_blade.dat"
inflow_config:
echo: false
wind_type: 7
propagation_dir: 0.0
vflow_ang: 0.0
vel_interp_cubic: false
n_wind_vel: 1
wind_vxi_list: [] # 空列表
wind_vyi_list: []
wind_vzi_list: [90.0]
# Parameters for Steady Wind Conditions (used only for WindType = 1)
steady_wind:
h_wind_speed: 0.0
ref_ht: 90.0
pl_exp: 0.2
# Parameters for Uniform wind file (WindType = 2)
uniform:
filename_uni: "unused"
ref_ht_uni: 90.0
ref_length: 125.88
# Binary TurbSim Full-Field files (WindType = 3)
bts:
filename_bts: "Wind/90m_12mps_twr.bts"
# Binary Bladed-style Full-Field files (WindType = 4 or 7)
bladed:
filename_root: "Wind/wind18.ipt"
tower_file: false
# HAWC-format binary files (only used with WindType = 5)
hawc:
file_u: "wasp\\Output\\basic_5u.bin"
file_v: "wasp\\Output\\basic_5v.bin"
file_w: "wasp\\Output\\basic_5w.bin"
nx: 64
ny: 32
nz: 32
dx: 16
dy: 3
dz: 3
refht_hawc: 90.0
# Scaling parameters for turbulence
scaling:
scale_method: 2
sfx: 1.0
sfy: 1.0
sfz: 1.0
sigma_fx: 1.2
sigma_fy: 0.8
sigma_fz: 0.2
transient_wind:
filename_twi: "Wind/trans_wind.dat"
inflow_ipt:
u_bar: 18.0
ref_ht_turb: 90.0
wind_file: "Wind/wind18.wnd"
ti_x: 0.1495591
ti_y: 0.1172337
ti_z: 0.08343903
h_angle: 0.0 # WDIR
v_angle: 0.0 # FLINC
x_offset: 0.0
pl_exp_turb: 0.0 # WSHEAR
for_save:
dlc_name: "1.2aa_1"
save_path: "./output"
controller_input:
dll_path: "discon.dll" # dll文件路径
acc_infile: "discon250.in" # discon.in文件路径
pitch_min: 0.0 # 最小桨距角: 0度
pitch_max: 90.0 # 最大桨距角: 90度
pitch_rate_min: -0.05236 #最小收桨速率 单位:弧度/秒 单位需明确?
pitch_rate_max: 0.0
pitch_actuator_type: 0 #变桨控制方式 0位置 1速率
gen_power_dem: 5293930.971 #风机发电功率需求 单位W
gen_speed_dem: 1173.7 # 风机发电转速需求 单位rpm
gen_torque_dem: 43093.6 # 风机发电转矩需求 单位N·m
gain_optimal: 19936167.0 #最优模型增益
gen_speed_min: 670.0 #切入转速 单位rpm
gen_speed_max: 1173.7 # 最优追踪最大转速 单位rpm
pitch_control: 0 #变桨响应方式 0同步 1独立
yaw_control: 0 #偏航控制方式 0速率 1转矩
gen_speed: 122.0 #单位?
generator_efficiency: 0.944 # 发电机效率
freq_pitch_actuator: 1.0
damping_factor_pitch_actuator: 0.8
tau_torque_demand: 0.3
tasks:
- type: Aerodynamic Information
actived: false #最多只能有一个task是true
params:
wind_speed: 11.4 # Wind Speed [m/s]
pitch: 0.0 # Pitch Angle [deg]
omega: 12.1 # Rotational Speed [rpm]
- type: Performance Coefficients
actived: false
params:
tsr_min: 2.0 # Minimum Tip Speed Ratio [-]
tsr_max: 15.0 # Maximum Tip Speed Ratio [-]
tsr_step: 0.5 # Tip Speed Ratio Step [-]
pitch_min: 0.0 # Minimum Pitch Angle [deg]
pitch_max: 0.0 # Maximum Pitch Angle [deg]
pitch_step: 0.0 # Pitch Angle Step [deg]
omega: 12.1 # Rotational Speed [rpm]
flex: false # Flexibility -> Blade -> flexibility enabled?
- type: Steady Power Curve
actived: false
params:
ws_min: 4.0 # Minimum Wind Speed [m/s]
ws_max: 25.0 # Maximum Wind Speed [m/s]
ws_step: 0.5 # Wind Speed Step Size [m/s]
fixed_pitch: false # Calculate Pitch and Speed Change?
pitch: 0.0 # Fixed Pitch Angle [deg]
omega: 12.1
- type: Steady Operational Loads
actived: false
params:
ws_min: 10.0 # 最小风速 [m/s]
ws_max: 15.0 # 最大风速 [m/s]
ws_step: 0.5 # 风速步长 [m/s]
generator_min_speed: 650 # 最小发电机转速 [rpm]
generator_optimal_mode_max_speed: 1200 # 最优模式下发电机最大转速 [rpm]
demanded_generator_speed: 1200 # 需求发电机转速 [rpm]
min_pitch_angle: 0.5 # 最小桨距角 [deg]
max_pitch_angle: 90 # 最大桨距角 [deg]
demanded_generator_torque: 41882.9 # 需求发电机扭矩 [Nm]
gearbox_ratio: 86.39 # 齿轮箱传动比 [%]
blade_length_plus_hub: 63.0 # 叶片加轮毂总长度 [m]
- type: Steady Parked Loads
actived: false
params:
steady_wind_speed: 11.0 # 稳态风速 [m/s]
azimuth_angle: 0.0 # 方位角 [deg]
yaw_angle: 0.0 # 偏航角度 [deg]
wind_inclination: 0.0 # 风倾角 [deg]
pitch_angle: 0.5 # 变桨角度 [deg]
parameter_to_vary: 3 # 变动的参数 0- Azimuth, 1- Yaw, 2- Wind inclination, 3- Pitch
end_value: 10.0 # 结束值 [deg]
step: 1.0 # 步长 [deg]
- type: Power Production Loading
actived: true
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 30.0 # 仿真时长 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes
- type: Start
actived: false
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 100.0 # 仿真时长 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes
- type: Emergency Stop
actived: false
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 100.0 # 仿真时长 [s]
time_to_begin_a_stop: 60.0 # 开始停机时间 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes
- type: Normal Stop
actived: false
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 100.0 # 仿真时长 [s]
time_to_begin_a_stop: 60.0 # 开始停机时间 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes
- type: Idling
actived: false
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 100.0 # 仿真时长 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes
- type: Parked
actived: false
params:
output_time_step: 0.02 # 仿真步长 [s]
time_to_start_writing_output: 100.0 # 仿真输出开始时间
simulation_end_time: 100.0 # 仿真时长 [s]
comp_elast: 1 # 计算机组柔性响应 0 - no, 1 - yes
comp_aero: 1 # 计算机组气动载荷 0 - no, 1 - yes
comp_hydro: 0 # 计算机组水动载荷 0 - no, 1 - yes
comp_control: 1 # 启用控制模块 0 - no, 1 - yes
comp_inflow: 1 # 启用来流模块 0 - no, 1 - yes