forked from modelica/Reference-FMUs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FMI3.xml
43 lines (36 loc) · 1.96 KB
/
FMI3.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
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription fmiVersion="3.0-beta.5" modelName="van der Pol oscillator" generationTool="Reference FMUs (development build)" instantiationToken="{8c4e810f-3da3-4a00-8276-176fa3c9f000}">
<ModelExchange
modelIdentifier="VanDerPol"
canGetAndSetFMUState="true"
canSerializeFMUState="true"/>
<CoSimulation
modelIdentifier="VanDerPol"
canGetAndSetFMUState="true"
canSerializeFMUState="true"
canHandleVariableCommunicationStepSize="true"
providesIntermediateUpdate="true"
canReturnEarlyAfterIntermediateUpdate="true"
fixedInternalStepSize="1e-2"/>
<LogCategories>
<Category name="logEvents" description="Log events"/>
<Category name="logStatusError" description="Log error messages"/>
</LogCategories>
<DefaultExperiment startTime="0" stopTime="20" stepSize="1e-2"/>
<ModelVariables>
<Float64 name="time" valueReference="0" causality="independent" variability="continuous" description="Simulation time"/>
<Float64 name="x0" valueReference="1" description="the first state" causality="output" variability="continuous" initial="exact" start="2"/>
<Float64 name="der(x0)" valueReference="2" causality="local" variability="continuous" initial="calculated" derivative="1"/>
<Float64 name="x1" valueReference="3" description="the second state" causality="output" variability="continuous" initial="exact" start="0"/>
<Float64 name="der(x1)" valueReference="4" causality="local" variability="continuous" initial="calculated" derivative="3"/>
<Float64 name="mu" valueReference="5" causality="parameter" variability="fixed" initial="exact" start="1"/>
</ModelVariables>
<ModelStructure>
<Output valueReference="1"/>
<Output valueReference="3"/>
<ContinuousStateDerivative valueReference="2"/>
<ContinuousStateDerivative valueReference="4"/>
<InitialUnknown valueReference="2"/>
<InitialUnknown valueReference="4"/>
</ModelStructure>
</fmiModelDescription>