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 GaussLobatto transcription relies on specifying the states at the discretization nodes, evaluating the ODE at the discretization nodes, and then interpolating the collocating polynomial to the collocation nodes. The GaussLobattoInterleaveComp is then used to make a time-contiguous array of states and whatever ODE outputs are to be sent to the timeseries.
In the case when state rates come from a control, control values are unnecessarily being sent to the interleave comp. This is demonstrated in the double integrator example.
Fixing this should be simple. If the state rate comes from the ODE, only then do we add it to the interleave component.
Issue Type
Description
The GaussLobatto transcription relies on specifying the states at the discretization nodes, evaluating the ODE at the discretization nodes, and then interpolating the collocating polynomial to the collocation nodes. The GaussLobattoInterleaveComp is then used to make a time-contiguous array of states and whatever ODE outputs are to be sent to the timeseries.
In the case when state rates come from a control, control values are unnecessarily being sent to the interleave comp. This is demonstrated in the double integrator example.
Fixing this should be simple. If the state rate comes from the ODE, only then do we add it to the interleave component.
becomes
In addition, the state interp comp is showing duplicate inputs in that case, since v provides the rate of x.
In this case, we may want to make the interp comp work such that it doesn't pull in this duplicate data unnecessarily.
Example
N/A
Environment
dymos 1.5.1-dev
The text was updated successfully, but these errors were encountered: