OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
195 stars 64 forks source link

Refactor timeseries expressions to be evaluated as part of the ODE. #1065

Closed robfalck closed 2 months ago

robfalck commented 2 months ago

Summary

Refactors ODE expressions so that timeseries expressions and constraint expressions are now simply computed in an outer ODE group alongside the user's ODE.

This significantly simplifies the implementation and makes it much simpler to implement other uses for expressions in the future, such as OTIS-like quadrature variables.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

robfalck commented 2 months ago

Closing due to a circular reference issue regarding shape introspection.