Two-dof refactor part 3: Added a new ODE/Phase for a simple cruise that is more consistent with the other phases.#986
Open
Kenneth-T-Moore wants to merge 27 commits intoOpenMDAO:mainfrom
Open
Conversation
… the basic 2DOF problem. May need to investigate
… the basic 2DOF problem. May need to investigate
… the basic 2DOF problem. May need to investigate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Motivation: The original Cruise phase in the two-dof equations of motion is based on the Breguet Range equations, and uses an AnalyticPhase from Dymos, and additionally integrates over mass instead of time. This causes problems when trying to add an external subsystem with a state that needs to be integrated over time. This PR adds an alternative that eliminates these problems.
Added a new SimpleCruise eom, ode, and phase to the two-dof formulation.
Added a new option "phase_builder" to the phase_options to allow the user to specify what phase_builder to use for this phase. The following choices are valid:
Presently, this option only works for the two-dof equations of motion, but there is a potential to expand the capability to use these phases in other equations.
Related Issues
Backwards incompatibilities
None
New Dependencies
None