From 204a161fe4f75440d3096c1338f612800fd2a30e Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sun, 21 Jun 2020 20:30:10 +0100 Subject: [PATCH] Many bugfixes for ECAMS2 --- Systems/a320-aircond.xml | 16 +++++++++++++++- Systems/a320-fwc.xml | 36 +++++++++++++++++++++++++++++------- Systems/ecam-proprules.xml | 8 ++++---- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/Systems/a320-aircond.xml b/Systems/a320-aircond.xml index 2e501b70..1e5c58f3 100644 --- a/Systems/a320-aircond.xml +++ b/Systems/a320-aircond.xml @@ -804,7 +804,6 @@ /systems/air-conditioning/packs/pack-1-outlet-temp ge 260 - /ECAM/warnings/logic/pack-1-2-fault eq 0 @@ -812,6 +811,21 @@ /systems/air-conditioning/packs/pack-2-outlet-temp ge 260 + + + + + + + /systems/air-conditioning/warnings/pack-1-ovht eq 1 + /ECAM/warnings/logic/pack-1-2-fault eq 0 + + + + + + + /systems/air-conditioning/warnings/pack-2-ovht eq 1 /ECAM/warnings/logic/pack-1-2-fault eq 0 diff --git a/Systems/a320-fwc.xml b/Systems/a320-fwc.xml index 537e15e8..a6148bad 100644 --- a/Systems/a320-fwc.xml +++ b/Systems/a320-fwc.xml @@ -260,7 +260,7 @@ Timer for the ECAM system - /ECAM/warnings/logic/pack-2-fault-closed-input + /ECAM/warnings/logic/pack-2-disagree-input 100 0.1 @@ -956,6 +956,28 @@ + + + + /ECAM/warning-phase eq 10 + + /ECAM/warnings/logic/pack-1-pulse eq 1 + /controls/pneumatics/switches/pack-1 eq 1 + + + + + + + + /ECAM/warning-phase eq 10 + + /ECAM/warnings/logic/pack-2-pulse eq 1 + /controls/pneumatics/switches/pack-2 eq 1 + + + + @@ -1128,7 +1150,7 @@ - /ECAM/warnings/timer/pack-1-fault-5 eq 1 + /ECAM/warnings/logic/pack-1-fault-input eq 1 /ECAM/warnings/logic/pack-1-2-fault eq 0 @@ -1136,7 +1158,7 @@ - /ECAM/warnings/timer/pack-2-fault-5 eq 1 + /ECAM/warnings/logic/pack-2-fault-input eq 1 /ECAM/warnings/logic/pack-1-2-fault eq 0 @@ -1144,12 +1166,12 @@ + /ECAM/warnings/logic/bleed-1-avail eq 1 + /ECAM/warning-phase eq 6 /controls/pneumatics/switches/pack-1 eq 0 /ECAM/warnings/flipflop/pack-1-ovht eq 0 /ECAM/warnings/flipflop/pack-1-off eq 0 /ECAM/warnings/logic/bleed-1-low-temp-flipflop-output eq 0 - /ECAM/warnings/logic/bleed-1-avail eq 1 - /ECAM/warning-phase eq 6 @@ -1157,12 +1179,12 @@ + /ECAM/warnings/logic/bleed-2-avail eq 1 + /ECAM/warning-phase eq 6 /controls/pneumatics/switches/pack-2 eq 0 /ECAM/warnings/flipflop/pack-2-ovht eq 0 /ECAM/warnings/flipflop/pack-2-off eq 0 /ECAM/warnings/logic/bleed-2-low-temp-flipflop-output eq 0 - /ECAM/warnings/logic/bleed-2-avail eq 1 - /ECAM/warning-phase eq 6 diff --git a/Systems/ecam-proprules.xml b/Systems/ecam-proprules.xml index 37670c50..c97243b3 100644 --- a/Systems/ecam-proprules.xml +++ b/Systems/ecam-proprules.xml @@ -732,7 +732,7 @@ RS - /systems/air-conditioning/warnings/pack-1-ovht + /systems/air-conditioning/warnings/pack-1-ovht-fault /ECAM/warnings/logic/pack-1-ovht-reset @@ -743,7 +743,7 @@ RS - /systems/air-conditioning/warnings/pack-2-ovht + /systems/air-conditioning/warnings/pack-2-ovht-fault /ECAM/warnings/logic/pack-2-ovht-reset @@ -757,7 +757,7 @@ /ECAM/warnings/timer/pack-1-fault-5 - /ECAM/warnings/logic/pack-1-ovht-reset + /ECAM/warnings/logic/pack-1-off-reset /ECAM/warnings/flipflop/pack-1-off @@ -768,7 +768,7 @@ /ECAM/warnings/timer/pack-2-fault-5 - /ECAM/warnings/logic/pack-2-ovht-reset + /ECAM/warnings/logic/pack-2-off-reset /ECAM/warnings/flipflop/pack-2-off