MTK often produces "dummy derivative" variables. It would be a handy feature if one could index a solution with such a dummy derivative, even if it's not present in the solution. This need arises due to the fact that MTK can select any state realization it wants, and sometimes dummy derivatives are introduced, sometimes not.
I've figured out that one can index a solution object at a derivative with the syntax sol(0.1, Val{1}, idxs=var) to obtain the derivative of var
If I then want to index the solution with a variable pilot₊drho1ˍt(t) that is not present in the solution, how do I get a handle to the variable pilot₊drho1 so that I can perform this indexing?
Better yet, could the indexing with pilot₊drho1ˍt(t) be made to do this automatically?
MTK often produces "dummy derivative" variables. It would be a handy feature if one could index a solution with such a dummy derivative, even if it's not present in the solution. This need arises due to the fact that MTK can select any state realization it wants, and sometimes dummy derivatives are introduced, sometimes not.
I've figured out that one can index a solution object at a derivative with the syntax
sol(0.1, Val{1}, idxs=var)
to obtain the derivative ofvar
If I then want to index the solution with a variable
pilot₊drho1ˍt(t)
that is not present in the solution, how do I get a handle to the variablepilot₊drho1
so that I can perform this indexing?Better yet, could the indexing with
pilot₊drho1ˍt(t)
be made to do this automatically?