-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathFMI2.xml
53 lines (46 loc) · 1.56 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
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="Stair"
description="This model generates a stair signal using time events"
generationTool="Reference FMUs (development build)"
guid="{BD403596-3166-4232-ABC2-132BDF73E644}"
numberOfEventIndicators="0">
<ModelExchange
modelIdentifier="Stair"
canNotUseMemoryManagementFunctions="true"
canGetAndSetFMUstate="true"
canSerializeFMUstate="true">
<SourceFiles>
<File name="all.c"/>
</SourceFiles>
</ModelExchange>
<CoSimulation
modelIdentifier="Stair"
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="10" stepSize="0.2"/>
<ModelVariables>
<ScalarVariable name="time" valueReference="0" causality="independent" variability="continuous" description="Simulation time">
<Real/>
</ScalarVariable>
<ScalarVariable name="counter" valueReference="1" description="counts the seconds" causality="output" variability="discrete" initial="exact">
<Integer start="1" max="10"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="2"/>
</Outputs>
</ModelStructure>
</fmiModelDescription>