`@mtkmodel` & `constants`?

I’m using ModelingToolkit v8.73.1.

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 Julia tells me 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?