Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_integrator_ext_IC_matrix_test / integrator_ext_IC_matrix_test.lus @ 6c3ea955

History | View | Annotate | Download (4.57 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node integrator_ext_IC_matrix_test (In4_1_1 : real; In4_1_2 : real; In4_1_3 : real; In4_1_4 : real; In7_1_1 : real; In1_1_1 : real; In2_1_1 : real; In2_1_2 : real; In2_1_3 : real; In2_1_4 : real; In3_1_1 : real; In3_1_2 : real; In3_1_3 : real; In3_1_4 : real; In5_1_1 : real; In5_1_2 : real; In5_1_3 : real; In5_1_4 : real; In6_1_1 : real; In6_1_2 : real; In6_1_3 : real; In6_1_4 : real; In8_1_1 : real; In9_1_1 : real; In10_1_1 : real; In10_1_2 : real; In10_1_3 : real; In10_1_4 : real; In11_1_1 : real; In11_1_2 : real; In11_1_3 : real; In11_1_4 : real; In12_1_1 : real; In12_1_2 : real; In12_1_3 : real; In12_1_4 : real)
6
returns (Out4_1_1 : real; Out4_1_2 : real; Out4_1_3 : real; Out4_1_4 : real;
7
	Out1_2_1 : real; Out1_2_2 : real; Out1_2_3 : real; Out1_2_4 : real;
8
	Out2_3_1 : real; Out2_3_2 : real; Out2_3_3 : real; Out2_3_4 : real;
9
	Out3_4_1 : real; Out3_4_2 : real; Out3_4_3 : real; Out3_4_4 : real;
10
	Out5_5_1 : real; Out5_5_2 : real; Out5_5_3 : real; Out5_5_4 : real;
11
	Out6_6_1 : real; Out6_6_2 : real; Out6_6_3 : real; Out6_6_4 : real); 
12
var
13
	Integrator_1_1 : real; Integrator_1_2 : real; Integrator_1_3 : real; Integrator_1_4 : real;
14
	Integrator1_1_1 : real; Integrator1_1_2 : real; Integrator1_1_3 : real; Integrator1_1_4 : real;
15
	Integrator2_1_1 : real; Integrator2_1_2 : real; Integrator2_1_3 : real; Integrator2_1_4 : real;
16
	Integrator3_1_1 : real; Integrator3_1_2 : real; Integrator3_1_3 : real; Integrator3_1_4 : real;
17
	Integrator4_1_1 : real; Integrator4_1_2 : real; Integrator4_1_3 : real; Integrator4_1_4 : real;
18
	Integrator5_1_1 : real; Integrator5_1_2 : real; Integrator5_1_3 : real; Integrator5_1_4 : real;
19
	i_virtual_local : real;
20
let 
21
	Integrator_1_1 = In7_1_1 -> (1.00000000 * 1.00000000)*(pre In4_1_1) + pre Integrator_1_1;
22
	Integrator_1_2 = In7_1_1 -> (1.00000000 * 1.00000000)*(pre In4_1_2) + pre Integrator_1_2;
23
	Integrator_1_3 = In7_1_1 -> (1.00000000 * 1.00000000)*(pre In4_1_3) + pre Integrator_1_3;
24
	Integrator_1_4 = In7_1_1 -> (1.00000000 * 1.00000000)*(pre In4_1_4) + pre Integrator_1_4;
25
	Integrator1_1_1 = In2_1_1 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_1;
26
	Integrator1_1_2 = In2_1_2 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_2;
27
	Integrator1_1_3 = In2_1_3 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_3;
28
	Integrator1_1_4 = In2_1_4 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_4;
29
	Integrator2_1_1 = In5_1_1 -> (1.00000000 * 1.00000000)*(pre In3_1_1) + pre Integrator2_1_1;
30
	Integrator2_1_2 = In5_1_2 -> (1.00000000 * 1.00000000)*(pre In3_1_2) + pre Integrator2_1_2;
31
	Integrator2_1_3 = In5_1_3 -> (1.00000000 * 1.00000000)*(pre In3_1_3) + pre Integrator2_1_3;
32
	Integrator2_1_4 = In5_1_4 -> (1.00000000 * 1.00000000)*(pre In3_1_4) + pre Integrator2_1_4;
33
	Integrator3_1_1 = In8_1_1 -> (2.00000000 * 1.00000000)*(pre In6_1_1) + pre Integrator3_1_1;
34
	Integrator3_1_2 = In8_1_1 -> (5.00000000 * 1.00000000)*(pre In6_1_2) + pre Integrator3_1_2;
35
	Integrator3_1_3 = In8_1_1 -> (0.90000000 * 1.00000000)*(pre In6_1_3) + pre Integrator3_1_3;
36
	Integrator3_1_4 = In8_1_1 -> (1.00000000 * 1.00000000)*(pre In6_1_4) + pre Integrator3_1_4;
37
	Integrator4_1_1 = In10_1_1 -> (2.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_1;
38
	Integrator4_1_2 = In10_1_2 -> (5.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_2;
39
	Integrator4_1_3 = In10_1_3 -> (0.90000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_3;
40
	Integrator4_1_4 = In10_1_4 -> (1.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_4;
41
	Integrator5_1_1 = In12_1_1 -> (2.00000000 * 1.00000000)*(pre In11_1_1) + pre Integrator5_1_1;
42
	Integrator5_1_2 = In12_1_2 -> (5.00000000 * 1.00000000)*(pre In11_1_2) + pre Integrator5_1_2;
43
	Integrator5_1_3 = In12_1_3 -> (0.90000000 * 1.00000000)*(pre In11_1_3) + pre Integrator5_1_3;
44
	Integrator5_1_4 = In12_1_4 -> (1.00000000 * 1.00000000)*(pre In11_1_4) + pre Integrator5_1_4;
45
	Out4_1_1 = Integrator_1_1;
46
	Out4_1_2 = Integrator_1_2;
47
	Out4_1_3 = Integrator_1_3;
48
	Out4_1_4 = Integrator_1_4;
49
	Out1_2_1 = Integrator1_1_1;
50
	Out1_2_2 = Integrator1_1_2;
51
	Out1_2_3 = Integrator1_1_3;
52
	Out1_2_4 = Integrator1_1_4;
53
	Out2_3_1 = Integrator2_1_1;
54
	Out2_3_2 = Integrator2_1_2;
55
	Out2_3_3 = Integrator2_1_3;
56
	Out2_3_4 = Integrator2_1_4;
57
	Out3_4_1 = Integrator3_1_1;
58
	Out3_4_2 = Integrator3_1_2;
59
	Out3_4_3 = Integrator3_1_3;
60
	Out3_4_4 = Integrator3_1_4;
61
	Out5_5_1 = Integrator4_1_1;
62
	Out5_5_2 = Integrator4_1_2;
63
	Out5_5_3 = Integrator4_1_3;
64
	Out5_5_4 = Integrator4_1_4;
65
	Out6_6_1 = Integrator5_1_1;
66
	Out6_6_2 = Integrator5_1_2;
67
	Out6_6_3 = Integrator5_1_3;
68
	Out6_6_4 = Integrator5_1_4;
69
	i_virtual_local= 0.0 -> 1.0;
70
tel
71