Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_integrator_ext_IC_vector_test / integrator_ext_IC_vector_test.lus @ 6c3ea955

History | View | Annotate | Download (3.49 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node integrator_ext_IC_vector_test (In4_1_1 : real; In4_1_2 : real; In4_1_3 : real; In7_1_1 : real; In1_1_1 : 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; In5_1_1 : real; In5_1_2 : real; In5_1_3 : real; In6_1_1 : real; In6_1_2 : real; In6_1_3 : 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)
6
returns (Out4_1_1 : real; Out4_1_2 : real; Out4_1_3 : real;
7
	Out1_2_1 : real; Out1_2_2 : real; Out1_2_3 : real;
8
	Out2_3_1 : real; Out2_3_2 : real; Out2_3_3 : real;
9
	Out3_4_1 : real; Out3_4_2 : real; Out3_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
var
13
	Integrator_1_1 : real; Integrator_1_2 : real; Integrator_1_3 : real;
14
	Integrator1_1_1 : real; Integrator1_1_2 : real; Integrator1_1_3 : real;
15
	Integrator2_1_1 : real; Integrator2_1_2 : real; Integrator2_1_3 : real;
16
	Integrator3_1_1 : real; Integrator3_1_2 : real; Integrator3_1_3 : real;
17
	Integrator4_1_1 : real; Integrator4_1_2 : real; Integrator4_1_3 : real;
18
	Integrator5_1_1 : real; Integrator5_1_2 : real; Integrator5_1_3 : 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
	Integrator1_1_1 = In2_1_1 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_1;
25
	Integrator1_1_2 = In2_1_2 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_2;
26
	Integrator1_1_3 = In2_1_3 -> (1.00000000 * 1.00000000)*(pre In1_1_1) + pre Integrator1_1_3;
27
	Integrator2_1_1 = In5_1_1 -> (1.00000000 * 1.00000000)*(pre In3_1_1) + pre Integrator2_1_1;
28
	Integrator2_1_2 = In5_1_2 -> (1.00000000 * 1.00000000)*(pre In3_1_2) + pre Integrator2_1_2;
29
	Integrator2_1_3 = In5_1_3 -> (1.00000000 * 1.00000000)*(pre In3_1_3) + pre Integrator2_1_3;
30
	Integrator3_1_1 = In8_1_1 -> (2.00000000 * 1.00000000)*(pre In6_1_1) + pre Integrator3_1_1;
31
	Integrator3_1_2 = In8_1_1 -> (5.00000000 * 1.00000000)*(pre In6_1_2) + pre Integrator3_1_2;
32
	Integrator3_1_3 = In8_1_1 -> (0.90000000 * 1.00000000)*(pre In6_1_3) + pre Integrator3_1_3;
33
	Integrator4_1_1 = In10_1_1 -> (2.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_1;
34
	Integrator4_1_2 = In10_1_2 -> (5.00000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_2;
35
	Integrator4_1_3 = In10_1_3 -> (0.90000000 * 1.00000000)*(pre In9_1_1) + pre Integrator4_1_3;
36
	Integrator5_1_1 = In12_1_1 -> (2.00000000 * 1.00000000)*(pre In11_1_1) + pre Integrator5_1_1;
37
	Integrator5_1_2 = In12_1_2 -> (5.00000000 * 1.00000000)*(pre In11_1_2) + pre Integrator5_1_2;
38
	Integrator5_1_3 = In12_1_3 -> (0.90000000 * 1.00000000)*(pre In11_1_3) + pre Integrator5_1_3;
39
	Out4_1_1 = Integrator_1_1;
40
	Out4_1_2 = Integrator_1_2;
41
	Out4_1_3 = Integrator_1_3;
42
	Out1_2_1 = Integrator1_1_1;
43
	Out1_2_2 = Integrator1_1_2;
44
	Out1_2_3 = Integrator1_1_3;
45
	Out2_3_1 = Integrator2_1_1;
46
	Out2_3_2 = Integrator2_1_2;
47
	Out2_3_3 = Integrator2_1_3;
48
	Out3_4_1 = Integrator3_1_1;
49
	Out3_4_2 = Integrator3_1_2;
50
	Out3_4_3 = Integrator3_1_3;
51
	Out5_5_1 = Integrator4_1_1;
52
	Out5_5_2 = Integrator4_1_2;
53
	Out5_5_3 = Integrator4_1_3;
54
	Out6_6_1 = Integrator5_1_1;
55
	Out6_6_2 = Integrator5_1_2;
56
	Out6_6_3 = Integrator5_1_3;
57
	i_virtual_local= 0.0 -> 1.0;
58
tel
59