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

Negative Fuelflow #57

Open
LuxCayoine opened this issue Feb 5, 2025 · 0 comments
Open

Negative Fuelflow #57

LuxCayoine opened this issue Feb 5, 2025 · 0 comments

Comments

@LuxCayoine
Copy link

Hi @junzis

Thanks for maintaining and updating this project.

I wanted to let you know that it was possible to get negative fuelflow:

fuel = FuelFlow(ac="b77l", use_synonym=True) FF = fuel.enroute(mass=316350.0, tas=300, alt=10000, vs=0, acc=0)

After some investigation I think the error could come from FuelFlow._load_fuel_model method, more exactly the following code:

return ( lambda x: c1 - self.sci.exp(-c2 * (x * self.sci.exp(c3 * x) - self.sci.log(c1) / c2)) * scale )

The scale is only apply on the second element from the difference and not on c1 shouldn't the scale be applied over the whole formula?

Thank again,

Antoine

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

No branches or pull requests

1 participant