From 4dfacf1d0e0a3c810a6a74c870b9d51059bf4e23 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Tue, 26 Oct 2021 20:18:41 +0100 Subject: [PATCH] New ELAC power supply based on relays and timers --- Systems/a320-fbw.xml | 128 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 113 insertions(+), 15 deletions(-) diff --git a/Systems/a320-fbw.xml b/Systems/a320-fbw.xml index 1612ae69..6cf81b64 100644 --- a/Systems/a320-fbw.xml +++ b/Systems/a320-fbw.xml @@ -250,6 +250,88 @@ + + + + + + /systems/hydraulic/blue-psi ge 1500 + /systems/hydraulic/green-psi ge 1500 + /systems/hydraulic/yellow-psi ge 1500 + + + + + + + + /systems/fctl/elac1 eq 1 + + + + + /systems/fctl/power-supply/elac1/relay-condition + 100 + 0.03333333333 + + + + + + /systems/electrical/bus/sub-bus/dc-hot-1-703 ge 25 + /systems/fctl/power-supply/elac1/relay-timer ne 0 + + + + + + + /systems/fctl/power-supply/elac2/relay-power eq 1 + /systems/electrical/bus/sub-bus/dc-2-202 lt 25 + + + /systems/fctl/elac2 eq 1 + /systems/electrical/bus/sub-bus/dc-2-202 lt 25 + + + + + + + + + /systems/hydraulic/blue-psi lt 1500 + /gear/gear[1]/position-norm ne 0 + + /systems/electrical/some-electric-thingie/speed-abv-100 eq 1 + /systems/fctl/power-supply/elac2/relay-power eq 1 + + + + + /systems/fctl/power-supply/elac2/relay-power + 0.03333333333 + 100 + + + + + + /systems/electrical/bus/sub-bus/dc-hot-2-704 ge 25 + /systems/fctl/power-supply/elac2/relay-power eq 1 + + /systems/fctl/power-supply/elac2/relay-power-override eq 1 + /systems/fctl/power-supply/elac2/relay-timer ne 1 + + + + + + @@ -259,19 +341,27 @@ /systems/fctl/elac1 eq 0 - + + + + + /systems/electrical/bus/dc-ess ge 25 + /systems/fctl/power-supply/elac1/relay ge 25 + + + + + /systems/fctl/power-supply/elac1/has-power + 100 + 4 + + /controls/fctl/switches/elac1 eq 1 /systems/failures/fctl/elac1 eq 0 - - /systems/electrical/bus/dc-ess ge 25 - - /systems/electrical/bus/sub-bus/dc-hot-1-703 ge 25 - /gear/gear[1]/wow eq 0 - - + /systems/fctl/power-supply/elac1/has-power-output ne 0 @@ -283,18 +373,26 @@ + + + + /systems/electrical/bus/sub-bus/dc-2-202 ge 25 + /systems/fctl/power-supply/elac2/relay ge 25 + + + + + /systems/fctl/power-supply/elac2/has-power + 100 + 4 + + /controls/fctl/switches/elac2 eq 1 /systems/failures/fctl/elac2 eq 0 - - /systems/electrical/bus/sub-bus/dc-2-202 ge 25 - - /systems/electrical/bus/sub-bus/dc-hot-2-704 ge 25 - /gear/gear[1]/wow eq 0 - - + /systems/fctl/power-supply/elac2/has-power-output ne 0