Skip to content
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

DFSM #293

Open
wants to merge 22 commits into
base: ct-opt
Choose a base branch
from
Open

DFSM #293

Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2fd59d4
debug branch
AthulKrishnaSundarrajan Dec 5, 2023
598c6c5
post prelim updates
AthulKrishnaSundarrajan Jan 8, 2024
886dfb6
DFSM integration updates
AthulKrishnaSundarrajan Jan 24, 2024
a1ea5e2
DFSM updates
AthulKrishnaSundarrajan May 31, 2024
474c35c
DFSM LPV modeling updates
AthulKrishnaSundarrajan Jun 12, 2024
62b9406
switch weis versions
AthulKrishnaSundarrajan Jun 28, 2024
fe25ed4
update dfsm and cleanup example
AthulKrishnaSundarrajan Jun 28, 2024
b424719
cleanup example
AthulKrishnaSundarrajan Jul 1, 2024
3604a70
remove additional openfast input files
AthulKrishnaSundarrajan Jul 1, 2024
3ba837d
fix hardcoded unit conversion metrics
AthulKrishnaSundarrajan Jul 1, 2024
adfeddc
add readme.md
AthulKrishnaSundarrajan Jul 1, 2024
bb98d11
cleanup readme.md
AthulKrishnaSundarrajan Jul 1, 2024
1f04d03
cleanup readme.md
AthulKrishnaSundarrajan Jul 1, 2024
29a34d9
adress PR issues
AthulKrishnaSundarrajan Jul 9, 2024
d77abf5
minor updates
AthulKrishnaSundarrajan Jul 12, 2024
55e8a76
Merge branch 'ct-opt' of https://github.com/WISDEM/WEIS into ctopt-debug
AthulKrishnaSundarrajan Dec 2, 2024
8e465d0
DFSM updates
AthulKrishnaSundarrajan Dec 10, 2024
a10461f
update documentation and ipynb
AthulKrishnaSundarrajan Dec 10, 2024
1f8fc01
cleanup
AthulKrishnaSundarrajan Dec 11, 2024
5f701a6
Expand documentation and cleanup
AthulKrishnaSundarrajan Feb 14, 2025
2c4a29b
resolve conflicts
AthulKrishnaSundarrajan Feb 17, 2025
c715315
resolving spacing conflicts
AthulKrishnaSundarrajan Feb 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,323 changes: 1,323 additions & 0 deletions examples/19_DFSM/IEA-15-240-RWT_VolturnUS-S.yaml

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions examples/19_DFSM/IEA_15_MW/IEA15MW-tuning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# --------------------- ROSCO controller tuning input file -------------------
# Written for use with ROSCO_Toolbox tuning procedures
# Turbine: IEA 15MW Reference Wind Turbine
# ------------------------------ OpenFAST PATH DEFINITIONS ------------------------------
path_params:
FAST_InputFile: 'IEA_w_TMD.fst' # Name of *.fst file
FAST_directory: 'IEA_15_MW' # Main OpenFAST model directory, where the *.fst lives
# Optional (but suggested...)
rotor_performance_filename: 'IEA_w_TMD_Cp_Ct_Cq.txt'

# -------------------------------- TURBINE PARAMETERS -----------------------------------
turbine_params:
rotor_inertia: 310619488. # Rotor inertia [kg m^2], {Available in Elastodyn .sum file}
rated_rotor_speed: 0.7916813478 # Rated rotor speed [rad/s]
v_min: 3. # Cut-in wind speed [m/s]
v_rated: 10.74 # Rated wind speed [m/s]
v_max: 25.0 # Cut-out wind speed [m/s], -- Does not need to be exact (JUST ASSUME FOR NOW)
max_pitch_rate: 0.0349 # Maximum blade pitch rate [rad/s]
max_torque_rate: 4500000. # Maximum torque rate [Nm/s], {~1/4 VS_RtTq/s}
rated_power: 15000000. # Rated Power [W]
bld_edgewise_freq: 4.0324 # Blade edgewise first natural frequency [rad/s]
bld_flapwise_freq: 3.4872 # Blade flapwise first natural frequency [rad/s]
TSR_operational: 9.0

