This repository has been archived by the owner on Feb 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFMI2.xml
61 lines (54 loc) · 2.24 KB
/
FMI2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="ISO-8859-1"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="Van der Pol oscillator"
description="This model implements the van der Pol oscillator"
guid="{8c4e810f-3da3-4a00-8276-176fa3c9f000}"
numberOfEventIndicators="0">
<ModelExchange modelIdentifier="VanDerPol">
<SourceFiles>
<File name="all.c"/>
</SourceFiles>
</ModelExchange>
<CoSimulation modelIdentifier="VanDerPol" canHandleVariableCommunicationStepSize="true">
<SourceFiles>
<File name="all.c"/>
</SourceFiles>
</CoSimulation>
<LogCategories>
<Category name="logEvents" description="Log events"/>
<Category name="logStatusError" description="Log error messages"/>
</LogCategories>
<DefaultExperiment startTime="0" stopTime="20" stepSize="1e-2"/>
<ModelVariables>
<ScalarVariable name="x0" valueReference="0" description="the first state" causality="output" variability="continuous" initial="exact">
<Real start="2"/>
</ScalarVariable>
<ScalarVariable name="der(x0)" valueReference="1" causality="local" variability="continuous" initial="calculated">
<Real derivative="1"/>
</ScalarVariable>
<ScalarVariable name="x1" valueReference="2" description="the second state" causality="output" variability="continuous" initial="exact">
<Real start="0"/>
</ScalarVariable>
<ScalarVariable name="der(x1)" valueReference="3" causality="local" variability="continuous" initial="calculated">
<Real derivative="3"/>
</ScalarVariable>
<ScalarVariable name="mu" valueReference="4" causality="parameter" variability="fixed" initial="exact">
<Real start="1"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="1" dependencies=""/>
<Unknown index="3" dependencies=""/>
</Outputs>
<Derivatives>
<Unknown index="2" dependencies="3" dependenciesKind="constant"/>
<Unknown index="4" dependencies="1 3" dependenciesKind="dependent dependent"/>
</Derivatives>
<InitialUnknowns>
<Unknown index="2" dependencies="3" dependenciesKind="constant"/>
<Unknown index="4" dependencies="1 3 5" dependenciesKind="dependent dependent dependent"/>
</InitialUnknowns>
</ModelStructure>
</fmiModelDescription>