Skip to content

Commit

Permalink
Update to latest scipy functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 1, 2024
1 parent 8b85d7a commit 7546879
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 52 deletions.
12 changes: 6 additions & 6 deletions Examples/Test_Cases/BAR_10/BAR_10_DISCON.IN
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
! Controller parameter input file for the BAR_10 wind turbine
! - File written using ROSCO version 2.8.0 controller tuning logic on 01/05/24
! - File written using ROSCO version 2.9.4 controller tuning logic on 07/01/24

!------- SIMULATION CONTROL ------------------------------------------------------------
1 ! LoggingLevel - {0: write no debug files, 1: write standard output .dbg-file, 2: LoggingLevel 1 + ROSCO LocalVars (.dbg2) 3: LoggingLevel 2 + complete avrSWAP-array (.dbg3)}
0 ! DT_Out - {Time step to output .dbg* files, or 0 to match sampling period of OpenFAST}
1 ! Ext_Interface - (0 - use standard bladed interface, 1 - Use the extened DLL interface introduced in OpenFAST 3.5.0.)
1 ! Ext_Interface - (0 - use standard bladed interface, 1 - Use the extened DLL interface introduced in OpenFAST 3.5.0.)
0 ! Echo - (0 - no Echo, 1 - Echo input data to <RootName>.echo)

