Skip to content

Commit

Permalink
feat(athr/fadec) tuned reverse thrust ratio and default thrust percen…
Browse files Browse the repository at this point in the history
…tage from TOGA limit
  • Loading branch information
aguther committed Apr 7, 2024
1 parent 1b87777 commit 7be8e6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fbw-a32nx/src/wasm/fbw_a320/src/FlyByWireInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void FlyByWireInterface::loadConfiguration() {
// --------------------------------------------------------------------------
// load values - autothrust
autothrustThrustLimitReversePercentageToga =
INITypeConversion::getDouble(iniStructure, "AUTOTHRUST", "THRUST_LIMIT_REVERSE_PERCENTAGE_TOGA", 0.8);
INITypeConversion::getDouble(iniStructure, "AUTOTHRUST", "THRUST_LIMIT_REVERSE_PERCENTAGE_TOGA", 0.813);

// print configuration into console
std::cout << "WASM: AUTOTHRUST : THRUST_LIMIT_REVERSE_PERCENTAGE_TOGA = " << autothrustThrustLimitReversePercentageToga << std::endl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ impl ReverserThrust {
}

fn reverse_thrust_ratio_from_n1(engine_n1: Ratio) -> Ratio {
let n1_breakpoints = [0., 15., 20., 50., 55.];
let n1_breakpoints = [0., 15., 20., 50., 55., 100.];

let reverse_thrust_ratio = [0., 0., 0.15, 0.4, 0.42];
let reverse_thrust_ratio = [0., 0., 0.04, 0.15, 0.15, 0.15];

Ratio::new::<ratio>(interpolation(
&n1_breakpoints,
Expand Down

0 comments on commit 7be8e6b

Please sign in to comment.