Skip to content

Commit

Permalink
Separate below and above rated windspeeds by 30 points each
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Dec 4, 2020
1 parent e33ec92 commit a7be52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ROSCO_toolbox/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def tune_controller(self, turbine):
TSR_rated = rated_rotor_speed*R/turbine.v_rated # TSR at rated

# separate wind speeds by operation regions
v_below_rated = np.arange(turbine.v_min,turbine.v_rated,0.5) # below rated
v_above_rated = np.arange(turbine.v_rated+0.5,turbine.v_max,0.5) # above rated
v_below_rated = np.linspace(turbine.v_min,turbine.v_rated, num=30) # below rated
v_above_rated = np.linspace(turbine.v_rated,turbine.v_max, num=30)[1:-1] # above rated
v = np.concatenate((v_below_rated, v_above_rated))

# separate TSRs by operations regions
Expand Down

0 comments on commit a7be52a

Please sign in to comment.