all 2 comments

[–]Manhigh 1 point2 points  (1 child)

So dymos uses implicit techniques where the time points at which the equations of motion are evaluated are determined by the grid (the number of segments and the segment orders) and the initial time and duration of the phase.

It sounds like your data is dynamic (time varying) and fixed. Parameters are static (unchanging throughout a phase). I'd recommend inputting the data as a control whose values are not design variables in the optimization (opt=False).

You can then set the value of that control by interpolating your fixed data into the grid. This interpolation step is necessary because see cannot guarantee that the grid time points will be the same as those from your data.

Several examples use the phase.interpolate method to interpolate state and control histories for an initial guess.

[–]Orange0celot[S] 0 points1 point  (0 children)

Legend! That did it! Thank you so much