-
Notifications
You must be signed in to change notification settings - Fork 1
/
modelDescription.xml
100 lines (90 loc) · 5.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="ISO-8859-1"?>
<fmiModelDescription fmiVersion="2.0" modelName="RabbitMq" guid="{cfc65592-ffff-4563-9705-1581b6e7071c}"
generationTool="RabbitMQ digital twin generator" numberOfEventIndicators="0" copyright="INTO-CPS"
license="INTO-CPS">
<CoSimulation modelIdentifier="rabbitmq" needsExecutionTool="true"
canHandleVariableCommunicationStepSize="true" canInterpolateInputs="false"
maxOutputDerivativeOrder="0" canRunAsynchronuously="false" canBeInstantiatedOnlyOncePerProcess="true"
canNotUseMemoryManagementFunctions="true" canGetAndSetFMUstate="false" canSerializeFMUstate="false"
providesDirectionalDerivative="false"/>
<LogCategories>
<Category name="logAll"/>
</LogCategories>
<DefaultExperiment startTime="0.0" stopTime="16.0" stepSize="0.01"/>
<ModelVariables>
<ScalarVariable name="someCommand" valueReference="1" causality="output" variability="discrete">
<Boolean />
</ScalarVariable>
<ScalarVariable name="someArgument_1" valueReference="2" causality="output" variability="discrete">
<Integer />
</ScalarVariable>
<ScalarVariable name="someArgument_2" valueReference="3" causality="output" variability="discrete">
<String />
</ScalarVariable>
<ScalarVariable name="someArgument_3" valueReference="4" causality="output" variability="discrete">
<Float />
</ScalarVariable>
<ScalarVariable name="config.hostname" valueReference="0" variability="fixed" causality="parameter" initial="exact">
<String start="localhost"/>
</ScalarVariable>
<ScalarVariable name="config.port" valueReference="1" variability="fixed" causality="parameter" initial="exact">
<Integer start="5672"/>
</ScalarVariable>
<ScalarVariable name="config.username" valueReference="2" variability="fixed" causality="parameter" initial="exact">
<String start="guest"/>
</ScalarVariable>
<ScalarVariable name="config.password" valueReference="3" variability="fixed" causality="parameter" initial="exact">
<String start="guest"/>
</ScalarVariable>
<ScalarVariable name="config.routingkey" valueReference="4" variability="fixed" causality="parameter" initial="exact">
<String start="data.to_cosim"/>
</ScalarVariable>
<ScalarVariable name="config.communicationtimeout" valueReference="5" variability="fixed" causality="parameter" description="Network read time out in seconds" initial="exact">
<Integer start="60"/>
</ScalarVariable>
<ScalarVariable name="config.precision" valueReference="6" variability="fixed" causality="parameter" description="Communication step comparison precision. Number of decimals to consider" initial="exact">
<Integer start="10"/>
</ScalarVariable>
<ScalarVariable name="config.maxage" valueReference="7" variability="fixed" causality="parameter" description="The max age of a value specified in ms," initial="exact">
<Integer start="1000"/>
</ScalarVariable>
<ScalarVariable name="config.lookahead" valueReference="8" variability="fixed" causality="parameter" description="The number of queue messages that should be considered on each processing. Value must be greater than 0" initial="exact">
<Integer start="1"/>
</ScalarVariable>
<ScalarVariable name="config.exchangename" valueReference="9" variability="fixed" causality="parameter" initial="exact">
<String start="fmi_digital_twin"/>
</ScalarVariable>
<ScalarVariable name="config.exchangetype" valueReference="10" variability="fixed" causality="parameter" initial="exact">
<String start="direct"/>
</ScalarVariable>
<ScalarVariable name="config.healthdata.exchangename" valueReference="11" variability="fixed" causality="parameter" initial="exact">
<String start="fmi_digital_twin_sh"/>
</ScalarVariable>
<ScalarVariable name="config.healthdata.exchangetype" valueReference="12" variability="fixed" causality="parameter" initial="exact">
<String start="direct"/>
</ScalarVariable>
<ScalarVariable name="config.routingkey.from_cosim" valueReference="13" variability="fixed" causality="parameter" initial="exact">
<String start="data.from_cosim"/>
</ScalarVariable>
<ScalarVariable name="config.ssl" valueReference="16" variability="fixed" causality="parameter" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="config.queueupperbound" valueReference="17" variability="fixed" causality="parameter" initial="exact">
<Integer start="100"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="1" />
<Unknown index="2" />
<Unknown index="3" />
<Unknown index="4" />
</Outputs>
<InitialUnknowns>
<Unknown index="1" />
<Unknown index="2" />
<Unknown index="3" />
<Unknown index="4" />
</InitialUnknowns>
</ModelStructure>
</fmiModelDescription>