OMPython icon indicating copy to clipboard operation
OMPython copied to clipboard

feature request: add warning or error when using linearize() and --daeMode is set

Open martinscripts opened this issue 9 months ago • 10 comments

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

martinscripts avatar Apr 29 '24 14:04 martinscripts