forked from modelica/Reference-FMUs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FMI2.xml
74 lines (67 loc) · 2.68 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
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="Van der Pol oscillator"
description="This model implements the van der Pol oscillator"
generationTool="Reference FMUs (development build)"
guid="{8c4e810f-3da3-4a00-8276-176fa3c9f000}"
numberOfEventIndicators="0">
<ModelExchange
modelIdentifier="VanDerPol"
canNotUseMemoryManagementFunctions="true"
canGetAndSetFMUstate="true"
canSerializeFMUstate="true">
<SourceFiles>
<File name="all.c"/>
</SourceFiles>
</ModelExchange>
<CoSimulation
modelIdentifier="VanDerPol"
canHandleVariableCommunicationStepSize="true"
canNotUseMemoryManagementFunctions="true"
canGetAndSetFMUstate="true"
canSerializeFMUstate="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="time" valueReference="0" causality="independent" variability="continuous" description="Simulation time">
<Real/>
</ScalarVariable>
<ScalarVariable name="x0" valueReference="1" description="the first state" causality="output" variability="continuous" initial="exact">
<Real start="2"/>
</ScalarVariable>
<ScalarVariable name="der(x0)" valueReference="2" causality="local" variability="continuous" initial="calculated">
<Real derivative="1"/>
</ScalarVariable>
<ScalarVariable name="x1" valueReference="3" description="the second state" causality="output" variability="continuous" initial="exact">
<Real start="0"/>
</ScalarVariable>
<ScalarVariable name="der(x1)" valueReference="4" causality="local" variability="continuous" initial="calculated">
<Real derivative="3"/>
</ScalarVariable>
<ScalarVariable name="mu" valueReference="5" causality="parameter" variability="fixed" initial="exact">
<Real start="1"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="2" dependencies=""/>
<Unknown index="4" dependencies=""/>
</Outputs>
<Derivatives>
<Unknown index="3" dependencies="4" dependenciesKind="constant"/>
<Unknown index="5" dependencies="2 4" dependenciesKind="dependent dependent"/>
</Derivatives>
<InitialUnknowns>
<Unknown index="3" dependencies="4" dependenciesKind="constant"/>
<Unknown index="5" dependencies="2 4 6" dependenciesKind="dependent dependent dependent"/>
</InitialUnknowns>
</ModelStructure>
</fmiModelDescription>