-
Notifications
You must be signed in to change notification settings - Fork 63
/
FMI1ME.xml
68 lines (64 loc) · 2.78 KB
/
FMI1ME.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
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="1.0"
modelName="Feedthrough"
modelIdentifier="Feedthrough"
description="A model to test different variable types, causalities, and variabilities"
generationTool="Reference FMUs (development build)"
guid="{37B954F1-CC86-4D8F-B97F-C7C36F6670D2}"
numberOfContinuousStates="0"
numberOfEventIndicators="0">
<TypeDefinitions>
<Type name="Option">
<EnumerationType>
<Item name="Option 1" description="First option"/>
<Item name="Option 2" description="Second option"/>
</EnumerationType>
</Type>
</TypeDefinitions>
<DefaultExperiment startTime="0" stopTime="2"/>
<ModelVariables>
<ScalarVariable name="time" valueReference="0" causality="internal" variability="continuous">
<Real/>
</ScalarVariable>
<ScalarVariable name="Float64_fixed_parameter" valueReference="5" variability="parameter">
<Real start="0" fixed="true"/>
</ScalarVariable>
<ScalarVariable name="Float64_tunable_parameter" valueReference="6" variability="parameter">
<Real start="0"/>
</ScalarVariable>
<ScalarVariable name="Float64_continuous_input" valueReference="7" causality="input">
<Real start="0"/>
</ScalarVariable>
<ScalarVariable name="Float64_continuous_output" valueReference="8" causality="output">
<Real/>
</ScalarVariable>
<ScalarVariable name="Float64_discrete_input" valueReference="9" causality="input" variability="discrete">
<Real start="0"/>
</ScalarVariable>
<ScalarVariable name="Float64_discrete_output" valueReference="10" causality="output" variability="discrete">
<Real/>
</ScalarVariable>
<ScalarVariable name="Int32_input" valueReference="19" causality="input" variability="discrete">
<Integer start="0"/>
</ScalarVariable>
<ScalarVariable name="Int32_output" valueReference="20" causality="output" variability="discrete">
<Integer/>
</ScalarVariable>
<ScalarVariable name="Boolean_input" valueReference="27" causality="input" variability="discrete">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="Boolean_output" valueReference="28" causality="output" variability="discrete">
<Boolean/>
</ScalarVariable>
<ScalarVariable name="String_parameter" valueReference="29" variability="parameter">
<String start="Set me!"/>
</ScalarVariable>
<ScalarVariable name="Enumeration_input" valueReference="32" causality="input" variability="discrete">
<Enumeration declaredType="Option" start="1"/>
</ScalarVariable>
<ScalarVariable name="Enumeration_output" valueReference="33" causality="output" variability="discrete">
<Enumeration declaredType="Option"/>
</ScalarVariable>
</ModelVariables>
</fmiModelDescription>