FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
SimObj-Mux_in.xml
1<Contents>
2 <OBJECTS>
3 <Lib
4 LibName="base"
5 SimObject="Signal/Mux"
6 Name="A"
7 NumInput="3"
8 InPortWidth1="1"
9 InPortWidth2="1"
10 InPortWidth3="1"
11 />
12 <Lib
13 LibName="base"
14 SimObject="Src/Sine"
15 Name="S1"
16 Amplitude="1"
17 Bias="0"
18 StartTime="0"
19 PeriodS="4"
20 PhaseDeg="0"
21 />
22 <Lib
23 LibName="base"
24 SimObject="Src/Sine"
25 Name="S2"
26 Amplitude="2"
27 Bias="0"
28 StartTime="0"
29 PeriodS="4"
30 PhaseDeg="0"
31 />
32 <Lib
33 LibName="base"
34 SimObject="Src/Sine"
35 Name="S3"
36 Amplitude="3"
37 Bias="0"
38 StartTime="0"
39 PeriodS="4"
40 PhaseDeg="0"
41 />
42
43 </OBJECTS>
44
45 <INTERCONNECTIONS>
46 <Connection
47 A.In1="S1.Out"
48 A.In2="S2.Out"
49 A.In3="S3.Out"
50 />
51 </INTERCONNECTIONS>
52
53 <INITIALIZATION>
54 <InitialCondition
55 />
56 </INITIALIZATION>
57
58 <SIMULATION>
59 <Timing TStart="0" TEnd="6.0"/>
60 <Integrator Method="RK45_i" NumCores="1" LogStates="1" UseRSSNorm="0">
61 <StepControl StepMax="0.002" StepMin="0.00000001" AbsTol="1e-3" RelTol="1e-3"/>
62 </Integrator>
63
64 </SIMULATION>
65
66<OBSERVERS>
67 <FileOutput TOutput="0, 0,1,2,3,4, 5, 30" Select="objects:all"/>
68 </OBSERVERS>
69</Contents>