Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some PVG optimizer edge conditions
This pins the initial mass to m0 of the phase so that the optimizer doesn't play around with it. That is necessary to combine with the max burntime constraint in order to avoid the rocket burning past the tau restriction and off into infinity. If m0 is free then the tau constraint becomes dynamic based on the selected value of m0 and no longer a box constraint (so this may need to change for e.g. stage and a half or coasts in the middle of a stage). Also though this flips the boolean so that the integrator shouldn't blow up when it goes past max interations, which seems to have been a mistake (although it surfaced this issue pretty nicely). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
- Loading branch information
1 parent
7f3cd29
commit 83323fd
Showing
5 changed files
with
63 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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