From aed192c7ae7ebd26dc9e79ff37c65d1d095e0f32 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Wed, 14 Oct 2020 15:08:29 +0100 Subject: [PATCH] Same thing for APU --- Models/Instruments/OHpanel/OHpanel.xml | 5 +- Systems/a320-electrical.xml | 98 +++++++++++++++++++------- 2 files changed, 74 insertions(+), 29 deletions(-) diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index c978dde7..eb0764d4 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -3338,10 +3338,7 @@ false - - systems/electrical/bus/dc-bat - 25 - + /systems/electrical/sources/apu/gcu-powered property-toggle controls/electrical/switches/apu diff --git a/Systems/a320-electrical.xml b/Systems/a320-electrical.xml index 6c1f4771..dcb0067b 100644 --- a/Systems/a320-electrical.xml +++ b/Systems/a320-electrical.xml @@ -525,27 +525,15 @@ - + /engines/engine[2]/n1 240.34 - - - - /controls/apu/fire-btn eq 1 - - - - - /systems/electrical/sources/apu/drive-rpm-input - /systems/electrical/sources/apu/working - - - /systems/electrical/sources/apu/drive-rpm-input + /systems/electrical/sources/apu/drive-rpm 115 24000 @@ -558,7 +546,7 @@ - /systems/electrical/sources/apu/drive-rpm-input + /systems/electrical/sources/apu/drive-rpm 2 120 @@ -569,9 +557,10 @@ + /controls/apu/fire-btn ne 1 /controls/electrical/switches/apu eq 1 /systems/failures/electrical/apu ne 1 - /systems/electrical/sources/apu/drive-rpm-input ge 23000 + /systems/electrical/sources/apu/drive-rpm ge 22800 @@ -934,16 +923,70 @@ + + + + /systems/electrical/bus/dc-bat ge 25 + /systems/electrical/sources/apu/pmg-volt ge 101.5 + + + + + + + /systems/electrical/sources/apu/gcu-voltage-trip eq 1 + /controls/electrical/switches/apu eq 1 + + + /systems/electrical/relay/apu-glc/contact-pos eq 1 + + /systems/electrical/sources/apu/output-volt lt 101.5 + /systems/electrical/sources/apu/output-volt gt 130 + + + + + + + + /systems/electrical/sources/apu/gcu-frequency-trip eq 1 + /controls/electrical/switches/apu eq 1 + + + /systems/electrical/relay/apu-glc/contact-pos eq 1 + + /systems/electrical/sources/apu/output-hertz lt 361 + /systems/electrical/sources/apu/output-hertz gt 435 + + + + + + + + /systems/acconfig/autoconfig-running eq 1 + /sim/time/elapsed-sec lt 10 + + + /systems/electrical/sources/apu/gcu-voltage-trip eq 1 + /systems/electrical/sources/apu/gcu-frequency-trip eq 1 + + + + + /sim/time/elapsed-sec lt 10 + /controls/apu/master eq 1 /controls/electrical/switches/apu eq 1 - /systems/electrical/sources/apu/output-volt ge 110 - /systems/electrical/sources/apu/output-volt lt 130 - /systems/electrical/sources/apu/output-hertz ge 390 - /systems/electrical/sources/apu/output-hertz le 410 + /systems/electrical/sources/apu/output-volt ge 101.5 + /systems/electrical/sources/apu/output-volt le 130 + /systems/electrical/sources/apu/output-hertz ge 361 + /systems/electrical/sources/apu/output-hertz le 435 /systems/electrical/relay/ext-epc/contact-pos eq 0 + /systems/electrical/sources/apu/gcu-fault ne 1 @@ -1870,11 +1913,16 @@ /controls/electrical/switches/apu eq 1 - /systems/electrical/relay/apu-glc/contact-pos eq 0 - /systems/electrical/relay/ext-epc/contact-pos eq 0 - /systems/electrical/relay/gen-1-glc/contact-pos eq 0 - /systems/electrical/relay/gen-2-glc/contact-pos eq 0 - /systems/electrical/sources/apu/drive-rpm gt 2000 + + /systems/electrical/sources/apu/gcu-fault eq 1 + + /systems/electrical/relay/apu-glc/contact-pos eq 0 + /systems/electrical/relay/ext-epc/contact-pos eq 0 + /systems/electrical/relay/gen-1-glc/contact-pos eq 0 + /systems/electrical/relay/gen-2-glc/contact-pos eq 0 + + + /systems/electrical/sources/apu/drive-rpm gt 22800