-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathmodelDescription.in.xml
More file actions
108 lines (108 loc) · 5.72 KB
/
modelDescription.in.xml
File metadata and controls
108 lines (108 loc) · 5.72 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
fmiVersion="2.0"
modelName="OSMPCNetworkProxy"
guid="@FMUGUID@"
description="OSMP Network Proxy FMU"
author="PMSF"
version="@OSMPVERSION@"
generationTool="PMSF Manual FMU Framework"
generationDateAndTime="@FMUTIMESTAMP@"
variableNamingConvention="structured">
<CoSimulation
modelIdentifier="OSMPCNetworkProxy"
canHandleVariableCommunicationStepSize="true"
canNotUseMemoryManagementFunctions="true">
<SourceFiles>
<File name="OSMPCNetworkProxy.c"/>
</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/OSISimulationModelPackaging"><osmp:osmp version="@OSMPVERSION@" osi-version="@OSIVERSION@"/></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/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorView; version=@OSIVERSION@"/></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/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorView; version=@OSIVERSION@"/></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/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="size" mime-type="application/x-open-simulation-interface; type=SensorView; version=@OSIVERSION@"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorDataOut.base.lo" valueReference="3" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorData; version=@OSIVERSION@"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorDataOut.base.hi" valueReference="4" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorData; version=@OSIVERSION@"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="OSMPSensorDataOut.size" valueReference="5" causality="output" variability="discrete" initial="exact">
<Integer start="0"/>
<Annotations>
<Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISimulationModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="size" mime-type="application/x-open-simulation-interface; type=SensorData; version=@OSIVERSION@"/></Tool>
</Annotations>
</ScalarVariable>
<ScalarVariable name="dummy" valueReference="0" causality="parameter" variability="fixed">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="sender" valueReference="1" causality="parameter" variability="fixed">
<Boolean start="true"/>
</ScalarVariable>
<ScalarVariable name="receiver" valueReference="2" causality="parameter" variability="fixed">
<Boolean start="true"/>
</ScalarVariable>
<ScalarVariable name="logData" valueReference="5" causality="parameter" variability="fixed">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="input.valid" valueReference="6" causality="output" variability="discrete" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="input.sent" valueReference="7" causality="output" variability="discrete" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="output.received" valueReference="8" causality="output" variability="discrete" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="output.valid" valueReference="9" causality="output" variability="discrete" initial="exact">
<Boolean start="false"/>
</ScalarVariable>
<ScalarVariable name="address" valueReference="0" causality="parameter" variability="fixed">
<String start="@FMU_DEFAULT_ADDRESS@"/>
</ScalarVariable>
<ScalarVariable name="port" valueReference="1" causality="parameter" variability="fixed">
<String start="@FMU_DEFAULT_PORT@"/>
</ScalarVariable>
</ModelVariables>
<ModelStructure>
<Outputs>
<Unknown index="4"/>
<Unknown index="5"/>
<Unknown index="6"/>
<Unknown index="11"/>
<Unknown index="12"/>
<Unknown index="13"/>
<Unknown index="14"/>
</Outputs>
</ModelStructure>
</fmiModelDescription>