fmu-manipulation-toolbox 1.8.4.2rc1__py3-none-any.whl → 1.9rc0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fmu_manipulation_toolbox/__version__.py +1 -1
- fmu_manipulation_toolbox/assembly.py +14 -7
- fmu_manipulation_toolbox/checker.py +5 -3
- fmu_manipulation_toolbox/{fmu_container.py → container.py} +71 -63
- fmu_manipulation_toolbox/gui.py +1 -1
- fmu_manipulation_toolbox/{fmu_operations.py → operations.py} +35 -19
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Annotation.xsd +51 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3AttributeGroups.xsd +119 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3BuildDescription.xsd +117 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3InterfaceType.xsd +80 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3LayeredStandardManifest.xsd +93 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3ModelDescription.xsd +131 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Terminal.xsd +87 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3TerminalsAndIcons.xsd +84 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Type.xsd +207 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Unit.xsd +69 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Variable.xsd +413 -0
- fmu_manipulation_toolbox/resources/fmi-3.0/fmi3VariableDependency.xsd +64 -0
- fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
- fmu_manipulation_toolbox/resources/win32/client_sm.dll +0 -0
- fmu_manipulation_toolbox/resources/win32/server_sm.exe +0 -0
- fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
- fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
- fmu_manipulation_toolbox/resources/win64/server_sm.exe +0 -0
- fmu_manipulation_toolbox/split.py +314 -0
- {fmu_manipulation_toolbox-1.8.4.2rc1.dist-info → fmu_manipulation_toolbox-1.9rc0.dist-info}/METADATA +1 -1
- {fmu_manipulation_toolbox-1.8.4.2rc1.dist-info → fmu_manipulation_toolbox-1.9rc0.dist-info}/RECORD +31 -19
- fmu_manipulation_toolbox-1.9rc0.dist-info/entry_points.txt +7 -0
- fmu_manipulation_toolbox/cli.py +0 -235
- fmu_manipulation_toolbox-1.8.4.2rc1.dist-info/entry_points.txt +0 -3
- {fmu_manipulation_toolbox-1.8.4.2rc1.dist-info → fmu_manipulation_toolbox-1.9rc0.dist-info}/WHEEL +0 -0
- {fmu_manipulation_toolbox-1.8.4.2rc1.dist-info → fmu_manipulation_toolbox-1.9rc0.dist-info}/licenses/LICENSE.txt +0 -0
- {fmu_manipulation_toolbox-1.8.4.2rc1.dist-info → fmu_manipulation_toolbox-1.9rc0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
+
<xs:include schemaLocation="fmi3Annotation.xsd"/>
|
|
4
|
+
<xs:include schemaLocation="fmi3AttributeGroups.xsd"/>
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>
|
|
7
|
+
Copyright(c) 2008-2011 MODELISAR consortium,
|
|
8
|
+
2012-2024 Modelica Association Project "FMI".
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
This file is licensed by the copyright holders under the 2-Clause BSD License
|
|
12
|
+
(https://opensource.org/licenses/BSD-2-Clause):
|
|
13
|
+
|
|
14
|
+
----------------------------------------------------------------------------
|
|
15
|
+
Redistribution and use in source and binary forms, with or without
|
|
16
|
+
modification, are permitted provided that the following conditions are met:
|
|
17
|
+
|
|
18
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
19
|
+
this list of conditions and the following disclaimer.
|
|
20
|
+
|
|
21
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
22
|
+
this list of conditions and the following disclaimer in the documentation
|
|
23
|
+
and/or other materials provided with the distribution.
|
|
24
|
+
|
|
25
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
26
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
27
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
28
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
29
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
30
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
31
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
32
|
+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
33
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
34
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
35
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
36
|
+
----------------------------------------------------------------------------
|
|
37
|
+
</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
|
|
40
|
+
<xs:complexType name="fmi3TypeDefinitionBase" abstract="true">
|
|
41
|
+
<xs:sequence>
|
|
42
|
+
<xs:element ref="Annotations" minOccurs="0"/>
|
|
43
|
+
</xs:sequence>
|
|
44
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required"/>
|
|
45
|
+
<xs:attribute name="description" type="xs:string"/>
|
|
46
|
+
</xs:complexType>
|
|
47
|
+
|
|
48
|
+
<xs:group name="fmi3TypeDefinition">
|
|
49
|
+
<xs:choice>
|
|
50
|
+
<xs:element name="Float32Type">
|
|
51
|
+
<xs:complexType>
|
|
52
|
+
<xs:complexContent>
|
|
53
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
54
|
+
<xs:attributeGroup ref="fmi3RealBaseAttributes"/>
|
|
55
|
+
<xs:attributeGroup ref="fmi3Float32Attributes"/>
|
|
56
|
+
</xs:extension>
|
|
57
|
+
</xs:complexContent>
|
|
58
|
+
</xs:complexType>
|
|
59
|
+
</xs:element>
|
|
60
|
+
<xs:element name="Float64Type">
|
|
61
|
+
<xs:complexType>
|
|
62
|
+
<xs:complexContent>
|
|
63
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
64
|
+
<xs:attributeGroup ref="fmi3RealBaseAttributes"/>
|
|
65
|
+
<xs:attributeGroup ref="fmi3Float64Attributes"/>
|
|
66
|
+
</xs:extension>
|
|
67
|
+
</xs:complexContent>
|
|
68
|
+
</xs:complexType>
|
|
69
|
+
</xs:element>
|
|
70
|
+
<xs:element name="Int8Type">
|
|
71
|
+
<xs:complexType>
|
|
72
|
+
<xs:complexContent>
|
|
73
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
74
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
75
|
+
<xs:attributeGroup ref="fmi3Int8Attributes"/>
|
|
76
|
+
</xs:extension>
|
|
77
|
+
</xs:complexContent>
|
|
78
|
+
</xs:complexType>
|
|
79
|
+
</xs:element>
|
|
80
|
+
<xs:element name="UInt8Type">
|
|
81
|
+
<xs:complexType>
|
|
82
|
+
<xs:complexContent>
|
|
83
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
84
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
85
|
+
<xs:attributeGroup ref="fmi3UInt8Attributes"/>
|
|
86
|
+
</xs:extension>
|
|
87
|
+
</xs:complexContent>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
</xs:element>
|
|
90
|
+
<xs:element name="Int16Type">
|
|
91
|
+
<xs:complexType>
|
|
92
|
+
<xs:complexContent>
|
|
93
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
94
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
95
|
+
<xs:attributeGroup ref="fmi3Int16Attributes"/>
|
|
96
|
+
</xs:extension>
|
|
97
|
+
</xs:complexContent>
|
|
98
|
+
</xs:complexType>
|
|
99
|
+
</xs:element>
|
|
100
|
+
<xs:element name="UInt16Type">
|
|
101
|
+
<xs:complexType>
|
|
102
|
+
<xs:complexContent>
|
|
103
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
104
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
105
|
+
<xs:attributeGroup ref="fmi3UInt16Attributes"/>
|
|
106
|
+
</xs:extension>
|
|
107
|
+
</xs:complexContent>
|
|
108
|
+
</xs:complexType>
|
|
109
|
+
</xs:element>
|
|
110
|
+
<xs:element name="Int32Type">
|
|
111
|
+
<xs:complexType>
|
|
112
|
+
<xs:complexContent>
|
|
113
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
114
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
115
|
+
<xs:attributeGroup ref="fmi3Int32Attributes"/>
|
|
116
|
+
</xs:extension>
|
|
117
|
+
</xs:complexContent>
|
|
118
|
+
</xs:complexType>
|
|
119
|
+
</xs:element>
|
|
120
|
+
<xs:element name="UInt32Type">
|
|
121
|
+
<xs:complexType>
|
|
122
|
+
<xs:complexContent>
|
|
123
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
124
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
125
|
+
<xs:attributeGroup ref="fmi3UInt32Attributes"/>
|
|
126
|
+
</xs:extension>
|
|
127
|
+
</xs:complexContent>
|
|
128
|
+
</xs:complexType>
|
|
129
|
+
</xs:element>
|
|
130
|
+
<xs:element name="Int64Type">
|
|
131
|
+
<xs:complexType>
|
|
132
|
+
<xs:complexContent>
|
|
133
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
134
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
135
|
+
<xs:attributeGroup ref="fmi3Int64Attributes"/>
|
|
136
|
+
</xs:extension>
|
|
137
|
+
</xs:complexContent>
|
|
138
|
+
</xs:complexType>
|
|
139
|
+
</xs:element>
|
|
140
|
+
<xs:element name="UInt64Type">
|
|
141
|
+
<xs:complexType>
|
|
142
|
+
<xs:complexContent>
|
|
143
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
144
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
145
|
+
<xs:attributeGroup ref="fmi3UInt64Attributes"/>
|
|
146
|
+
</xs:extension>
|
|
147
|
+
</xs:complexContent>
|
|
148
|
+
</xs:complexType>
|
|
149
|
+
</xs:element>
|
|
150
|
+
<xs:element name="BooleanType">
|
|
151
|
+
<xs:complexType>
|
|
152
|
+
<xs:complexContent>
|
|
153
|
+
<xs:extension base="fmi3TypeDefinitionBase"/>
|
|
154
|
+
</xs:complexContent>
|
|
155
|
+
</xs:complexType>
|
|
156
|
+
</xs:element>
|
|
157
|
+
<xs:element name="StringType">
|
|
158
|
+
<xs:complexType>
|
|
159
|
+
<xs:complexContent>
|
|
160
|
+
<xs:extension base="fmi3TypeDefinitionBase"/>
|
|
161
|
+
</xs:complexContent>
|
|
162
|
+
</xs:complexType>
|
|
163
|
+
</xs:element>
|
|
164
|
+
<xs:element name="BinaryType">
|
|
165
|
+
<xs:complexType>
|
|
166
|
+
<xs:complexContent>
|
|
167
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
168
|
+
<xs:attribute name="mimeType" type="xs:normalizedString" default="application/octet-stream"/>
|
|
169
|
+
<xs:attribute name="maxSize" type="xs:nonNegativeInteger"/>
|
|
170
|
+
</xs:extension>
|
|
171
|
+
</xs:complexContent>
|
|
172
|
+
</xs:complexType>
|
|
173
|
+
</xs:element>
|
|
174
|
+
<xs:element name="EnumerationType">
|
|
175
|
+
<xs:complexType>
|
|
176
|
+
<xs:complexContent>
|
|
177
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
178
|
+
<xs:sequence maxOccurs="unbounded">
|
|
179
|
+
<xs:element name="Item">
|
|
180
|
+
<xs:complexType>
|
|
181
|
+
<xs:sequence>
|
|
182
|
+
<xs:element ref="Annotations" minOccurs="0"/>
|
|
183
|
+
</xs:sequence>
|
|
184
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required"/>
|
|
185
|
+
<xs:attribute name="value" type="xs:long" use="required"/>
|
|
186
|
+
<xs:attribute name="description" type="xs:string"/>
|
|
187
|
+
</xs:complexType>
|
|
188
|
+
</xs:element>
|
|
189
|
+
</xs:sequence>
|
|
190
|
+
<xs:attributeGroup ref="fmi3IntegerBaseAttributes"/>
|
|
191
|
+
<xs:attributeGroup ref="fmi3EnumerationAttributes"/>
|
|
192
|
+
</xs:extension>
|
|
193
|
+
</xs:complexContent>
|
|
194
|
+
</xs:complexType>
|
|
195
|
+
</xs:element>
|
|
196
|
+
<xs:element name="ClockType">
|
|
197
|
+
<xs:complexType>
|
|
198
|
+
<xs:complexContent>
|
|
199
|
+
<xs:extension base="fmi3TypeDefinitionBase">
|
|
200
|
+
<xs:attributeGroup ref="fmi3ClockAttributes"/>
|
|
201
|
+
</xs:extension>
|
|
202
|
+
</xs:complexContent>
|
|
203
|
+
</xs:complexType>
|
|
204
|
+
</xs:element>
|
|
205
|
+
</xs:choice>
|
|
206
|
+
</xs:group>
|
|
207
|
+
</xs:schema>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
+
<xs:include schemaLocation="fmi3Annotation.xsd"/>
|
|
4
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>
|
|
6
|
+
Copyright(c) 2008-2011 MODELISAR consortium,
|
|
7
|
+
2012-2024 Modelica Association Project "FMI".
|
|
8
|
+
All rights reserved.
|
|
9
|
+
|
|
10
|
+
This file is licensed by the copyright holders under the 2-Clause BSD License
|
|
11
|
+
(https://opensource.org/licenses/BSD-2-Clause):
|
|
12
|
+
|
|
13
|
+
----------------------------------------------------------------------------
|
|
14
|
+
Redistribution and use in source and binary forms, with or without
|
|
15
|
+
modification, are permitted provided that the following conditions are met:
|
|
16
|
+
|
|
17
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer.
|
|
19
|
+
|
|
20
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
21
|
+
this list of conditions and the following disclaimer in the documentation
|
|
22
|
+
and/or other materials provided with the distribution.
|
|
23
|
+
|
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
25
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
26
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
27
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
28
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
29
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
30
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
31
|
+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
32
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
33
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
34
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
+
----------------------------------------------------------------------------
|
|
36
|
+
</xs:documentation>
|
|
37
|
+
</xs:annotation>
|
|
38
|
+
<xs:complexType name="fmi3Unit">
|
|
39
|
+
<xs:sequence>
|
|
40
|
+
<xs:element name="BaseUnit" minOccurs="0">
|
|
41
|
+
<xs:complexType>
|
|
42
|
+
<xs:attribute name="kg" type="xs:int" default="0"/>
|
|
43
|
+
<xs:attribute name="m" type="xs:int" default="0"/>
|
|
44
|
+
<xs:attribute name="s" type="xs:int" default="0"/>
|
|
45
|
+
<xs:attribute name="A" type="xs:int" default="0"/>
|
|
46
|
+
<xs:attribute name="K" type="xs:int" default="0"/>
|
|
47
|
+
<xs:attribute name="mol" type="xs:int" default="0"/>
|
|
48
|
+
<xs:attribute name="cd" type="xs:int" default="0"/>
|
|
49
|
+
<xs:attribute name="rad" type="xs:int" default="0"/>
|
|
50
|
+
<xs:attribute name="factor" type="xs:double" default="1"/>
|
|
51
|
+
<xs:attribute name="offset" type="xs:double" default="0"/>
|
|
52
|
+
</xs:complexType>
|
|
53
|
+
</xs:element>
|
|
54
|
+
<xs:element name="DisplayUnit" minOccurs="0" maxOccurs="unbounded">
|
|
55
|
+
<xs:complexType>
|
|
56
|
+
<xs:sequence>
|
|
57
|
+
<xs:element ref="Annotations" minOccurs="0"/>
|
|
58
|
+
</xs:sequence>
|
|
59
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required"/>
|
|
60
|
+
<xs:attribute name="factor" type="xs:double" default="1"/>
|
|
61
|
+
<xs:attribute name="offset" type="xs:double" default="0"/>
|
|
62
|
+
<xs:attribute name="inverse" type="xs:boolean" default="false"/>
|
|
63
|
+
</xs:complexType>
|
|
64
|
+
</xs:element>
|
|
65
|
+
<xs:element ref="Annotations" minOccurs="0"/>
|
|
66
|
+
</xs:sequence>
|
|
67
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required"/>
|
|
68
|
+
</xs:complexType>
|
|
69
|
+
</xs:schema>
|