Wind:

--------------------------------------------------------------------------
   Wind model. 

   Generates a discrete time model using a zero order hold for the
   wind noise filters. First call with Wind( 'init', d ) to
   initialize the model. Then call w = Wind( 'run', d ) to
   get the wind model. This model is designed for 3 blade
   horizontal axis wind turbines as the harmonic filters are order 3.

   Type

   Wind

   for a demo.

--------------------------------------------------------------------------
   Form:
   w = Wind( mode, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mode       (1,:)  'demo', 'init' or 'run'
   d          (1,1)  Data structure
                     .n         (1,1) Number of blades
                     .tau       (1,1) Cutoff for Kaimal Filter
                     .dTF       (1,1) Blade Radius/Mean Wind Speed
                     .sigmaWind (1,1) 1 sigma wind noise speed
                     .angle     (1,1) Blade angle
                     .dT        (1,1) Time step
                     .wHarm     (1,1) Amplitude of nth harmonic
                     .angle     (1,1) Blade angle
                     .wMean     (1,1) Mean wind speed

   -------
   Outputs
   -------
   w          (1,1)  Wind speed

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

Children:

Common: Graphics/Plot2D
Common: Graphics/TimeLabl
WindTurbine: WindModel/WindDeterministic
WindTurbine: WindModel/WindStochastic