pymoca 0.11.0.dev3__tar.gz → 0.11.0.dev5__tar.gz

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.
Files changed (51) hide show
  1. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/MANIFEST.in +1 -1
  2. {pymoca-0.11.0.dev3/src/pymoca.egg-info → pymoca-0.11.0.dev5}/PKG-INFO +2 -2
  3. pymoca-0.11.0.dev5/branding/icons/pymocalogo.svg +336 -0
  4. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/pyproject.toml +1 -1
  5. pymoca-0.11.0.dev5/src/pymoca/backends/xml/ModelicaXML/schemas/Equation_Statement_separate.xsd +156 -0
  6. pymoca-0.11.0.dev5/src/pymoca/backends/xml/ModelicaXML/schemas/Expression.xsd +129 -0
  7. pymoca-0.11.0.dev5/src/pymoca/backends/xml/ModelicaXML/schemas/Modelica.xsd +38 -0
  8. pymoca-0.11.0.dev5/src/pymoca/backends/xml/ModelicaXML/schemas/Types.xsd +139 -0
  9. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5/src/pymoca.egg-info}/PKG-INFO +2 -2
  10. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca.egg-info/SOURCES.txt +5 -0
  11. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/LICENSE +0 -0
  12. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/README.md +0 -0
  13. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/.gitignore +0 -0
  14. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/Makefile +0 -0
  15. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/make.bat +0 -0
  16. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/source/modules.rst +0 -0
  17. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/source/pymoca.generated.rst +0 -0
  18. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/source/pymoca.rst +0 -0
  19. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/doc/source/setup.rst +0 -0
  20. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/setup.cfg +0 -0
  21. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/Modelica.g4 +0 -0
  22. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/__init__.py +0 -0
  23. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/_version.py +0 -0
  24. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/ast.py +0 -0
  25. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/__init__.py +0 -0
  26. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/__init__.py +0 -0
  27. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/_options.py +0 -0
  28. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/alias_relation.py +0 -0
  29. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/api.py +0 -0
  30. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/generator.py +0 -0
  31. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/model.py +0 -0
  32. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/casadi/mtensor.py +0 -0
  33. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/sympy/__init__.py +0 -0
  34. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/sympy/generator.py +0 -0
  35. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/sympy/runtime.py +0 -0
  36. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/__init__.py +0 -0
  37. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/analysis.py +0 -0
  38. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/generator.py +0 -0
  39. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/model.py +0 -0
  40. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/parser.py +0 -0
  41. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/backends/xml/sim_scipy.py +0 -0
  42. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/generated/ModelicaLexer.py +0 -0
  43. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/generated/ModelicaListener.py +0 -0
  44. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/generated/ModelicaParser.py +0 -0
  45. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/generated/ModelicaVisitor.py +0 -0
  46. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/generated/__init__.py +0 -0
  47. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/parser.py +0 -0
  48. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca/tree.py +0 -0
  49. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca.egg-info/dependency_links.txt +0 -0
  50. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca.egg-info/requires.txt +0 -0
  51. {pymoca-0.11.0.dev3 → pymoca-0.11.0.dev5}/src/pymoca.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  include LICENSE
2
2
  include README.md
3
+ include branding/icons/pymocalogo.svg
3
4
  recursive-include doc *
4
- recursive-include java *
5
5
  include src/pymoca/_version.py
6
6
  include src/pymoca/Modelica.g4
