forked from modelica/Reference-FMUs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FMI2.xml
56 lines (49 loc) · 1.6 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
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="Resource"
description="This model loads data from a resource file"
generationTool="Reference FMUs (development build)"
guid="{7b9c2114-2ce5-4076-a138-2cbc69e069e5}"
numberOfEventIndicators="0">
<ModelExchange
modelIdentifier="Resource"
canNotUseMemoryManagementFunctions="true"
canGetAndSetFMUstate="true"
canSerializeFMUstate="true">
<SourceFiles>
<File name="all.c"/>
</SourceFiles>
</ModelExchange>
<CoSimulation
modelIdentifier="Resource"
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="1"/>
<ModelVariables>
<ScalarVariable name="time" valueReference="0" causality="independent" variability="continuous" description="Simulation time">
<Real/>
</ScalarVariable>
<ScalarVariable name="y" valueReference="1" description="Value of the first character in resources/y.txt" causality="output" variability="discrete">
<Integer/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="2"/>
</Outputs>
<InitialUnknowns>
<Unknown index="2"/>
</InitialUnknowns>
</ModelStructure>
</fmiModelDescription>