!------- CONTROLLER FLAGS -------------------------------------------------
Expand Down Expand Up @@ -53,8 +53,8 @@
!------- BLADE PITCH CONTROL ----------------------------------------------
30 ! PC_GS_n - Amount of gain-scheduling table entries
0.057899 0.086034 0.108220 0.127602 0.145231 0.161628 0.177110 0.191882 0.205973 0.219605 0.232854 0.245775 0.258317 0.270576 0.282622 0.294421 0.305965 0.317359 0.328547 0.339534 0.350412 0.361066 0.371600 0.382012 0.392231 0.402383 0.412328 0.422200 0.431927 0.441532 ! PC_GS_angles - Gain-schedule table: pitch angles [rad].
-0.017460 -0.014512 -0.012235 -0.010423 -0.008947 -0.007722 -0.006689 -0.005805 -0.005042 -0.004374 -0.003787 -0.003265 -0.002799 -0.002380 -0.002002 -0.001658 -0.001344 -0.001057 -0.000793 -0.000549 -0.000324 -0.000115 0.000080 0.000261 0.000431 0.000590 0.000740 0.000880 0.001013 0.001138 ! PC_GS_KP - Gain-schedule table: pitch controller kp gains [s].
-0.000715 -0.000623 -0.000552 -0.000496 -0.000450 -0.000412 -0.000380 -0.000352 -0.000328 -0.000307 -0.000289 -0.000273 -0.000258 -0.000245 -0.000233 -0.000223 -0.000213 -0.000204 -0.000196 -0.000188 -0.000181 -0.000175 -0.000169 -0.000163 -0.000158 -0.000153 -0.000148 -0.000144 -0.000140 -0.000136 ! PC_GS_KI - Gain-schedule table: pitch controller ki gains [-].
-0.017426 -0.014498 -0.012232 -0.010428 -0.008956 -0.007733 -0.006701 -0.005818 -0.005054 -0.004387 -0.003799 -0.003276 -0.002810 -0.002390 -0.002011 -0.001666 -0.001352 -0.001064 -0.000799 -0.000554 -0.000328 -0.000118 0.000077 0.000259 0.000430 0.000589 0.000739 0.000881 0.001014 0.001139 ! PC_GS_KP - Gain-schedule table: pitch controller kp gains [s].
-0.000714 -0.000623 -0.000552 -0.000496 -0.000450 -0.000412 -0.000380 -0.000353 -0.000329 -0.000308 -0.000290 -0.000274 -0.000259 -0.000246 -0.000234 -0.000223 -0.000214 -0.000205 -0.000196 -0.000189 -0.000182 -0.000175 -0.000169 -0.000164 -0.000158 -0.000153 -0.000149 -0.000144 -0.000140 -0.000136 ! PC_GS_KI - Gain-schedule table: pitch controller ki gains [-].
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 ! PC_GS_KD - Gain-schedule table: pitch controller kd gains
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 ! PC_GS_TF - Gain-schedule table: pitch controller tf gains (derivative filter)
1.570000000000 ! PC_MaxPit - Maximum physical pitch limit, [rad].
Expand Down Expand Up @@ -86,7 +86,7 @@
63892.81326000 ! VS_RtTq - Rated torque, [Nm].
75.83317000000 ! VS_RefSpd - Rated generator speed [rad/s]
1 ! VS_n - Number of generator PI torque controller gains
-2452.07948000 ! VS_KP - Proportional gain for generator PI torque controller [-]. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2)
-2454.67747000 ! VS_KP - Proportional gain for generator PI torque controller [-]. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2)
-332.357190000 ! VS_KI - Integral gain for generator PI torque controller [s]. (Only used in the transitional 2.5 region if VS_ControlMode =/ 2)
9.76 ! VS_TSRopt - Power-maximizing region 2 tip-speed-ratio. Only used in VS_ControlMode = 2.
0.314000000000 ! VS_PwrFiltF - Low pass filter on power used to determine generator speed set point. Only used in VS_ControlMode = 3.
Expand All @@ -113,7 +113,7 @@
36 26 ! PerfTableSize - Size of rotor performance tables, first number refers to number of blade pitch angles, second number referse to number of tip-speed ratios
60 ! WE_FOPoles_N - Number of first-order system poles used in EKF
3.0000 3.1818 3.3637 3.5455 3.7274 3.9092 4.0911 4.2729 4.4548 4.6366 4.8185 5.0003 5.1822 5.3640 5.5459 5.7277 5.9096 6.0914 6.2732 6.4551 6.6369 6.8188 7.0006 7.1825 7.3643 7.5462 7.7280 7.9099 8.0917 8.2736 8.8311 9.3887 9.9462 10.5038 11.0613 11.6188 12.1764 12.7339 13.2915 13.8490 14.4066 14.9641 15.5217 16.0792 16.6368 17.1943 17.7519 18.3094 18.8670 19.4245 19.9821 20.5396 21.0972 21.6547 22.2123 22.7698 23.3274 23.8849 24.4425 25.0000 ! WE_FOPoles_v - Wind speeds corresponding to first-order system poles [m/s]
-0.00972164 -0.01031092 -0.01090020 -0.01148948 -0.01207877 -0.01266805 -0.01325733 -0.01384662 -0.01443590 -0.01502518 -0.01561447 -0.01620375 -0.01679303 -0.01738232 -0.01797160 -0.01856088 -0.01915016 -0.01973945 -0.02032873 -0.02091801 -0.02150730 -0.02209658 -0.02268586 -0.02327515 -0.02386443 -0.02445371 -0.02504300 -0.02563228 -0.02622156 -0.02378670 -0.02062296 -0.02541485 -0.03159105 -0.03849962 -0.04595997 -0.05389417 -0.06225884 -0.07101431 -0.08016995 -0.08970426 -0.09955610 -0.10976762 -0.12028100 -0.13120419 -0.14238799 -0.15383228 -0.16572504 -0.17783697 -0.19011487 -0.20289651 -0.21593424 -0.22919262 -0.24255457 -0.25635133 -0.27049546 -0.28482651 -0.29923376 -0.31380076 -0.32862514 -0.34372726 ! WE_FOPoles - First order system poles [1/s]
-0.00969265 -0.01028018 -0.01086771 -0.01145523 -0.01204276 -0.01263029 -0.01321781 -0.01380534 -0.01439287 -0.01498039 -0.01556792 -0.01615544 -0.01674297 -0.01733050 -0.01791802 -0.01850555 -0.01909308 -0.01968060 -0.02026813 -0.02085566 -0.02144318 -0.02203071 -0.02261823 -0.02320576 -0.02379329 -0.02438081 -0.02496834 -0.02555587 -0.02614339 -0.02379613 -0.02047291 -0.02537932 -0.03151563 -0.03840840 -0.04587537 -0.05382394 -0.06221064 -0.07100937 -0.08011138 -0.08959645 -0.09946249 -0.10970584 -0.12021535 -0.13105665 -0.14226361 -0.15376640 -0.16552312 -0.17764204 -0.19004300 -0.20272586 -0.21577830 -0.22897091 -0.24242644 -0.25613739 -0.27000365 -0.28425482 -0.29866687 -0.31351260 -0.32866968 -0.34414305 ! WE_FOPoles - First order system poles [1/s]

!------- YAW CONTROL ------------------------------------------------------
0.00000 ! Y_uSwitch - Wind speed to switch between Y_ErrThresh. If zero, only the second value of Y_ErrThresh is used [m/s]
Expand Down
Loading

0 comments on commit 7546879

Please sign in to comment.