Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug where control rates of polynomial controls were not correct in simulation. #1133

Merged
merged 5 commits into from
Nov 23, 2024

Conversation

robfalck
Copy link
Contributor

Summary

The calculation of control rates in explicit shooting requires the input t_duration when polynomial controls are used, but this variable was not correctly connected.

Changed the control rate test into a number of subtests to reduce the amount of code required.

Added extra information when the bokeh timeseries refuses to build, but after these changes I no longer can reproduce #1132.

This has been addressed and a fix put in place.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

…orrect under explicit shooting due to t_duration not being properly connected to the integration
…s and solution results dont have the same variables when building the timeseries report.
@coveralls
Copy link

Coverage Status

coverage: 93.589% (-0.3%) from 93.88%
when pulling 010ec79 on robfalck:control_rate_bug
into 42fea76 on OpenMDAO:master.

@robfalck robfalck merged commit d324563 into OpenMDAO:master Nov 23, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polynomial control rates are not correctly evaluated in explicit shooting.
3 participants