OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
204 stars 65 forks source link

Use sparse partials for the Birkhoff state residuals when OpenMDAO bug is fixed. #1055

Closed robfalck closed 5 months ago

robfalck commented 6 months ago

Summary

The Birkhoff transcription makes use of add_residual to define residuals that don't match up one-for-one with implicit outputs. There had been a bug in OpenMDAO that prevented this from working when sparse partials were defined. Since this is being fixed in the next release of OpenMDAO, this component can now define its partials more efficiently.

Related Issues

None

Backwards incompatibilities

None

New Dependencies

None

coveralls commented 6 months ago

Coverage Status

coverage: 92.547% (-0.2%) from 92.766% when pulling a47eaee2916dcee6a6fcfca659576acd5193323a on robfalck:birkhoff_partials_update into 8cb3c2666b363287eb23d2b79001e8ce3ebcd2f0 on OpenMDAO:master.