I’m currently trying to integrate a linear state-space model inside a ModelingToolkit model.
For this purpose I used the ODESystem
specialization provided by ControlSystemsMTK, which itself uses the StateSpace
block provided by MTK-SL.
However, once the ODESystem
is formed, its “interfaces” are RealInput
s / RealOutput
s, which feel a bit abstract to me.
Are there any examples around showing how to combine such systems with e.g. Flange
, MechanicalPort
, Pin
or else, to give them proper “physical” interfaces and make connections with other blocks easier ?