#------------------------------- CONTROLLER PARAMETERS ----------------------------------
controller_params:
# Controller flags
LoggingLevel: 0 # {0: write no debug files, 1: write standard output .dbg-file, 2: write standard output .dbg-file and complete avrSWAP-array .dbg2-file
F_LPFType: 2 # {1: first-order low-pass filter, 2: second-order low-pass filter}, [rad/s] (currently filters generator speed and pitch control signals)
F_NotchType: 0 # Notch on the measured generator speed {0: disable, 1: enable}
IPC_ControlMode: 0 # Turn Individual Pitch Control (IPC) for fatigue load reductions (pitch contribution) {0: off, 1: 1P reductions, 2: 1P+2P reductions}
VS_ControlMode: 2 # Generator torque control mode in above rated conditions {0: constant torque, 1: constant power, 2: TSR tracking PI control}
PC_ControlMode: 1 # Blade pitch control mode {0: No pitch, fix to fine pitch, 1: active PI blade pitch control}
Y_ControlMode: 0 # Yaw control mode {0: no yaw control, 1: yaw rate control, 2: yaw-by-IPC}
SS_Mode: 1 # Setpoint Smoother mode {0: no setpoint smoothing, 1: introduce setpoint smoothing}
WE_Mode: 2 # Wind speed estimator mode {0: One-second low pass filtered hub height wind speed, 1: Immersion and Invariance Estimator (Ortega et al.)}
PS_Mode: 3 # Pitch saturation mode {0: no pitch saturation, 1: peak shaving, 2: Cp-maximizing pitch saturation, 3: peak shaving and Cp-maximizing pitch saturation}
SD_Mode: 0 # Shutdown mode {0: no shutdown procedure, 1: pitch to max pitch at shutdown}
Fl_Mode: 2 # Floating specific feedback mode {0: no nacelle velocity feedback, 1: nacelle velocity feedback}
Flp_Mode: 0 # Flap control mode {0: no flap control, 1: steady state flap angle, 2: Proportional flap control}
PA_Mode: 2 # Pitch actuator mode {0 - not used, 1 - first order filter, 2 - second order filter}
# Controller parameters
# U_pc: [14]
zeta_pc: 1.0 # Pitch controller desired damping ratio [-]
omega_pc: 0.2 # Pitch controller desired natural frequency [rad/s]
zeta_vs: 0.85 # Torque controller desired damping ratio [-]
omega_vs: 0.12 # Torque controller desired natural frequency [rad/s]
twr_freq: 3.355 # for semi only!
ptfm_freq: 0.213 # for semi only!
# Optional - these can be defined, but do not need to be
min_pitch: 0.0 # Minimum pitch angle [rad], {default = 0 degrees}
vs_minspd: 0.523598775 # Minimum rotor speed [rad/s], {default = 0 rad/s}
ps_percent: 0.8 # Percent peak shaving [%, <= 1 ], {default = 80%}
PA_CornerFreq: 1.5708 # Pitch actuator natural frequency [rad/s]
PA_Damping: 0.707 # Pitch actuator natural frequency [rad/s]
rgn2k_factor: 0.85926

36 changes: 36 additions & 0 deletions examples/19_DFSM/IEA_15_MW/IEA_w_TMD_Cp_Ct_Cq.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ----- Rotor performance tables for the WEIS Turbine wind turbine -----
# ------------ Written on May-15-24 using the ROSCO toolbox ------------

# Pitch angle vector, 5 entries - x axis (matrix columns) (deg)
-5.0 3.75 12.5 21.25 30.0
# TSR vector, 5 entries - y axis (matrix rows) (-)
2.0 4.5 7.0 9.5 12.0
# Wind speed vector - z axis (m/s)
10.66

# Power coefficient

0.007424 0.027901 0.048885 0.060368 0.044839
0.154181 0.243819 0.160565 0.021548 -0.147753
0.446518 0.370316 0.119840 -0.274910 -0.582696
0.383138 0.419921 -0.034150 -0.838584 -1.334299
0.204352 0.423209 -0.313032 -1.696288 -2.553034


# Thrust coefficient

0.068605 0.069383 0.074022 0.074255 0.052424
0.270813 0.300864 0.185946 0.032251 -0.123781
0.727893 0.484291 0.148635 -0.224945 -0.416426
1.050977 0.605789 0.007677 -0.624404 -0.785844
1.364539 0.695969 -0.217703 -1.124732 -1.261919


# Torque coefficient

0.003730 0.014017 0.024559 0.030328 0.022526
0.034426 0.054440 0.035851 0.004811 -0.032990
0.064092 0.053154 0.017201 -0.039460 -0.083639
0.040522 0.044413 -0.003612 -0.088692 -0.141121
0.017110 0.035435 -0.026210 -0.142031 -0.213766

Loading
Loading