Skip to content

Commit f97739e

Browse files
syntronadeas31
andauthored
Add modelica system cmd (#279)
* [ModelicaSystemCmd] draft * [ModelicaSystemCmd] define and use it - needs cleanup! * [ModelicaSystemCmd] update handling of simargs * [ModelicaSystemCmd] move handling of simflags info this class * [ModelicaSystemCmd] cleanup / docstrings * [ModelicaSystemCmd] simplify * [__init__] make ModelicaSystemCmd available * [ModelicaSystemCmd] special handling for override in simflags / simargs * [ModelicaSystemCmd] split run() - create command in get_cmd() and get_exe() * [ModelicaSystem] use pathlib.Path() / simplify * [ModelicaSystemCmd] do *NOT* raise error if returncode != 0 could be a simulation which stoped before the final time ... * [ModelicaSystemCmd.run()] use repr(cmdl) in log messages / exceptions * [ModelicaSystemCmd] fix exception handling * define specific exceptions * [tests] for ModelicaSystemCmd * [ModelicaSystem] fix flake8 error ./OMPython/ModelicaSystem.py:1236:72: E999 SyntaxError: f-string: unmatched '[' * [ModelicaSystemCmd] spelling fix * [LinearizationResult] spelling fix * [ModelicaSystemCmd] update definition of arg_set() - use Optional[] * [ModelicaSystemCmd] fix mypy warnings * [ModelicaSystemCmd] some cleanup of docstring for parse_simplags() * [ModelicaSystemCmd] additional type hints clarifications --------- Co-authored-by: Adeel Asghar <[email protected]>
1 parent 64a16ef commit f97739e

File tree

4 files changed

+312
-105
lines changed

4 files changed

+312
-105
lines changed

0 commit comments

Comments
 (0)