-
Notifications
You must be signed in to change notification settings - Fork 1
/
modelDescription.xml
74 lines (66 loc) · 2.32 KB
/
modelDescription.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="Template"
description="Controller software (d-model) template"
generationTool="Reference FMUs (development build)"
guid="{1AE5E10D-9521-4DE3-80B9-D0EAAA7D5AF1}"
numberOfEventIndicators="1">
<CoSimulation
modelIdentifier="Template"
canHandleVariableCommunicationStepSize="true"
canNotUseMemoryManagementFunctions="true"
canGetAndSetFMUstate="true"
canSerializeFMUstate="true">
<SourceFiles>
<File name="fmu.c" />
<File name="skeleton.c" />
<File name="adapted_C/main.c" />
</SourceFiles>
</CoSimulation>
<LogCategories>
<Category name="logEvents" description="Log events"/>
<Category name="logStatusError" description="Log error messages"/>
</LogCategories>
<DefaultExperiment startTime="0" stopTime="3" stepSize="1e-2"/>
<ModelVariables>
<!--Index of variable = "1"-->
<ScalarVariable name="var0_float" valueReference="0" causality="output" variability="continuous">
<Real/>
</ScalarVariable>
<!--Index of variable = "2"-->
<ScalarVariable name="var1_boolean" valueReference="1" causality="input" variability="discrete">
<Real start="false"/>
</ScalarVariable>
<!--Index of variable = "3"-->
<ScalarVariable name="var2_string" valueReference="2" causality="input" variability="discrete">
<String start="" />
</ScalarVariable>
<!--Index of variable = "4"-->
<ScalarVariable name="var3_int" valueReference="3" causality="output" variability="continuous">
<Integer/>
</ScalarVariable>
<!--Index of variable = "5"-->
<ScalarVariable name="var4_boolean" valueReference="4" causality="output" variability="discrete">
<Boolean />
</ScalarVariable>
<!--Index of variable = "6"-->
<ScalarVariable name="var5_boolean" valueReference="5" causality="output" variability="discrete">
<Boolean />
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="1" />
<Unknown index="4" />
<Unknown index="5" />
<Unknown index="6" />
</Outputs>
<InitialUnknowns>
<Unknown index="1" />
<Unknown index="4" />
<Unknown index="5" />
<Unknown index="6" />
</InitialUnknowns>
</ModelStructure>
</fmiModelDescription>