WindspeedHours:

--------------------------------------------------------------------------
   The hours that the wind is between v(k) +/- dV/2.

   kRef and cRef are at hRef. h is the actual height of the hub.

   The function adjusts v so that v(k+1) - v(k) = dV.

   Type WindspeedHours for a demo in Lubbock Texas.

--------------------------------------------------------------------------
   Form:
   [w, v] = WindspeedHours( kRef, hRef, cRef, h, v, dV, u )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   kRef       (1,1) Reference k
   hRef       (1,1) Reference height
   cRef       (1,1) Reference c
   h          (1,1) Actual hub height
   v          (1,:) Wind speed range
   dV         (1,1) Bin width
   u          (1,:) Units for plots

   -------
   Outputs
   -------
   w          (1,:) Hours at windspeed
   v          (1,:) Wind speed range

--------------------------------------------------------------------------
   Reference: Eggleston, D. M, and F. S. Stoddard, "Wind Turbine Engineering
              Design, "Van Nostrand Rheinhold, 1987, pp. 68-71.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D