/*
 * EMULADOR_TURBINA_TWO_data.c
 *
 * Real-Time Workshop code generation for Simulink model "EMULADOR_TURBINA_TWO.mdl".
 *
 * Model Version              : 1.33
 * Real-Time Workshop version : 7.4  (R2009b)  29-Jun-2009
 * C source code generated on : Mon Dec 12 09:55:45 2011
 *
 * Target selection: rtwin.tlc
 * Note: GRT includes extra infrastructure and instrumentation for prototyping
 * Embedded hardware selection: 32-bit Generic
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "EMULADOR_TURBINA_TWO.h"
#include "EMULADOR_TURBINA_TWO_private.h"

/* Block parameters (auto storage) */
Parameters_EMULADOR_TURBINA_TWO EMULADOR_TURBINA_TWO_P = {
  0.5,                                 /* Expression: 0.5
                                        * Referenced by: '<S4>/Integrator1'
                                        */
  5.0,                                 /* Expression: 5
                                        * Referenced by: '<Root>/Gain'
                                        */
  0.0,                                 /* Expression: FinalValue
                                        * Referenced by: '<Root>/Analog Output'
                                        */
  -20.0,                               /* Computed Parameter: DinmicaGeneradorConvertidor_A
                                        * Referenced by: '<S1>/Dinámica  Generador//Convertidor'
                                        */
  20.0,                                /* Computed Parameter: DinmicaGeneradorConvertidor_C
                                        * Referenced by: '<S1>/Dinámica  Generador//Convertidor'
                                        */
  0.0,                                 /* Expression: inf
                                        * Referenced by: '<S2>/Avoid division  by zero1'
                                        */
  0.0001,                              /* Expression: 0.0001
                                        * Referenced by: '<S2>/Avoid division  by zero1'
                                        */
  0.5,                                 /* Expression: 0.5
                                        * Referenced by: '<S4>/Integrator'
                                        */
  56.595,                              /* Expression: R*wt_base
                                        * Referenced by: '<S2>/kb'
                                        */
  -3.3333333333333335E+000,            /* Computed Parameter: Dinmicapalas_A
                                        * Referenced by: '<S6>/Dinámica palas'
                                        */
  3.3333333333333335E+000,             /* Computed Parameter: Dinmicapalas_C
                                        * Referenced by: '<S6>/Dinámica palas'
                                        */
  54.0,                                /* Expression: 54
                                        * Referenced by: '<S6>/beta limits'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S6>/beta limits'
                                        */
  10.0,                                /* Expression: 10
                                        * Referenced by: '<S6>/dbeta//dt'
                                        */
  -10.0,                               /* Expression: -10
                                        * Referenced by: '<S6>/dbeta//dt'
                                        */
  2.8521832478548763E+003,             /* Expression: 0.5*rho*pi*R^2
                                        * Referenced by: '<S2>/K_potencia'
                                        */
  1.5E+006,                            /* Expression: P_base
                                        * Referenced by: '<S2>/P_base'
                                        */
  0.0,                                 /* Expression: inf
                                        * Referenced by: '<S2>/Avoid division  by zero'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S2>/Avoid division  by zero'
                                        */
  1.12,                                /* Expression: 1.12
                                        * Referenced by: '<S6>/P_max'
                                        */
  3.0,                                 /* Expression: P
                                        * Referenced by: '<S8>/Proportional Gain'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S8>/Integrator'
                                        */
  27.0,                                /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S8>/Saturation'
                                        */
  0.0,                                 /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S8>/Saturation'
                                        */
  30.0,                                /* Expression: I
                                        * Referenced by: '<S8>/Integral Gain'
                                        */
  1.2,                                 /* Expression: 1.2
                                        * Referenced by: '<S6>/wg_max'
                                        */
  150.0,                               /* Expression: P
                                        * Referenced by: '<S9>/Proportional Gain'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S9>/Integrator'
                                        */
  27.0,                                /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S9>/Saturation'
                                        */
  0.0,                                 /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S9>/Saturation'
                                        */
  25.0,                                /* Expression: I
                                        * Referenced by: '<S9>/Integral Gain'
                                        */
  1.2,                                 /* Expression: 1.2
                                        * Referenced by: '<S7>/limites wg'
                                        */
  0.7,                                 /* Expression: 0.7
                                        * Referenced by: '<S7>/limites wg'
                                        */
  -0.2,                                /* Computed Parameter: Retardogenerador_A
                                        * Referenced by: '<S7>/Retardo generador'
                                        */
  0.2,                                 /* Computed Parameter: Retardogenerador_C
                                        * Referenced by: '<S7>/Retardo generador'
                                        */
  3.0,                                 /* Expression: P
                                        * Referenced by: '<S12>/Proportional Gain'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S12>/Integrator'
                                        */
  1.0,                                 /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S12>/Saturation'
                                        */
  0.0,                                 /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S12>/Saturation'
                                        */
  0.6,                                 /* Expression: I
                                        * Referenced by: '<S12>/Integral Gain'
                                        */
  0.45,                                /* Expression: 0.45
                                        * Referenced by: '<S7>/dTe//dt'
                                        */
  -0.45,                               /* Expression: -0.45
                                        * Referenced by: '<S7>/dTe//dt'
                                        */
  2.3,                                 /* Expression: Dtg
                                        * Referenced by: '<S4>/Dtg'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S4>/Integrator2'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S4>/Integrator3'
                                        */
  1.39,                                /* Expression: Ktg
                                        * Referenced by: '<S4>/Ktg'
                                        */
  5.2083333333333337E-001,             /* Computed Parameter: Inerciag_D
                                        * Referenced by: '<S4>/Inercia g'
                                        */
  1.1547344110854503E-001,             /* Computed Parameter: Inerciat_D
                                        * Referenced by: '<S4>/Inercia t'
                                        */
  1.5708E+002,                         /* Expression: wg_base
                                        * Referenced by: '<S4>/wg_base'
                                        */
  1.5708E+002,                         /* Expression: wg_base
                                        * Referenced by: '<S4>/wg_base1'
                                        */
  2.0014009806864805E-001,             /* Expression: 1/4.9965
                                        * Referenced by: '<Root>/Gain1'
                                        */
  0,                                   /* Expression: Channels
                                        * Referenced by: '<Root>/Analog Output'
                                        */
  0,                                   /* Expression: RangeMode
                                        * Referenced by: '<Root>/Analog Output'
                                        */
  1,                                   /* Expression: VoltRange
                                        * Referenced by: '<Root>/Analog Output'
                                        */
  0,                                   /* Expression: Channels
                                        * Referenced by: '<Root>/From Altivar71'
                                        */
  0,                                   /* Expression: RangeMode
                                        * Referenced by: '<Root>/From Altivar71'
                                        */
  0,                                   /* Expression: VoltRange
                                        * Referenced by: '<Root>/From Altivar71'
                                        */
  0,                                   /* Computed Parameter: Memory_X0
                                        * Referenced by: '<S10>/Memory'
                                        */
  0,                                   /* Computed Parameter: Memory_X0_p
                                        * Referenced by: '<S11>/Memory'
                                        */
  0                                    /* Computed Parameter: Memory_X0_o
                                        * Referenced by: '<S14>/Memory'
                                        */
};
