OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
212 stars 67 forks source link

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

Closed robfalck closed 6 months ago

robfalck commented 6 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 6 months ago

Closing due to a circular reference issue regarding shape introspection.