Skip to content

Commit

Permalink
Define windspeeds by 30 pts, not windspeed increments
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Feb 5, 2021
1 parent 8309615 commit 6ef5d52
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 @@ -158,8 +158,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,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) # above rated
v = np.concatenate((v_below_rated, v_above_rated))

# separate TSRs by operations regions
Expand Down

0 comments on commit 6ef5d52

Please sign in to comment.