From 5b657d94ba35e8d9654768623a30cf0691d958e1 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sat, 11 Feb 2017 00:49:01 -0500 Subject: [PATCH] a bunch of minor fixes and changes --- A320-main.xml | 4 +- Nasal/PFD_FMA.nas | 2 +- Nasal/efis.nas | 2 +- Nasal/hydraulics.notes.nas | 125 --------- README.md | 3 +- Systems/engine-timing.xml | 2 - Systems/pfd.xml | 18 +- Systems/{thrust.xml => thrust-iae.xml} | 0 Tutorials/a320-tutorials.xml | 5 - Tutorials/startup.xml | 371 ------------------------- 10 files changed, 14 insertions(+), 518 deletions(-) delete mode 100644 Nasal/hydraulics.notes.nas rename Systems/{thrust.xml => thrust-iae.xml} (100%) delete mode 100644 Tutorials/a320-tutorials.xml delete mode 100644 Tutorials/startup.xml diff --git a/A320-main.xml b/A320-main.xml index 78bc0184..22a4c231 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -4,7 +4,7 @@ - Joshua Davidson (it0uchpods/411), J Redpath (YV-LEGO) + Joshua Davidson (it0uchpods/411) @@ -41,7 +41,7 @@ Aircraft/A320Family/Systems/custom-autothrust.xml - Aircraft/A320Family/Systems/thrust.xml + Aircraft/A320Family/Systems/thrust-iae.xml Custom engine values system diff --git a/Nasal/PFD_FMA.nas b/Nasal/PFD_FMA.nas index b97aed9c..b051dd29 100644 --- a/Nasal/PFD_FMA.nas +++ b/Nasal/PFD_FMA.nas @@ -41,7 +41,7 @@ setlistener("/it-autoflight/mode/lat", func { } else if (lat == "LOC") { setprop("/modes/pfd/fma/roll-mode", "LOC"); } else if (lat == "ALGN") { - setprop("/modes/pfd/fma/roll-mode", "ALN"); + setprop("/modes/pfd/fma/roll-mode", "LAND"); } else if (lat == "T/O") { setprop("/modes/pfd/fma/roll-mode", "RWY"); } diff --git a/Nasal/efis.nas b/Nasal/efis.nas index 077269c8..f8f10c14 100644 --- a/Nasal/efis.nas +++ b/Nasal/efis.nas @@ -1,4 +1,4 @@ -# A340 EFIS controller by Joshua Davidson (it0uchpods/411). +# A320 EFIS controller by Joshua Davidson (it0uchpods/411). setlistener("sim/signals/fdm-initialized", func { setprop("instrumentation/efis/mfd/pnl_mode-num", 3); diff --git a/Nasal/hydraulics.notes.nas b/Nasal/hydraulics.notes.nas deleted file mode 100644 index 420d869c..00000000 --- a/Nasal/hydraulics.notes.nas +++ /dev/null @@ -1,125 +0,0 @@ -#### A320 Hydraulics System #### -#### Jonathan Redpath #### - -print("Hydraulics: Initializing"); - -var hyd_init = func { - setprop("/hydraulics/greenpump",0); - setprop("/hydraulics/blueelecpump",0); - setprop("/hydraulics/yellowpump",0); - setprop("/hydraulics/yellowelecpump",0); - setprop("/hydraulics/greenreservoir","14.5"); #MAX 14.5 L -- LO LVL 3.5 L -- NORM is 12L - setprop("/hydraulics/bluereservoir","6.5"); #MAX 6.5 L -- LO LVL 2.4 L -- NORM is 5L - setprop("/hydraulics/yellowreservoir","12.5"); #MAX 12.5 L -- LO LVL 3.5 L -- NORM is 10L - setprop("/hydraulics/greenpumpppb","0"); #0 is off, 1 is fault, 2 is on - setprop("/hydraulics/bluepumppb","0"); #0 is off, 1 is fault, 2 is auto - setprop("/hydraulics/yellowpumppb","0"); #0 is off, 1 is fault, 2 is on - setprop("/hydraulics/blueovrd","0"); #0 is off, 1 is on if blue pump set to AUTO - print("Hydraulics: Pumps and Reservoirs Initialized"); - setprop("/hydraulics/ptu",0); - setprop("/hydraulics/ratextended",0); - setprop("/hydraulics/ratmanguard",0); - setprop("/hydraulics/ratmanext",0); - setprop("/hydraulics/ratextended",0); - setprop("/hydraulics/ratmanguard",0); - setprop("/hydraulics/ratelecguard",0); - setprop("/hydraulics/ratelecconnect",0); - setprop("/hydraulics/ratmanext",0); - print("Hydraulics: PTU and RAT Initialized"); - setprop("/hydraulics/greenpsi","0"); - setprop("/hydraulics/bluepsi","0"); - setprop("/hydraulics/yellowpsi","0"); - setprop("/hydraulics/greenmaxpsi","3000"); - setprop("/hydraulics/bluemaxpsi","3000"); - setprop("/hydraulics/yellowmaxpsi","3000"); - setprop("/hydraulics/yellowhandpump",0); - setprop("/hydraulics/greenandyellowdiff","0"); - setprop("/hydraulics/greenaccum","0"); - setprop("/hydraulics/blueaccum","0"); - setprop("/hydraulics/yellowaccum","0"); - print("Hydraulics: System Settings Initialized"); - setprop("/hydraulics/greenfirevalve",0); - setprop("/hydraulics/blueleakvalve",0); #0 is ON ie normal 1 is OFF ie cutoff - setprop("/hydraulics/greenleakvalve",0); #0 is ON ie normal 1 is OFF ie cutoff - setprop("/hydraulics/yellowleakvalve",0); #0 is ON ie normal 1 is OFF ie cutoff - setprop("/hydraulics/yellowfirevalve",0); - setprop("/hydraulics/greentemp","0"); - setprop("/hydraulics/bluetemp","0"); - setprop("/hydraulics/yellowtemp","0"); - print("Hydraulics: Valves and Other Stuff Initialized"); - print("Hydraulics: Loaded!"); -} - -# PTU Operation -- conditions -- -# if on ground park brake off AND NWS not in 'tow' position, ie off -# if in flight: both masters ON or OFF -# the above AND 500 psi diff between green and yellow -# cargo door operation and YELLOW P/B OFF inhibits PTU operation. PTU op is not allowed for 40 sec after cargo door opr -# inhibited on first engine start attempt -# self test on second start attempt - - -# RAT -- -# powers blue system if no elec or no engines -# deployed if AC BUS 1 and AC BUS 2 are lost -# also deployed manually -# OHP -- on HYD panel powers the HYD -# OHP -- on EMER ELEC panel powers EMER GEN -# MX retracts it on ground - -# Reservoirs -- -# pressurized by ENG 1 BLEED -# if no ENG 1 pressurized by XFEED duct -# 2.4 L -- LO LVL (blue) -# 0.5 L -- LO LVL (yellow / green) - -# Yellow sys -- -# When cargo door open or closed by manual system it turns off the other yellow system except for altn braking and no 2 reverser -# makes an 'OFF' on the OHP yellow pump switch - -# Priority Valves -- -# Priority valves are there to shut off HYD availability to anything that uses a lot of HYD power if the fluid becomes low -# GRN - NWS, SLTS, FLPS, L/G -# BLU - EMER GEN, SLTS -# YLW - FLPS - -# OHP -- -# Pump PBs -- -# ENG 1 PUMP -# Green System -# OFF -- pump depressurizes -# ON -- pump pressurizes when eng 1 running -# FAULT -- over heat, lo lvl, lo reservoir pressure (not enough bleed air), or lo pump pressure (inhibited on ground -# BLUE ELEC PUMP -# Blue System -# OFF -- no electricity to blue pump -# AUTO -- pump pressurizes in flight or when one engine is running (or if BLUE PUMP OVRD on MX panel is pushed) -# FAULT -- over heat, lo lvl, lo reservoir pressure (not enough bleed air), pump overheat, or lo pump pressure (inhibited on ground -# ENG 2 PUMP -# Yellow System -# OFF -- pump depressurizes -# ON -- pump pressurizes when eng 1 running -# FAULT -- over heat, lo lvl, lo reservoir pressure (not enough bleed air), or lo pump pressure (inhibited on ground) -# YELLOW ELEC PUMP -# Yellow System -# OFF -- pump depressurizes (reverts to this if AC power is lost and restored) -# ON -- pump pressurizes if AC power avail -# FAULT -- over heat, lo lvl, lo reservoir pressure (not enough bleed air), pump overheat, or lo pump pressure (inhibited on ground) -# -# PTU PB -# AUTO -- pump armed, valves open -# OFF -- valves closes, pump off -# FAULT -- either green or yellow reservoir LO AIR PR or OVHT or LOW LVL -# RAT MAN ON PB -# Push: extend manually -# Guard: must be removed first - - -# MX PANEL -- AFT OHP -# BLUE PUMP OVRD -- -# ON -- if BLUE ELEC PUMP AUTO turn on BLUE ELEC pump -# OFF -- turn off blue elec pump -# LEAK MEASUREMENT VALVES -- -# B G Y -# ON -- normal -# OFF -- cut off to relevant flight controls in case of leak by closing electrohydrualic valve diff --git a/README.md b/README.md index 8b8b1dc1..e6cc9ddd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ # A320Family -Airbus A320 Family for FlightGear. Note: Flaps indicator still missing from ECAM, coming soon! - +Airbus A320 Family for FlightGear. Note: Flaps indicator still missing from ECAM, coming soon! CFM engines will be added once all engine related systems are mostly complete. diff --git a/Systems/engine-timing.xml b/Systems/engine-timing.xml index 8e364a6e..3e6909af 100644 --- a/Systems/engine-timing.xml +++ b/Systems/engine-timing.xml @@ -51,7 +51,6 @@ /engines/engine[0]/n1 0037 8037 - 12631 23415 110642 @@ -71,7 +70,6 @@ /engines/engine[1]/n1 0037 8037 - 12631 23415 110642 diff --git a/Systems/pfd.xml b/Systems/pfd.xml index 78170540..a3c86d72 100644 --- a/Systems/pfd.xml +++ b/Systems/pfd.xml @@ -99,7 +99,7 @@ 0.05 1.0 - /it-autoflight/settings/target-altitude-ft-actual + /it-autoflight/internal/alt instrumentation/altimeter/indicated-altitude-ft @@ -163,8 +163,8 @@ instrumentation/pfd/heading-deg - /flight-management/control/lat-ctrl - man-set + /it-autoflight/output/lat + 0 @@ -187,8 +187,8 @@ instrumentation/pfd/track-deg - /flight-management/control/lat-ctrl - man-set + /it-autoflight/output/lat + 0 @@ -213,8 +213,8 @@ instrumentation/pfd/track-diff - /flight-management/control/ver-sub - fpa + /it-autoflight/output/vert + 5 @@ -245,8 +245,8 @@ - /flight-management/control/lat-ctrl - man-set + /it-autoflight/output/lat + 0 diff --git a/Systems/thrust.xml b/Systems/thrust-iae.xml similarity index 100% rename from Systems/thrust.xml rename to Systems/thrust-iae.xml diff --git a/Tutorials/a320-tutorials.xml b/Tutorials/a320-tutorials.xml deleted file mode 100644 index 71aa80b7..00000000 --- a/Tutorials/a320-tutorials.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Tutorials/startup.xml b/Tutorials/startup.xml deleted file mode 100644 index d5ea200f..00000000 --- a/Tutorials/startup.xml +++ /dev/null @@ -1,371 +0,0 @@ - - - - - Startup - Learn how to start the engines and prepare for takeoff in this ultra-modern twinjet. - - true - - - - - controls/gear/brake-parking - true - - - controls/engines/engine[0]/throttle - 0 - - - controls/engines/engine[1]/throttle - 0 - - - engines/engine[0]/running - false - - - engines/engine[1]/running - false - - - - - Welcome aboard the Airbus A320, one of the most sophisticated narrowbody jetliners of -the modern age! - - - - In this tutorial, we will learn how to start the engines and prepare for takeoff. -First, ensure all doors are closed (click them to open/close) and all passengers and -cargo have been loaded. - - - - The electrical system is currently dormant. Reach up to the overhead panel and turn -on external power. This will give us electrical power on the ground, but will be useless -once we start moving! - - 293.0 - 30.9 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.7283 - 0.0408 - 1.0292 - 1.6000 - - - - controls/electric/external-power - - - - - - To start the engines, we need to turn on the APU (auxilary power unit). Turn the APU starter -switch on. - - 309.6 - 19.8 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.5108 - 0.0008 - 0.8908 - 1.6000 - - - - controls/APU/starter - - - - - - Turn the APU master switch on. - - 309.6 - 19.8 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.5383 - 0.0008 - 0.9092 - 1.6000 - - - - controls/APU/master-switch - - - - - - The APU will now spool up. During this time, "APU STARTING" will appear on the EICAS. When -the APU is fully started, "APU RUNNING" will appear. - - - engines/apu/running - - - - - - Turn on the APU electric generator, which will provide electrical power to the airplane -without external assistance. Turn off the external power switch, as we don't need external -power anymore. - - 297.0 - 34.5 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.7292 - -0.0442 - 1.0233 - 1.6 - - - - - controls/electric/APU-generator - - controls/electric/external-power - - - - - - - - Now let's start the engines. Set the engine start switch to ignition/start -mode (click it once). - - 294.3 - -53.7 - 0.0 - -0.5 - 2.4 - -13.9 - 21.6 - - - 4.7275 - -0.0008 - -0.1300 - 2.6667 - - - - - controls/engines/engine-start-switch - 2 - - - - - - - Wait a few seconds for ignition to begin, and then switch the engine master -switches to on. - - 4.6917 - 0.0017 - -0.1192 - 3.3833 - - - - - - controls/engines/engine[0]/cutoff - - - controls/engines/engine[1]/cutoff - - - - - - - - Now wait for the engines to spool up to 30% N1 and become responsive. - - 328.0 - -22.5 - 0.0 - -0.5 - 2.4 - -13.9 - 13.9 - - - - - engines/engine[0]/running - engines/engine[1]/running - - - - - - - Set the engine start switch back to normal mode (middle-click it once). - - 294.3 - -53.7 - 0.0 - -0.5 - 2.4 - -13.9 - 21.6 - - - 4.7275 - -0.0008 - -0.1300 - 2.6667 - - - - - controls/engines/engine-start-switch - 1 - - - - - - - Now that the engines are running, turn on the engine 1 electric generator. - - 295.2 - 33.0 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.7292 - -0.1017 - 1.0233 - 1.6 - - - - controls/electric/engine[0]/generator - - - - - - Turn on the engine 2 electric generator. - - 4.7292 - 0.0983 - 1.0233 - 1.6 - - - - controls/electric/engine[1]/generator - - - - - - We are now generating electrical power through the engines. Turn off -the APU generator, as it is no longer needed. - - - - controls/electric/APU-generator - - - - - - - We don't need the APU anymore, so shut it down; turn the APU starter -switch and the APU master switch off. - - 309.6 - 19.8 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - - - - controls/APU/starter - - - controls/APU/master-switch - - - - - - - - Now turn on the fasten seatbelt sign- just a standard precaution. ;) - - 308.3 - 18.0 - 0.0 - -0.5 - 2.4 - -13.9 - 24.1 - - - 4.5242 - 0.0200 - 0.8850 - 2.0667 - - - - controls/switches/seatbelt-sign - - - - - - One last thing before we taxi; turn on the appropriate aircraft lights. For -taxiing, strobe lights and beacon lights should be turned on and the nav/logo lights -should be set to either 1 or 2. - - - - Congratulations! You have successfully started an A320 without sending an ACARS fault message to Airbus. - - -