fmu-manipulation-toolbox 1.7.5__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/__init__.py +1 -0
- fmu_manipulation_toolbox/__main__.py +25 -0
- fmu_manipulation_toolbox/__version__.py +1 -0
- fmu_manipulation_toolbox/checker.py +61 -0
- fmu_manipulation_toolbox/cli.py +216 -0
- fmu_manipulation_toolbox/fmu_container.py +784 -0
- fmu_manipulation_toolbox/fmu_operations.py +489 -0
- fmu_manipulation_toolbox/gui.py +493 -0
- fmu_manipulation_toolbox/help.py +87 -0
- fmu_manipulation_toolbox/resources/checkbox-checked-disabled.png +0 -0
- fmu_manipulation_toolbox/resources/checkbox-checked-hover.png +0 -0
- fmu_manipulation_toolbox/resources/checkbox-checked.png +0 -0
- fmu_manipulation_toolbox/resources/checkbox-unchecked-disabled.png +0 -0
- fmu_manipulation_toolbox/resources/checkbox-unchecked-hover.png +0 -0
- fmu_manipulation_toolbox/resources/checkbox-unchecked.png +0 -0
- fmu_manipulation_toolbox/resources/drop_fmu.png +0 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Annotation.xsd +58 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2AttributeGroups.xsd +78 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ModelDescription.xsd +345 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ScalarVariable.xsd +218 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Type.xsd +89 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Unit.xsd +116 -0
- fmu_manipulation_toolbox/resources/fmi-2.0/fmi2VariableDependency.xsd +92 -0
- fmu_manipulation_toolbox/resources/fmu.png +0 -0
- fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png +0 -0
- fmu_manipulation_toolbox/resources/help.png +0 -0
- fmu_manipulation_toolbox/resources/icon.png +0 -0
- fmu_manipulation_toolbox/resources/license.txt +34 -0
- fmu_manipulation_toolbox/resources/linux32/client_sm.so +0 -0
- fmu_manipulation_toolbox/resources/linux32/server_sm +0 -0
- fmu_manipulation_toolbox/resources/linux64/client_sm.so +0 -0
- fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
- fmu_manipulation_toolbox/resources/linux64/server_sm +0 -0
- fmu_manipulation_toolbox/resources/model.png +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/version.py +9 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/LICENSE.txt +22 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/METADATA +20 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/RECORD +46 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/WHEEL +5 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/entry_points.txt +3 -0
- fmu_manipulation_toolbox-1.7.5.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,89 @@
|
|
|
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="fmi2AttributeGroups.xsd"/>
|
|
4
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>
|
|
6
|
+
Copyright(c) 2008-2011 MODELISAR consortium,
|
|
7
|
+
2012-2022 Modelica Association Project "FMI".
|
|
8
|
+
All rights reserved.
|
|
9
|
+
|
|
10
|
+
This schema file is part of the FMI 2.0.4 standard.
|
|
11
|
+
|
|
12
|
+
This file is licensed by the copyright holders under the 2-Clause BSD License
|
|
13
|
+
(https://opensource.org/licenses/BSD-2-Clause):
|
|
14
|
+
|
|
15
|
+
----------------------------------------------------------------------------
|
|
16
|
+
Redistribution and use in source and binary forms, with or without
|
|
17
|
+
modification, are permitted provided that the following conditions are met:
|
|
18
|
+
|
|
19
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
20
|
+
this list of conditions and the following disclaimer.
|
|
21
|
+
|
|
22
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
23
|
+
this list of conditions and the following disclaimer in the documentation
|
|
24
|
+
and/or other materials provided with the distribution.
|
|
25
|
+
|
|
26
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
27
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
28
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
29
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
30
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
31
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
32
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
33
|
+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
34
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
35
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
36
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
37
|
+
----------------------------------------------------------------------------
|
|
38
|
+
</xs:documentation>
|
|
39
|
+
</xs:annotation>
|
|
40
|
+
<xs:complexType name="fmi2SimpleType">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Type attributes of a scalar variable</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
<xs:sequence>
|
|
45
|
+
<xs:choice>
|
|
46
|
+
<xs:element name="Real">
|
|
47
|
+
<xs:complexType>
|
|
48
|
+
<xs:attributeGroup ref="fmi2RealAttributes"/>
|
|
49
|
+
</xs:complexType>
|
|
50
|
+
</xs:element>
|
|
51
|
+
<xs:element name="Integer">
|
|
52
|
+
<xs:complexType>
|
|
53
|
+
<xs:attributeGroup ref="fmi2IntegerAttributes"/>
|
|
54
|
+
</xs:complexType>
|
|
55
|
+
</xs:element>
|
|
56
|
+
<xs:element name="Boolean"/>
|
|
57
|
+
<xs:element name="String"/>
|
|
58
|
+
<xs:element name="Enumeration">
|
|
59
|
+
<xs:complexType>
|
|
60
|
+
<xs:sequence maxOccurs="unbounded">
|
|
61
|
+
<xs:element name="Item">
|
|
62
|
+
<xs:complexType>
|
|
63
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required"/>
|
|
64
|
+
<xs:attribute name="value" type="xs:int" use="required">
|
|
65
|
+
<xs:annotation>
|
|
66
|
+
<xs:documentation>Must be a unique number in the same enumeration</xs:documentation>
|
|
67
|
+
</xs:annotation>
|
|
68
|
+
</xs:attribute>
|
|
69
|
+
<xs:attribute name="description" type="xs:string"/>
|
|
70
|
+
</xs:complexType>
|
|
71
|
+
</xs:element>
|
|
72
|
+
</xs:sequence>
|
|
73
|
+
<xs:attribute name="quantity" type="xs:normalizedString"/>
|
|
74
|
+
</xs:complexType>
|
|
75
|
+
</xs:element>
|
|
76
|
+
</xs:choice>
|
|
77
|
+
</xs:sequence>
|
|
78
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required">
|
|
79
|
+
<xs:annotation>
|
|
80
|
+
<xs:documentation>Name of SimpleType element. "name" must be unique with respect to all other elements of the TypeDefinitions list. Furthermore, "name" of a SimpleType must be different to all "name"s of ScalarVariable.</xs:documentation>
|
|
81
|
+
</xs:annotation>
|
|
82
|
+
</xs:attribute>
|
|
83
|
+
<xs:attribute name="description" type="xs:string">
|
|
84
|
+
<xs:annotation>
|
|
85
|
+
<xs:documentation>Description of the SimpleType</xs:documentation>
|
|
86
|
+
</xs:annotation>
|
|
87
|
+
</xs:attribute>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
</xs:schema>
|
|
@@ -0,0 +1,116 @@
|
|
|
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:annotation>
|
|
4
|
+
<xs:documentation>
|
|
5
|
+
Copyright(c) 2008-2011 MODELISAR consortium,
|
|
6
|
+
2012-2022 Modelica Association Project "FMI".
|
|
7
|
+
All rights reserved.
|
|
8
|
+
|
|
9
|
+
This schema file is part of the FMI 2.0.4 standard.
|
|
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
|
+
<xs:complexType name="fmi2Unit">
|
|
40
|
+
<xs:annotation>
|
|
41
|
+
<xs:documentation>Unit definition (with respect to SI base units) and default display units</xs:documentation>
|
|
42
|
+
</xs:annotation>
|
|
43
|
+
<xs:sequence>
|
|
44
|
+
<xs:element name="BaseUnit" minOccurs="0">
|
|
45
|
+
<xs:annotation>
|
|
46
|
+
<xs:documentation>BaseUnit_value = factor*Unit_value + offset</xs:documentation>
|
|
47
|
+
</xs:annotation>
|
|
48
|
+
<xs:complexType>
|
|
49
|
+
<xs:attribute name="kg" type="xs:int" default="0">
|
|
50
|
+
<xs:annotation>
|
|
51
|
+
<xs:documentation>Exponent of SI base unit "kg"</xs:documentation>
|
|
52
|
+
</xs:annotation>
|
|
53
|
+
</xs:attribute>
|
|
54
|
+
<xs:attribute name="m" type="xs:int" default="0">
|
|
55
|
+
<xs:annotation>
|
|
56
|
+
<xs:documentation>Exponent of SI base unit "m"</xs:documentation>
|
|
57
|
+
</xs:annotation>
|
|
58
|
+
</xs:attribute>
|
|
59
|
+
<xs:attribute name="s" type="xs:int" default="0">
|
|
60
|
+
<xs:annotation>
|
|
61
|
+
<xs:documentation>Exponent of SI base unit "s"</xs:documentation>
|
|
62
|
+
</xs:annotation>
|
|
63
|
+
</xs:attribute>
|
|
64
|
+
<xs:attribute name="A" type="xs:int" default="0">
|
|
65
|
+
<xs:annotation>
|
|
66
|
+
<xs:documentation>Exponent of SI base unit "A"</xs:documentation>
|
|
67
|
+
</xs:annotation>
|
|
68
|
+
</xs:attribute>
|
|
69
|
+
<xs:attribute name="K" type="xs:int" default="0">
|
|
70
|
+
<xs:annotation>
|
|
71
|
+
<xs:documentation>Exponent of SI base unit "K"</xs:documentation>
|
|
72
|
+
</xs:annotation>
|
|
73
|
+
</xs:attribute>
|
|
74
|
+
<xs:attribute name="mol" type="xs:int" default="0">
|
|
75
|
+
<xs:annotation>
|
|
76
|
+
<xs:documentation>Exponent of SI base unit "mol"</xs:documentation>
|
|
77
|
+
</xs:annotation>
|
|
78
|
+
</xs:attribute>
|
|
79
|
+
<xs:attribute name="cd" type="xs:int" default="0">
|
|
80
|
+
<xs:annotation>
|
|
81
|
+
<xs:documentation>Exponent of SI base unit "cd"</xs:documentation>
|
|
82
|
+
</xs:annotation>
|
|
83
|
+
</xs:attribute>
|
|
84
|
+
<xs:attribute name="rad" type="xs:int" default="0">
|
|
85
|
+
<xs:annotation>
|
|
86
|
+
<xs:documentation>Exponent of SI derived unit "rad"</xs:documentation>
|
|
87
|
+
</xs:annotation>
|
|
88
|
+
</xs:attribute>
|
|
89
|
+
<xs:attribute name="factor" type="xs:double" default="1"/>
|
|
90
|
+
<xs:attribute name="offset" type="xs:double" default="0"/>
|
|
91
|
+
</xs:complexType>
|
|
92
|
+
</xs:element>
|
|
93
|
+
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
|
94
|
+
<xs:element name="DisplayUnit">
|
|
95
|
+
<xs:annotation>
|
|
96
|
+
<xs:documentation>DisplayUnit_value = factor*Unit_value + offset</xs:documentation>
|
|
97
|
+
</xs:annotation>
|
|
98
|
+
<xs:complexType>
|
|
99
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required">
|
|
100
|
+
<xs:annotation>
|
|
101
|
+
<xs:documentation>Name of DisplayUnit element, e.g. <Unit name="rad"/>, <DisplayUnit name="deg" factor="57.29..."/>. "name" must be unique with respect to all other "names" of the DisplayUnit definitions of the same Unit (different Unit elements may have the same DisplayUnit names).</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
</xs:attribute>
|
|
104
|
+
<xs:attribute name="factor" type="xs:double" default="1"/>
|
|
105
|
+
<xs:attribute name="offset" type="xs:double" default="0"/>
|
|
106
|
+
</xs:complexType>
|
|
107
|
+
</xs:element>
|
|
108
|
+
</xs:sequence>
|
|
109
|
+
</xs:sequence>
|
|
110
|
+
<xs:attribute name="name" type="xs:normalizedString" use="required">
|
|
111
|
+
<xs:annotation>
|
|
112
|
+
<xs:documentation>Name of Unit element, e.g. "N.m", "Nm", "%/s". "name" must be unique will respect to all other elements of the UnitDefinitions list. The variable values of fmi2SetXXX and fmi2GetXXX are with respect to this unit.</xs:documentation>
|
|
113
|
+
</xs:annotation>
|
|
114
|
+
</xs:attribute>
|
|
115
|
+
</xs:complexType>
|
|
116
|
+
</xs:schema>
|
|
@@ -0,0 +1,92 @@
|
|
|
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:annotation>
|
|
4
|
+
<xs:documentation>
|
|
5
|
+
Copyright(c) 2008-2011 MODELISAR consortium,
|
|
6
|
+
2012-2022 Modelica Association Project "FMI".
|
|
7
|
+
All rights reserved.
|
|
8
|
+
|
|
9
|
+
This schema file is part of the FMI 2.0.4 standard.
|
|
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
|
+
<xs:complexType name="fmi2VariableDependency">
|
|
40
|
+
<xs:sequence maxOccurs="unbounded">
|
|
41
|
+
<xs:element name="Unknown">
|
|
42
|
+
<xs:annotation>
|
|
43
|
+
<xs:documentation>Dependency of scalar Unknown from Knowns
|
|
44
|
+
in Continuous-Time and Event Mode (ModelExchange),
|
|
45
|
+
and at Communication Points (CoSimulation):
|
|
46
|
+
Unknown=f(Known_1, Known_2, ...).
|
|
47
|
+
The Knowns are "inputs", "continuous states" and
|
|
48
|
+
"independent variable" (usually time)".</xs:documentation>
|
|
49
|
+
</xs:annotation>
|
|
50
|
+
<xs:complexType>
|
|
51
|
+
<xs:attribute name="index" type="xs:unsignedInt" use="required">
|
|
52
|
+
<xs:annotation>
|
|
53
|
+
<xs:documentation>ScalarVariable index of Unknown</xs:documentation>
|
|
54
|
+
</xs:annotation>
|
|
55
|
+
</xs:attribute>
|
|
56
|
+
<xs:attribute name="dependencies">
|
|
57
|
+
<xs:annotation>
|
|
58
|
+
<xs:documentation>Defines the dependency of the Unknown (directly or indirectly via auxiliary variables) on the Knowns in Continuous-Time and Event Mode (ModelExchange) and at Communication Points (CoSimulation). If not present, it must be assumed that the Unknown depends on all Knowns. If present as empty list, the Unknown depends on none of the Knowns. Otherwise the Unknown depends on the Knowns defined by the given ScalarVariable indices. The indices are ordered according to size, starting with the smallest index.</xs:documentation>
|
|
59
|
+
</xs:annotation>
|
|
60
|
+
<xs:simpleType>
|
|
61
|
+
<xs:list itemType="xs:unsignedInt"/>
|
|
62
|
+
</xs:simpleType>
|
|
63
|
+
</xs:attribute>
|
|
64
|
+
<xs:attribute name="dependenciesKind">
|
|
65
|
+
<xs:annotation>
|
|
66
|
+
<xs:documentation>If not present, it must be assumed that the Unknown depends on the Knowns without a particular structure. Otherwise, the corresponding Known v enters the equation as:
|
|
67
|
+
= "dependent": no particular structure, f(v)
|
|
68
|
+
= "constant" : constant factor, c*v (only for Real variablse)
|
|
69
|
+
= "fixed" : fixed factor, p*v (only for Real variables)
|
|
70
|
+
= "tunable" : tunable factor, p*v (only for Real variables)
|
|
71
|
+
= "discrete" : discrete factor, d*v (only for Real variables)
|
|
72
|
+
If "dependenciesKind" is present, "dependencies" must be present and must have the same number of list elements.</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
<xs:simpleType>
|
|
75
|
+
<xs:list>
|
|
76
|
+
<xs:simpleType>
|
|
77
|
+
<xs:restriction base="xs:normalizedString">
|
|
78
|
+
<xs:enumeration value="dependent"/>
|
|
79
|
+
<xs:enumeration value="constant"/>
|
|
80
|
+
<xs:enumeration value="fixed"/>
|
|
81
|
+
<xs:enumeration value="tunable"/>
|
|
82
|
+
<xs:enumeration value="discrete"/>
|
|
83
|
+
</xs:restriction>
|
|
84
|
+
</xs:simpleType>
|
|
85
|
+
</xs:list>
|
|
86
|
+
</xs:simpleType>
|
|
87
|
+
</xs:attribute>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
</xs:element>
|
|
90
|
+
</xs:sequence>
|
|
91
|
+
</xs:complexType>
|
|
92
|
+
</xs:schema>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
FMPy Remoting Binaries License
|
|
2
|
+
==============================
|
|
3
|
+
|
|
4
|
+
The 32-bit remoting binaries (binaries/win64/<model_name>.dll and
|
|
5
|
+
binaries/win64/server.exe) are part of FMU Manipulation Toolbox
|
|
6
|
+
and released under the 2-Clause BSD license:
|
|
7
|
+
|
|
8
|
+
Copyright 2023 Renault SAS
|
|
9
|
+
|
|
10
|
+
The remoting code is written by Nicolas.LAURENT@Renault.com.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Redistribution and use in source and binary forms, with or without
|
|
14
|
+
modification, are permitted provided that the following conditions are met:
|
|
15
|
+
|
|
16
|
+
* Redistributions of source code must retain the above copyright
|
|
17
|
+
notice, this list of conditions and the following disclaimer.
|
|
18
|
+
|
|
19
|
+
* Redistributions in binary form must reproduce the above
|
|
20
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
21
|
+
in the documentation and/or other materials provided with the
|
|
22
|
+
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
|
|
26
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
27
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
28
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
29
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
30
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
31
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
32
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
33
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from fmu_manipulation_toolbox.__version__ import __doc__ as __version__
|
|
3
|
+
except ModuleNotFoundError:
|
|
4
|
+
__version__ = "0.0.dev0"
|
|
5
|
+
|
|
6
|
+
__author__ = "Nicolas.LAURENT@Renault.com"
|
|
7
|
+
__copyright__ = "Copyright 2023-2024, Renault SAS"
|
|
8
|
+
__license__ = """This code is released under the 2-Clause BSD license.
|
|
9
|
+
See https://github.com/grouperenault/fmu_manipulation_toolbox/blob/main/LICENSE.txt"""
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2024 Renault SAS - Nicolas.LAURENT@Renault.com
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted provided that the following conditions
|
|
5
|
+
are met:
|
|
6
|
+
1. Redistributions of source code must retain the above copyright
|
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
|
8
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
|
10
|
+
documentation and/or other materials provided with the distribution.
|
|
11
|
+
|
|
12
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
|
|
13
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
14
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
15
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
16
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
17
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
18
|
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
19
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
20
|
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
21
|
+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
22
|
+
SUCH DAMAGE.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: fmu_manipulation_toolbox
|
|
3
|
+
Version: 1.7.5
|
|
4
|
+
Summary: FMU Manipulation Toobox is a python application which help to modify a Functional Mock-up Units (FMUs) without recompilation or to group them into FMU Containers
|
|
5
|
+
Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
|
|
6
|
+
Author: Nicolas.LAURENT@Renault.com
|
|
7
|
+
License-File: LICENSE.txt
|
|
8
|
+
Requires-Dist: PyQt5>=5.15.10
|
|
9
|
+
Requires-Dist: xmlschema>=3.3.1
|
|
10
|
+
Requires-Dist: elementpath>=4.4.0
|
|
11
|
+
Requires-Dist: colorama>=0.4.6
|
|
12
|
+
|
|
13
|
+
FMU Manipulation Toolbox is a python application which help to modify a Functional Mock-up Units (FMUs)
|
|
14
|
+
without recompilation. It mainly modifies the `modelDescription.xml` file. It is highly customizable.
|
|
15
|
+
|
|
16
|
+
Manipulating the `modelDescription.xml` can be a dangerous thing! Communicating with the FMU-developer and adapting
|
|
17
|
+
the way the FMU is generated, is the preferable when possible.
|
|
18
|
+
|
|
19
|
+
FMU Manipulation Toolbox also allows to group FMU's inside FMU Containers.
|
|
20
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
fmu_manipulation_toolbox/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
2
|
+
fmu_manipulation_toolbox/__main__.py,sha256=mAzrtkil506DS0F3g3CEbHdtZsZotzntcNhIn_lNJkw,344
|
|
3
|
+
fmu_manipulation_toolbox/__version__.py,sha256=Wut6SKNbd8Xv-YaWqFSqRdSiynpuD2Qf2Lt-2Or4hcA,9
|
|
4
|
+
fmu_manipulation_toolbox/checker.py,sha256=lE2MpH4BAKCDjUvbr06N56u7ao8hWXaJgMKaLvmhFTQ,2272
|
|
5
|
+
fmu_manipulation_toolbox/cli.py,sha256=QLBsocu0wRw64GRtZ6irFCyDyigqflQqGW3N3JFYkC4,9806
|
|
6
|
+
fmu_manipulation_toolbox/fmu_container.py,sha256=kAPTNQhhKuw6S_8IZGQzxRHROGfoaLY8qj8USR_Lv50,33447
|
|
7
|
+
fmu_manipulation_toolbox/fmu_operations.py,sha256=Z3LVOnDvwzoBrqfibZPAn_Osw6MIuGrXtaboGFqp0DA,15836
|
|
8
|
+
fmu_manipulation_toolbox/gui.py,sha256=uAluoN_ILEHsjO-6QftwEWQ_5Khp_I3iUuLg4eavbTc,19801
|
|
9
|
+
fmu_manipulation_toolbox/help.py,sha256=aklKiLrsE0adSzQ5uoEB1sBDmI6s4l231gavu4XxxzA,5856
|
|
10
|
+
fmu_manipulation_toolbox/version.py,sha256=OhBLkZ1-nhC77kyvffPNAf6m8OZe1bYTnNf_PWs1NvM,392
|
|
11
|
+
fmu_manipulation_toolbox/resources/checkbox-checked-disabled.png,sha256=FWIuyrXlaNLLePHfXj7j9ca5rT8Hgr14KCe1EqTCZyk,2288
|
|
12
|
+
fmu_manipulation_toolbox/resources/checkbox-checked-hover.png,sha256=KNlV-d_aJNTTvUVXKGT9DBY30sIs2LwocLJrFKNKv8k,2419
|
|
13
|
+
fmu_manipulation_toolbox/resources/checkbox-checked.png,sha256=gzyFqvRFsZixVh6ZlV4SMWUKzglY1rSn7SvJUKMVvtk,2411
|
|
14
|
+
fmu_manipulation_toolbox/resources/checkbox-unchecked-disabled.png,sha256=KNdiE8zJ8H-mH81spHL8Ck-V87dj-fPPPrPNZFRv3wA,1783
|
|
15
|
+
fmu_manipulation_toolbox/resources/checkbox-unchecked-hover.png,sha256=7XT54vwzDfSK-i6oJ5BBKGXKz8duRRVtoUzaOlWX0WE,1797
|
|
16
|
+
fmu_manipulation_toolbox/resources/checkbox-unchecked.png,sha256=w3MG3RwFeTwkVOAFi8ZBs6yNlmtVnXxXY5atNyvLw54,1793
|
|
17
|
+
fmu_manipulation_toolbox/resources/drop_fmu.png,sha256=HreQjYhgo-bQXM3sXcY5uDVNLjvCkOWfCfr15LEorVc,10500
|
|
18
|
+
fmu_manipulation_toolbox/resources/fmu.png,sha256=7bI_cb3pcqEnwBCCL30v3MXPwOK8OtbhFFouRq9lTj8,12048
|
|
19
|
+
fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png,sha256=hUhuGg88BU5j7KkqhnU981wSpzn9ftQuOSu8pMYuP-Y,37997
|
|
20
|
+
fmu_manipulation_toolbox/resources/help.png,sha256=WrIbjmlgIqdo6UWYj6L6gG-BCGWlu4qma8HRgRk8k7o,1822
|
|
21
|
+
fmu_manipulation_toolbox/resources/icon.png,sha256=_AhXOqIu_8rHO9ZLN_qU30UHhyHG9mrNJl0hy1ts7eg,47025
|
|
22
|
+
fmu_manipulation_toolbox/resources/license.txt,sha256=5ODuU8g8pIkK-NMWXu_rjZ6k7gM7b-N2rmg87-2Kmqw,1583
|
|
23
|
+
fmu_manipulation_toolbox/resources/model.png,sha256=EAf_HnZJe8zYGZygerG1MMt2U-tMMZlifzXPj4_iORA,208788
|
|
24
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Annotation.xsd,sha256=OGfyJtaJntKypX5KDpuZ-nV1oYLZ6HV16pkpKOmYox4,2731
|
|
25
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2AttributeGroups.xsd,sha256=HwyV7LBse-PQSv4z1xjmtzPU3Hjnv4mluq9YdSBNHMQ,3704
|
|
26
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ModelDescription.xsd,sha256=JM4j_9q-pc40XYHb28jfT3iV3aYM5JLqD5aRjO72K1E,18939
|
|
27
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ScalarVariable.xsd,sha256=hYZGmhvHBuycWMGe1Gt9xQY82c4Ek_5wAO1P2xu5txQ,9675
|
|
28
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Type.xsd,sha256=8A0hl2wb1suoxv47xezkmvVTyJM2ZJp5RPQ2xQ_SjlY,3883
|
|
29
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Unit.xsd,sha256=pB9Pe-yBMGZN-JQAu6VB_lXS99kz23mwiUSY74ONZd4,5403
|
|
30
|
+
fmu_manipulation_toolbox/resources/fmi-2.0/fmi2VariableDependency.xsd,sha256=Tc9RWKqvUXpB1qsoU64DAHO4Gfu5DotrQJ3Ece7GnTU,4647
|
|
31
|
+
fmu_manipulation_toolbox/resources/linux32/client_sm.so,sha256=y9noIe74sHfX26T_9ag6QzB5Q_RScjPhw5vRh8q7sSo,35936
|
|
32
|
+
fmu_manipulation_toolbox/resources/linux32/server_sm,sha256=C9oGkyAw7AY_ogD2vKVUVWg9MLIVkwMdonbHjhWRq9k,22832
|
|
33
|
+
fmu_manipulation_toolbox/resources/linux64/client_sm.so,sha256=swDZjFxC6LnOUzXGXlpPmhnX9jSVWmEvyWHSMs_rnfU,36992
|
|
34
|
+
fmu_manipulation_toolbox/resources/linux64/container.so,sha256=nJ9TfzQKIclQTzGoMm5xTp0DfzjsG8PpOgmfQjfdENA,45376
|
|
35
|
+
fmu_manipulation_toolbox/resources/linux64/server_sm,sha256=7TepHTwdMjb8nvd4ZFSs7FWjmQ7Zlse5V6NmRSbafdc,22760
|
|
36
|
+
fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=on58hE5TwGHcLNE-4ETASF3PB0J6UM5kjhOPQkJLXK4,17920
|
|
37
|
+
fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=jS_OgOVIZ8ovbLR00UILQBstbT22kayUeBW_PkJwsh4,15872
|
|
38
|
+
fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=W7Q1nnTV6XhFU-hUyHDTPTlACecvnpDzkGZOuBZtXS0,22016
|
|
39
|
+
fmu_manipulation_toolbox/resources/win64/container.dll,sha256=SG8608-_NRdt6LUCdgAPtSLfHSpGlwUg7rClikhx7kk,32768
|
|
40
|
+
fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=bkrW_m5g83Hy8gOH3yENRYKAVnVLwz6J48lvBNeE55k,19456
|
|
41
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
|
|
42
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/METADATA,sha256=nheD9rxQotMPyvRnhb5yNuoUGEWv9WiYbUR6H7vBiwQ,967
|
|
43
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
44
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/entry_points.txt,sha256=jCPLMBdS-eOvmRfDv7n0wHZSbJHccHviW03mz5vwO-Q,124
|
|
45
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
|
|
46
|
+
fmu_manipulation_toolbox-1.7.5.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fmu_manipulation_toolbox
|