Releases: THM-MoTE/ModelicaScriptingTools.jl
Releases · THM-MoTE/ModelicaScriptingTools.jl
Release v1.1.0
ModelicaScriptingTools.jl
ModelicaScriptingTools.jl (or short MoST.jl) contains utility functions to improve the usability of OMJulia as well as extension for Documenter.jl to generate documentation for Modelica models.
This release introduces the following changes:
[1.1.0] - 2021-05-25
This is a high-level summary of the changes introduced in 1.1.0.alpha.1-5.
Added
- Documenter.jl extension for documenting Modelica models in HTML format including
- MathML rendering of all equations, grouped by model structure
- table of all variables and parameters
- HTML documentation in
annotation(Documentaion(info=...))
- Support for OpenModelica 1.16, 1.17 and 1.18
installAndLoad()function to explicitly install Modelica librariesgetVersion()function to switch behavior based on OpenModelica version
Changed
- uses custom release script instead of TagBot
- the override argument now behaves more intuitively (see v1.1.0-alpha.2)
- code is split into multiple files due to increased library size
- tests for error messages are less strict in order to better test for multiple OpenModelica versions
- Swtiched from Travis CI to GitHub actions
setupOMCSessionandwithOMCnow create the output directory if it does not already exist- Modelica Standard Library is no longer loaded automatically, but must be loaded explicitly with
installAndLoad - documentation is deployed using
DOCUMENTER_KEY
Fixed
- tries to minimize freezes due to ZMQ errors in OMJulia
- models created by directly sending a definition string to the OMC could not be tested using
testmodel
Deprecated
- the parameter
ismodelofloadModel, since we now can check if a model was loaded successfully usinggetClassRestriction()instead
Dependencies added
Documenter, since it MoST.jl now includes a Documenter extension for Modelica modelsPyCall, since the Documenter.jl extension requires the use of a XSLT stylesheet which is processed using the python packagelxml- Note: there is currently no XSLT-capable Julia package that I am are aware of
v1.1.0-alpha.1
ModelicaScriptingTools v1.1.0-alpha.1
This is a pre-release of the new extension for Documenter.jl that is now included in MoST.jl.
It features the following changes:
Added
- Experimental support for documenting Modelica models using Documenter.jl.
- New dependencies:
- PyCall (for XML handling using lxml)
- Documenter
- Markdown
Changed
- Split code into multiple files.
setupOMCSessionandwithOMCnow create the output directory if it does not already exist
v1.0.0
ModelicaScriptingTools v1.0.0
Release notes:
This is the first official release of MoST.jl as Julia package. It contains the following changes from the last non-package version:
Added
- function
withOMCthat allows to setup aOMCSessionthat can be used withdo - unit tests for individual functions
- support for regression tests with
outputFormat="mat" - documentation using Documenter.jl
- Travis CI script
Changed
- project structure changed to standard Julia package structure
- module name is now
ModelicaScriptingToolsinstead ofMoST getVariableFilterandgetSimulationSettingsnow throwMoSTErrors if the requested model does not exist- use
__MoST_experimentinstead of__ChrisS_testingas vendor specific annotation refDirparameter intestmodelandregressionTestnow is relative to CWD instead of output dir- result of
getSimulationSettingsand parametersettingsinsimulatenow contains unescaped values`
Fixed
- only use
ZMQ.sendwithoutZMQ.recvfor sendingquit()to avoid freezing