OMPython
OMPython copied to clipboard
feature request: add warning or error when using linearize() and --daeMode is set
Description
I worked with model.linearize() and only got zero-matrices. It took me a while to find out why. Turns out that this happens if the additional translation flag --daeMode
is set.
It would be great if there was an error message that tells the user that this doesn't work. It took a while to find out 😺.
Version and OS
- Python Version 3.10.11
- OMPython Version 3.5.1
- OpenModelica Version 1.22.2
- OS: win10