Skip to content

Improved mass iteration schemes#143

Open
WyattGiroux wants to merge 4 commits into
MIT-LAE:mainfrom
WyattGiroux:improved_mass_iter
Open

Improved mass iteration schemes#143
WyattGiroux wants to merge 4 commits into
MIT-LAE:mainfrom
WyattGiroux:improved_mass_iter

Conversation

@WyattGiroux

Copy link
Copy Markdown
Contributor

This PR adds the ability to use different mass iteration schemes when trying to ensure loaded vs. burned fuel in a given mission are equal. These are:

  • Naive - If the mission ends with $dM$ more fuel burned than we initially loaded, adjust the starting mass and fuel mass by $+dM$ and try flying the mission again.
  • Range-Corrected - Using the range equation, account for the additional fuel required to carry the $+dM$ extra while meeting the same range.
  • Averaged - A simple arithmetic average of Naive and Range-Corrected approaches. This is due to the Range-Corrected method tending to overestimate the amount of fuel to be added/subtracted, leading to increased iterations vs. the naive approach.

A example notebook showing differences in the three methods, as well as standalone documentation were added as well.

fuelBurned = self.starting_mass - traj.aircraft_mass[-1]
mass_residual = (self.total_fuel_mass - fuelBurned) / self.total_fuel_mass
delta = (fuelBurned - self.total_fuel_mass) / self.total_fuel_mass
lamda = self.total_fuel_mass / self.starting_mass

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You mean "lambda".

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.

2 participants