1/*
2 * File: Inverter_001_data.c
3 *
4 * Code generated for Simulink model 'Inverter_001'.
5 *
6 * Model version : 1.139
7 * Simulink Coder version : 8.14 (R2018a) 06-Feb-2018
8 * C/C++ source code generated on : Wed Apr 14 17:37:41 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_001.h"
17#include "Inverter_001_private.h"
18
19/* Block parameters (default storage) */
20P_Inverter_001_T Inverter_001_P = {
21 /* Variable: Control
22 * Referenced by:
23 * '<S24>/Gain'
24 * '<S24>/Gain1'
25 * '<S25>/Gain'
26 * '<S25>/Gain1'
27 * '<S26>/Gain'
28 * '<S26>/Gain1'
29 * '<S28>/Gain'
30 * '<S28>/Gain1'
31 * '<S29>/Gain'
32 * '<S29>/Gain1'
33 * '<S30>/Gain'
34 * '<S30>/Gain1'
35 */
36 {
37 0.0004,
38 1000.0000000000001
39 },
40
41 /* Variable: CC_Tci
42 * Referenced by: '<S16>/Ki2'
43 */
44 410,
45
46 /* Variable: CC_Tci0
47 * Referenced by: '<S16>/Ki1'
48 */
49 410,
50
51 /* Variable: CC_Tcr
52 * Referenced by:
53 * '<S16>/Kr1'
54 * '<S16>/Kr2'
55 */
56 410,
57
58 /* Variable: Kcp
59 * Referenced by: '<S16>/Kp2'
60 */
61 9011,
62
63 /* Variable: Kcp0
64 * Referenced by: '<S16>/Kp1'
65 */
66 9011,
67
68 /* Variable: Kvp
69 * Referenced by: '<S23>/Kp4'
70 */
71 2458,
72
73 /* Variable: Kvp0
74 * Referenced by: '<S23>/Kp2'
75 */
76 2458,
77
78 /* Variable: VC_Tci
79 * Referenced by: '<S23>/Ki3'
80 */
81 41,
82
83 /* Variable: VC_Tci0
84 * Referenced by: '<S23>/Ki2'
85 */
86 41,
87
88 /* Variable: VC_Tcr
89 * Referenced by:
90 * '<S23>/Kr2'
91 * '<S23>/Kr3'
92 */
93 0,
94
95 /* Expression: Q_value
96 * Referenced by: '<S6>/Float to IQN2'
97 */
98 10.0,
99
100 /* Expression: Q_value
101 * Referenced by: '<S6>/Float to IQN'
102 */
103 10.0,
104
105 /* Expression: Q_value
106 * Referenced by: '<S6>/Float to IQN1'
107 */
108 10.0,
109
110 /* Expression: Q_value
111 * Referenced by: '<S33>/Float to IQN'
112 */
113 10.0,
114
115 /* Expression: Q_value
116 * Referenced by: '<S5>/Float to IQN1'
117 */
118 10.0,
119
120 /* Expression: Q_value
121 * Referenced by: '<Root>/Float to IQN4'
122 */
123 10.0,
124
125 /* Expression: Q_value
126 * Referenced by: '<S18>/Float to IQN'
127 */
128 10.0,
129
130 /* Expression: Q_value
131 * Referenced by: '<S19>/Float to IQN'
132 */
133 10.0,
134
135 /* Expression: Q_value
136 * Referenced by: '<S20>/Float to IQN'
137 */
138 10.0,
139
140 /* Expression: Q_value
141 * Referenced by: '<S17>/Float to IQN'
142 */
143 10.0,
144
145 /* Expression: Q_value
146 * Referenced by: '<S3>/Float to IQN4'
147 */
148 10.0,
149
150 /* Computed Parameter: Saturation4_UpperSat
151 * Referenced by: '<Root>/Saturation4'
152 */
153 409600,
154
155 /* Computed Parameter: Saturation4_LowerSat
156 * Referenced by: '<Root>/Saturation4'
157 */
158 -409600,
159
160 /* Computed Parameter: Constant8_Value
161 * Referenced by: '<Root>/Constant8'
162 */
163 696320,
164
165 /* Computed Parameter: Saturation5_UpperSat
166 * Referenced by: '<Root>/Saturation5'
167 */
168 737280,
169
170 /* Computed Parameter: Saturation5_LowerSat
171 * Referenced by: '<Root>/Saturation5'
172 */
173 0,
174
175 /* Computed Parameter: Constant3_Value
176 * Referenced by: '<Root>/Constant3'
177 */
178 307200,
179
180 /* Computed Parameter: Constant2_Value
181 * Referenced by: '<S1>/Constant2'
182 */
183 102,
184
185 /* Computed Parameter: UnitDelay_InitialCondition
186 * Referenced by: '<S7>/Unit Delay'
187 */
188 0,
189
190 /* Computed Parameter: UnitDelay1_InitialCondition
191 * Referenced by: '<S7>/Unit Delay1'
192 */
193 0,
194
195 /* Computed Parameter: UnitDelay_InitialCondition_e
196 * Referenced by: '<S8>/Unit Delay'
197 */
198 0,
199
200 /* Computed Parameter: UnitDelay1_InitialCondition_g
201 * Referenced by: '<S8>/Unit Delay1'
202 */
203 0,
204
205 /* Computed Parameter: UnitDelay_InitialCondition_i
206 * Referenced by: '<S9>/Unit Delay'
207 */
208 0,
209
210 /* Computed Parameter: UnitDelay1_InitialCondition_b
211 * Referenced by: '<S9>/Unit Delay1'
212 */
213 0,
214
215 /* Computed Parameter: UnitDelay_InitialCondition_n
216 * Referenced by: '<S10>/Unit Delay'
217 */
218 0,
219
220 /* Computed Parameter: UnitDelay1_InitialCondition_a
221 * Referenced by: '<S10>/Unit Delay1'
222 */
223 0,
224
225 /* Computed Parameter: UnitDelay_InitialCondition_c
226 * Referenced by: '<S11>/Unit Delay'
227 */
228 0,
229
230 /* Computed Parameter: UnitDelay1_InitialCondition_l
231 * Referenced by: '<S11>/Unit Delay1'
232 */
233 0,
234
235 /* Computed Parameter: UnitDelay_InitialCondition_cr
236 * Referenced by: '<S12>/Unit Delay'
237 */
238 0,
239
240 /* Computed Parameter: UnitDelay1_InitialCondition_l1
241 * Referenced by: '<S12>/Unit Delay1'
242 */
243 0,
244
245 /* Computed Parameter: UnitDelay_InitialCondition_k
246 * Referenced by: '<S13>/Unit Delay'
247 */
248 0,
249
250 /* Computed Parameter: UnitDelay1_InitialCondition_f
251 * Referenced by: '<S13>/Unit Delay1'
252 */
253 0,
254
255 /* Computed Parameter: UnitDelay_InitialCondition_d
256 * Referenced by: '<S14>/Unit Delay'
257 */
258 0,
259
260 /* Computed Parameter: UnitDelay1_InitialCondition_m
261 * Referenced by: '<S14>/Unit Delay1'
262 */
263 0,
264
265 /* Computed Parameter: UnitDelay_InitialCondition_p
266 * Referenced by: '<S15>/Unit Delay'
267 */
268 0,
269
270 /* Computed Parameter: UnitDelay1_InitialCondition_e
271 * Referenced by: '<S15>/Unit Delay1'
272 */
273 0,
274
275 /* Computed Parameter: UnitDelay3_InitialCondition
276 * Referenced by: '<S30>/Unit Delay3'
277 */
278 0,
279
280 /* Computed Parameter: UnitDelay2_InitialCondition
281 * Referenced by: '<S30>/Unit Delay2'
282 */
283 0,
284
285 /* Computed Parameter: UnitDelay1_InitialCondition_b1
286 * Referenced by: '<S30>/Unit Delay1'
287 */
288 0,
289
290 /* Computed Parameter: UnitDelay3_InitialCondition_g
291 * Referenced by: '<S29>/Unit Delay3'
292 */
293 0,
294
295 /* Computed Parameter: UnitDelay2_InitialCondition_h
296 * Referenced by: '<S29>/Unit Delay2'
297 */
298 0,
299
300 /* Computed Parameter: UnitDelay1_InitialCondition_gr
301 * Referenced by: '<S29>/Unit Delay1'
302 */
303 0,
304
305 /* Computed Parameter: w5_Value
306 * Referenced by: '<S23>/w5'
307 */
308 643398,
309
310 /* Computed Parameter: UnitDelay3_InitialCondition_o
311 * Referenced by: '<S28>/Unit Delay3'
312 */
313 0,
314
315 /* Computed Parameter: UnitDelay2_InitialCondition_m
316 * Referenced by: '<S28>/Unit Delay2'
317 */
318 0,
319
320 /* Computed Parameter: UnitDelay1_InitialCondition_lk
321 * Referenced by: '<S28>/Unit Delay1'
322 */
323 0,
324
325 /* Computed Parameter: UnitDelay_InitialCondition_ck
326 * Referenced by: '<S28>/Unit Delay'
327 */
328 0,
329
330 /* Computed Parameter: UnitDelay3_InitialCondition_j
331 * Referenced by: '<S24>/Unit Delay3'
332 */
333 0,
334
335 /* Computed Parameter: UnitDelay2_InitialCondition_k
336 * Referenced by: '<S24>/Unit Delay2'
337 */
338 0,
339
340 /* Computed Parameter: UnitDelay1_InitialCondition_h
341 * Referenced by: '<S24>/Unit Delay1'
342 */
343 0,
344
345 /* Computed Parameter: UnitDelay_InitialCondition_ph
346 * Referenced by: '<S24>/Unit Delay'
347 */
348 0,
349
350 /* Computed Parameter: w2_Value
351 * Referenced by: '<S16>/w2'
352 */
353 643398,
354
355 /* Computed Parameter: UnitDelay_InitialCondition_f
356 * Referenced by: '<S29>/Unit Delay'
357 */
358 0,
359
360 /* Computed Parameter: UnitDelay3_InitialCondition_p
361 * Referenced by: '<S25>/Unit Delay3'
362 */
363 0,
364
365 /* Computed Parameter: UnitDelay2_InitialCondition_b
366 * Referenced by: '<S25>/Unit Delay2'
367 */
368 0,
369
370 /* Computed Parameter: UnitDelay1_InitialCondition_fy
371 * Referenced by: '<S25>/Unit Delay1'
372 */
373 0,
374
375 /* Computed Parameter: UnitDelay_InitialCondition_g
376 * Referenced by: '<S25>/Unit Delay'
377 */
378 0,
379
380 /* Computed Parameter: UnitDelay_InitialCondition_nv
381 * Referenced by: '<S30>/Unit Delay'
382 */
383 0,
384
385 /* Computed Parameter: UnitDelay3_InitialCondition_d
386 * Referenced by: '<S26>/Unit Delay3'
387 */
388 0,
389
390 /* Computed Parameter: UnitDelay2_InitialCondition_f
391 * Referenced by: '<S26>/Unit Delay2'
392 */
393 0,
394
395 /* Computed Parameter: UnitDelay_InitialCondition_e3
396 * Referenced by: '<S26>/Unit Delay'
397 */
398 0,
399
400 /* Computed Parameter: UnitDelay1_InitialCondition_n
401 * Referenced by: '<S26>/Unit Delay1'
402 */
403 0,
404
405 /* Computed Parameter: w1_Value
406 * Referenced by: '<S16>/w1'
407 */
408 321699,
409
410 /* Computed Parameter: w2_Value_n
411 * Referenced by: '<S23>/w2'
412 */
413 321699,
414
415 /* Computed Parameter: Constant11_Value
416 * Referenced by: '<S6>/Constant11'
417 */
418 2684355,
419
420 /* Computed Parameter: Constant8_Value_e
421 * Referenced by: '<S6>/Constant8'
422 */
423 536870912,
424
425 /* Computed Parameter: Constant9_Value
426 * Referenced by: '<S6>/Constant9'
427 */
428 0,
429
430 /* Computed Parameter: UnitDelay_InitialCondition_pq
431 * Referenced by: '<S34>/Unit Delay'
432 */
433 0,
434
435 /* Computed Parameter: u_Value
436 * Referenced by: '<S36>/1'
437 */
438 536870912,
439
440 /* Computed Parameter: u_Value_e
441 * Referenced by: '<S36>/-1'
442 */
443 -536870912,
444
445 /* Computed Parameter: u_Value_f
446 * Referenced by: '<S37>/1'
447 */
448 536870912,
449
450 /* Computed Parameter: u_Value_c
451 * Referenced by: '<S37>/-1'
452 */
453 -536870912,
454
455 /* Computed Parameter: Gain6_Gain
456 * Referenced by: '<S16>/Gain6'
457 */
458 1686629713,
459
460 /* Computed Parameter: Gain7_Gain
461 * Referenced by: '<S16>/Gain7'
462 */
463 1686629713,
464
465 /* Computed Parameter: Gain_Gain
466 * Referenced by: '<S5>/Gain'
467 */
468 1073741824,
469
470 /* Computed Parameter: Gain_Gain_g
471 * Referenced by: '<S19>/Gain'
472 */
473 1073741824,
474
475 /* Computed Parameter: Gain1_Gain
476 * Referenced by: '<S19>/Gain1'
477 */
478 1431655765,
479
480 /* Computed Parameter: Gain_Gain_b
481 * Referenced by: '<S18>/Gain'
482 */
483 1073741824,
484
485 /* Computed Parameter: Gain1_Gain_g
486 * Referenced by: '<S18>/Gain1'
487 */
488 1431655765,
489
490 /* Computed Parameter: Gain_Gain_n
491 * Referenced by: '<S20>/Gain'
492 */
493 1073741824,
494
495 /* Computed Parameter: Gain1_Gain_f
496 * Referenced by: '<S20>/Gain1'
497 */
498 1431655765,
499
500 /* Computed Parameter: Gain_Gain_j
501 * Referenced by: '<S31>/Gain'
502 */
503 MIN_int32_T,
504
505 /* Computed Parameter: Gain1_Gain_o
506 * Referenced by: '<S31>/Gain1'
507 */
508 MIN_int32_T,
509
510 /* Computed Parameter: Gain12_Gain
511 * Referenced by: '<S23>/Gain12'
512 */
513 1623482297,
514
515 /* Computed Parameter: Gain13_Gain
516 * Referenced by: '<S23>/Gain13'
517 */
518 1623482297,
519
520 /* Computed Parameter: TmpRTBAtConstant62Outport1_Init
521 * Referenced by: synthesized block
522 */
523 0.0F,
524
525 /* Computed Parameter: TmpRTBAtAdd11Inport2_InitialCon
526 * Referenced by: synthesized block
527 */
528 0.0F,
529
530 /* Computed Parameter: Constant2_Value_p
531 * Referenced by: '<Root>/Constant2'
532 */
533 150.0F,
534
535 /* Computed Parameter: Constant14_Value
536 * Referenced by: '<S4>/Constant14'
537 */
538 12500.0F,
539
540 /* Computed Parameter: Constant13_Value
541 * Referenced by: '<S4>/Constant13'
542 */
543 0.5F,
544
545 /* Computed Parameter: RateTransition1_InitialConditio
546 * Referenced by: '<Root>/Rate Transition1'
547 */
548 0.0F,
549
550 /* Computed Parameter: Gain3_Gain
551 * Referenced by: '<S6>/Gain3'
552 */
553 1.41421354F,
554
555 /* Computed Parameter: Constant13_Value_c
556 * Referenced by: '<S6>/Constant13'
557 */
558 1.0F,
559
560 /* Computed Parameter: Constant14_Value_p
561 * Referenced by: '<S6>/Constant14'
562 */
563 0.0F,
564
565 /* Computed Parameter: Constant10_Value
566 * Referenced by: '<S6>/Constant10'
567 */
568 0.0F,
569
570 /* Computed Parameter: Gain2_Gain
571 * Referenced by: '<S6>/Gain2'
572 */
573 6.28318548F,
574
575 /* Computed Parameter: Constant_Value
576 * Referenced by: '<S33>/Constant'
577 */
578 2.09439516F,
579
580 /* Computed Parameter: Constant15_Value
581 * Referenced by: '<S4>/Constant15'
582 */
583 1.0F,
584
585 /* Computed Parameter: TmpRTBAtAdd10Inport2_InitialCon
586 * Referenced by: synthesized block
587 */
588 0.0F,
589
590 /* Computed Parameter: TmpRTBAtAdd9Inport2_InitialCond
591 * Referenced by: synthesized block
592 */
593 0.0F,
594
595 /* Computed Parameter: TmpRTBAtConstant12Outport1_Init
596 * Referenced by: synthesized block
597 */
598 0.0F,
599
600 /* Computed Parameter: TmpRTBAtAdd16Inport2_InitialCon
601 * Referenced by: synthesized block
602 */
603 0.0F,
604
605 /* Computed Parameter: TmpRTBAtAdd5Inport2_InitialCond
606 * Referenced by: synthesized block
607 */
608 0.0F,
609
610 /* Computed Parameter: TmpRTBAtAdd4Inport2_InitialCond
611 * Referenced by: synthesized block
612 */
613 0.0F,
614
615 /* Computed Parameter: TmpRTBAtAdd3Inport2_InitialCond
616 * Referenced by: synthesized block
617 */
618 0.0F,
619
620 /* Computed Parameter: TmpRTBAtAdd7Inport2_InitialCond
621 * Referenced by: synthesized block
622 */
623 0.0F,
624
625 /* Computed Parameter: TmpRTBAtAdd2Inport2_InitialCond
626 * Referenced by: synthesized block
627 */
628 0.0F,
629
630 /* Computed Parameter: Gain2_Gain_f
631 * Referenced by: '<Root>/Gain2'
632 */
633 325.269135F,
634
635 /* Computed Parameter: Constant10_Value_j
636 * Referenced by: '<S3>/Constant10'
637 */
638 0.0F,
639
640 /* Computed Parameter: Constant13_Value_cs
641 * Referenced by: '<S3>/Constant13'
642 */
643 20.0F,
644
645 /* Computed Parameter: Constant14_Value_o
646 * Referenced by: '<S3>/Constant14'
647 */
648 0.0F,
649
650 /* Computed Parameter: Constant_Value_h
651 * Referenced by: '<S18>/Constant'
652 */
653 2.09439516F,
654
655 /* Computed Parameter: Constant_Value_b
656 * Referenced by: '<S19>/Constant'
657 */
658 2.09439516F,
659
660 /* Computed Parameter: Constant_Value_m
661 * Referenced by: '<S20>/Constant'
662 */
663 2.09439516F,
664
665 /* Computed Parameter: Constant_Value_br
666 * Referenced by: '<S17>/Constant'
667 */
668 2.09439516F,
669
670 /* Computed Parameter: Bias1_Bias
671 * Referenced by: '<Root>/Bias1'
672 */
673 400.0F,
674
675 /* Computed Parameter: Bias2_Bias
676 * Referenced by: '<Root>/Bias2'
677 */
678 400.0F,
679
680 /* Computed Parameter: Constant12_Value
681 * Referenced by: '<Root>/Constant12'
682 */
683 0.0048337F,
684
685 /* Computed Parameter: Constant14_Value_m
686 * Referenced by: '<Root>/Constant14'
687 */
688 230.0F,
689
690 /* Computed Parameter: Constant55_Value
691 * Referenced by: '<Root>/Constant55'
692 */
693 -2048.0F,
694
695 /* Computed Parameter: Constant57_Value
696 * Referenced by: '<Root>/Constant57'
697 */
698 -2048.0F,
699
700 /* Computed Parameter: Constant58_Value
701 * Referenced by: '<Root>/Constant58'
702 */
703 -2048.0F,
704
705 /* Computed Parameter: Constant61_Value
706 * Referenced by: '<Root>/Constant61'
707 */
708 -2048.0F,
709
710 /* Computed Parameter: Constant62_Value
711 * Referenced by: '<Root>/Constant62'
712 */
713 0.1588F,
714
715 /* Computed Parameter: Constant63_Value
716 * Referenced by: '<Root>/Constant63'
717 */
718 -2048.0F,
719
720 /* Computed Parameter: Constant65_Value
721 * Referenced by: '<Root>/Constant65'
722 */
723 -2048.0F,
724
725 /* Computed Parameter: Constant68_Value
726 * Referenced by: '<Root>/Constant68'
727 */
728 -2048.0F,
729
730 /* Computed Parameter: Constant72_Value
731 * Referenced by: '<Root>/Constant72'
732 */
733 -2048.0F,
734
735 /* Computed Parameter: Constant89_Value
736 * Referenced by: '<Root>/Constant89'
737 */
738 -2048.0F
739};
740
741/*
742 * File trailer for generated code.
743 *
744 * [EOF]
745 */
746