Using MTK when I *import* ModelingToolkit?

Yeah, that also works. And it saves me from creating the “fictitious” downstream system.

Of course, if I produce true “components”, then the straightforward thing is to use “analysis point” names also for the output in linearize.

I still think of this as linearizing between an input and an output. If there is nothing connected at either end, just use the variable rather than an analysis point, you should never have to create any dummy systems just for linearization to work.

no, if there is nothing connected, just use variables rather than analysis points.

I just realized that I have in fact documented analysis points in a bit more detail here

This shows their use from Dyad, but they of course behave the same in MTK, it’s only the syntax for creating them that is slightly different. In MTK, you can create them by adding the name straight to a connection itself connect(out, :name, in).