Added automatic parameter generation to dymos #17
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
Dymos hides the implementation of the ODE from the user and therefore makes it difficult to connect external outputs directly to inputs of the ODE. The user should never do this, and instead should always use
parameters
orcontrols
to get external variables into the ODE.This can be tedious when systems are large and have many inputs.
To make this easier for the user, this PR adds a new capability to Dymos. It will determine which inputs of the ODE have not been connected and will automatically turn those into
parameters
to which the user can connect.These parameters cannot be used as design variables (those parameters must be explicitly added).
Related Issues
Backwards incompatibilities
None
New Dependencies
None