Skip to content

Fixed a bug that could result in incorrect parameter values in simulation #684

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

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

robfalck
Copy link
Contributor

Summary

When setting up a simulation, units were not taken into account. Dymos was assuming the units of a parameter were the units declared by the user. Based on how an input might be promoted, this is not necessarily the case.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@coveralls
Copy link

Coverage Status

Coverage increased (+0.006%) to 95.374% when pulling 44ad26d on robfalck:simulate_units_bug into 7f04f13 on OpenMDAO:master.

@robfalck robfalck merged commit e059550 into OpenMDAO:master Nov 23, 2021
@robfalck robfalck deleted the simulate_units_bug branch August 25, 2022 15:52
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.

Units don't seem to be converted for parameters under simulation
3 participants