Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_flattening_1_test / flattening_1_test.lus @ 6c3ea955

History | View | Annotate | Download (1.67 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node flattening_1_test (In1_1_1 : real; In3_1_1 : real)
6
returns (Out1_1_1 : real;
7
	Out2_2_1 : real); 
8
var
9
	Subsystem_Gain_1_1 : real;
10
	Subsystem_SubSub1_Sum_1_1 : real;
11
	Subsystem_SubSub1_Sum1_1_1 : real;
12
	Subsystem_SubSub1_TransferFcn_pp_D1_1_1 : real;
13
	Subsystem_SubSub1_TransferFcn_pp_GainAC1_1_1_1 : real;
14
	Subsystem_SubSub1_TransferFcn_pp_GainAC2_1_1_1 : real;
15
	Subsystem_SubSub1_TransferFcn_pp_GainBD1_1_1_1 : real;
16
	Subsystem_SubSub1_TransferFcn_pp_GainBD2_1_1_1 : real;
17
	Subsystem_SubSub1_TransferFcn_pp_Sum1_1_1 : real;
18
	Subsystem_SubSub1_TransferFcn_pp_Sum2_1_1 : real;
19
	i_virtual_local : real;
20
let 
21
	Subsystem_Gain_1_1 = 0.50000000 * In1_1_1;
22
	Subsystem_SubSub1_Sum_1_1 = Subsystem_Gain_1_1 - Subsystem_SubSub1_TransferFcn_pp_Sum2_1_1;
23
	Subsystem_SubSub1_Sum1_1_1 = Subsystem_Gain_1_1;
24
	Subsystem_SubSub1_TransferFcn_pp_D1_1_1 = 0.00000000 -> pre Subsystem_SubSub1_TransferFcn_pp_Sum1_1_1;
25
	Subsystem_SubSub1_TransferFcn_pp_GainAC1_1_1_1 = -1.00000000 * Subsystem_SubSub1_TransferFcn_pp_D1_1_1;
26
	Subsystem_SubSub1_TransferFcn_pp_GainAC2_1_1_1 = 1.00000000 * Subsystem_SubSub1_TransferFcn_pp_D1_1_1;
27
	Subsystem_SubSub1_TransferFcn_pp_GainBD1_1_1_1 = 1.00000000 * In3_1_1;
28
	Subsystem_SubSub1_TransferFcn_pp_GainBD2_1_1_1 = 0.00000000 * In3_1_1;
29
	Subsystem_SubSub1_TransferFcn_pp_Sum1_1_1 = Subsystem_SubSub1_TransferFcn_pp_GainAC1_1_1_1 + Subsystem_SubSub1_TransferFcn_pp_GainBD1_1_1_1;
30
	Subsystem_SubSub1_TransferFcn_pp_Sum2_1_1 = Subsystem_SubSub1_TransferFcn_pp_GainAC2_1_1_1 + Subsystem_SubSub1_TransferFcn_pp_GainBD2_1_1_1;
31
	Out1_1_1 = Subsystem_SubSub1_Sum_1_1;
32
	Out2_2_1 = Subsystem_SubSub1_Sum1_1_1;
33
	i_virtual_local= 0.0 -> 1.0;
34
tel
35