You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The states look like they have proper naming. In the equations, some of the variables have extra terms. For example, r₊v2(t) should just be v2(t), and ss₊r1₊v1(t) should be v1(t).
The text was updated successfully, but these errors were encountered:
This is expected. I think you intend to do inheritance, but the ODESystem(...; systems=systems) approach gives you composition, so you will get one extra level of namespace.
I don't want inheritance in the sense of Modelica's extends or the combine described in #807. I'm trying to do functional composition that ends up with a hierarchy of variables and equations.
I suspect my attempt at composition is just incompatible with how MTK does composition. I'll try to write up what I'm trying to do to see if that sparks any ideas.
I'm experimenting with different ways of composing models. In the process, I uncovered something that might be a bug.
After running, I see the following:
The states look like they have proper naming. In the equations, some of the variables have extra terms. For example,
r₊v2(t)
should just bev2(t)
, andss₊r1₊v1(t)
should bev1(t)
.The text was updated successfully, but these errors were encountered: