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

Updated phase.load_case so that it uses the state_xxx_vals API. Specify parent when subproblems are used. #1087

Merged
merged 9 commits into from
Jul 29, 2024

Conversation

robfalck
Copy link
Contributor

@robfalck robfalck commented Jul 23, 2024

Summary

For later version of OpenMDAO, explicit simulation subproblems have their parent set to the trajectory or phase being simulated so that their output files show up nested under the parent problems output directory.

phase.load_case was not using the new API for setting times, states, controls, and parameters.
As a result, under Birkhoff, setting state values would only set the values in the segment polynomial, but not the end point values (initial_states:{name} and final-states:{name}).

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@robfalck robfalck changed the title Updated phase.load_case so that it uses the state_xxx_vals API. Updated phase.load_case so that it uses the state_xxx_vals API. Specify parent when subproblems are used. Jul 26, 2024
@coveralls
Copy link

Coverage Status

coverage: 92.532% (-0.2%) from 92.757%
when pulling 73a6363 on robfalck:load_case_set_state_vals
into d61cd97 on OpenMDAO:master.

@robfalck robfalck merged commit a7b7750 into OpenMDAO:master Jul 29, 2024
10 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
3 participants