TorqueHAWT:

--------------------------------------------------------------------------
   Torque produced by a wind turbine rotor. 
   Uses CP2D.
--------------------------------------------------------------------------
   Form:
   [t, pWind] = TorqueHAWT( w, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   w          (1,1)  Rotor angular rate (rad/s)
   d          (1,1)  Data structure
                     .rho      (1,1) Atmospheric density (kg/m^3
                     .rTurbine (1,1) Blade radius (m)
                     .wind     (1,1) Wind speed (m/s)
                     .beta     (1,1) Pitch angle (rad)

   -------
   Outputs
   -------
   t          (1,1)  Torque (Nm)
   pWind      (1,1)  Power (W)

--------------------------------------------------------------------------
   Reference: Rosas, P., "DYNAMIC INFLUENCES OF WIND POWER ON THE
                          POWER SYSTEM", Orsted DTU, PhD Thesis,
                          March 2003.
--------------------------------------------------------------------------

Children:

WindTurbine: Utility/CP2D