-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix: Update flight model info in fmgc guidance #6903
fix: Update flight model info in fmgc guidance #6903
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving this from a technical side, because the form of the changes seem fine. I haven't cross-checked the numbers themselves.
@donstim What kind of testing are you expecting on this item? |
Fair question, but I don't have an answer. This PR was done as a courtesy to @BlueberryKing and anyone else who might be working on FMGC guidance that needs this information. I can provide some testing guidance for anyone who can access the I don't know what level of scrutiny the original flightmodel.ts file got that this PR modifies. |
I think this is one that really just needs review, although maybe @BlueberryKing can do some tests with his vnav branch. |
I have been using this PR on the I would be happy to do a more comprehensive test on the functionality using the method @donstim described. |
I am inclined to just merge this. Any objections? |
Yeah, good to go from my side. Has not caused any issues on experimental. |
Sorry for the delay. Finally getting back to this. Here are some inputs/outputs that can be used as a check: FLAPS UP CL = 0.39013, BaseDrag = 0.023299 CONF 1 CONF 1+F CONF 2 CONF 3 CONF FULL |
Thank you very much! I will be checking these values. |
I have now conducted the tests, both with the values @donstim provided as well as with the computed values in the simulator. The values lined up nicely for all configurations. 👍 |
I have now added the Mach correction factor into the flight model predictions. I tested this briefly and observed more conservative predictions, as would be expected since we now correctly account for an increase in drag at high Mach numbers. In the images below we can see how the top of climb arrow moves further away with the Mach correction. I reached my cruising altitude closer to the predicted top of climb with these changes. Good stuff! |
* Update CHANGELOG.md * Update FlightModel.ts * Update FlightModel.ts * Add mach correction to flight model predictions * Fix interpolation issue Co-authored-by: BBK <[email protected]>
Fixes #[issue_no]
Summary of Changes
This change updates the flight model information in the FMGC guidance section for use in computing vertical guidance parameters. This change will make the flight model information in the FMGC consistent with #6820.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub): donbikes#4084
Testing instructions
How to download the PR for QA
Every new commit to this PR will cause a new A32NX artifact to be created, built, and uploaded.