-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodelDescription.xml
161 lines (161 loc) · 10.4 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="ika's driver model as FMU"
guid="@FMUGUID@"
description="Test OSMP for a simple trajectory follower which provides an TrafficUpdate."
author="dbeckerAC"
version="2.0"
generationTool="PMSF Manual FMU Framework"
generationDateAndTime="@FMUTIMESTAMP@"
variableNamingConvention="structured">
<CoSimulation
modelIdentifier="ikaAgentModel"
canHandleVariableCommunicationStepSize="true"
canNotUseMemoryManagementFunctions="true">
<SourceFiles>
<File name="OSMPTrafficAgent.cpp"/>
</SourceFiles>
</CoSimulation>
<LogCategories>
<Category name="FMI" description="Enable logging of all FMI calls"/>
<Category name="OSMP" description="Enable OSMP-related logging"/>
<Category name="OSI" description="Enable OSI-related logging"/>
</LogCategories>
<DefaultExperiment startTime="0.0" stepSize="0.020"/>
<VendorAnnotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.0.0" osi-version="3.0.0"/></Tool>
</VendorAnnotations>
<ModelVariables>
<ScalarVariable name="OSMPSensorViewIn.base.lo" valueReference="0" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewIn.base.hi" valueReference="1" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewIn.size" valueReference="2" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="size" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficCommandIn.base.lo" valueReference="3" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficCommandIn" role="base.lo" mime-type="application/x-open-simulation-interface; type=TrafficCommand; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficCommandIn.base.hi" valueReference="4" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficCommandIn" role="base.hi" mime-type="application/x-open-simulation-interface; type=TrafficCommand; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficCommandIn.size" valueReference="5" causality="input" variability="discrete">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficCommandIn" role="size" mime-type="application/x-open-simulation-interface; type=TrafficCommand; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficUpdateOut.base.lo" valueReference="6" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficUpdateOut" role="base.lo" mime-type="application/x-open-simulation-interface; type=TrafficUpdate; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficUpdateOut.base.hi" valueReference="7" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficUpdateOut" role="base.hi" mime-type="application/x-open-simulation-interface; type=TrafficUpdate; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPTrafficUpdateOut.size" valueReference="8" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPTrafficUpdateOut" role="size" mime-type="application/x-open-simulation-interface; type=TrafficUpdate; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPDynamicsRequestOut.base.lo" valueReference="9" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPDynamicsRequestOut" role="base.lo" mime-type="application/x-open-simulation-interface; type=DynamicsRequest; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPDynamicsRequestOut.base.hi" valueReference="10" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPDynamicsRequestOut" role="base.hi" mime-type="application/x-open-simulation-interface; type=DynamicsRequest; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPDynamicsRequestOut.size" valueReference="11" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPDynamicsRequestOut" role="size" mime-type="application/x-open-simulation-interface; type=DynamicsRequest; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfigRequest.base.lo" valueReference="12" causality="calculatedParameter" variability="fixed" initial="calculated">
<Integer/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfigRequest" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfigRequest.base.hi" valueReference="13" causality="calculatedParameter" variability="fixed" initial="calculated">
<Integer/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfigRequest" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfigRequest.size" valueReference="14" causality="calculatedParameter" variability="fixed" initial="calculated">
<Integer/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfigRequest" role="size" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfig.base.lo" valueReference="15" causality="parameter" variability="fixed">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfig" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfig.base.hi" valueReference="16" causality="parameter" variability="fixed">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfig" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorViewInConfig.size" valueReference="17" causality="parameter" variability="fixed">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewInConfig" role="size" mime-type="application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0.0"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="v_desired" valueReference="0" causality="parameter" variability="tunable">
<Real start="1.1"/>
</ScalarVariable>
<ScalarVariable name="v_init" valueReference="1" causality="parameter" variability="tunable">
<Real start="2.2"/>
</ScalarVariable>
<ScalarVariable name="valid" valueReference="0" causality="output" variability="discrete" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="debug" valueReference="1" causality="parameter" variability="tunable" initial="exact">
<Boolean start="true"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="6"/>
<Unknown index="7"/>
<Unknown index="8"/>
<Unknown index="9"/>
<Unknown index="10"/>
<Unknown index="11"/>
</Outputs>
</ModelStructure>
</fmiModelDescription>