Published May 25, 2021
| Version v1.1.0
Software
Open
THM-MoTE/ModelicaScriptingTools.jl: Release v1.1.0
Authors/Creators
Description
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-25This 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
- 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
- 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
- the parameter
ismodelofloadModel, since we now can check if a model was loaded successfully usinggetClassRestriction()instead
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
Files
THM-MoTE/ModelicaScriptingTools.jl-v1.1.0.zip
Additional details
Related works
- Is supplement to
- https://github.com/THM-MoTE/ModelicaScriptingTools.jl/tree/v1.1.0 (URL)