pymoca 0.11.0__tar.gz → 0.11.0.dev4__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 (50) hide show
  1. {pymoca-0.11.0/src/pymoca.egg-info → pymoca-0.11.0.dev4}/PKG-INFO +7 -6
  2. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/README.md +5 -4
  3. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/pyproject.toml +1 -1
  4. {pymoca-0.11.0 → pymoca-0.11.0.dev4/src/pymoca.egg-info}/PKG-INFO +7 -6
  5. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/LICENSE +0 -0
  6. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/MANIFEST.in +0 -0
  7. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/.gitignore +0 -0
  8. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/Makefile +0 -0
  9. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/make.bat +0 -0
  10. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/source/modules.rst +0 -0
  11. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/source/pymoca.generated.rst +0 -0
  12. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/source/pymoca.rst +0 -0
  13. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/doc/source/setup.rst +0 -0
  14. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/setup.cfg +0 -0
  15. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/Modelica.g4 +0 -0
  16. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/__init__.py +0 -0
  17. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/_version.py +0 -0
  18. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/ast.py +0 -0
  19. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/__init__.py +0 -0
  20. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/__init__.py +0 -0
  21. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/_options.py +0 -0
  22. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/alias_relation.py +0 -0
  23. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/api.py +0 -0
  24. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/generator.py +0 -0
  25. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/model.py +0 -0
  26. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/casadi/mtensor.py +0 -0
  27. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/sympy/__init__.py +0 -0
  28. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/sympy/generator.py +0 -0
  29. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/sympy/runtime.py +0 -0
  30. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/ModelicaXML/schemas/Equation_Statement_separate.xsd +0 -0
  31. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/ModelicaXML/schemas/Expression.xsd +0 -0
  32. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/ModelicaXML/schemas/Modelica.xsd +0 -0
  33. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/ModelicaXML/schemas/Types.xsd +0 -0
  34. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/__init__.py +0 -0
  35. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/analysis.py +0 -0
  36. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/generator.py +0 -0
  37. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/model.py +0 -0
  38. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/parser.py +0 -0
  39. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/backends/xml/sim_scipy.py +0 -0
  40. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/generated/ModelicaLexer.py +0 -0
  41. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/generated/ModelicaListener.py +0 -0
  42. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/generated/ModelicaParser.py +0 -0
  43. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/generated/ModelicaVisitor.py +0 -0
  44. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/generated/__init__.py +0 -0
  45. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/parser.py +0 -0
  46. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca/tree.py +0 -0
  47. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca.egg-info/SOURCES.txt +0 -0
  48. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca.egg-info/dependency_links.txt +0 -0
  49. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca.egg-info/requires.txt +0 -0
  50. {pymoca-0.11.0 → pymoca-0.11.0.dev4}/src/pymoca.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymoca
3
- Version: 0.11.0
4
- Summary: A Modelica to computer algebra system (CAS) translator.
3
+ Version: 0.11.0.dev4
4
+ Summary: A python/modelica based simulation environment.
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.
@@ -76,7 +76,8 @@ Requires-Dist: control<=0.10.0,>=0.9.3.post2; extra == "examples"
76
76
  Provides-Extra: all
77
77
  Requires-Dist: pymoca[casadi,examples,lxml,sympy]; extra == "all"
78
78
 
79
- # <img alt="Pymoca" src="https://raw.githubusercontent.com/pymoca/pymoca/refs/heads/master/branding/icons/pymocalogo.svg" height="60">
79
+ # <img alt="Pymoca" src="branding/icons/pymocalogo.svg" height="60">
80
+
80
81
  A Modelica to computer algebra system (CAS) translator written in Python.
81
82
 
