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

Automatic Control Switch Detection and Refinement #21

Open
jbpezent opened this issue Feb 28, 2023 · 0 comments
Open

Automatic Control Switch Detection and Refinement #21

jbpezent opened this issue Feb 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jbpezent
Copy link
Contributor

We need to implement better control switch detection and refinement for bang-bang problems. The new mesh refinement scheme does a pretty good job at making accurate meshes with minimal segments and works well on smooth control profiles. However, the drawback is that it can make bang-bang control profiles less well defined unless you use a very tight mesh tolerance. This is especially true with the BlockConstant control parameterization.

Looking to add at least two methods for switch detection. One will just look for sudden changes in individual components in the controls. The other will feed the states and estimated costates to a user defined indirect switching function and find its zeros. We will then let the mesh spacing float in the vicinity of the switches so that the optimizer can adjust the control profile accordingly.

I'll start prototyping this. If anybody has any suggestions, ideas, or requests let me know.

@jbpezent jbpezent added the enhancement New feature or request label Feb 28, 2023
@jbpezent jbpezent self-assigned this Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant