| 1 | /* |
| 2 | * File: Inverter_000_test_data.c |
| 3 | * |
| 4 | * Code generated for Simulink model 'Inverter_000_test'. |
| 5 | * |
| 6 | * Model version : 1.126 |
| 7 | * Simulink Coder version : 8.14 (R2018a) 06-Feb-2018 |
| 8 | * C/C++ source code generated on : Wed Apr 14 17:29:45 2021 |
| 9 | * |
| 10 | * Target selection: ert.tlc |
| 11 | * Embedded hardware selection: Texas Instruments->C2000 |
| 12 | * Code generation objectives: Unspecified |
| 13 | * Validation result: Not run |
| 14 | */ |
| 15 | |
| 16 | #include "Inverter_000_test.h" |
| 17 | #include "Inverter_000_test_private.h" |
| 18 | |
| 19 | /* Block parameters (default storage) */ |
| 20 | P_Inverter_000_test_T Inverter_000_test_P = { |
| 21 | /* Expression: Q_value |
| 22 | * Referenced by: '<S4>/Float to IQN2' |
| 23 | */ |
| 24 | 10.0, |
| 25 | |
| 26 | /* Expression: Q_value |
| 27 | * Referenced by: '<S4>/Float to IQN' |
| 28 | */ |
| 29 | 10.0, |
| 30 | |
| 31 | /* Expression: Q_value |
| 32 | * Referenced by: '<S4>/Float to IQN1' |
| 33 | */ |
| 34 | 10.0, |
| 35 | |
| 36 | /* Expression: Q_value |
| 37 | * Referenced by: '<S11>/Float to IQN' |
| 38 | */ |
| 39 | 10.0, |
| 40 | |
| 41 | /* Expression: Q_value |
| 42 | * Referenced by: '<S2>/Float to IQN1' |
| 43 | */ |
| 44 | 10.0, |
| 45 | |
| 46 | /* Expression: 4096 |
| 47 | * Referenced by: '<Root>/Constant' |
| 48 | */ |
| 49 | 4096.0, |
| 50 | |
| 51 | /* Computed Parameter: Saturation4_UpperSat |
| 52 | * Referenced by: '<Root>/Saturation4' |
| 53 | */ |
| 54 | 409600, |
| 55 | |
| 56 | /* Computed Parameter: Saturation4_LowerSat |
| 57 | * Referenced by: '<Root>/Saturation4' |
| 58 | */ |
| 59 | -409600, |
| 60 | |
| 61 | /* Computed Parameter: Constant8_Value |
| 62 | * Referenced by: '<Root>/Constant8' |
| 63 | */ |
| 64 | 696320, |
| 65 | |
| 66 | /* Computed Parameter: Saturation5_UpperSat |
| 67 | * Referenced by: '<Root>/Saturation5' |
| 68 | */ |
| 69 | 737280, |
| 70 | |
| 71 | /* Computed Parameter: Saturation5_LowerSat |
| 72 | * Referenced by: '<Root>/Saturation5' |
| 73 | */ |
| 74 | 0, |
| 75 | |
| 76 | /* Computed Parameter: Constant3_Value |
| 77 | * Referenced by: '<Root>/Constant3' |
| 78 | */ |
| 79 | 307200, |
| 80 | |
| 81 | /* Computed Parameter: Constant11_Value |
| 82 | * Referenced by: '<S4>/Constant11' |
| 83 | */ |
| 84 | 2684355, |
| 85 | |
| 86 | /* Computed Parameter: Constant8_Value_e |
| 87 | * Referenced by: '<S4>/Constant8' |
| 88 | */ |
| 89 | 536870912, |
| 90 | |
| 91 | /* Computed Parameter: Constant9_Value |
| 92 | * Referenced by: '<S4>/Constant9' |
| 93 | */ |
| 94 | 0, |
| 95 | |
| 96 | /* Computed Parameter: UnitDelay_InitialCondition |
| 97 | * Referenced by: '<S12>/Unit Delay' |
| 98 | */ |
| 99 | 0, |
| 100 | |
| 101 | /* Computed Parameter: u_Value |
| 102 | * Referenced by: '<S14>/1' |
| 103 | */ |
| 104 | 536870912, |
| 105 | |
| 106 | /* Computed Parameter: u_Value_e |
| 107 | * Referenced by: '<S14>/-1' |
| 108 | */ |
| 109 | -536870912, |
| 110 | |
| 111 | /* Computed Parameter: u_Value_f |
| 112 | * Referenced by: '<S15>/1' |
| 113 | */ |
| 114 | 536870912, |
| 115 | |
| 116 | /* Computed Parameter: u_Value_c |
| 117 | * Referenced by: '<S15>/-1' |
| 118 | */ |
| 119 | -536870912, |
| 120 | |
| 121 | /* Computed Parameter: Gain_Gain |
| 122 | * Referenced by: '<S2>/Gain' |
| 123 | */ |
| 124 | 1073741824, |
| 125 | |
| 126 | /* Computed Parameter: Gain_Gain_h |
| 127 | * Referenced by: '<S5>/Gain' |
| 128 | */ |
| 129 | MIN_int32_T, |
| 130 | |
| 131 | /* Computed Parameter: Gain1_Gain |
| 132 | * Referenced by: '<S5>/Gain1' |
| 133 | */ |
| 134 | MIN_int32_T, |
| 135 | |
| 136 | /* Computed Parameter: RateTransition1_InitialConditio |
| 137 | * Referenced by: '<Root>/Rate Transition1' |
| 138 | */ |
| 139 | 0.0F, |
| 140 | |
| 141 | /* Computed Parameter: Gain3_Gain |
| 142 | * Referenced by: '<S4>/Gain3' |
| 143 | */ |
| 144 | 1.41421354F, |
| 145 | |
| 146 | /* Computed Parameter: Constant13_Value |
| 147 | * Referenced by: '<S4>/Constant13' |
| 148 | */ |
| 149 | 1.0F, |
| 150 | |
| 151 | /* Computed Parameter: Constant14_Value |
| 152 | * Referenced by: '<S4>/Constant14' |
| 153 | */ |
| 154 | 0.0F, |
| 155 | |
| 156 | /* Computed Parameter: Constant10_Value |
| 157 | * Referenced by: '<S4>/Constant10' |
| 158 | */ |
| 159 | 0.0F, |
| 160 | |
| 161 | /* Computed Parameter: Gain2_Gain |
| 162 | * Referenced by: '<S4>/Gain2' |
| 163 | */ |
| 164 | 6.28318548F, |
| 165 | |
| 166 | /* Computed Parameter: Constant_Value_j |
| 167 | * Referenced by: '<S11>/Constant' |
| 168 | */ |
| 169 | 2.09439516F, |
| 170 | |
| 171 | /* Computed Parameter: Gain2_Gain_f |
| 172 | * Referenced by: '<Root>/Gain2' |
| 173 | */ |
| 174 | 325.269135F, |
| 175 | |
| 176 | /* Computed Parameter: Bias1_Bias |
| 177 | * Referenced by: '<Root>/Bias1' |
| 178 | */ |
| 179 | 400.0F, |
| 180 | |
| 181 | /* Computed Parameter: Constant15_Value |
| 182 | * Referenced by: '<S1>/Constant15' |
| 183 | */ |
| 184 | 1.0F, |
| 185 | |
| 186 | /* Computed Parameter: Constant13_Value_a |
| 187 | * Referenced by: '<S1>/Constant13' |
| 188 | */ |
| 189 | 0.5F, |
| 190 | |
| 191 | /* Computed Parameter: Constant14_Value_m |
| 192 | * Referenced by: '<S1>/Constant14' |
| 193 | */ |
| 194 | 12500.0F, |
| 195 | |
| 196 | /* Computed Parameter: Constant2_Value |
| 197 | * Referenced by: '<Root>/Constant2' |
| 198 | */ |
| 199 | 150.0F, |
| 200 | |
| 201 | /* Computed Parameter: Bias2_Bias |
| 202 | * Referenced by: '<Root>/Bias2' |
| 203 | */ |
| 204 | 400.0F, |
| 205 | |
| 206 | /* Computed Parameter: Constant14_Value_mo |
| 207 | * Referenced by: '<Root>/Constant14' |
| 208 | */ |
| 209 | 230.0F |
| 210 | }; |
| 211 | |
| 212 | /* |
| 213 | * File trailer for generated code. |
| 214 | * |
| 215 | * [EOF] |
| 216 | */ |
| 217 | |