From 59c092a5bd485d26a8846305be5be012d873a0b4 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Tue, 13 Oct 2020 23:19:06 +0100 Subject: [PATCH] IDG improvements: 1) restrict disconnection with underspeed condition (14%) 2) Fire pushbutton should deactivate, not disconnect IDG. Therefore, it opens the GCR rather than setting input rpm to zero. 3) Generator comes online at 52% N2 (4730 RPM) 4) Wider range of acceptable frequencies per AMM 5) Gen faults latch -- allows for potential restoration upon reset of the generator switch 6) CSD: restrict rpm range between 4500 -- 9120 rpm --- Models/Instruments/OHpanel/OHpanel.xml | 10 +++- Systems/a320-electrical.xml | 78 +++++++++++++++++++------- 2 files changed, 67 insertions(+), 21 deletions(-) diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index fbdf5f3a..773b2bf1 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -3134,7 +3134,11 @@ false - + + + /engines/engine[0]/n2-actual + 14.0 + systems/electrical/bus/dc-ess 25 @@ -3634,6 +3638,10 @@ + + /engines/engine[1]/n2-actual + 14.0 + systems/electrical/bus/dc-ess 25 diff --git a/Systems/a320-electrical.xml b/Systems/a320-electrical.xml index f646860a..9fa11456 100644 --- a/Systems/a320-electrical.xml +++ b/Systems/a320-electrical.xml @@ -361,7 +361,6 @@ - /controls/engines/engine[0]/fire-btn eq 1 /systems/failures/electrical/idg-1 eq 1 /controls/electrical/switches/idg-1-disc eq 0 @@ -380,8 +379,8 @@ - 1.3 - 2.8 + 1.315 + 2.667 @@ -423,7 +422,8 @@ /systems/failures/electrical/gen-1 ne 1 - /systems/electrical/sources/idg-1/csd-rpm ge 11500 + /controls/engines/engine[0]/fire-btn eq 0 + /systems/electrical/sources/idg-1/drive-rpm ge 4730 @@ -446,7 +446,6 @@ - /controls/engines/engine[1]/fire-btn eq 1 /systems/failures/electrical/idg-2 eq 1 /controls/electrical/switches/idg-2-disc eq 0 @@ -465,8 +464,8 @@ - 1.3 - 2.8 + 1.315 + 2.667 @@ -508,7 +507,8 @@ /systems/failures/electrical/gen-2 ne 1 - /systems/electrical/sources/idg-2/csd-rpm ge 11500 + /controls/engines/engine[1]/fire-btn eq 0 + /systems/electrical/sources/idg-2/drive-rpm ge 4730 @@ -770,14 +770,30 @@ + + + + /systems/acconfig/autoconfig-running eq 1 + /sim/time/elapsed-sec lt 10 + + + /systems/electrical/sources/idg-1/gcu-1-fault eq 1 + /controls/electrical/switches/gen-1 eq 1 + + + /systems/electrical/sources/idg-1/output-volt lt 110 + /systems/electrical/sources/idg-1/output-volt gt 130 + /systems/electrical/sources/idg-1/output-hertz lt 363 + /systems/electrical/sources/idg-1/output-hertz gt 433 + /systems/electrical/sources/idg-1/drive-rpm lt 4730 + + + /controls/electrical/switches/gen-1 eq 1 - /systems/electrical/sources/idg-1/output-volt ge 110 - /systems/electrical/sources/idg-1/output-volt le 130 - /systems/electrical/sources/idg-1/output-hertz ge 390 - /systems/electrical/sources/idg-1/output-hertz le 410 + /systems/electrical/sources/idg-1/gcu-1-fault eq 0 /controls/electrical/switches/gen-1-line-contactor ne 1 @@ -789,14 +805,30 @@ + + + + /systems/acconfig/autoconfig-running eq 1 + /sim/time/elapsed-sec lt 10 + + + /systems/electrical/sources/idg-2/gcu-2-fault eq 1 + /controls/electrical/switches/gen-2 eq 1 + + + /systems/electrical/sources/idg-2/output-volt lt 110 + /systems/electrical/sources/idg-2/output-volt gt 130 + /systems/electrical/sources/idg-2/output-hertz lt 363 + /systems/electrical/sources/idg-2/output-hertz gt 433 + /systems/electrical/sources/idg-2/drive-rpm lt 4730 + + + /controls/electrical/switches/gen-2 eq 1 - /systems/electrical/sources/idg-2/output-volt ge 110 - /systems/electrical/sources/idg-2/output-volt lt 130 - /systems/electrical/sources/idg-2/output-hertz ge 390 - /systems/electrical/sources/idg-2/output-hertz le 410 + /systems/electrical/sources/idg-2/gcu-2-fault eq 0 @@ -1790,7 +1822,10 @@ /controls/electrical/switches/gen-1 eq 1 - /systems/electrical/relay/gen-1-glc/contact-pos eq 0 + + /systems/electrical/sources/idg-1/gcu-1-fault eq 1 + /systems/electrical/relay/gen-1-glc/contact-pos eq 0 + @@ -1798,7 +1833,10 @@ /controls/electrical/switches/gen-2 eq 1 - /systems/electrical/relay/gen-2-glc/contact-pos eq 0 + + /systems/electrical/sources/idg-2/gcu-2-fault eq 1 + /systems/electrical/relay/gen-2-glc/contact-pos eq 0 + @@ -1806,7 +1844,7 @@ /systems/failures/electrical/idg-1 eq 1 - /systems/electrical/sources/idg-1/csd-rpm gt 2000 + /systems/electrical/sources/idg-1/drive-rpm gt 2000 /controls/electrical/switches/idg-1-disc-momentary eq 1 @@ -1817,7 +1855,7 @@ /systems/failures/electrical/idg-2 eq 1 - /systems/electrical/sources/idg-2/csd-rpm gt 2000 + /systems/electrical/sources/idg-2/drive-rpm gt 2000 /controls/electrical/switches/idg-2-disc-momentary eq 1