FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
engine/CIEngine01.xml
1<Contents>
2 <OBJECTS>
3 <!-- ModParFilename is relative to the working directory of FhSim, which is normally
4 <build>/playpen/bin (the folder or a parent folder with FHSIM_DIR_IDENTIFIER), not
5 to this file. The build copies examples/input to <playpen>/examples/input/maritime,
6 so from playpen/bin the parameter file is at the path below. -->
7 <Lib LibName="maritime"
8 SimObject="CIEngine"
9 ModParFilename="../examples/input/maritime/engine/CIParameters.xml"
10 Name="CI"
11 />
12 <Lib LibName="base"
13 SimObject="Src/Step"
14 Name="Step1"
15 StartValue="5000"
16 StopValue="11500"
17 StartTime="35"
18 StopTime="60"/>
19 <Lib LibName="base"
20 SimObject="Src/Step"
21 Name="Step2"
22 StartValue="13.33"
23 StopValue="20"
24 StartTime="20"
25 StopTime="80"/>
26
27 </OBJECTS>
28 <INTERCONNECTIONS>
29 <Connection
30 CI.M_load="Step1.Out"
31 CI.N_eng_SP="Step2.Out"
32 CI.pInM_SP="2.5e5"
33 CI.MinLambda_SP="1.5"
34 />
35 </INTERCONNECTIONS>
36 <INITIALIZATION>
37 <!-- sfdsffsf sf sfd sfd sfd s-->
38 <InitialCondition
39 CI.p_InM="1e5"
40 CI.p_ExM="1e5"
41 CI.N_eng="1"
42 CI.N_TC="100"
43 CI.PI_N_eng="1e-3"
44 CI.PI_Lambda="2e-3"
45 CI.PI_WG="1"
46 />
47 </INITIALIZATION>
48
49 <SIMULATION>
50 <Timing TStart="0" TEnd="80"/>
51 <Integrator Method="RK45_i">
52 <StepControl Step="1e-4" StepMax="100" StepMin="0.000001" AbsTol="1e-7" RelTol="1e-7"/>
53 </Integrator>
54 </SIMULATION>
55
56 <OBSERVERS>
57 <FileOutput TOutput="0, 0:0.1:80, 80" Select="objects:all"/>
58 </OBSERVERS>
59</Contents>