hydraulic system -- just initializing the properties. No actual system yet
This commit is contained in:
parent
59d89734fa
commit
64b317555b
5 changed files with 88 additions and 0 deletions
|
@ -83,6 +83,9 @@
|
|||
<itaf>
|
||||
<file>Aircraft/A320Family/Nasal/it-autoflight.nas</file>
|
||||
</itaf>
|
||||
<hyd>
|
||||
<file>Aircraft/A320Family/Nasal/hydraulics.nas</file>
|
||||
</hyd>
|
||||
<thrust>
|
||||
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
|
||||
</thrust>
|
||||
|
|
|
@ -83,6 +83,9 @@
|
|||
<itaf>
|
||||
<file>Aircraft/A320Family/Nasal/it-autoflight.nas</file>
|
||||
</itaf>
|
||||
<hyd>
|
||||
<file>Aircraft/A320Family/Nasal/hydraulics.nas</file>
|
||||
</hyd>
|
||||
<thrust>
|
||||
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
|
||||
</thrust>
|
||||
|
|
|
@ -83,6 +83,9 @@
|
|||
<itaf>
|
||||
<file>Aircraft/A320Family/Nasal/it-autoflight.nas</file>
|
||||
</itaf>
|
||||
<hyd>
|
||||
<file>Aircraft/A320Family/Nasal/hydraulics.nas</file>
|
||||
</hyd>
|
||||
<thrust>
|
||||
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
|
||||
</thrust>
|
||||
|
|
73
Nasal/hydraulics.nas
Normal file
73
Nasal/hydraulics.nas
Normal file
|
@ -0,0 +1,73 @@
|
|||
#### 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 on
|
||||
setprop("/hydraulics/yellowpumppb","0"); #0 is off, 1 is fault, 2 is on
|
||||
print("Hydraulics: Pumps and Reservoirs Initialized");
|
||||
setprop("/hydraulics/ptu",0);
|
||||
setprop("/hydraulics/ratextended",0);
|
||||
setprop("/hydraulics/ratmanualext",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/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
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
|
|
@ -207,4 +207,10 @@ setlistener("/instrumentation/altimeter/indicated-altitude-ft", func {
|
|||
|
||||
setlistener("/instrumentation/vertical-speed-indicator/indicated-speed-fpm", func {
|
||||
setprop("/instrumentation/vertical-speed-indicator/indicated-speed-fpm-pfd", getprop("/instrumentation/vertical-speed-indicator/indicated-speed-fpm") / 100);
|
||||
});
|
||||
|
||||
|
||||
# Initialize Hydraulics
|
||||
setlistener("/sim/signals/fdm-initialized", func {
|
||||
hyd.hyd_init();
|
||||
});
|
Reference in a new issue