Modeling dynamic economic systems using ModelingToolkit (MTK)

As this is economics, isn’t this a system derived from an optimization problem with state, control and co-state variable? And the derivatives are with respect to time? And you have initial values and a terminal/limit condition? And do you know the nature of this system, e.g. saddle-point stable?