-
Notifications
You must be signed in to change notification settings - Fork 0
Add tutorial on regularization #26
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
base: main
Are you sure you want to change the base?
Conversation
@ocots @jbcaillau I tried various ways to initialize the orbital transfer problem, but I couldn't find one where the logarithm doesn't become negative. I also tried to start the indirect resolution by following the Kepler example, but I'm not sure if that's the right approach. |
@YouriRenoud if you have some difficulties you can switch to this issue: #28 |
@YouriRenoud pour aider à la convergence ne pas hésiter à jouer sur la taille de la discrétisation. Mettre 100, 500, 1000, 2000 points pour voir. |
@YouriRenoud pour initialiser :
|
@ocots @jbcaillau I finally could solve the minimal conso problem what are you thinking of this solution ? |
Can you plot the norm of the control? See the plot documentation. You can plot also in 3D, see the end of the Kepler application. |
For the 3D plot I only get one revolution before it stops ? |
hi @YouriRenoud cannot see the plot of the norm. for a strong enough log penalty and a large enough final time (20% larger than min time, e.g.), you should see a control subarc close to a zero arc (= zero norm) |
Todo:
|
@ocots @jbcaillau Here the norm of the control with the continuation of epsilon at the last iteration : |
nice @YouriRenoud can you please add (on the same plot) control norms for previous values of |
@YouriRenoud Can you please make a point on what you still have to do? |
@ocots The direct part is all finished and working but I am stuck in the indirect resolution and I don't know how to solve my problems. For example if I start two times the indirect resolution without changing anything the two solution won't give the same trajectory and it is not even close. Maybe I should start the other part of regularization with the Malisani's code ? |
@YouriRenoud Actually, writing the shooting function for the minimum consumption problem is not easy. Since, I won't be there before you finish, I think you should switch to Malisani's regularization. You can create another file for the tutorial. |
@jbcaillau I could plot this figure is that what you were expecting ? |
@YouriRenoud exactly: very nice! 👍🏽 |
No description provided.