Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_integrator_vector_test / integrator_vector_test.lus @ 6c3ea955

History | View | Annotate | Download (8.16 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node integrator_vector_test (In1_1_1 : real; In1_1_2 : real; In1_1_3 : real; In2_1_1 : real; In2_1_2 : real; In2_1_3 : real; In3_1_1 : real; In3_1_2 : real; In3_1_3 : real; In4_1_1 : real; In4_1_2 : real; In4_1_3 : real; In5_1_1 : real; In5_1_2 : real; In5_1_3 : real; In6_1_1 : real; In6_1_2 : real; In6_1_3 : real; In7_1_1 : real; In8_1_1 : real; In9_1_1 : real; In10_1_1 : real; In10_1_2 : real; In10_1_3 : real; In11_1_1 : real; In11_1_2 : real; In11_1_3 : real; In12_1_1 : real; In12_1_2 : real; In12_1_3 : real; In13_1_1 : real; In14_1_1 : real; In15_1_1 : real)
6
returns (Out1_1_1 : real; Out1_1_2 : real; Out1_1_3 : real;
7
	Out2_2_1 : real; Out2_2_2 : real; Out2_2_3 : real;
8
	Out3_3_1 : real; Out3_3_2 : real; Out3_3_3 : real;
9
	Out4_4_1 : real; Out4_4_2 : real; Out4_4_3 : real;
10
	Out5_5_1 : real; Out5_5_2 : real; Out5_5_3 : real;
11
	Out6_6_1 : real; Out6_6_2 : real; Out6_6_3 : real;
12
	Out7_7_1 : real; Out7_7_2 : real; Out7_7_3 : real;
13
	Out8_8_1 : real; Out8_8_2 : real; Out8_8_3 : real;
14
	Out9_9_1 : real; Out9_9_2 : real; Out9_9_3 : real;
15
	Out10_10_1 : real; Out10_10_2 : real; Out10_10_3 : real;
16
	Out11_11_1 : real; Out11_11_2 : real; Out11_11_3 : real;
17
	Out12_12_1 : real; Out12_12_2 : real; Out12_12_3 : real;
18
	Out13_13_1 : real; Out13_13_2 : real; Out13_13_3 : real;
19
	Out14_14_1 : real; Out14_14_2 : real; Out14_14_3 : real;
20
	Out15_15_1 : real; Out15_15_2 : real; Out15_15_3 : real); 
21
var
22
	Integrator_1_1 : real; Integrator_1_2 : real; Integrator_1_3 : real;
23
	Integrator1_1_1 : real; Integrator1_1_2 : real; Integrator1_1_3 : real;
24
	Integrator10_1_1 : real; Integrator10_1_2 : real; Integrator10_1_3 : real;
25
	Integrator11_1_1 : real; Integrator11_1_2 : real; Integrator11_1_3 : real;
26
	Integrator12_1_1 : real; Integrator12_1_2 : real; Integrator12_1_3 : real;
27
	Integrator13_1_1 : real; Integrator13_1_2 : real; Integrator13_1_3 : real;
28
	Integrator14_1_1 : real; Integrator14_1_2 : real; Integrator14_1_3 : real;
29
	Integrator2_1_1 : real; Integrator2_1_2 : real; Integrator2_1_3 : real;
30
	Integrator3_1_1 : real; Integrator3_1_2 : real; Integrator3_1_3 : real;
31
	Integrator4_1_1 : real; Integrator4_1_2 : real; Integrator4_1_3 : real;
32
	Integrator5_1_1 : real; Integrator5_1_2 : real; Integrator5_1_3 : real;
33
	Integrator6_1_1 : real; Integrator6_1_2 : real; Integrator6_1_3 : real;
34
	Integrator7_1_1 : real; Integrator7_1_2 : real; Integrator7_1_3 : real;
35
	Integrator8_1_1 : real; Integrator8_1_2 : real; Integrator8_1_3 : real;
36
	Integrator9_1_1 : real; Integrator9_1_2 : real; Integrator9_1_3 : real;
37
	i_virtual_local : real;
38
let 
39
	Integrator_1_1 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator_1_1;
40
	Integrator_1_2 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In1_1_2) + pre Integrator_1_2;
41
	Integrator_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In1_1_3) + pre Integrator_1_3;
42
	Integrator1_1_1 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In2_1_1) + pre Integrator1_1_1;
43
	Integrator1_1_2 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In2_1_2) + pre Integrator1_1_2;
44
	Integrator1_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In2_1_3) + pre Integrator1_1_3;
45
	Integrator10_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In11_1_1) + pre Integrator10_1_1;
46
	Integrator10_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In11_1_2) + pre Integrator10_1_2;
47
	Integrator10_1_3 = -2.00000000 -> (1.00000000 * 1.00000000)*(pre In11_1_3) + pre Integrator10_1_3;
48
	Integrator11_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In12_1_1) + pre Integrator11_1_1;
49
	Integrator11_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In12_1_2) + pre Integrator11_1_2;
50
	Integrator11_1_3 = -2.00000000 -> (1.00000000 * 1.00000000)*(pre In12_1_3) + pre Integrator11_1_3;
51
	Integrator12_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In13_1_1) + pre Integrator12_1_1;
52
	Integrator12_1_2 = 0.00000000 -> (3.00000000 * 1.00000000)*(pre In13_1_1) + pre Integrator12_1_2;
53
	Integrator12_1_3 = -2.50000000 -> (5.00000000 * 1.00000000)*(pre In13_1_1) + pre Integrator12_1_3;
54
	Integrator13_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In14_1_1) + pre Integrator13_1_1;
