Releases: pymoca/pymoca
Releases · pymoca/pymoca
0.10.0
What's Changed
- Don't build AST if parse fails by @kentrutan in #244
- Add compiler tool options by @kentrutan in #243
- Modelica: Add import statement by @kentrutan in #246
- Modelica: Support SI units by @kentrutan in #249
- CI/CD: Fix tox issues and bump Python version by @kentrutan in #251
- Tools/compiler: Fix test and True/False options by @kentrutan in #253
- Modelica: preserve class comments in flattening by @kentrutan in #254
- SymPy: Add Modelica
time
support by @kentrutan in #258 - Modelica: Add initial equation add/remove methods by @kentrutan in #261
- setup.py: Fix Jinja2 dependency for SymPy backend by @jackvreeken in #262
- Modelica: Add
+
expression prefix by @kentrutan in #263 - CasADi: Support + expression prefix by @jackvreeken in #264
- SymPy: Fix generator duplicate variable creation by @kentrutan in #269
- CasADi: Fix caching of delay expression with constant delay by @jackvreeken in #271
- Bump Python >= 3.8 and test to 3.11 by @kentrutan in #275
- CI/CD: Add GitHub release action by @kentrutan in #278
Full Changelog: 0.9.0...0.10.0
0.6.0
The only difference between 0.6.0 and 0.5.1 (lastest release at time of writing) is that 0.6.0 does not force the CasADi version to 3.4.*. This is relevant, because CasADi 3.5 has recently been released.
0.5.1
CasADi: Fix copying start attribute of aliases
0.5.0: First release in new "stable" series
First release in 0.5.* stable series
0.4.5: Fix redeclarations with classes inside flattening class
Creating a new release to create a DOI for citation.
0.4.0
Optimize loading cache using highest protocol pickle The current highest protocol 4 results in about ~25% smaller files for large models. Using timeit, the parsing is about ~10% faster, when both pickles are paged into memory. If the pickle is not yet loaded in memory, the reduced filesize will increase the speedup to ~30%.
0.2.8
Fix delay expression with non-indexed symbols Delay expressions can also be a function of parameters, inputs or other non-indexed symbols. The test cases have been amended such that they would have caught this bug.
0.2.4
Fix for loop containing zero sized symbols