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

Implicit duration #939

Merged
merged 24 commits into from
Jun 28, 2023
Merged

Conversation

kaushikponnapalli
Copy link
Contributor

Summary

Allows users to define a non-time stopping condition for a phase using phase.add_duration_balance()

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@coveralls
Copy link

coveralls commented Jun 9, 2023

Coverage Status

coverage: 92.526%. first build when pulling e0e52e5 on kaushikponnapalli:implicit_duration into 6ae47d1 on OpenMDAO:master.

Copy link
Contributor

@robfalck robfalck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking pretty good. We'll need an example in the docs before this is merged. The balanced field length problem is an interesting problem where each phase can be ended via a triggering condition and so it might make an interesting test case for this. We would just need to make an assumption on alpha during the climb portion (it can't be a design variable if we're just propagating)

dymos/phase/phase.py Outdated Show resolved Hide resolved
dymos/transcriptions/pseudospectral/pseudospectral_base.py Outdated Show resolved Hide resolved
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -0,0 +1,471 @@
{
Copy link
Contributor

@robfalck robfalck Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bit about setting up two phases and linking them accordingly needs to be changed.


Reply via ReviewNB

dymos/phase/phase.py Outdated Show resolved Hide resolved
@robfalck robfalck merged commit 26f74c9 into OpenMDAO:master Jun 28, 2023
@kaushikponnapalli kaushikponnapalli deleted the implicit_duration branch November 29, 2023 21:08
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.

Add ability to use non-time-stopping conditions for phases.
3 participants