From 5f82b0b57c6af48c48c6ad77b61264b6d38c4de6 Mon Sep 17 00:00:00 2001 From: Josh Davidson Date: Tue, 2 Feb 2021 12:09:22 -0500 Subject: [PATCH] Control: Add engine at idle logic --- Systems/fadec-cfm.xml | 61 ++++++++++++++++++++++++++++++---------- Systems/fadec-iae.xml | 65 ++++++++++++++++++++++++++++++++----------- 2 files changed, 96 insertions(+), 30 deletions(-) diff --git a/Systems/fadec-cfm.xml b/Systems/fadec-cfm.xml index 40447f9a..82fdbec5 100644 --- a/Systems/fadec-cfm.xml +++ b/Systems/fadec-cfm.xml @@ -10,7 +10,7 @@ OAT Thrust Scale gain 1.0 - 0.05 + 0.05 @@ -28,7 +28,7 @@ FLX Thrust Scalegain1.0 - 0.05 + 0.05
@@ -46,7 +46,7 @@ IDLE Limitgain1.0 - 0.05 + 0.05 @@ -80,12 +80,45 @@ 0 /controls/engines/idle-limit - + + + Engines At Idle Stage 1 + gain + 1.0 + + + +
+ + /engines/engine[0]/n1-actual + /engines/engine[1]/n1-actual + + 18.90 + 103.81 +
+ 0.005 + +
+ + /engines/highest-n1-buffer + + + + Engines At Idle Stage 2 + + + /engines/highest-n1-buffer + /controls/engines/idle-limit + + + /engines/both-at-idle + + MAN One gain 1.0 - 0.05 + 0.05 @@ -107,7 +140,7 @@ MAN Twogain1.0 - 0.05 + 0.05
@@ -129,7 +162,7 @@ MAN CMD Onegain1.0 - 0.05 + 0.05 @@ -154,7 +187,7 @@ MAN CMD Two gain 1.0 - 0.05 + 0.05 @@ -179,7 +212,7 @@ N1 CMD 1 gain 1.0 - 0.05 + 0.05 @@ -220,7 +253,7 @@ N1 CMD 2 gain 1.0 - 0.05 + 0.05 @@ -1057,7 +1090,7 @@ N1 Limit TOGA gain 1.0 - 0.05 + 0.05
@@ -1077,7 +1110,7 @@ N1 Limit MCTgain1.0 - 0.05 + 0.05
@@ -1097,7 +1130,7 @@ N1 Limit FLXgain1.0 - 0.05 + 0.05
@@ -1117,7 +1150,7 @@ N1 Limit CLBgain1.0 - 0.05 + 0.05
diff --git a/Systems/fadec-iae.xml b/Systems/fadec-iae.xml index d6275615..d20fe186 100644 --- a/Systems/fadec-iae.xml +++ b/Systems/fadec-iae.xml @@ -10,7 +10,7 @@ OAT Thrust Scalegain1.0 - 0.05 + 0.05
@@ -28,7 +28,7 @@ FLX Thrust Scalegain1.0 - 0.05 + 0.05
@@ -46,7 +46,7 @@ IDLE Limitgain1.0 - 0.05 + 0.05 @@ -80,12 +80,45 @@ 0 /controls/engines/idle-limit - + + + Engines At Idle Stage 1 + gain + 1.0 + + + +
+ + /engines/engine[0]/n1-actual + /engines/engine[1]/n1-actual + + 18.90 + 103.81 +
+ 0.005 + +
+ + /engines/highest-n1-buffer +
+ + + Engines At Idle Stage 2 + + + /engines/highest-n1-buffer + /controls/engines/idle-limit + + + /engines/both-at-idle + + MAN One gain 1.0 - 0.05 + 0.05 @@ -107,7 +140,7 @@ MAN Twogain1.0 - 0.05 + 0.05
@@ -129,7 +162,7 @@ MAN CMD Onegain1.0 - 0.05 + 0.05 @@ -154,7 +187,7 @@ MAN CMD Two gain 1.0 - 0.05 + 0.05 @@ -1345,7 +1378,7 @@ EPR Limit TOGA gain 1.0 - 0.05 + 0.05
@@ -1373,7 +1406,7 @@ EPR CMD TOGAgain1.0 - 0.05 + 0.05 @@ -1389,7 +1422,7 @@ EPR Limit MCT gain 1.0 - 0.05 + 0.05
@@ -1417,7 +1450,7 @@ EPR CMD MCTgain1.0 - 0.05 + 0.05 @@ -1433,7 +1466,7 @@ EPR Limit FLX gain 1.0 - 0.05 + 0.05
@@ -1461,7 +1494,7 @@ EPR CMD FLXgain1.0 - 0.05 + 0.05 @@ -1477,7 +1510,7 @@ EPR Limit CLB gain 1.0 - 0.05 + 0.05
@@ -1505,7 +1538,7 @@ EPR CMD CLBgain1.0 - 0.05 + 0.05