WindStochastic:

--------------------------------------------------------------------------
   Stochastic wind model. 

   Generates a discrete time model using a zero order hold for the
   wind noise filters. First call with WindStochastic( 'init', d ) to
   initialize the model. Then call w = WindStochastic( 'run', d ) to
   get the stochastic wind model.

   Type

   WindStochastic( 'demo' )

   for a demo.

--------------------------------------------------------------------------
   Form:
   w = WindStochastic( 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

   -------
   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: Control/C2DZOH
Common: Control/Series
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
WindTurbine: WindModel/Kaimal
WindTurbine: WindModel/WindAdmittance