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

fix: Update landing gear drag #7660

Merged
merged 15 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
1. [EFB] Added boarding time indication to Payload page - @ChristianLutzCL (Christian Lutz) @frankkopp (Frank Kopp)
1. [EFB] Show correct runway numbers in landing calculator's runway widget when heading is between 0-5 degrees - @2hwk (2Cas#1022)
1. [ADIRU/ND/PFD] Initial support for polar navigation - @tracernz (Mike)
1. [FLIGHTMODEL] Update gear drag - @donstim (donbikes#4084)

## 0.9.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ lift_coef_flaps = 1.844 ; Change in lift due to flaps
lift_coef_spoilers = -0.466875 ; Change in lift due to spoilers
drag_coef_zero_lift = 0.01873 ; The zero lift drag polar
drag_coef_flaps = 0.1316
drag_coef_gear = 0.030
drag_coef_gear = 0.0372
drag_coef_spoilers = 0.05775; Change in drag due to spoilers
side_force_slip_angle = -3.252 ; (yaw angle) The change in side force per change in side slip angle
side_force_roll_rate = 1.833 ; (roll velocity) The change in side force per change in roll rate
Expand Down Expand Up @@ -441,8 +441,8 @@ flaps-position.0 = 0.00, -1, 0, 0.0 ; CONF 0
flaps-position.1 = 5.0, -1, 0.33, 0.01 ; CONF 1
flaps-position.2 = 10.00, 215, 0.63, 1.30 ; CONF 1+F
flaps-position.3 = 15.00, 200, 0.85, 1.30 ; CONF 2
flaps-position.4 = 20.00, 185, 1.08, 1.17 ; CONF 3
flaps-position.5 = 40.00, 177, 1.00, 1.00 ; CONF FULL
flaps-position.4 = 20.00, 185, 0.97, 1.17 ; CONF 3
flaps-position.5 = 40.00, 177, 0.939, 1.00 ; CONF FULL

[FLAPS.2]
type = 2 ; Flap type 0 = None, 1 = trailing edge, 2 = leading edge
Expand All @@ -461,5 +461,5 @@ flaps-position.0 = 0.00, -1, 1.00, 1.00 ; CONF 0
flaps-position.1 = 18.00, 230, 0.33, 1.00 ; CONF 1
flaps-position.2 = 18.01, 230, 0.63, 1.00 ; CONF 1+F
flaps-position.3 = 22.00, 200, 0.85, 1.00 ; CONF 2
flaps-position.4 = 22.01, 185, 1.08, 1.00 ; CONF 3
flaps-position.5 = 27.00, 177, 1.00, 1.00 ; CONF FULL
flaps-position.4 = 22.01, 185, 0.97, 1.00 ; CONF 3
flaps-position.5 = 27.00, 177, 0.939, 1.00 ; CONF FULL
6 changes: 3 additions & 3 deletions src/fmgc/src/guidance/vnav/FlightModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ export class FlightModel {
baseDrag = (0.0168 * Cl ** 3) - (0.0018 * Cl ** 2) - (0.0037 * Cl) + 0.0729;
break;
case FlapConf.CONF_3:
baseDrag = (0.0132 * Cl ** 3) - (0.0058 * Cl ** 2) + (0.0005 * Cl) + 0.0982;
baseDrag = (0.013 * Cl ** 3) - (0.0056 * Cl ** 2) + (0.0005 * Cl) + 0.0902;
break;
case FlapConf.CONF_FULL:
baseDrag = (0.0077 * Cl ** 3) - (0.0055 * Cl ** 2) - (0.0015 * Cl) + 0.1483;
baseDrag = (0.0077 * Cl ** 3) - (0.0056 * Cl ** 2) - (0.001 * Cl) + 0.1405;
break;
default:
break;
}

const spdBrkIncrement = spdBrkDeflected ? 0.01008 : 0;
const gearIncrement = gearExtended ? 0.03 : 0;
const gearIncrement = gearExtended ? 0.0372 : 0;
return baseDrag + spdBrkIncrement + gearIncrement;
}

Expand Down