55
	Integrator13_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In14_1_1) + pre Integrator13_1_2;
56
	Integrator13_1_3 = -2.00000000 -> (1.00000000 * 1.00000000)*(pre In14_1_1) + pre Integrator13_1_3;
57
	Integrator14_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In15_1_1) + pre Integrator14_1_1;
58
	Integrator14_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In15_1_1) + pre Integrator14_1_2;
59
	Integrator14_1_3 = -25.00000000 -> (1.00000000 * 1.00000000)*(pre In15_1_1) + pre Integrator14_1_3;
60
	Integrator2_1_1 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In3_1_1) + pre Integrator2_1_1;
61
	Integrator2_1_2 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In3_1_2) + pre Integrator2_1_2;
62
	Integrator2_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In3_1_3) + pre Integrator2_1_3;
63
	Integrator3_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In4_1_1) + pre Integrator3_1_1;
64
	Integrator3_1_2 = 0.00000000 -> (3.00000000 * 1.00000000)*(pre In4_1_2) + pre Integrator3_1_2;
65
	Integrator3_1_3 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In4_1_3) + pre Integrator3_1_3;
66
	Integrator4_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In5_1_1) + pre Integrator4_1_1;
67
	Integrator4_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In5_1_2) + pre Integrator4_1_2;
68
	Integrator4_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In5_1_3) + pre Integrator4_1_3;
69
	Integrator5_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In6_1_1) + pre Integrator5_1_1;
70
	Integrator5_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In6_1_2) + pre Integrator5_1_2;
71
	Integrator5_1_3 = 0.00000000 -> (0.10000000 * 1.00000000)*(pre In6_1_3) + pre Integrator5_1_3;
72
	Integrator6_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In7_1_1) + pre Integrator6_1_1;
73
	Integrator6_1_2 = 0.00000000 -> (3.00000000 * 1.00000000)*(pre In7_1_1) + pre Integrator6_1_2;
74
	Integrator6_1_3 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In7_1_1) + pre Integrator6_1_3;
75
	Integrator7_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In8_1_1) + pre Integrator7_1_1;
76
	Integrator7_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In8_1_1) + pre Integrator7_1_2;
77
	Integrator7_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In8_1_1) + pre Integrator7_1_3;
78
	Integrator8_1_1 = 0.00000000 -> (2.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator8_1_1;
79
	Integrator8_1_2 = 0.00000000 -> (5.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator8_1_2;
80
	Integrator8_1_3 = 0.00000000 -> (1.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator8_1_3;
81
	Integrator9_1_1 = -2.00000000 -> (2.00000000 * 1.00000000)*(pre In10_1_1) + pre Integrator9_1_1;
82
	Integrator9_1_2 = 0.00000000 -> (3.00000000 * 1.00000000)*(pre In10_1_2) + pre Integrator9_1_2;
83
	Integrator9_1_3 = -2.50000000 -> (5.00000000 * 1.00000000)*(pre In10_1_3) + pre Integrator9_1_3;
84
	Out1_1_1 = Integrator_1_1;
85
	Out1_1_2 = Integrator_1_2;
86
	Out1_1_3 = Integrator_1_3;
87
	Out2_2_1 = Integrator1_1_1;
88
	Out2_2_2 = Integrator1_1_2;
89
	Out2_2_3 = Integrator1_1_3;
90
	Out3_3_1 = Integrator2_1_1;
91
	Out3_3_2 = Integrator2_1_2;
92
	Out3_3_3 = Integrator2_1_3;
93
	Out4_4_1 = Integrator3_1_1;
94
	Out4_4_2 = Integrator3_1_2;
95
	Out4_4_3 = Integrator3_1_3;
96
	Out5_5_1 = Integrator4_1_1;
97
	Out5_5_2 = Integrator4_1_2;
98
	Out5_5_3 = Integrator4_1_3;
99
	Out6_6_1 = Integrator5_1_1;
100
	Out6_6_2 = Integrator5_1_2;
101
	Out6_6_3 = Integrator5_1_3;
102
	Out7_7_1 = Integrator6_1_1;
103
	Out7_7_2 = Integrator6_1_2;
104
	Out7_7_3 = Integrator6_1_3;
105
	Out8_8_1 = Integrator7_1_1;
106
	Out8_8_2 = Integrator7_1_2;
107
	Out8_8_3 = Integrator7_1_3;
108
	Out9_9_1 = Integrator8_1_1;
109
	Out9_9_2 = Integrator8_1_2;
110
	Out9_9_3 = Integrator8_1_3;
111
	Out10_10_1 = Integrator9_1_1;
112
	Out10_10_2 = Integrator9_1_2;
113
	Out10_10_3 = Integrator9_1_3;
114
	Out11_11_1 = Integrator10_1_1;
115
	Out11_11_2 = Integrator10_1_2;
116
	Out11_11_3 = Integrator10_1_3;
117
	Out12_12_1 = Integrator11_1_1;
118
	Out12_12_2 = Integrator11_1_2;
119
	Out12_12_3 = Integrator11_1_3;
120
	Out13_13_1 = Integrator12_1_1;
121
	Out13_13_2 = Integrator12_1_2;
122
	Out13_13_3 = Integrator12_1_3;
123
	Out14_14_1 = Integrator13_1_1;
124
	Out14_14_2 = Integrator13_1_2;
125
	Out14_14_3 = Integrator13_1_3;
126
	Out15_15_1 = Integrator14_1_1;
127
	Out15_15_2 = Integrator14_1_2;
128
	Out15_15_3 = Integrator14_1_3;
129
	i_virtual_local= 0.0 -> 1.0;
130
tel
131