Project

General

Profile

Download (1.51 KB) Statistics
| Branch: | Tag: | Revision:
1
-- This file has been generated by CoCoSim2.
2

    
3
-- Compiler: Lustre compiler 2 (ToLustre.m)
4
-- Time: 03-Dec-2018 22:06:37
5
(*
6
Original block name: link_subsystem_test_PP/Subsystem/Pow2
7
*)
8
node  Pow2_29_011(In1_1 : real;
9
	__time_step : real;
10
	__nb_step : int;)
11
returns(Out1_1 : real;);
12
var Product_1 : real;
13
let
14
	Product_1 = 1.0 * In1_1 * In1_1;
15
	Out1_1 = Product_1;
16
tel
17

    
18
(*
19
Original block name: link_subsystem_test_PP/Subsystem/Pow3Atomic
20
*)
21
node  Pow3Atomic_30_010(In1_1 : real;
22
	__time_step : real;
23
	__nb_step : int;)
24
returns(Out1_1 : real;);
25
var Product_1 : real;
26
let
27
	Product_1 = 1.0 * In1_1 * In1_1 * In1_1;
28
	Out1_1 = Product_1;
29
tel
30

    
31
(*
32
Original block name: link_subsystem_test_PP/Subsystem
33
*)
34
node  Subsystem_27_009(In1_1 : real;
35
	__time_step : real;
36
	__nb_step : int;)
37
returns(Out1_1 : real;
38
	Out2_1 : real;);
39
var Pow2_1 : real;
40
	Pow3Atomic_1 : real;
41
let
42
	Pow2_1 = Pow2_29_011(In1_1, __time_step, __nb_step);
43
	Pow3Atomic_1 = Pow3Atomic_30_010(In1_1, __time_step, __nb_step);
44
	Out1_1 = Pow2_1;
45
	Out2_1 = Pow3Atomic_1;
46
tel
47

    
48
(*
49
Original block name: link_subsystem_test_PP
50
*)
51
node  link_subsystem_test_PP(In1_1 : real;)
52
returns(Out1_1 : real;
53
	Out2_1 : real;);
54
var Gain_1 : real;
55
	Subsystem_1 : real;
56
	Subsystem_2 : real;
57
	__time_step : real;
58
	__nb_step : int;
59
let
60
	Gain_1 = (In1_1 * 1.000000000000000);
61
	(Subsystem_1, Subsystem_2) = Subsystem_27_009(Gain_1, __time_step, __nb_step);
62
	Out1_1 = Subsystem_1;
63
	Out2_1 = Subsystem_2;
64
	__time_step = (0.0 -> ((pre __time_step) + 0.000000000000000));
65
	__nb_step = (0 -> ((pre __nb_step) + 1));
66
tel
67

    
(1081-1081/1153)