ModelingToolkit.jl icon indicating copy to clipboard operation
ModelingToolkit.jl copied to clipboard

MTK v8.73.1: no support for `@constants` within `@mtkmodel`?

Open B-LIE opened this issue 1 year ago • 0 comments

Question❓

I'm trying to use @constants with a begin...end construct within an MTK model created by @mtkmodel [similar to using a @parameters construct], but I'm told that @constants is not supported.

Questions:

  • Isn't there a @constants macro within MTK? If yes, is it just that it doesn't work with @mtkmodel?
  • Is this a design choice, or is the plan to add support for @constants at a later stage?

B-LIE avatar Nov 29 '23 12:11 B-LIE