diff --git a/A320-main.xml b/A320-main.xml index 3f69c26c..7621181e 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -1003,6 +1003,9 @@ 297 + 0 + 0 + 0 0 diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas index d2670eaa..009f37a3 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas @@ -1082,7 +1082,7 @@ var canvas_lowerECAM_cond = { }, getKeys: func() { return ["TAT","SAT","GW","UTCh","UTCm","GW-weight-unit","CargoCond","CONDHotAirValve","CONDFanFwdFault","CONDFanAftFault", - "CONDTrimValveCKPT","CONDTrimValveAFT","CONDTrimValveFWD"]; + "CONDTrimValveCKPT","CONDTrimValveAFT","CONDTrimValveFWD","CONDDuctTempCKPT","CONDDuctTempAFT","CONDDuctTempFWD","CONDTempCKPT","CONDTempAFT","CONDTempFWD"]; }, update: func() { if (systems.PNEU.Valves.hotAir.getValue() == 0) { @@ -1105,6 +1105,10 @@ var canvas_lowerECAM_cond = { me["CONDTrimValveAFT"].setRotation(systems.PNEU.Packs.trimAft.getValue() * D2R); me["CONDTrimValveFWD"].setRotation(systems.PNEU.Packs.trimFwd.getValue() * D2R); + me["CONDDuctTempCKPT"].setText(sprintf("%2.0f",math.round(systems.PNEU.Packs.cockpitDuctTemp.getValue()))); + me["CONDDuctTempAFT"].setText(sprintf("%2.0f",math.round(systems.PNEU.Packs.cabinAftDuctTemp.getValue()))); + me["CONDDuctTempFWD"].setText(sprintf("%2.0f",math.round(systems.PNEU.Packs.cabinFwdDuctTemp.getValue()))); + # fans faults not implemented me["CONDFanFwdFault"].hide(); me["CONDFanAftFault"].hide(); diff --git a/Nasal/Systems/pneumatics.nas b/Nasal/Systems/pneumatics.nas index eb1be018..562b5e59 100644 --- a/Nasal/Systems/pneumatics.nas +++ b/Nasal/Systems/pneumatics.nas @@ -55,6 +55,9 @@ var PNEU = { trimCockpit: props.globals.getNode("/ECAM/Lower/trim-cockpit-output"), trimAft: props.globals.getNode("/ECAM/Lower/trim-aft-output"), trimFwd: props.globals.getNode("/ECAM/Lower/trim-fwd-output"), + cockpitDuctTemp: props.globals.getNode("/systems/air-conditioning/temperatures/cockpit-duct"), + cabinAftDuctTemp: props.globals.getNode("/systems/air-conditioning/temperatures/cabin-aft-duct"), + cabinFwdDuctTemp: props.globals.getNode("/systems/air-conditioning/temperatures/cabin-fwd-duct"), }, Psi: { engine1: props.globals.getNode("/systems/pneumatics/psi/engine-1-psi"), diff --git a/Systems/a320-aircond.xml b/Systems/a320-aircond.xml index 2d5cc9ac..c7d469cc 100644 --- a/Systems/a320-aircond.xml +++ b/Systems/a320-aircond.xml @@ -309,6 +309,33 @@ + + + + + /controls/pneumatics/switches/hot-air + 0 + + + /systems/air-conditioning/packs/demand-temp/cockpit + /systems/air-conditioning/packs/demand-temp/cabin-aft + /systems/air-conditioning/packs/demand-temp/cabin-fwd + + /systems/air-conditioning/packs/demand-temp/cockpit + + + + + + /systems/air-conditioning/packs/demand-temp/cockpit-duct-cmd + /systems/air-conditioning/valves/trim-power-cockpit + + + + /systems/air-conditioning/packs/demand-temp/cockpit + 0.01 + + @@ -322,6 +349,46 @@ + + +
+ /controls/pneumatics/switches/temp-cabin-aft + + 0.0 18 + 0.5 24 + 1.0 30 + +
+
+
+ + + + + + /controls/pneumatics/switches/hot-air + 0 + + + /systems/air-conditioning/packs/demand-temp/cockpit + /systems/air-conditioning/packs/demand-temp/cabin-aft + /systems/air-conditioning/packs/demand-temp/cabin-fwd + + /systems/air-conditioning/packs/demand-temp/cabin-aft + + + + + + /systems/air-conditioning/packs/demand-temp/cabin-aft-duct-cmd + /systems/air-conditioning/valves/trim-power-cabin-aft + + + + /systems/air-conditioning/packs/demand-temp/cabin-aft + 0.01 + + @@ -335,6 +402,33 @@ + + + + + /controls/pneumatics/switches/hot-air + 0 + + + /systems/air-conditioning/packs/demand-temp/cockpit + /systems/air-conditioning/packs/demand-temp/cabin-aft + /systems/air-conditioning/packs/demand-temp/cabin-fwd + + /systems/air-conditioning/packs/demand-temp/cabin-fwd + + + + + + /systems/air-conditioning/packs/demand-temp/cabin-fwd-duct-cmd + /systems/air-conditioning/valves/trim-power-cabin-fwd + + + + /systems/air-conditioning/packs/demand-temp/cabin-fwd + 0.01 + + @@ -457,8 +551,37 @@ /systems/air-conditioning/valves/hot-air-power - + + + /systems/failures/pneumatics/trim-valve-cockpit eq 1 + + + /systems/electrical/bus/ac-1 ge 110 + /systems/electrical/bus/ac-2 ge 110 + /systems/electrical/bus/dc-1 ge 25 + /systems/electrical/bus/dc-2 ge 25 + + + + + + + /systems/failures/pneumatics/trim-valve-cabin-fwd eq 1 + + + /systems/electrical/bus/ac-1 ge 110 + /systems/electrical/bus/ac-2 ge 110 + /systems/electrical/bus/dc-1 ge 25 + /systems/electrical/bus/dc-2 ge 25 + + + + + + + /systems/failures/pneumatics/trim-valve-cabin-aft eq 1 + /systems/electrical/bus/ac-1 ge 110 /systems/electrical/bus/ac-2 ge 110 @@ -569,7 +692,7 @@ /systems/air-conditioning/valves/trim-cockpit-cmd - /systems/air-conditioning/valves/trim-power + /systems/air-conditioning/valves/trim-power-cockpit @@ -581,7 +704,7 @@ /systems/air-conditioning/valves/trim-aft-cmd - /systems/air-conditioning/valves/trim-power + /systems/air-conditioning/valves/trim-power-cabin-aft @@ -593,7 +716,7 @@ /systems/air-conditioning/valves/trim-fwd-cmd - /systems/air-conditioning/valves/trim-power + /systems/air-conditioning/valves/trim-power-cabin-fwd