7
7
  include src/pymoca/backends/xml/ModelicaXML/schemas/*.xsd
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymoca
3
- Version: 0.11.0.dev3
4
- Summary: A python/modelica based simulation environment.
3
+ Version: 0.11.0.dev5
4
+ Summary: A Modelica to computer algebra system (CAS) translator.
5
5
  Author: Pymoca Contributors
6
6
  Maintainer-email: Jack Vreeken <jack@vreeken.me>, Kent Rutan <gs1150e@icloud.com>
7
7
  License: Copyright (c) 2016-2021, James Goppert and the Pymoca contributors.
@@ -0,0 +1,336 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
6
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
7
+ xmlns:cc="http://creativecommons.org/ns#"
8
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
9
+ xmlns:svg="http://www.w3.org/2000/svg"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlns:xlink="http://www.w3.org/1999/xlink"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14
+ version="1.0"
15
+ id="svg2"
16
+ sodipodi:version="0.32"
17
+ inkscape:version="0.91 r13725"
18
+ sodipodi:docname="Pymocalogoicon.svg"
19
+ width="272.35025pt"
20
+ height="81.046288pt"
21
+ inkscape:export-filename="/home/wees/Desktop/pymoca_logo_plain2.png"
22
+ inkscape:export-xdpi="90"
23
+ inkscape:export-ydpi="90">
24
+ <metadata
25
+ id="metadata371">
26
+ <rdf:RDF>
27
+ <cc:Work
28
+ rdf:about="">
29
+ <dc:format>image/svg+xml</dc:format>
30
+ <dc:type
31
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
32
+ <dc:title></dc:title>
33
+ </cc:Work>
34
+ </rdf:RDF>
35
+ </metadata>
36
+ <sodipodi:namedview
37
+ inkscape:window-height="1018"
38
+ inkscape:window-width="1920"
39
+ inkscape:pageshadow="2"
40
+ inkscape:pageopacity="0.0"
41
+ guidetolerance="10.0"
42
+ gridtolerance="10.0"
43
+ objecttolerance="10.0"
44
+ borderopacity="1.0"
45
+ bordercolor="#666666"
46
+ pagecolor="#ffffff"
47
+ id="base"
48
+ inkscape:zoom="0.70710678"
49
+ inkscape:cx="-293.726"
50
+ inkscape:cy="-220.14679"
51
+ inkscape:window-x="1358"
52
+ inkscape:window-y="-8"
53
+ inkscape:current-layer="svg2"
54
+ width="210mm"
55
+ height="40mm"
56
+ units="mm"
57
+ showgrid="false"
58
+ inkscape:snap-intersection-paths="true"
59
+ inkscape:object-paths="true"
60
+ inkscape:object-nodes="true"
61
+ inkscape:snap-smooth-nodes="true"
62
+ inkscape:snap-midpoints="true"
63
+ inkscape:snap-bbox="true"
64
+ inkscape:snap-object-midpoints="true"
65
+ inkscape:bbox-paths="true"
66
+ inkscape:snap-nodes="false"
67
+ inkscape:window-maximized="1"
68
+ inkscape:snap-others="false"
69
+ fit-margin-top="1"
70
+ fit-margin-left="1"
71
+ fit-margin-right="1"
72
+ fit-margin-bottom="1" />
73
+ <defs
74
+ id="defs4">
75
+ <linearGradient
76
+ id="linearGradient4689">
77
+ <stop
78
+ id="stop5663"
79
+ offset="0"
80
+ style="stop-color:#5a9fd4;stop-opacity:1;" />
81
+ <stop
82
+ id="stop5665"
83
+ offset="1"
84
+ style="stop-color:#306998;stop-opacity:1;" />
85
+ </linearGradient>
86
+ <linearGradient
87
+ inkscape:collect="always"
88
+ id="linearGradient5645"
89
+ osb:paint="gradient">
90
+ <stop
91
+ style="stop-color:#5294c8;stop-opacity:1;"
92
+ offset="0"
93
+ id="stop5647" />
94
+ <stop
95
+ style="stop-color:#5294c8;stop-opacity:0;"
96
+ offset="1"
97
+ id="stop5649" />
98
+ </linearGradient>
99
+ <linearGradient
100
+ inkscape:collect="always"
101
+ id="linearGradient4199">
102
+ <stop
103
+ style="stop-color:#000000;stop-opacity:1;"
104
+ offset="0"
105
+ id="stop4201" />
106
+ <stop
107
+ style="stop-color:#000000;stop-opacity:0;"
108
+ offset="1"
109
+ id="stop4203" />
110
+ </linearGradient>
111
+ <linearGradient
112
+ id="linearGradient4206">
113
+ <stop
114
+ style="stop-color:#ffc334;stop-opacity:1"
115
+ offset="0"
116
+ id="stop4208" />
117
+ <stop
118
+ style="stop-color:#ffe873;stop-opacity:1"
119
+ offset="1"
120
+ id="stop4210" />
121
+ </linearGradient>
122
+ <linearGradient
123
+ id="linearGradient4980">
124
+ <stop
125
+ id="stop4982"
126
+ offset="0"
127
+ style="stop-color:#ffc334;stop-opacity:1" />
128
+ <stop
129
+ id="stop4984"
130
+ offset="1"
131
+ style="stop-color:#ffe873;stop-opacity:1" />
132
+ </linearGradient>
133
+ <linearGradient
134
+ id="linearGradient4974">
135
+ <stop
136
+ id="stop4976"
137
+ offset="0"
138
+ style="stop-color:#ffc334;stop-opacity:1" />
139
+ <stop
140
+ id="stop4978"
141
+ offset="1"
142
+ style="stop-color:#ffe873;stop-opacity:1" />
143
+ </linearGradient>
144
+ <linearGradient
145
+ id="linearGradient4968">
146
+ <stop
147
+ id="stop4970"
148
+ offset="0"
149
+ style="stop-color:#ffda3a;stop-opacity:1" />
150
+ <stop
151
+ id="stop4972"
152
+ offset="1"
153
+ style="stop-color:#ffe873;stop-opacity:1" />
154
+ </linearGradient>
155
+ <linearGradient
156
+ id="linearGradient2795">
157
+ <stop
158
+ style="stop-color:#b8b8b8;stop-opacity:0.49803922;"
159
+ offset="0"
160
+ id="stop2797" />
161
+ <stop
162
+ style="stop-color:#7f7f7f;stop-opacity:0;"
163
+ offset="1"
164
+ id="stop2799" />
165
+ </linearGradient>
166
+ <linearGradient
167
+ id="linearGradient4671">
168
+ <stop
169
+ style="stop-color:#ffd43b;stop-opacity:1;"
170
+ offset="0"
171
+ id="stop4673" />
172
+ <stop
173
+ style="stop-color:#ffe873;stop-opacity:1"
174
+ offset="1"
175
+ id="stop4675" />
176
+ </linearGradient>
177
+ <linearGradient
178
+ id="linearGradient5667">
179
+ <stop
180
+ style="stop-color:#5a9fd4;stop-opacity:1;"
181
+ offset="0"
182
+ id="stop4691" />
183
+ <stop
184
+ style="stop-color:#306998;stop-opacity:1;"
185
+ offset="1"
186
+ id="stop4693" />
187
+ </linearGradient>
188
+ <linearGradient
189
+ inkscape:collect="always"
190
+ xlink:href="#linearGradient4689"
191
+ id="linearGradient4617"
192
+ gradientUnits="userSpaceOnUse"
193
+ gradientTransform="matrix(0.58343394,0,0,0.54612692,-17.894821,-1.7421448)"
194
+ x1="406.60007"
195
+ y1="107.55585"
196
+ x2="284.98608"
197
+ y2="163.11092" />
198
+ <linearGradient
199
+ inkscape:collect="always"
200
+ xlink:href="#linearGradient4968"
201
+ id="linearGradient4950"
202
+ gradientUnits="userSpaceOnUse"
203
+ gradientTransform="matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)"
204
+ x1="308.90121"
205
+ y1="192.35176"
206
+ x2="262.97415"
207
+ y2="194.03658" />
208
+ <linearGradient
209
+ inkscape:collect="always"
210
+ xlink:href="#linearGradient4206"
211
+ id="linearGradient4960"
212
+ gradientUnits="userSpaceOnUse"
213
+ gradientTransform="matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)"
214
+ x1="348.44852"
215
+ y1="135.56718"
216
+ x2="336.11029"
217
+ y2="84.32283" />
218
+ <linearGradient
219
+ inkscape:collect="always"
220
+ xlink:href="#linearGradient4974"
221
+ id="linearGradient4962"
222
+ gradientUnits="userSpaceOnUse"
223
+ gradientTransform="matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)"
224
+ x1="348.44852"
225
+ y1="135.56718"
226
+ x2="336.11029"
227
+ y2="84.32283" />
228
+ <linearGradient
229
+ inkscape:collect="always"
230
+ xlink:href="#linearGradient4980"
231
+ id="linearGradient4964"
232
+ gradientUnits="userSpaceOnUse"
233
+ gradientTransform="matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)"
234
+ x1="348.44852"
235
+ y1="135.56718"
236
+ x2="336.11029"
237
+ y2="84.32283" />
238
+ <linearGradient
239
+ inkscape:collect="always"
240
+ xlink:href="#linearGradient4689"
241
+ id="linearGradient4198"
242
+ gradientUnits="userSpaceOnUse"
243
+ gradientTransform="matrix(0.58343394,0,0,0.54612692,-17.894821,-17.62437)"
244
+ x1="406.60007"
245
+ y1="136.95195"
246
+ x2="285.26132"
247
+ y2="191.78731" />
248
+ <radialGradient
249
+ inkscape:collect="always"
250
+ xlink:href="#linearGradient4199"
251
+ id="radialGradient4205"
252
+ cx="227.98499"
253
+ cy="56.396729"
254
+ fx="227.98499"
255
+ fy="56.396729"
256
+ r="104.83887"
257
+ gradientTransform="matrix(1,0,0,0.26505519,0,41.448483)"
258
+ gradientUnits="userSpaceOnUse" />
259
+ <linearGradient
260
+ inkscape:collect="always"
261
+ xlink:href="#linearGradient5667"
262
+ id="linearGradient5659"
263
+ x1="123.14611"
264
+ y1="56.396729"
265
+ x2="332.82385"
266
+ y2="56.396729"
267
+ gradientUnits="userSpaceOnUse" />
268
+ </defs>
269
+ <g
270
+ id="g4562-7"
271
+ transform="matrix(1.5568422,0,0,1.736926,-229.01857,-97.594068)">
272
+ <g
273
+ id="g4818-5" />
274
+ </g>
275
+ <g
276
+ id="g4562"
277
+ transform="matrix(1.5568422,0,0,1.736926,-229.01857,-70.007819)">
278
+ <g
279
+ id="g4818">
280
+ <g
281
+ id="g4213">
282
+ <rect
283
+ y="57.061661"
284
+ x="148.67363"
285
+ height="14.393244"
286
+ width="70.655846"
287
+ id="rect3721-6-3"
288
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4198);fill-opacity:1;fill-rule:nonzero;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
289
+ ry="0" />
290
+ <rect
291
+ y="72.943886"
292
+ x="148.67363"
293
+ height="14.393244"
294
+ width="70.655846"
295
+ id="rect3721-6"
296
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4617);fill-opacity:1;fill-rule:nonzero;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
297
+ ry="0" />
298
+ </g>
299
+ </g>
300
+ </g>
301
+ <g
302
+ id="g4935"
303
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4950);fill-opacity:1;fill-rule:nonzero;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
304
+ transform="matrix(1.6784641,0,0,1.6784641,-253.14727,-64.901928)">
305
+ <path
306
+ sodipodi:nodetypes="ccccscc"
307
+ id="path1950-7-2"
308
+ d="m 167.04474,50.303207 c 1.35663,-3.545181 6.46718,-4.695077 10.96059,-5.201647 8.87679,-1.030861 3.71811,8.215412 1.10945,14.681838 L 167.26027,92.84086 c -1.36196,3.54318 -6.59333,4.8913 -10.96834,5.18543 -7.64269,0.51377 -3.80572,-7.89169 -1.08773,-14.68346 z"
309
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4960);fill-opacity:1;fill-rule:nonzero;stroke:#e5bd00;stroke-width:0.46351901;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
310
+ inkscape:connector-curvature="0" />
311
+ <path
312
+ sodipodi:nodetypes="csccscc"
313
+ id="path1950-7-2-6-3-6"
314
+ d="m 184.87941,92.835153 c -1.36196,3.543177 -6.59333,4.891297 -10.96834,5.185427 -7.64269,0.51377 -3.80572,-7.891687 -1.08773,-14.683457 l 11.66987,-32.978569 c 1.34047,-3.551359 6.56358,-4.93114 10.93673,-5.251761 7.63943,-0.560093 3.85345,7.868492 1.17664,14.676605 z"
315
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4962);fill-opacity:1;fill-rule:nonzero;stroke:#e5bd00;stroke-width:0.46351901;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
316
+ inkscape:connector-curvature="0" />
317
+ <path
318
+ sodipodi:nodetypes="ccccscccsccccscc"
319
+ id="path1950-4"
320
+ d="m 203.65666,45.923027 0.0628,-0.08283 c 0.83017,-2.501501 2.37198,-4.483825 5.15058,-5.334721 3.32736,-1.018536 6.52652,-1.231686 10.53357,-0.117087 2.6635,0.739157 5.29873,2.257077 5.3325,5.300325 l 0.0446,4.019203 -8.0156,0.06575 -14.38253,43.061486 c -1.36196,3.543177 -6.59333,4.891297 -10.96834,5.185427 -7.64269,0.51377 -3.80572,-7.891687 -1.08773,-14.683457 z m 16.48506,1.156663 c 1.09323,-0.01215 1.96893,-0.917763 1.95662,-2.025464 -0.0123,-1.111685 -0.90808,-2.005931 -2.00129,-1.99376 -1.0893,0.01211 -1.96883,0.926098 -1.95647,2.03777 0.0124,1.107697 0.91185,1.993583 2.00114,1.981454 z"
321
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4964);fill-opacity:1;fill-rule:nonzero;stroke:#e5bd00;stroke-width:0.46351901;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
322
+ inkscape:connector-curvature="0" />
323
+ </g>
324
+ <text
325
+ xml:space="preserve"
326
+ style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#4e90c3;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
327
+ x="127.07842"
328
+ y="73.679176"
329
+ id="text4178"
330
+ sodipodi:linespacing="125%"><tspan
331
+ sodipodi:role="line"
332
+ id="tspan4180"
333
+ x="127.07842"
334
+ y="73.679176"
335
+ style="font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:60px;font-family:Arial;-inkscape-font-specification:'Arial Bold Italic';fill:#4e90c3;fill-opacity:1;stroke:none;stroke-opacity:1">Pymoca</tspan></text>
336
+ </svg>
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "pymoca"
7
7
  dynamic = ["version"]
8
8
  license = { file = "LICENSE" }
9
- description = "A python/modelica based simulation environment."
9
+ description = "A Modelica to computer algebra system (CAS) translator."
10
10
  keywords = ["modelica", "simulation", "compiler"]
11
11
  readme = "README.md"
12
12
  authors = [{ name = "Pymoca Contributors" }]
@@ -0,0 +1,156 @@
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="Expression.xsd"/>
4
+ <xs:simpleType name="SectionKind">
5
+ <xs:restriction base="xs:normalizedString">
6
+ <xs:enumeration value="parameter"/>
7
+ <xs:enumeration value="initial"/>
8
+ <xs:enumeration value="default"/>
9
+ </xs:restriction>
10
+ </xs:simpleType>
11
+ <xs:complexType name="EquationSection">
12
+ <xs:sequence>
13
+ <xs:group ref="Equation" minOccurs="0" maxOccurs="unbounded"/>
14
+ </xs:sequence>
15
+ <xs:attribute name="kind" type="SectionKind" use="optional" default="default"/>
16
+ </xs:complexType>
17
+ <xs:complexType name="AlgorithmSection">
18
+ <xs:sequence>
19
+ <xs:group ref="Statement" minOccurs="0" maxOccurs="unbounded"/>
20
+ </xs:sequence>
21
+ <xs:attribute name="kind" type="SectionKind" use="optional" default="default"/>
22
+ </xs:complexType>
23
+ <xs:complexType name="AnnotationType">
24
+ <xs:group ref="Arguments"/>
25
+ </xs:complexType>
26
+ <!-- - - - - - - - - - - - - - - - - - - - - Equations - - - - - - - - - - - - - - - - - - - -->
27
+ <xs:complexType name="Equations">
28
+ <xs:sequence>
29
+ <xs:group ref="Equation" minOccurs="0" maxOccurs="unbounded"/>
30
+ </xs:sequence>
31
+ </xs:complexType>
32
+ <xs:group name="Equation">
33
+ <xs:choice>
34
+ <xs:element name="equal" type="TwoExpressions"/>
35
+ <xs:element name="connect" type="TwoExpressions"/>
36
+ <xs:element name="if" type="IfEquation"/>
37
+ <xs:element name="for" type="ForEquation"/>
38
+ <xs:element name="when" type="WhenEquation"/>
39
+ <xs:element name="operator" type="OperatorEqStmt"/>
40
+ <xs:element name="apply" type="FunctionEqStmt"/>
41
+ </xs:choice>
42
+ </xs:group>
43
+ <xs:complexType name="TwoExpressions">
44
+ <xs:sequence>
45
+ <xs:group ref="Expression" minOccurs="2" maxOccurs="2"/>
46
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
47
+ </xs:sequence>
48
+ </xs:complexType>
49
+ <xs:complexType name="IfEquation">
50
+ <xs:sequence>
51
+ <xs:group ref="EqBranch" maxOccurs="unbounded"/>
52
+ <xs:element name="else" type="Equations" minOccurs="0"/>
53
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
54
+ </xs:sequence>
55
+ </xs:complexType>
56
+ <xs:complexType name="WhenEquation">
57
+ <xs:sequence>
58
+ <xs:group ref="EqBranch" maxOccurs="unbounded"/>
59
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
60
+ </xs:sequence>
61
+ </xs:complexType>
62
+ <xs:group name="EqBranch">
63
+ <xs:sequence>
64
+ <xs:element name="cond" type="ExpressionType"/>
65
+ <xs:element name="then" type="Equations"/>
66
+ </xs:sequence>
67
+ </xs:group>
68
+ <xs:complexType name="ForEquation">
69
+ <xs:sequence>
70
+ <xs:element name="index" type="NamedExpressionType" maxOccurs="unbounded"/>
71
+ <xs:element name="loop" type="Equations"/>
72
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
73
+ </xs:sequence>
74
+ </xs:complexType>
75
+ <xs:complexType name="FunctionEqStmt">
76
+ <xs:complexContent>
77
+ <xs:extension base="FunctionApplication">
78
+ <xs:sequence>
79
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
80
+ </xs:sequence>
81
+ </xs:extension>
82
+ </xs:complexContent>
83
+ </xs:complexType>
84
+ <xs:complexType name="OperatorEqStmt">
85
+ <xs:complexContent>
86
+ <xs:extension base="OperatorApplication">
87
+ <xs:sequence>
88
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
89
+ </xs:sequence>
90
+ </xs:extension>
91
+ </xs:complexContent>
92
+ </xs:complexType>
93
+ <!-- - - - - - - - - - - - - - - - - - - - - Statements - - - - - - - - - - - - - - - - - - - -->
94
+ <xs:complexType name="Statements">
95
+ <xs:sequence>
96
+ <xs:group ref="Statement" minOccurs="0" maxOccurs="unbounded"/>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ <xs:group name="Statement">
100
+ <xs:choice>
101
+ <xs:element name="assign" type="Assignment"/>
102
+ <xs:element name="if" type="IfStatement"/>
103
+ <xs:element name="for" type="ForStatement"/>
104
+ <xs:element name="while" type="WhileStatement"/>
105
+ <xs:element name="when" type="WhenStatement"/>
106
+ <xs:element name="break" type="EmptyStatement"/>
107
+ <xs:element name="return" type="EmptyStatement"/>
108
+ <xs:element name="operator" type="OperatorEqStmt"/>
109
+ <xs:element name="apply" type="FunctionEqStmt"/>
110
+ </xs:choice>
111
+ </xs:group>
112
+ <xs:complexType name="Assignment">
113
+ <xs:sequence>
114
+ <xs:element name="to" type="LValueType"/>
115
+ <xs:element name="from" type="ExpressionType"/>
116
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
117
+ </xs:sequence>
118
+ </xs:complexType>
119
+ <xs:complexType name="IfStatement">
120
+ <xs:sequence>
121
+ <xs:group ref="StmtBranch" maxOccurs="unbounded"/>
122
+ <xs:element name="else" type="Statements" minOccurs="0"/>
123
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
124
+ </xs:sequence>
125
+ </xs:complexType>
126
+ <xs:complexType name="WhileStatement">
127
+ <xs:sequence>
128
+ <xs:group ref="StmtBranch"/>
129
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
130
+ </xs:sequence>
131
+ </xs:complexType>
132
+ <xs:complexType name="WhenStatement">
133
+ <xs:sequence>
134
+ <xs:group ref="StmtBranch" maxOccurs="unbounded"/>
135
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
136
+ </xs:sequence>
137
+ </xs:complexType>
138
+ <xs:group name="StmtBranch">
139
+ <xs:sequence>
140
+ <xs:element name="cond" type="ExpressionType"/>
141
+ <xs:element name="then" type="Statements"/>
142
+ </xs:sequence>
143
+ </xs:group>
144
+ <xs:complexType name="ForStatement">
145
+ <xs:sequence>
146
+ <xs:element name="index" type="NamedExpressionType" maxOccurs="unbounded"/>
147
+ <xs:element name="loop" type="Statements"/>
148
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
149
+ </xs:sequence>
150
+ </xs:complexType>
151
+ <xs:complexType name="EmptyStatement">
152
+ <xs:sequence>
153
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
154
+ </xs:sequence>
155
+ </xs:complexType>
156
+ </xs:schema>
@@ -0,0 +1,129 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
3
+ <!-- - - - - - - - - - - - - - - - - - - - - Support types - - - - - - - - - - - - - - - - - - - - -->
4
+ <xs:simpleType name="Name">
5
+ <xs:restriction base="xs:token"/>
6
+ </xs:simpleType>
7
+ <!-- - - - - - - - - - - - - - - - - - - - - Expressions - - - - - - - - - - - - - - - - - - - - -->
8
+ <xs:complexType name="ExpressionType">
9
+ <xs:group ref="Expression"/>
10
+ </xs:complexType>
11
+ <xs:complexType name="NamedExpressionType">
12
+ <xs:group ref="Expression"/>
13
+ <xs:attribute name="name" type="Name" use="required"/>
14
+ </xs:complexType>
15
+ <xs:complexType name="LValueType">
16
+ <xs:group ref="LValue"/>
17
+ </xs:complexType>
18
+ <xs:group name="MaybeExpression">
19
+ <xs:choice>
20
+ <xs:group ref="Expression"/>
21
+ <xs:element name="nothing" type="Empty"/>
22
+ </xs:choice>
23
+ </xs:group>
24
+ <xs:group name="Expression">
25
+ <xs:choice>
26
+ <xs:group ref="Literal"/>
27
+ <xs:element name="if" type="IfExpression"/>
28
+ <xs:element name="apply" type="FunctionApplication"/>
29
+ <xs:element name="operator" type="OperatorApplication"/>
30
+ <xs:group ref="LValue"/>
31
+ </xs:choice>
32
+ </xs:group>
33
+ <xs:group name="LValue">
34
+ <xs:choice>
35
+ <xs:group ref="QualifiedReference"/>
36
+ <xs:element name="tuple" type="MaybeExpressions"/>
37
+ </xs:choice>
38
+ </xs:group>
39
+ <xs:group name="QualifiedReference">
40
+ <xs:choice>
41
+ <xs:group ref="TopReference"/>
42
+ <xs:element name="reference" type="Reference"/>
43
+ </xs:choice>
44
+ </xs:group>
45
+ <xs:group name="TopReference">
46
+ <xs:choice>
47
+ <xs:element name="builtin" type="Named"/>
48
+ <xs:element name="local" type="Named"/>
49
+ <xs:element name="global" type="Named"/>
50
+ </xs:choice>
51
+ </xs:group>
52
+ <xs:complexType name="Named">
53
+ <xs:attribute name="name" type="Name" use="required"/>
54
+ </xs:complexType>
55
+ <xs:complexType name="Reference">
56
+ <xs:sequence>
57
+ <xs:group ref="Expression"/>
58
+ <xs:choice maxOccurs="unbounded">
59
+ <xs:element name="member" type="Named"/>
60
+ <xs:element name="subscripts" type="Expressions"/>
61
+ </xs:choice>
62
+ </xs:sequence>
63
+ </xs:complexType>
64
+ <xs:group name="Literal">
65
+ <xs:choice>
66
+ <xs:element name="real">
67
+ <xs:complexType>
68
+ <xs:attribute name="value" type="xs:double" use="required"/>
69
+ </xs:complexType>
70
+ </xs:element>
71
+ <xs:element name="integer">
72
+ <xs:complexType>
73
+ <xs:attribute name="value" type="xs:integer" use="required"/>
74
+ </xs:complexType>
75
+ </xs:element>
76
+ <xs:group ref="Boolean"/>
77
+ <xs:element name="string">
78
+ <xs:complexType>
79
+ <xs:attribute name="value" type="xs:string" use="required"/>
80
+ </xs:complexType>
81
+ </xs:element>
82
+ </xs:choice>
83
+ </xs:group>
84
+ <xs:group name="Boolean">
85
+ <xs:choice>
86
+ <xs:element name="true" type="Empty"/>
87
+ <xs:element name="false" type="Empty"/>
88
+ </xs:choice>
89
+ </xs:group>
90
+ <xs:complexType name="Empty"/>
91
+ <xs:complexType name="FunctionApplication">
92
+ <xs:sequence>
93
+ <xs:element name="function" type="ExpressionType" minOccurs="0"/>
94
+ <xs:group ref="Arguments"/>
95
+ </xs:sequence>
96
+ <xs:attribute name="builtin" type="Name"/>
97
+ </xs:complexType>
98
+ <xs:complexType name="OperatorApplication">
99
+ <xs:group ref="Expression" minOccurs="0" maxOccurs="unbounded"/>
100
+ <xs:attribute name="name" type="Name" use="required"/>
101
+ </xs:complexType>
102
+ <xs:complexType name="Expressions">
103
+ <xs:group ref="Expression" minOccurs="0" maxOccurs="unbounded"/>
104
+ </xs:complexType>
105
+ <xs:complexType name="MaybeExpressions">
106
+ <xs:group ref="MaybeExpression" minOccurs="0" maxOccurs="unbounded"/>
107
+ </xs:complexType>
108
+ <xs:group name="Arguments">
109
+ <xs:sequence>
110
+ <xs:group ref="Expression" minOccurs="0" maxOccurs="unbounded"/>
111
+ <xs:element name="item" type="NamedExpressionType" minOccurs="0" maxOccurs="unbounded"/>
112
+ </xs:sequence>
113
+ </xs:group>
114
+ <xs:complexType name="ArgumentsType">
115
+ <xs:group ref="Arguments"/>
116
+ </xs:complexType>
117
+ <xs:complexType name="IfExpression">
118
+ <xs:sequence>
119
+ <xs:group ref="ExprBranch" maxOccurs="unbounded"/>
120
+ <xs:element name="else" type="ExpressionType"/>
121
+ </xs:sequence>
122
+ </xs:complexType>
123
+ <xs:group name="ExprBranch">
124
+ <xs:sequence>
125
+ <xs:element name="cond" type="ExpressionType"/>
126
+ <xs:element name="then" type="ExpressionType"/>
127
+ </xs:sequence>
128
+ </xs:group>
129
+ </xs:schema>
@@ -0,0 +1,38 @@
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="Expression.xsd"/>
4
+ <xs:include schemaLocation="Equation_Statement_separate.xsd"/>
5
+ <xs:include schemaLocation="Types.xsd"/>
6
+ <xs:element name="modelica">
7
+ <xs:complexType>
8
+ <xs:sequence>
9
+ <xs:element name="declarations" minOccurs="0">
10
+ <xs:annotation>
11
+ <xs:documentation>Collects all top level declarations except the main one</xs:documentation>
12
+ </xs:annotation>
13
+ <xs:complexType>
14
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
15
+ <!-- All allowable kinds of top level declarations go here -->
16
+ <xs:element name="classDefinition" type="ClassDefinition"/>
17
+ </xs:choice>
18
+ </xs:complexType>
19
+ </xs:element>
20
+ <xs:element name="classDefinition" type="ClassDefinition" minOccurs="0">
21
+ <xs:annotation>
22
+ <xs:documentation>Main class definition, if there is one</xs:documentation>
23
+ </xs:annotation>
24
+ </xs:element>
25
+ </xs:sequence>
26
+ <xs:attribute name="format" use="required">
27
+ <xs:annotation>
28
+ <xs:documentation>Version number of the Modelica XML format used</xs:documentation>
29
+ </xs:annotation>
30
+ <xs:simpleType>
31
+ <xs:restriction base="xs:string">
32
+ <xs:enumeration value="1.0"/>
33
+ </xs:restriction>
34
+ </xs:simpleType>
35
+ </xs:attribute>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ </xs:schema>
@@ -0,0 +1,139 @@
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="Expression.xsd"/>
4
+ <xs:include schemaLocation="Equation_Statement_separate.xsd"/>
5
+ <xs:complexType name="ElementClass">
6
+ <xs:sequence>
7
+ <xs:group ref="Class"/>
8
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
9
+ <xs:element name="dimension" type="ExpressionType"/>
10
+ <xs:element name="modifier" type="ArgumentsType"/>
11
+ </xs:choice>
12
+ <xs:element name="annotation" type="AnnotationType" minOccurs="0"/>
13
+ </xs:sequence>
14
+ <xs:attribute name="visibility" default="public">
15
+ <xs:simpleType>
16
+ <xs:restriction base="xs:string"/>
17
+ </xs:simpleType>
18
+ </xs:attribute>
19
+ <xs:attribute name="comment" type="xs:string" use="optional"/>
20
+ <xs:attributeGroup ref="TypePrefixes"/>
21
+ </xs:complexType>
22
+ <xs:group name="Class">
23
+ <xs:choice>
24
+ <xs:group ref="QualifiedReference"/>
25
+ <xs:element name="enumeration" type="Enumeration"/>
26
+ <xs:element name="class" type="ClassContents"/>
27
+ </xs:choice>
28
+ </xs:group>
29
+ <xs:complexType name="Enumeration">
30
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
31
+ <xs:element name="item">
32
+ <xs:annotation>
33
+ <xs:documentation>First Item has value=1, Second Item has value = 2, etc.</xs:documentation>
34
+ </xs:annotation>
35
+ <xs:complexType>
36
+ <xs:attribute name="name" type="Name" use="required"/>
37
+ <xs:attribute name="description" type="xs:string"/>
38
+ </xs:complexType>
39
+ </xs:element>
40
+ </xs:sequence>
41
+ <!-- <xs:attribute name="quantity" type="xs:normalizedString"/> -->
42
+ </xs:complexType>
43
+ <xs:complexType name="ClassContents">
44
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
45
+ <xs:group ref="Declaration"/>
46
+ <xs:element name="equation" type="EquationSection"/>
47
+ <xs:element name="algorithm" type="AlgorithmSection"/>
48
+ </xs:choice>
49
+ <xs:attribute name="kind" type="ClassKind" use="required"/>
50
+ <xs:attribute name="partial" type="xs:boolean" default="false"/>
51
+ <xs:attribute name="purity" type="Purity" default="default"/>
52
+ </xs:complexType>
53
+ <xs:group name="Declaration">
54
+ <xs:choice>
55
+ <xs:element name="extends" type="ElementClass"/>
56
+ <xs:element name="classDefinition" type="ClassDefinition"/>
57
+ <xs:element name="component" type="Component"/>
58
+ </xs:choice>
59
+ </xs:group>
60
+ <xs:complexType name="ClassDefinition">
61
+ <xs:complexContent>
62
+ <xs:extension base="ElementClass">
63
+ <xs:attributeGroup ref="DeclarationPrefixes"/>
64
+ <xs:attribute name="name" type="Name" use="required"/>
65
+ </xs:extension>
66
+ </xs:complexContent>
67
+ </xs:complexType>
68
+ <xs:complexType name="Component">
69
+ <xs:complexContent>
70
+ <xs:extension base="ElementClass">
71
+ <xs:sequence>
72
+ <xs:element name="bindingExpression" type="ExpressionType" minOccurs="0"/>
73
+ <xs:element name="conditional" type="ExpressionType" minOccurs="0"/>
74
+ </xs:sequence>
75
+ <xs:attributeGroup ref="DeclarationPrefixes"/>
76
+ <xs:attribute name="name" type="Name" use="required"/>
77
+ </xs:extension>
78
+ </xs:complexContent>
79
+ </xs:complexType>
80
+ <xs:simpleType name="ClassKind">
81
+ <xs:restriction base="xs:normalizedString">
82
+ <xs:enumeration value="class"/>
83
+ <xs:enumeration value="model"/>
84
+ <xs:enumeration value="record"/>
85
+ <xs:enumeration value="operator record"/>
86
+ <xs:enumeration value="block"/>
87
+ <xs:enumeration value="expandable connector"/>
88
+ <xs:enumeration value="connector"/>
89
+ <xs:enumeration value="package"/>
90
+ <xs:enumeration value="function"/>
91
+ <xs:enumeration value="operator function"/>
92
+ <xs:enumeration value="operator"/>
93
+ </xs:restriction>
94
+ </xs:simpleType>
95
+ <xs:simpleType name="Purity">
96
+ <xs:restriction base="xs:normalizedString">
97
+ <xs:enumeration value="default"/>
98
+ <xs:enumeration value="pure"/>
99
+ <xs:enumeration value="impure"/>
100
+ </xs:restriction>
101
+ </xs:simpleType>
102
+ <xs:attributeGroup name="TypePrefixes">
103
+ <xs:attribute name="variability" default="continuous">
104
+ <xs:simpleType>
105
+ <xs:restriction base="xs:string">
106
+ <xs:enumeration value="constant"/>
107
+ <xs:enumeration value="parameter"/>
108
+ <xs:enumeration value="discrete"/>
109
+ <xs:enumeration value="continuous"/>
110
+ </xs:restriction>
111
+ </xs:simpleType>
112
+ </xs:attribute>
113
+ <xs:attribute name="causality" default="internal">
114
+ <xs:simpleType>
115
+ <xs:restriction base="xs:string">
116
+ <xs:enumeration value="input"/>
117
+ <xs:enumeration value="output"/>
118
+ <xs:enumeration value="internal"/>
119
+ <xs:enumeration value="none"/>
120
+ </xs:restriction>
121
+ </xs:simpleType>
122
+ </xs:attribute>
123
+ <xs:attribute name="flow" default="none">
124
+ <xs:simpleType>
125
+ <xs:restriction base="xs:string">
126
+ <xs:enumeration value="flow"/>
127
+ <xs:enumeration value="stream"/>
128
+ <xs:enumeration value="none"/>
129
+ </xs:restriction>
130
+ </xs:simpleType>
131
+ </xs:attribute>
132
+ </xs:attributeGroup>
133
+ <xs:attributeGroup name="DeclarationPrefixes">
134
+ <xs:attribute name="final" type="xs:boolean" default="false"/>
135
+ <xs:attribute name="inner" type="xs:boolean" default="false"/>
136
+ <xs:attribute name="outer" type="xs:boolean" default="false"/>
137
+ <xs:attribute name="replaceable" type="xs:boolean" default="false"/>
138
+ </xs:attributeGroup>
139
+ </xs:schema>
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymoca
3
- Version: 0.11.0.dev3
4
- Summary: A python/modelica based simulation environment.
3
+ Version: 0.11.0.dev5
4
+ Summary: A Modelica to computer algebra system (CAS) translator.
5
5
  Author: Pymoca Contributors
6
6
  Maintainer-email: Jack Vreeken <jack@vreeken.me>, Kent Rutan <gs1150e@icloud.com>
7
7
  License: Copyright (c) 2016-2021, James Goppert and the Pymoca contributors.
@@ -3,6 +3,7 @@ MANIFEST.in
3
3
  README.md
4
4
  pyproject.toml
5
5
  setup.cfg
6
+ branding/icons/pymocalogo.svg
6
7
  doc/.gitignore
7
8
  doc/Makefile
8
9
  doc/make.bat
@@ -38,6 +39,10 @@ src/pymoca/backends/xml/generator.py
38
39
  src/pymoca/backends/xml/model.py
39
40
  src/pymoca/backends/xml/parser.py
40
41
  src/pymoca/backends/xml/sim_scipy.py
42
+ src/pymoca/backends/xml/ModelicaXML/schemas/Equation_Statement_separate.xsd
43
+ src/pymoca/backends/xml/ModelicaXML/schemas/Expression.xsd
44
+ src/pymoca/backends/xml/ModelicaXML/schemas/Modelica.xsd
45
+ src/pymoca/backends/xml/ModelicaXML/schemas/Types.xsd
41
46
  src/pymoca/generated/ModelicaLexer.py
42
47
  src/pymoca/generated/ModelicaListener.py
43
48
  src/pymoca/generated/ModelicaParser.py
File without changes
File without changes
File without changes
File without changes
File without changes