Skip to content

Conversation

@AntonKuzin
Copy link

@AntonKuzin AntonKuzin commented Jan 4, 2026

Added 2 new editable fields in the MechJebModuleStageStats. Then they are passed into the SimVessel and used in the FuelFlowSimulation.

@AntonKuzin
Copy link
Author

I'm working on an automated way to detect the 1.5 stage setup. If detected, then show the editable final mass field to the user.
You then need to find a way to optimize for the booster burnout mass. Or do it somehow else, this PR is just meant to show how I did it. If you have better idea how to calculate stages data feel free to suggest.

@AntonKuzin AntonKuzin marked this pull request as ready for review January 9, 2026 14:17
@AntonKuzin
Copy link
Author

It works reliably enough now. I didn't try to deliberately fool it, so it may fail with some insane setups.
Also, the control flow is suboptimal - data flows back and forth. I'd rather put the detection logic inside the SimVessel, but it would require major staging calculation overhaul. So let's stick with this for now.

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.

1 participant