82
83
  [![CI](https://github.com/pymoca/pymoca/workflows/CI/badge.svg)](https://github.com/pymoca/pymoca/actions?query=workflow%3ACI)
@@ -108,7 +109,7 @@ pip install "pymoca[all]" # All of the above
108
109
 
109
110
  Pymoca reads and understands Modelica code (`pymoca.parser`) and provides access to an internal representation of the code called an Abstract Syntax Tree or AST (`pymoca.ast`). The AST is further processed to generate output in various formats (`pymoca.backends`). The `pymoca.tree` module provides functionality to transform the AST into a form that can be more easily used by the backends to generate the target output. In particular, `pymoca.tree` provides classes and functions to convert a hierarchical, object-oriented Modelica model of connected components into a "flat" system of equations and associated variables, parameters, and constants. Pymoca error checking is not always complete or easy to understand, so it is better to develop the Modelica code with other tools and then use Pymoca for translation.
110
111
 
111
- The [test suite](https://github.com/pymoca/pymoca/tree/master/test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
112
+ The [test suite](test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
112
113
 
113
114
  Here is an example using a simple spring and damper model from the test suite:
114
115
 
@@ -143,8 +144,8 @@ print(casadi_model)
143
144
 
144
145
  Some more interesting examples are in Jupyter notebooks:
145
146
 
146
- * [Casadi Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Casadi.ipynb)
147
- * [Sympy Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Spring.ipynb)
147
+ * [Casadi Example](test/notebooks/Casadi.ipynb)
148
+ * [Sympy Example](test/notebooks/Spring.ipynb)
148
149
 
149
150
  ## Roadmap
150
151
 
@@ -1,4 +1,5 @@
1
- # <img alt="Pymoca" src="https://raw.githubusercontent.com/pymoca/pymoca/refs/heads/master/branding/icons/pymocalogo.svg" height="60">
1
+ # <img alt="Pymoca" src="branding/icons/pymocalogo.svg" height="60">
2
+
2
3
  A Modelica to computer algebra system (CAS) translator written in Python.
3
4
 
4
5
  [![CI](https://github.com/pymoca/pymoca/workflows/CI/badge.svg)](https://github.com/pymoca/pymoca/actions?query=workflow%3ACI)
@@ -30,7 +31,7 @@ pip install "pymoca[all]" # All of the above
30
31
 
31
32
  Pymoca reads and understands Modelica code (`pymoca.parser`) and provides access to an internal representation of the code called an Abstract Syntax Tree or AST (`pymoca.ast`). The AST is further processed to generate output in various formats (`pymoca.backends`). The `pymoca.tree` module provides functionality to transform the AST into a form that can be more easily used by the backends to generate the target output. In particular, `pymoca.tree` provides classes and functions to convert a hierarchical, object-oriented Modelica model of connected components into a "flat" system of equations and associated variables, parameters, and constants. Pymoca error checking is not always complete or easy to understand, so it is better to develop the Modelica code with other tools and then use Pymoca for translation.
32
33
 
33
- The [test suite](https://github.com/pymoca/pymoca/tree/master/test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
34
+ The [test suite](test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
34
35
 
35
36
  Here is an example using a simple spring and damper model from the test suite:
36
37
 
@@ -65,8 +66,8 @@ print(casadi_model)
65
66
 
66
67
  Some more interesting examples are in Jupyter notebooks:
67
68
 
68
- * [Casadi Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Casadi.ipynb)
69
- * [Sympy Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Spring.ipynb)
69
+ * [Casadi Example](test/notebooks/Casadi.ipynb)
70
+ * [Sympy Example](test/notebooks/Spring.ipynb)
70
71
 
71
72
  ## Roadmap
72
73
 
@@ -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 Modelica to computer algebra system (CAS) translator."
9
+ description = "A python/modelica based simulation environment."
10
10
  keywords = ["modelica", "simulation", "compiler"]
11
11
  readme = "README.md"
12
12
  authors = [{ name = "Pymoca Contributors" }]
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymoca
3
- Version: 0.11.0
4
- Summary: A Modelica to computer algebra system (CAS) translator.
3
+ Version: 0.11.0.dev4
4
+ Summary: A python/modelica based simulation environment.
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.
@@ -76,7 +76,8 @@ Requires-Dist: control<=0.10.0,>=0.9.3.post2; extra == "examples"
76
76
  Provides-Extra: all
77
77
  Requires-Dist: pymoca[casadi,examples,lxml,sympy]; extra == "all"
78
78
 
79
- # <img alt="Pymoca" src="https://raw.githubusercontent.com/pymoca/pymoca/refs/heads/master/branding/icons/pymocalogo.svg" height="60">
79
+ # <img alt="Pymoca" src="branding/icons/pymocalogo.svg" height="60">
80
+
80
81
  A Modelica to computer algebra system (CAS) translator written in Python.
81
82
 
82
83
  [![CI](https://github.com/pymoca/pymoca/workflows/CI/badge.svg)](https://github.com/pymoca/pymoca/actions?query=workflow%3ACI)
@@ -108,7 +109,7 @@ pip install "pymoca[all]" # All of the above
108
109
 
109
110
  Pymoca reads and understands Modelica code (`pymoca.parser`) and provides access to an internal representation of the code called an Abstract Syntax Tree or AST (`pymoca.ast`). The AST is further processed to generate output in various formats (`pymoca.backends`). The `pymoca.tree` module provides functionality to transform the AST into a form that can be more easily used by the backends to generate the target output. In particular, `pymoca.tree` provides classes and functions to convert a hierarchical, object-oriented Modelica model of connected components into a "flat" system of equations and associated variables, parameters, and constants. Pymoca error checking is not always complete or easy to understand, so it is better to develop the Modelica code with other tools and then use Pymoca for translation.
110
111
 
111
- The [test suite](https://github.com/pymoca/pymoca/tree/master/test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
112
+ The [test suite](test) contains examples showing how to use Pymoca and the subset of Modelica that it currently supports.
112
113
 
113
114
  Here is an example using a simple spring and damper model from the test suite:
114
115
 
@@ -143,8 +144,8 @@ print(casadi_model)
143
144
 
144
145
  Some more interesting examples are in Jupyter notebooks:
145
146
 
146
- * [Casadi Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Casadi.ipynb)
147
- * [Sympy Example](https://github.com/pymoca/pymoca/blob/master/test/notebooks/Spring.ipynb)
147
+ * [Casadi Example](test/notebooks/Casadi.ipynb)
148
+ * [Sympy Example](test/notebooks/Spring.ipynb)
148
149
 
149
150
  ## Roadmap
150
151
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes