Merge branch 'ECAM-sys-develop' of https://github.com/it0uchpods/IDG-A32X into ECAM-sys-develop
This commit is contained in:
commit
8eb1cc72de
73 changed files with 179240 additions and 50516 deletions
|
@ -334,7 +334,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</ground_reactions>
|
||||
|
||||
<propulsion>
|
||||
<engine file="cfm56_5a1">
|
||||
<engine file="cfm56_5a1_1">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> -5.755 </y>
|
||||
|
@ -360,7 +360,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</thruster>
|
||||
</engine>
|
||||
|
||||
<engine file="cfm56_5a1">
|
||||
<engine file="cfm56_5a1_2">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> 5.755 </y>
|
||||
|
@ -451,9 +451,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="pushback"/>
|
||||
<system file="fuel"/>
|
||||
<system file="electrical" />
|
||||
<system file="glass-effect1"/>
|
||||
<system file="fmgc" />
|
||||
<system file="a320-fcs"/>
|
||||
|
||||
<flight_control name="none"/>
|
||||
|
|
|
@ -334,7 +334,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</ground_reactions>
|
||||
|
||||
<propulsion>
|
||||
<engine file="cfm56_5b4">
|
||||
<engine file="cfm56_5b4_1">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> -5.755 </y>
|
||||
|
@ -360,7 +360,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</thruster>
|
||||
</engine>
|
||||
|
||||
<engine file="cfm56_5b4">
|
||||
<engine file="cfm56_5b4_2">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> 5.755 </y>
|
||||
|
@ -451,9 +451,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="pushback"/>
|
||||
<system file="fuel"/>
|
||||
<system file="electrical" />
|
||||
<system file="glass-effect1"/>
|
||||
<system file="fmgc" />
|
||||
<system file="a320-fcs"/>
|
||||
|
||||
<flight_control name="none"/>
|
||||
|
|
|
@ -334,7 +334,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</ground_reactions>
|
||||
|
||||
<propulsion>
|
||||
<engine file="v2527_a5">
|
||||
<engine file="v2527_a5_1">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> -5.755 </y>
|
||||
|
@ -360,7 +360,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</thruster>
|
||||
</engine>
|
||||
|
||||
<engine file="v2527_a5">
|
||||
<engine file="v2527_a5_2">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> 5.755 </y>
|
||||
|
@ -451,9 +451,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="pushback"/>
|
||||
<system file="fuel"/>
|
||||
<system file="electrical" />
|
||||
<system file="glass-effect1"/>
|
||||
<system file="fmgc" />
|
||||
<system file="a320-fcs"/>
|
||||
|
||||
<flight_control name="none"/>
|
||||
|
|
|
@ -112,43 +112,39 @@
|
|||
<electrical>
|
||||
<path></path>
|
||||
</electrical>
|
||||
<!-- 0 is FADEC -->
|
||||
<autopilot n="1">
|
||||
<path>Aircraft/IDG-A32X/Systems/hydraulics.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="2">
|
||||
<path>Aircraft/IDG-A32X/Systems/fbw-drivers.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="3">
|
||||
<path>Aircraft/IDG-A32X/Systems/fbw-roll-yaw.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="4">
|
||||
<path>Aircraft/IDG-A32X/Systems/fbw-pitch.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="5">
|
||||
<autopilot n="3">
|
||||
<path>Aircraft/IDG-A32X/Systems/fmgc-drivers.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="6">
|
||||
<autopilot n="4">
|
||||
<path>Aircraft/IDG-A32X/Systems/fmgc-roll-yaw.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="7">
|
||||
<autopilot n="5">
|
||||
<path>Aircraft/IDG-A32X/Systems/fmgc-pitch.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="8">
|
||||
<autopilot n="6">
|
||||
<path>Aircraft/IDG-A32X/Systems/fmgc-thrust.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="9">
|
||||
<autopilot n="7">
|
||||
<path>Aircraft/IDG-A32X/Systems/libraries.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="11">
|
||||
<autopilot n="8">
|
||||
<path>Aircraft/IDG-A32X/Systems/upper-ecam.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="12">
|
||||
<autopilot n="9">
|
||||
<path>Aircraft/IDG-A32X/Systems/lower-ecam.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="13">
|
||||
<!-- 10 is sound -->
|
||||
<autopilot n="11">
|
||||
<path>Aircraft/IDG-A32X/Systems/pfd.xml</path>
|
||||
</autopilot>
|
||||
<autopilot n="14">
|
||||
<autopilot n="12">
|
||||
<path>Aircraft/IDG-A32X/Systems/zoom-views.xml</path>
|
||||
</autopilot>
|
||||
</systems>
|
||||
|
@ -359,6 +355,8 @@
|
|||
<z-offset-min-m type="float">30.0</z-offset-min-m>
|
||||
<z-offset-max-m type="float">300.0</z-offset-max-m>
|
||||
</current-view>
|
||||
|
||||
<minimum-fg-version>2018.1.0</minimum-fg-version>
|
||||
</sim>
|
||||
|
||||
<consumables>
|
||||
|
@ -415,6 +413,8 @@
|
|||
<output>
|
||||
<ap1>0</ap1>
|
||||
<ap2>0</ap2>
|
||||
<lat>0</lat>
|
||||
<vert>0</vert>
|
||||
</output>
|
||||
<custom>
|
||||
<show-hdg>0</show-hdg>
|
||||
|
@ -429,6 +429,12 @@
|
|||
<it-fbw n="0">
|
||||
<alpha-hld type="bool">0</alpha-hld>
|
||||
<law type="int">0</law>
|
||||
<roll-lim type="double">33</roll-lim>
|
||||
<roll-back type="bool">0</roll-back>
|
||||
<protections n="0">
|
||||
<overspeed type="bool">0</overspeed>
|
||||
<overspeed-roll-back type="bool">0</overspeed-roll-back>
|
||||
</protections>
|
||||
</it-fbw>
|
||||
|
||||
<apu>
|
||||
|
@ -484,7 +490,7 @@
|
|||
<fault type="bool">false</fault>
|
||||
</ir>
|
||||
<onbat type="bool">false</onbat>
|
||||
<skip userarchive="y" type="bool">0</skip>
|
||||
<skip type="bool">0</skip>
|
||||
</adirs>
|
||||
<APU>
|
||||
<fire-btn type="bool">0</fire-btn>
|
||||
|
@ -537,13 +543,11 @@
|
|||
<aileron-left>0.5</aileron-left>
|
||||
<aileron-right>-0.5</aileron-right>
|
||||
<elevator-input>0</elevator-input>
|
||||
<elevator-fbw>0</elevator-fbw>
|
||||
<elevator-left>0.1</elevator-left>
|
||||
<elevator-right>0.1</elevator-right>
|
||||
<elevator-trim-fdm>0.0</elevator-trim-fdm>
|
||||
<flap-pos type="int">0</flap-pos>
|
||||
<ground-spoilers-armed type="bool">0</ground-spoilers-armed>
|
||||
<roll-fbw>0</roll-fbw>
|
||||
<rudder-trim-fdm>0.0</rudder-trim-fdm>
|
||||
<spoiler-l1>0.0</spoiler-l1>
|
||||
<spoiler-l2>0.0</spoiler-l2>
|
||||
|
@ -631,7 +635,6 @@
|
|||
<tray n="0">
|
||||
<lefttrayext type="double">0</lefttrayext>
|
||||
<righttrayext type="double">0</righttrayext>
|
||||
<suprise userarchive="y" type="bool">0</suprise>
|
||||
</tray>
|
||||
</controls>
|
||||
|
||||
|
@ -729,7 +732,8 @@
|
|||
|
||||
<options n="0">
|
||||
<system n="0">
|
||||
<keyboard-mode userarchive="y" type="bool">0</keyboard-mode>
|
||||
<keyboard-mode type="bool">0</keyboard-mode>
|
||||
<laptop-mode type="bool">0</laptop-mode>
|
||||
</system>
|
||||
<steep-ils type="bool">0</steep-ils>
|
||||
<steep-ils-avail type="bool">0</steep-ils-avail>
|
||||
|
@ -995,8 +999,20 @@
|
|||
</mouse>
|
||||
</mice>
|
||||
<keyboard>
|
||||
<key n="4">
|
||||
<name>CTRL-d</name>
|
||||
<desc>Autothrottle Disconnect</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/it-autoflight/output/athr") == 1) {
|
||||
setprop("/it-autoflight/input/athr", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="24">
|
||||
<name>Ctrl-X</name>
|
||||
<name>Ctrl-x</name>
|
||||
<desc>Reset zoom to default</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
|
@ -1224,6 +1240,21 @@
|
|||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="68">
|
||||
<name>D</name>
|
||||
<desc>Autopilot Disconnect</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/it-autoflight/output/ap1") == 1) {
|
||||
setprop("/it-autoflight/input/ap1", 0);
|
||||
}
|
||||
if (getprop("/it-autoflight/output/ap2") == 1) {
|
||||
setprop("/it-autoflight/input/ap2", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="88">
|
||||
<name>X</name>
|
||||
<desc>Increase field of view</desc>
|
||||
|
|
|
@ -334,7 +334,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</ground_reactions>
|
||||
|
||||
<propulsion>
|
||||
<engine file="leap1a26">
|
||||
<engine file="leap1a26_1">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> -5.755 </y>
|
||||
|
@ -360,7 +360,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</thruster>
|
||||
</engine>
|
||||
|
||||
<engine file="leap1a26">
|
||||
<engine file="leap1a26_2">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> 5.755 </y>
|
||||
|
@ -451,9 +451,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="pushback"/>
|
||||
<system file="fuel"/>
|
||||
<system file="electrical" />
|
||||
<system file="glass-effect1"/>
|
||||
<system file="fmgc" />
|
||||
<system file="a320-fcs"/>
|
||||
|
||||
<flight_control name="none"/>
|
||||
|
|
|
@ -334,7 +334,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</ground_reactions>
|
||||
|
||||
<propulsion>
|
||||
<engine file="pw1127g">
|
||||
<engine file="pw1127g_1">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> -5.755 </y>
|
||||
|
@ -360,7 +360,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
</thruster>
|
||||
</engine>
|
||||
|
||||
<engine file="pw1127g">
|
||||
<engine file="pw1127g_2">
|
||||
<location unit="M">
|
||||
<x> 14.3962788 </x>
|
||||
<y> 5.755 </y>
|
||||
|
@ -451,9 +451,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
|
|||
|
||||
<system file="pushback"/>
|
||||
<system file="fuel"/>
|
||||
<system file="electrical" />
|
||||
<system file="glass-effect1"/>
|
||||
<system file="fmgc" />
|
||||
<system file="a320-fcs"/>
|
||||
|
||||
<flight_control name="none"/>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
<name>aircraft-config-about</name>
|
||||
<layout>vbox</layout>
|
||||
<pref-width>800</pref-width>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
@ -66,7 +65,7 @@
|
|||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Pre V1.0, Shared Libraries 1.4.5</label>
|
||||
<label>Pre V1.0, Shared Libraries 1.5.0</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
|
|
@ -81,10 +81,20 @@ failReset();
|
|||
setprop("/systems/acconfig/autoconfig-running", 0);
|
||||
setprop("/systems/acconfig/spinning", 0);
|
||||
setprop("/systems/acconfig/spin", "-");
|
||||
setprop("/systems/acconfig/new-revision", "");
|
||||
setprop("/systems/acconfig/options/revision", 0);
|
||||
setprop("/systems/acconfig/new-revision", 0);
|
||||
setprop("/systems/acconfig/out-of-date", 0);
|
||||
setprop("/systems/acconfig/mismatch-code", "0x000");
|
||||
setprop("/systems/acconfig/mismatch-reason", "XX");
|
||||
setprop("/systems/acconfig/options/keyboard-mode", 0);
|
||||
setprop("/systems/acconfig/options/laptop-mode", 0);
|
||||
setprop("/systems/acconfig/options/adirs-skip", 0);
|
||||
setprop("/systems/acconfig/options/welcome-skip", 0);
|
||||
setprop("/systems/acconfig/options/pfd-rate", 1);
|
||||
setprop("/systems/acconfig/options/nd-rate", 1);
|
||||
setprop("/systems/acconfig/options/uecam-rate", 1);
|
||||
setprop("/systems/acconfig/options/lecam-rate", 1);
|
||||
setprop("/systems/acconfig/options/iesi-rate", 1);
|
||||
var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/IDG-A32X/AircraftConfig/main.xml");
|
||||
var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Aircraft/IDG-A32X/AircraftConfig/welcome.xml");
|
||||
var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/IDG-A32X/AircraftConfig/psload.xml");
|
||||
|
@ -95,14 +105,17 @@ var fbw_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fbw/dialog", "Aircraft/ID
|
|||
var fail_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fail/dialog", "Aircraft/IDG-A32X/AircraftConfig/fail.xml");
|
||||
var about_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/about/dialog", "Aircraft/IDG-A32X/AircraftConfig/about.xml");
|
||||
var update_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/update/dialog", "Aircraft/IDG-A32X/AircraftConfig/update.xml");
|
||||
var updated_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/updated/dialog", "Aircraft/IDG-A32X/AircraftConfig/updated.xml");
|
||||
var error_mismatch = gui.Dialog.new("sim/gui/dialogs/acconfig/error/mismatch/dialog", "Aircraft/IDG-A32X/AircraftConfig/error-mismatch.xml");
|
||||
var groundservices_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/groundsrvc/dialog", "Aircraft/IDG-A32X/AircraftConfig/groundservices.xml");
|
||||
var du_quality = gui.Dialog.new("sim/gui/dialogs/acconfig/du-quality/dialog", "Aircraft/IDG-A32X/AircraftConfig/du-quality.xml");
|
||||
spinning.start();
|
||||
init_dlg.open();
|
||||
|
||||
http.load("https://raw.githubusercontent.com/it0uchpods/IDG-A32X/master/revision.txt").done(func(r) setprop("/systems/acconfig/new-revision", r.response));
|
||||
var revisionFile = (getprop("/sim/aircraft-dir")~"/revision.txt");
|
||||
var current_revision = io.readfile(revisionFile);
|
||||
setprop("/systems/acconfig/revision", current_revision);
|
||||
|
||||
setlistener("/systems/acconfig/new-revision", func {
|
||||
if (getprop("/systems/acconfig/new-revision") > current_revision) {
|
||||
|
@ -113,20 +126,22 @@ setlistener("/systems/acconfig/new-revision", func {
|
|||
});
|
||||
|
||||
var mismatch_chk = func {
|
||||
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201730) {
|
||||
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201810) {
|
||||
setprop("/systems/acconfig/mismatch-code", "0x121");
|
||||
setprop("/systems/acconfig/mismatch-reason", "FGFS version older than 2017.3.0, please update FlightGear.");
|
||||
setprop("/systems/acconfig/mismatch-reason", "FGFS version is too old! Please update FlightGear to at least 2018.1.0.");
|
||||
if (getprop("/systems/acconfig/out-of-date") != 1) {
|
||||
error_mismatch.open();
|
||||
}
|
||||
print("Mismatch: 0x121");
|
||||
welcome_dlg.close();
|
||||
} else if (getprop("/gear/gear[0]/wow") == 0 or getprop("/position/altitude-ft") >= 15000) {
|
||||
setprop("/systems/acconfig/mismatch-code", "0x223");
|
||||
setprop("/systems/acconfig/mismatch-reason", "The aircraft position is invalid for initialization. Check your scenery.");
|
||||
setprop("/systems/acconfig/mismatch-reason", "Preposterous configuration detected for initialization. Check your position or scenery.");
|
||||
if (getprop("/systems/acconfig/out-of-date") != 1) {
|
||||
error_mismatch.open();
|
||||
}
|
||||
print("Mismatch: 0x223");
|
||||
welcome_dlg.close();
|
||||
} else if (getprop("/systems/acconfig/libraries-loaded") != 1) {
|
||||
setprop("/systems/acconfig/mismatch-code", "0x247");
|
||||
setprop("/systems/acconfig/mismatch-reason", "System files are missing or damaged. Please download a new copy of the aircraft.");
|
||||
|
@ -134,6 +149,7 @@ var mismatch_chk = func {
|
|||
error_mismatch.open();
|
||||
}
|
||||
print("Mismatch: 0x247");
|
||||
welcome_dlg.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -144,18 +160,30 @@ setlistener("/sim/signals/fdm-initialized", func {
|
|||
print("System: The IDG-A32X is out of date!");
|
||||
}
|
||||
mismatch_chk();
|
||||
if (getprop("/systems/acconfig/out-of-date") != 1 and getprop("/systems/acconfig/mismatch-code") == "0x000") {
|
||||
readSettings();
|
||||
if (getprop("/systems/acconfig/options/revision") < current_revision) {
|
||||
updated_dlg.open();
|
||||
} else if (getprop("/systems/acconfig/out-of-date") != 1 and getprop("/systems/acconfig/mismatch-code") == "0x000" and getprop("/systems/acconfig/options/welcome-skip") != 1) {
|
||||
welcome_dlg.open();
|
||||
}
|
||||
setprop("/systems/acconfig/options/revision", current_revision);
|
||||
writeSettings();
|
||||
spinning.stop();
|
||||
});
|
||||
|
||||
var saveSettings = func {
|
||||
aircraft.data.add("/options/system/keyboard-mode", "/controls/adirs/skip", "/controls/tray/surprise");
|
||||
aircraft.data.save();
|
||||
var readSettings = func {
|
||||
io.read_properties(getprop("/sim/fg-home") ~ "/Export/IDG-A32X-config.xml", "/systems/acconfig/options");
|
||||
setprop("/options/system/keyboard-mode", getprop("/systems/acconfig/options/keyboard-mode"));
|
||||
setprop("/options/system/laptop-mode", getprop("/systems/acconfig/options/laptop-mode"));
|
||||
setprop("/controls/adirs/skip", getprop("/systems/acconfig/options/adirs-skip"));
|
||||
}
|
||||
|
||||
saveSettings();
|
||||
var writeSettings = func {
|
||||
setprop("/systems/acconfig/options/keyboard-mode", getprop("/options/system/keyboard-mode"));
|
||||
setprop("/systems/acconfig/options/laptop-mode", getprop("/options/system/laptop-mode"));
|
||||
setprop("/systems/acconfig/options/adirs-skip", getprop("/controls/adirs/skip"));
|
||||
io.write_properties(getprop("/sim/fg-home") ~ "/Export/IDG-A32X-config.xml", "/systems/acconfig/options");
|
||||
}
|
||||
|
||||
################
|
||||
# Panel States #
|
||||
|
@ -316,14 +344,14 @@ var taxi = func {
|
|||
setprop("/controls/APU/master", 1);
|
||||
setprop("/controls/APU/start", 1);
|
||||
var apu_rpm_chk = setlistener("/systems/apu/rpm", func {
|
||||
if (getprop("/systems/apu/rpm") >= 99) {
|
||||
if (getprop("/systems/apu/rpm") >= 98) {
|
||||
removelistener(apu_rpm_chk);
|
||||
taxi_b();
|
||||
}
|
||||
});
|
||||
}
|
||||
var taxi_b = func {
|
||||
# Continue with engine start prep, and start engine 2.
|
||||
# Continue with engine start prep, and start engines.
|
||||
setprop("/controls/fuel/tank0pump1", 1);
|
||||
setprop("/controls/fuel/tank0pump2", 1);
|
||||
setprop("/controls/fuel/tank1pump1", 1);
|
||||
|
|
259
AircraftConfig/du-quality.xml
Normal file
259
AircraftConfig/du-quality.xml
Normal file
|
@ -0,0 +1,259 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<!-- A3XX Aircraft Config Dialog -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>aircraft-config-du-quality</name>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>DU Quality</label>
|
||||
</text>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
<pref-height>20</pref-height>
|
||||
<legend>X</legend>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.writeSettings();
|
||||
canvas_pfd.rateApply();
|
||||
canvas_nd.rateApply();
|
||||
canvas_ecam.u_rateApply();
|
||||
canvas_ecam.l_rateApply();
|
||||
canvas_iesi.rateApply();
|
||||
</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Here you can adjust the quality of the Display Units. 1 = Best Quality, 5 = Best Performance</label>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>table</layout>
|
||||
|
||||
<text>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
<halign>left</halign>
|
||||
<label>Both PFDs:</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<row>0</row>
|
||||
<col>1</col>
|
||||
<pref-width>250</pref-width>
|
||||
<property>/systems/acconfig/options/pfd-rate</property>
|
||||
<min>1</min>
|
||||
<max>5</max>
|
||||
<step>0.5</step>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<row>0</row>
|
||||
<col>2</col>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>999</label>
|
||||
<property>/systems/acconfig/options/pfd-rate</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<col>0</col>
|
||||
<halign>left</halign>
|
||||
<label>Both NDs:</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<row>1</row>
|
||||
<col>1</col>
|
||||
<pref-width>250</pref-width>
|
||||
<property>/systems/acconfig/options/nd-rate</property>
|
||||
<min>1</min>
|
||||
<max>5</max>
|
||||
<step>0.5</step>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<col>2</col>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>999</label>
|
||||
<property>/systems/acconfig/options/nd-rate</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>2</row>
|
||||
<col>0</col>
|
||||
<halign>left</halign>
|
||||
<label>Upper ECAM:</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<row>2</row>
|
||||
<col>1</col>
|
||||
<pref-width>250</pref-width>
|
||||
<property>/systems/acconfig/options/uecam-rate</property>
|
||||
<min>1</min>
|
||||
<max>5</max>
|
||||
<step>0.5</step>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<row>2</row>
|
||||
<col>2</col>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>999</label>
|
||||
<property>/systems/acconfig/options/uecam-rate</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>3</row>
|
||||
<col>0</col>
|
||||
<halign>left</halign>
|
||||
<label>Lower ECAM:</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<row>3</row>
|
||||
<col>1</col>
|
||||
<pref-width>250</pref-width>
|
||||
<property>/systems/acconfig/options/lecam-rate</property>
|
||||
<min>1</min>
|
||||
<max>5</max>
|
||||
<step>0.5</step>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<row>3</row>
|
||||
<col>2</col>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>999</label>
|
||||
<property>/systems/acconfig/options/lecam-rate</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>4</row>
|
||||
<col>0</col>
|
||||
<halign>left</halign>
|
||||
<label>IESI:</label>
|
||||
</text>
|
||||
|
||||
<slider>
|
||||
<row>4</row>
|
||||
<col>1</col>
|
||||
<pref-width>250</pref-width>
|
||||
<property>/systems/acconfig/options/iesi-rate</property>
|
||||
<min>1</min>
|
||||
<max>5</max>
|
||||
<step>0.5</step>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</slider>
|
||||
|
||||
<text>
|
||||
<row>4</row>
|
||||
<col>2</col>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>999</label>
|
||||
<property>/systems/acconfig/options/iesi-rate</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Apply/Save</legend>
|
||||
<pref-width>100</pref-width>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.writeSettings();
|
||||
canvas_pfd.rateApply();
|
||||
canvas_nd.rateApply();
|
||||
canvas_ecam.u_rateApply();
|
||||
canvas_ecam.l_rateApply();
|
||||
canvas_iesi.rateApply();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Apply/Save/Go Away</legend>
|
||||
<pref-width>200</pref-width>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.writeSettings();
|
||||
canvas_pfd.rateApply();
|
||||
canvas_nd.rateApply();
|
||||
canvas_ecam.u_rateApply();
|
||||
canvas_ecam.l_rateApply();
|
||||
canvas_iesi.rateApply();
|
||||
</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
</PropertyList>
|
|
@ -23,7 +23,7 @@
|
|||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Error: Mismatch</label>
|
||||
<label>Something Happened!</label>
|
||||
</text>
|
||||
</group>
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>A configuration error or internal error has occurred. The aircraft has been disabled.</label>
|
||||
<label>Something happened and an internal error has occurred. The aircraft has been disabled.</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
<label>Keyboard Mode: Maps flight controls to number pad, and number rows, instead of view shortucts.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Laptop Mode: Not implemented yet. When implemented, will allow easier operation on laptops.</label>
|
||||
</text>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<text>
|
||||
|
@ -91,6 +96,10 @@
|
|||
<halign>left</halign>
|
||||
<label>F2 - Engage/Increase Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>DEL - Toggle Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>E - Set Idle Thrust</label>
|
||||
|
@ -99,10 +108,6 @@
|
|||
<halign>left</halign>
|
||||
<label>F - Set TOGA Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>DEL - Toggle Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + B - Cycle Spoilers</label>
|
||||
|
@ -111,6 +116,14 @@
|
|||
<halign>left</halign>
|
||||
<label>SHIFT + B - Toggle Parking Brake</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + D - Disconnect Autothrottle</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>SHIFT + D - Disconnect Autopilot</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
|
|
|
@ -17,8 +17,23 @@
|
|||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Aircraft Configuration V1.4.5</label>
|
||||
<label>Aircraft Configuration V1.5.0</label>
|
||||
</text>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
<button>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
<pref-height>20</pref-height>
|
||||
<legend>?</legend>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.help_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
|
@ -66,12 +81,23 @@
|
|||
</button>
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Aircraft Help</legend>
|
||||
<legend>DU Quality</legend>
|
||||
<pref-width>140</pref-width>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.help_dlg.open();
|
||||
acconfig.du_quality.open();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>About Aircraft</legend>
|
||||
<pref-width>140</pref-width>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.about_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
|
@ -340,14 +366,37 @@
|
|||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.saveSettings();
|
||||
acconfig.writeSettings();
|
||||
</script>
|
||||
</binding>
|
||||
<live>true</live>
|
||||
</checkbox>
|
||||
|
||||
<checkbox>
|
||||
<label>Skip ADIRS Alignment</label>
|
||||
<label>Laptop Mode (See Aircraft Help)</label>
|
||||
<halign>left</halign>
|
||||
<enable>
|
||||
<property>/systems/acconfig/extra-stuff</property>
|
||||
</enable>
|
||||
<property>/options/system/laptop-mode</property>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/options/system/laptop-mode</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.writeSettings();
|
||||
</script>
|
||||
</binding>
|
||||
<live>true</live>
|
||||
</checkbox>
|
||||
|
||||
<checkbox>
|
||||
<label>ADIRS Aligns Instantly</label>
|
||||
<halign>left</halign>
|
||||
<property>/controls/adirs/skip</property>
|
||||
<binding>
|
||||
|
@ -360,7 +409,7 @@
|
|||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.saveSettings();
|
||||
acconfig.writeSettings();
|
||||
</script>
|
||||
</binding>
|
||||
<live>true</live>
|
||||
|
|
|
@ -104,7 +104,9 @@
|
|||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/systems/acconfig/mismatch-code") == "0x000") {
|
||||
if (getprop("/systems/acconfig/options/welcome-skip") != 1) {
|
||||
acconfig.welcome_dlg.open();
|
||||
}
|
||||
} else {
|
||||
acconfig.error_mismatch.open();
|
||||
}
|
||||
|
|
97
AircraftConfig/updated.xml
Normal file
97
AircraftConfig/updated.xml
Normal file
|
@ -0,0 +1,97 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<!-- A3XX Aircraft Config Dialog -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>aircraft-config-updated</name>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Hello!</label>
|
||||
</text>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
<pref-height>20</pref-height>
|
||||
<legend>X</legend>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>IDG Aircraft Config has detected that your aircraft was installed for the first time, or updated successfully!</label>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<halign>left</halign>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>You are now running Revision: </label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<border>1</border>
|
||||
<label>99999</label>
|
||||
<property>/systems/acconfig/options/revision</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Some aircraft settings may have been returned to their defaults.</label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>This screen will only appear after a fresh install, or update. Thank you for choosing IDG!</label>
|
||||
</text>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Continue</legend>
|
||||
<pref-width>350</pref-width>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (getprop("/systems/acconfig/options/welcome-skip") != 1) {
|
||||
acconfig.welcome_dlg.open();
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
</PropertyList>
|
|
@ -19,6 +19,21 @@
|
|||
<halign>left</halign>
|
||||
<label>Welcome!</label>
|
||||
</text>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
<button>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
<pref-height>20</pref-height>
|
||||
<legend>?</legend>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.help_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
|
@ -54,13 +69,40 @@
|
|||
</text>
|
||||
<text>
|
||||
<halign>center</halign>
|
||||
<label>Please report bugs on the FlightGear forums! Enjoy!</label>
|
||||
<label>Please report bugs on GitHub Issues! Enjoy!</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<checkbox>
|
||||
<label>Do not show this screen at FlightGear startup</label>
|
||||
<halign>center</halign>
|
||||
<property>/systems/acconfig/options/welcome-skip</property>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/systems/acconfig/options/welcome-skip</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.writeSettings();
|
||||
</script>
|
||||
</binding>
|
||||
<live>true</live>
|
||||
</checkbox>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5A1">
|
||||
|
||||
<milthrust> 25000 </milthrust>
|
||||
<bypassratio> 8.1 </bypassratio>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/cfm56_5a1_1.xml
Normal file
118
Engines/cfm56_5a1_1.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5A1">
|
||||
|
||||
<milthrust> 25000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/cfm56_5a1_2.xml
Normal file
118
Engines/cfm56_5a1_2.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5A1">
|
||||
|
||||
<milthrust> 25000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5B4">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<bypassratio> 8.1 </bypassratio>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/cfm56_5b4_1.xml
Normal file
118
Engines/cfm56_5b4_1.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5B4">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/cfm56_5b4_2.xml
Normal file
118
Engines/cfm56_5b4_2.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="CFM56_5B4">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="LEAP1A26">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<bypassratio> 8.1 </bypassratio>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/leap1a26_1.xml
Normal file
118
Engines/leap1a26_1.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="LEAP1A26">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/leap1a26_2.xml
Normal file
118
Engines/leap1a26_2.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="LEAP1A26">
|
||||
|
||||
<milthrust> 27000 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="PW1127G">
|
||||
|
||||
<milthrust> 26345 </milthrust>
|
||||
<bypassratio> 8.1 </bypassratio>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/pw1127g_1.xml
Normal file
118
Engines/pw1127g_1.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="PW1127G">
|
||||
|
||||
<milthrust> 26345 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/pw1127g_2.xml
Normal file
118
Engines/pw1127g_2.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="PW1127G">
|
||||
|
||||
<milthrust> 26345 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 19.7 </idlen1>
|
||||
<idlen2> 61.2 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="V2527_A5">
|
||||
|
||||
<milthrust> 26600 </milthrust>
|
||||
<bypassratio> 8.1 </bypassratio>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 22.4 </idlen1>
|
||||
<idlen2> 60.9 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/v2527_a5_1.xml
Normal file
118
Engines/v2527_a5_1.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="V2527_A5">
|
||||
|
||||
<milthrust> 26600 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 22.4 </idlen1>
|
||||
<idlen2> 60.9 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
118
Engines/v2527_a5_2.xml
Normal file
118
Engines/v2527_a5_2.xml
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<turbine_engine name="V2527_A5">
|
||||
|
||||
<milthrust> 26600 </milthrust>
|
||||
<tsfc> 0.5 </tsfc>
|
||||
<bleed> 0.03 </bleed>
|
||||
<idlen1> 22.4 </idlen1>
|
||||
<idlen2> 60.9 </idlen2>
|
||||
<n1spinup> 0.2 </n1spinup>
|
||||
<n2spinup> 1.0 </n2spinup>
|
||||
<maxn1> 103.8 </maxn1>
|
||||
<maxn2> 101.4 </maxn2>
|
||||
<augmented> 0 </augmented>
|
||||
<injected> 0 </injected>
|
||||
|
||||
<function name="N1SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N1SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolUp">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="N2SpoolDown">
|
||||
<table>
|
||||
<independentVar lookup="row">/engines/engine[1]/n1</independentVar>
|
||||
<tableData>
|
||||
24 1.1
|
||||
28 2.9
|
||||
46 9.7
|
||||
68 15.4
|
||||
80 19.6
|
||||
94 21.4
|
||||
103 23.6
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="IdleThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 0.0430 0.0458 0.0378 0.0684 0.0619 0.0693 0.0000
|
||||
0.2 0.0500 0.0291 0.0205 0.0514 0.0627 0.0629 0.0000
|
||||
0.4 0.0040 0.0047 0.0012 0.0412 0.0485 0.0571 0.0000
|
||||
0.6 0.0000 0.0000 0.0000 0.0000 0.0316 0.0418 0.0000
|
||||
0.8 0.0000 0.0000 0.0000 0.0000 0.0254 0.0368 0.0000
|
||||
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0252 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
<function name="MilThrust">
|
||||
<table>
|
||||
<independentVar lookup="row">velocities/mach</independentVar>
|
||||
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
||||
<tableData>
|
||||
-10000 0 10000 20000 30000 40000 50000
|
||||
0.0 1.2600 1.0000 0.7400 0.5640 0.3920 0.2710 0.0000
|
||||
0.2 1.1710 0.9740 0.6970 0.5360 0.3850 0.2610 0.0000
|
||||
0.4 1.1500 0.9570 0.6920 0.5460 0.3870 0.2530 0.0000
|
||||
0.6 1.1810 0.9410 0.7210 0.5660 0.3580 0.2180 0.0000
|
||||
0.8 1.2290 1.0200 0.7820 0.5570 0.3040 0.1930 0.0000
|
||||
0.9 1.2580 1.0200 0.7820 0.5220 0.2710 0.1140 0.0000
|
||||
1.0 1.1810 0.9510 0.7210 0.4410 0.1740 0.0450 0.0000
|
||||
1.2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
|
||||
</tableData>
|
||||
</table>
|
||||
</function>
|
||||
|
||||
</turbine_engine>
|
|
@ -1,7 +1,7 @@
|
|||
# INSTALL
|
||||
## Prerequisites
|
||||
Have at least following versions installed:
|
||||
* FlightGear 2017.3.0 or newer
|
||||
* FlightGear 2018.1.0 or newer
|
||||
|
||||
## Install using ZIP Snapshot
|
||||
[Download](https://github.com/it0uchpods/IDG-A32X/archive/master.zip) the zip file.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- Provide a general summary of the issue/question in the title above. -->
|
||||
<!-- Incase of a question, remove the format below, and write your question. -->
|
||||
<!-- Provide a general summary of the issue in the title above. -->
|
||||
<!-- Issues are for reporting bugs or problems only. If you have a feature request, please write in the forums. -->
|
||||
|
||||
### Expected Behavior
|
||||
<!-- Tell us what should happen. -->
|
||||
|
|
|
@ -4256,7 +4256,7 @@
|
|||
<object-name>FlapsLever</object-name>
|
||||
<property>controls/flight/flap-lever</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep> 1</dep></entry>
|
||||
<entry><ind>0</ind><dep> 0</dep></entry>
|
||||
<entry><ind>1</ind><dep>17</dep></entry>
|
||||
<entry><ind>2</ind><dep>32</dep></entry>
|
||||
<entry><ind>3</ind><dep>47</dep></entry>
|
||||
|
@ -4931,11 +4931,29 @@
|
|||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>SpdBrk</object-name>
|
||||
<property>controls/flight/speedbrake-lever</property>
|
||||
<factor>-35</factor>
|
||||
<offset-deg>10</offset-deg>
|
||||
<center>
|
||||
<x-m>0.103496</x-m>
|
||||
<y-m>-0.080651</y-m>
|
||||
<z-m>-0.143532</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SpdBrk</object-name>
|
||||
<property>controls/flight/speedbrake-lever</property>
|
||||
<factor>0.052</factor>
|
||||
<factor>0.045</factor>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -4947,7 +4965,7 @@
|
|||
<type>translate</type>
|
||||
<object-name>SpdBrk</object-name>
|
||||
<property>controls/flight/speedbrake-arm</property>
|
||||
<factor>-0.005</factor>
|
||||
<factor>-0.00050</factor>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -4955,6 +4973,18 @@
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SpdBrk</object-name>
|
||||
<property>controls/flight/speedbrake-arm</property>
|
||||
<factor>0.006</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Sidestick Left -->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
|
|
BIN
Models/FlightDeck/res/Flaps.png
Normal file
BIN
Models/FlightDeck/res/Flaps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
BIN
Models/FlightDeck/res/SpdBrk.png
Normal file
BIN
Models/FlightDeck/res/SpdBrk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because it is too large
Load diff
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
@ -182,8 +182,15 @@ setlistener("sim/signals/fdm-initialized", func {
|
|||
IESI = canvas_IESI.new(group_IESI, "Aircraft/IDG-A32X/Models/Instruments/IESI/res/iesi.svg");
|
||||
|
||||
IESI_update.start();
|
||||
if (getprop("/systems/acconfig/options/iesi-rate") > 1) {
|
||||
rateApply();
|
||||
}
|
||||
});
|
||||
|
||||
var rateApply = func {
|
||||
IESI_update.restart(0.07 * getprop("/systems/acconfig/options/iesi-rate"));
|
||||
}
|
||||
|
||||
var IESI_update = maketimer(0.07, func {
|
||||
canvas_IESI_base.update();
|
||||
});
|
||||
|
|
|
@ -1384,8 +1384,15 @@ setlistener("sim/signals/fdm-initialized", func {
|
|||
lowerECAM_test = canvas_lowerECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
|
||||
|
||||
lowerECAM_update.start();
|
||||
if (getprop("/systems/acconfig/options/lecam-rate") > 1) {
|
||||
l_rateApply();
|
||||
}
|
||||
});
|
||||
|
||||
var l_rateApply = func {
|
||||
lowerECAM_update.restart(0.05 * getprop("/systems/acconfig/options/lecam-rate"));
|
||||
}
|
||||
|
||||
var lowerECAM_update = maketimer(0.05, func {
|
||||
canvas_lowerECAM_base.update();
|
||||
});
|
||||
|
|
|
@ -295,8 +295,15 @@ setlistener("sim/signals/fdm-initialized", func {
|
|||
ND_2_test = canvas_ND_2_test.new(group_nd2_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
|
||||
|
||||
nd_update.start();
|
||||
if (getprop("/systems/acconfig/options/nd-rate") > 1) {
|
||||
rateApply();
|
||||
}
|
||||
});
|
||||
|
||||
var rateApply = func {
|
||||
nd_update.restart(0.05 * getprop("/systems/acconfig/options/nd-rate"));
|
||||
}
|
||||
|
||||
var nd_update = maketimer(0.05, func {
|
||||
canvas_nd_base.update();
|
||||
});
|
||||
|
|
|
@ -30,7 +30,7 @@ var new = func(layer) {
|
|||
m.addVisibilityListener();
|
||||
var driver = opt_member(m.layer.options, 'route_driver');
|
||||
if(driver == nil){
|
||||
driver = RouteDriver.new();
|
||||
driver = A3XXRouteDriver.new();
|
||||
}
|
||||
var driver_listeners = driver.getListeners();
|
||||
foreach(var listener; driver_listeners){
|
||||
|
|
|
@ -2730,10 +2730,6 @@
|
|||
<command>nasal</command>
|
||||
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>systems.fctlpoweruptest();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
|
@ -2795,10 +2791,6 @@
|
|||
<command>nasal</command>
|
||||
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>systems.fctlpoweruptest();</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
|
@ -4356,9 +4348,8 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<command>property-assign</command>
|
||||
<command>property-toggle</command>
|
||||
<property>systems/pressurization/ditchingpb</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<condition>
|
||||
|
|
|
@ -1206,8 +1206,16 @@ setlistener("sim/signals/fdm-initialized", func {
|
|||
|
||||
PFD_update.start();
|
||||
PFD_update_fast.start();
|
||||
if (getprop("/systems/acconfig/options/pfd-rate") > 1) {
|
||||
rateApply();
|
||||
}
|
||||
});
|
||||
|
||||
var rateApply = func {
|
||||
PFD_update.restart(0.15 * getprop("/systems/acconfig/options/pfd-rate"));
|
||||
PFD_update_fast.restart(0.05 * getprop("/systems/acconfig/options/pfd-rate"));
|
||||
}
|
||||
|
||||
var PFD_update = maketimer(0.15, func {
|
||||
canvas_PFD_base.updateSlow();
|
||||
});
|
||||
|
|
|
@ -915,8 +915,15 @@ setlistener("sim/signals/fdm-initialized", func {
|
|||
upperECAM_test = canvas_upperECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
|
||||
|
||||
upperECAM_update.start();
|
||||
if (getprop("/systems/acconfig/options/uecam-rate") > 1) {
|
||||
u_rateApply();
|
||||
}
|
||||
});
|
||||
|
||||
var u_rateApply = func {
|
||||
upperECAM_update.restart(0.05 * getprop("/systems/acconfig/options/uecam-rate"));
|
||||
}
|
||||
|
||||
var upperECAM_update = maketimer(0.05, func {
|
||||
canvas_upperECAM_base.update();
|
||||
});
|
||||
|
|
126453
Models/Services/Pushback/Douglas.ac
Normal file
126453
Models/Services/Pushback/Douglas.ac
Normal file
File diff suppressed because it is too large
Load diff
BIN
Models/Services/Pushback/Douglas.png
Normal file
BIN
Models/Services/Pushback/Douglas.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
198
Models/Services/Pushback/Douglas.xml
Normal file
198
Models/Services/Pushback/Douglas.xml
Normal file
|
@ -0,0 +1,198 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<path>Douglas.ac</path>
|
||||
|
||||
<!-- Trucks models and artworks courtesy of XPGoodWay Team
|
||||
(http://www.xpgoodwayteam.org/site_xpushback/) -->
|
||||
|
||||
<!-- switch to night/day textures -->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<property>/sim/time/sun-angle-rad</property>
|
||||
<step>1.60</step>
|
||||
<factor>0.318471338</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/sim/time/sun-angle-rad</property>
|
||||
<value>1.60</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<condition>
|
||||
<less-than-equals>
|
||||
<property>/sim/time/sun-angle-rad</property>
|
||||
<value>1.60</value>
|
||||
</less-than-equals>
|
||||
</condition>
|
||||
<emission>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<condition>
|
||||
<property>sim/model/pushback/enabled</property>
|
||||
<property>gear/gear[0]/wow</property>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>sim/model/pushback/position-norm</property>
|
||||
<value>0.99</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<property>gear/gear[0]/steering-norm</property>
|
||||
<factor>-70</factor>
|
||||
<center>
|
||||
<x-m>3</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- change heading of the pushback when driving the arc -->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<property>sim/model/pushback/position-norm</property>
|
||||
<factor>-90</factor>
|
||||
<offset-deg>90</offset-deg>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- compensate for gear compression -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<property>gear/gear[0]/compression-ft</property>
|
||||
<factor>0.3048</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- precalculated sin and asin to move the pushback on a 90deg arc, 25m radius -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<property>sim/model/pushback/position-norm</property>
|
||||
<interpolation>
|
||||
<entry><ind>1.000000</ind><dep>0.000000</dep></entry>
|
||||
<entry><ind>0.950000</ind><dep>1.961477</dep></entry>
|
||||
<entry><ind>0.900000</ind><dep>3.910862</dep></entry>
|
||||
<entry><ind>0.850000</ind><dep>5.836134</dep></entry>
|
||||
<entry><ind>0.800000</ind><dep>7.725425</dep></entry>
|
||||
<entry><ind>0.750000</ind><dep>9.567086</dep></entry>
|
||||
<entry><ind>0.700000</ind><dep>11.349763</dep></entry>
|
||||
<entry><ind>0.650000</ind><dep>13.062464</dep></entry>
|
||||
<entry><ind>0.600000</ind><dep>14.694631</dep></entry>
|
||||
<entry><ind>0.550000</ind><dep>16.236201</dep></entry>
|
||||
<entry><ind>0.500000</ind><dep>17.677670</dep></entry>
|
||||
<entry><ind>0.450000</ind><dep>19.010149</dep></entry>
|
||||
<entry><ind>0.400000</ind><dep>20.225425</dep></entry>
|
||||
<entry><ind>0.350000</ind><dep>21.316004</dep></entry>
|
||||
<entry><ind>0.300000</ind><dep>22.275163</dep></entry>
|
||||
<entry><ind>0.250000</ind><dep>23.096988</dep></entry>
|
||||
<entry><ind>0.200000</ind><dep>23.776413</dep></entry>
|
||||
<entry><ind>0.150000</ind><dep>24.309248</dep></entry>
|
||||
<entry><ind>0.100000</ind><dep>24.692209</dep></entry>
|
||||
<entry><ind>0.050000</ind><dep>24.922933</dep></entry>
|
||||
<entry><ind>0.000000</ind><dep>25.000000</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<property>sim/model/pushback/position-norm</property>
|
||||
<interpolation>
|
||||
<entry><ind>1.000000</ind><dep>0.000000</dep></entry>
|
||||
<entry><ind>0.950000</ind><dep>0.077067</dep></entry>
|
||||
<entry><ind>0.900000</ind><dep>0.307791</dep></entry>
|
||||
<entry><ind>0.850000</ind><dep>0.690752</dep></entry>
|
||||
<entry><ind>0.800000</ind><dep>1.223587</dep></entry>
|
||||
<entry><ind>0.750000</ind><dep>1.903012</dep></entry>
|
||||
<entry><ind>0.700000</ind><dep>2.724837</dep></entry>
|
||||
<entry><ind>0.650000</ind><dep>3.683996</dep></entry>
|
||||
<entry><ind>0.600000</ind><dep>4.774575</dep></entry>
|
||||
<entry><ind>0.550000</ind><dep>5.989851</dep></entry>
|
||||
<entry><ind>0.500000</ind><dep>7.322330</dep></entry>
|
||||
<entry><ind>0.450000</ind><dep>8.763799</dep></entry>
|
||||
<entry><ind>0.400000</ind><dep>10.305369</dep></entry>
|
||||
<entry><ind>0.350000</ind><dep>11.937536</dep></entry>
|
||||
<entry><ind>0.300000</ind><dep>13.650238</dep></entry>
|
||||
<entry><ind>0.250000</ind><dep>15.432914</dep></entry>
|
||||
<entry><ind>0.200000</ind><dep>17.274575</dep></entry>
|
||||
<entry><ind>0.150000</ind><dep>19.163866</dep></entry>
|
||||
<entry><ind>0.100000</ind><dep>21.089138</dep></entry>
|
||||
<entry><ind>0.050000</ind><dep>23.038523</dep></entry>
|
||||
<entry><ind>0.000000</ind><dep>25.000000</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- compensate for pitch of aircraft, keep pushback level -->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<property>orientation/pitch-deg</property>
|
||||
<factor>-1</factor>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -42,7 +42,7 @@ var initInputA = func(key) {
|
|||
}
|
||||
setprop("/MCDU[0]/scratchpad-msg", "1");
|
||||
setprop("/MCDU[0]/scratchpad", "NOT ALLOWED");
|
||||
} else if (ci >= 0 and ci <= 120) {
|
||||
} else if (ci >= 0 and ci <= 999) {
|
||||
setprop("/FMGC/internal/cost-index", ci);
|
||||
setprop("/FMGC/internal/cost-index-set", 1);
|
||||
setprop("/MCDU[0]/scratchpad", "");
|
||||
|
|
|
@ -22,7 +22,7 @@ var perfCLBInput = func(key) {
|
|||
}
|
||||
setprop("/MCDU[0]/scratchpad-msg", "1");
|
||||
setprop("/MCDU[0]/scratchpad", "NOT ALLOWED");
|
||||
} else if (ci >= 0 and ci <= 120) {
|
||||
} else if (ci >= 0 and ci <= 999) {
|
||||
setprop("/FMGC/internal/cost-index", ci);
|
||||
setprop("/FMGC/internal/cost-index-set", 1);
|
||||
setprop("/MCDU[0]/scratchpad", "");
|
||||
|
|
|
@ -42,7 +42,7 @@ var initInputA = func(key) {
|
|||
}
|
||||
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||
setprop("/MCDU[1]/scratchpad", "NOT ALLOWED");
|
||||
} else if (ci >= 0 and ci <= 120) {
|
||||
} else if (ci >= 0 and ci <= 999) {
|
||||
setprop("/FMGC/internal/cost-index", ci);
|
||||
setprop("/FMGC/internal/cost-index-set", 1);
|
||||
setprop("/MCDU[1]/scratchpad", "");
|
||||
|
|
|
@ -22,7 +22,7 @@ var perfCLBInput = func(key) {
|
|||
}
|
||||
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||
setprop("/MCDU[1]/scratchpad", "NOT ALLOWED");
|
||||
} else if (ci >= 0 and ci <= 120) {
|
||||
} else if (ci >= 0 and ci <= 999) {
|
||||
setprop("/FMGC/internal/cost-index", ci);
|
||||
setprop("/FMGC/internal/cost-index-set", 1);
|
||||
setprop("/MCDU[1]/scratchpad", "");
|
||||
|
|
|
@ -10,6 +10,7 @@ var ac_volt_min = 110;
|
|||
var dc_volt_std = 28;
|
||||
var dc_volt_min = 25;
|
||||
var dc_amps_std = 150;
|
||||
var tr_amps_std = 55;
|
||||
var ac_hz_std = 400;
|
||||
var ac1_src = "XX";
|
||||
var ac2_src = "XX";
|
||||
|
@ -34,6 +35,12 @@ setlistener("/sim/signals/fdm-initialized", func {
|
|||
var battery2_sw = getprop("/controls/electrical/switches/battery2");
|
||||
var battery1_volts = getprop("/systems/electrical/battery1-volts");
|
||||
var battery2_volts = getprop("/systems/electrical/battery2-volts");
|
||||
var battery1_amps = getprop("/systems/electrical/battery1-amps");
|
||||
var battery2_amps = getprop("/systems/electrical/battery2-amps");
|
||||
var battery1_percent = getprop("/systems/electrical/battery1-percent");
|
||||
var battery2_percent = getprop("/systems/electrical/battery2-percent");
|
||||
var battery1_percent_calc = 0;
|
||||
var battery2_percent_calc = 0;
|
||||
var rpmapu = getprop("/systems/apu/rpm");
|
||||
var extpwr_on = getprop("/controls/switches/cart");
|
||||
var stateL = getprop("/engines/engine[0]/state");
|
||||
|
@ -131,39 +138,6 @@ var light = {
|
|||
}
|
||||
};
|
||||
|
||||
var fctlpoweruptest = func {
|
||||
if (getprop("/systems/electrical/battery-available") == 0 and (getprop("/controls/electrical/switches/battery1") == 1 or getprop("/controls/electrical/switches/battery2") == 1)) {
|
||||
setprop("/systems/failures/elac1-fault", 1);
|
||||
setprop("/systems/failures/sec1", 1);
|
||||
setprop("/systems/electrical/battery-available", 1);
|
||||
setprop("/systems/electrical/elac1-test", 1);
|
||||
settimer(func(){
|
||||
setprop("/systems/failures/elac1-fault", 0);
|
||||
setprop("/systems/electrical/elac1-test", 0);
|
||||
},8);
|
||||
settimer(func(){
|
||||
setprop("/systems/failures/sec1", 0);
|
||||
},8.5);
|
||||
}
|
||||
|
||||
gen1_sw = getprop("/controls/electrical/switches/gen1");
|
||||
gen2_sw = getprop("/controls/electrical/switches/gen2");
|
||||
gen_apu_sw = getprop("/controls/electrical/switches/gen-apu");
|
||||
gen_ext_sw = getprop("/controls/electrical/switches/gen-ext");
|
||||
|
||||
if (getprop("/systems/electrical/dc2-available") == 0 and getprop("/systems/electrical/bus/dc2") > 25) {
|
||||
setprop("/systems/failures/elac2-fault", 1);
|
||||
setprop("/systems/electrical/dc2-available", 1);
|
||||
setprop("/systems/electrical/elac2-test", 1);
|
||||
settimer(func(){
|
||||
setprop("/systems/failures/elac2-fault", 0);
|
||||
setprop("/systems/electrical/elac2-test", 0);
|
||||
},8);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Main Elec System
|
||||
|
||||
var ELEC = {
|
||||
|
@ -183,10 +157,12 @@ var ELEC = {
|
|||
setprop("/controls/electrical/switches/ac-ess-feed", 0);
|
||||
setprop("/controls/electrical/switches/battery1", 0);
|
||||
setprop("/controls/electrical/switches/battery2", 0);
|
||||
setprop("/systems/electrical/battery1-volts", 25.9);
|
||||
setprop("/systems/electrical/battery2-volts", 25.9);
|
||||
setprop("/systems/electrical/battery1-volts", 26.5);
|
||||
setprop("/systems/electrical/battery2-volts", 26.5);
|
||||
setprop("/systems/electrical/battery1-amps", 0);
|
||||
setprop("/systems/electrical/battery2-amps", 0);
|
||||
setprop("/systems/electrical/battery1-percent", 68);
|
||||
setprop("/systems/electrical/battery2-percent", 68);
|
||||
setprop("/systems/electrical/bus/dc1", 0);
|
||||
setprop("/systems/electrical/bus/dc2", 0);
|
||||
setprop("/systems/electrical/bus/dcbat", 0);
|
||||
|
@ -204,6 +180,12 @@ var ELEC = {
|
|||
setprop("/systems/electrical/extra/apu-volts", 0);
|
||||
setprop("/systems/electrical/extra/gen1-volts", 0);
|
||||
setprop("/systems/electrical/extra/gen2-volts", 0);
|
||||
setprop("/systems/electrical/extra/gen1-load", 0);
|
||||
setprop("/systems/electrical/extra/gen2-load", 0);
|
||||
setprop("/systems/electrical/extra/tr1-volts", 0);
|
||||
setprop("/systems/electrical/extra/tr2-volts", 0);
|
||||
setprop("/systems/electrical/extra/tr1-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr2-amps", 0);
|
||||
setprop("/systems/electrical/extra/ext-hz", 0);
|
||||
setprop("/systems/electrical/extra/apu-hz", 0);
|
||||
setprop("/systems/electrical/extra/galleyshed", 0);
|
||||
|
@ -299,6 +281,8 @@ var ELEC = {
|
|||
battery2_sw = getprop("/controls/electrical/switches/battery2");
|
||||
battery1_volts = getprop("/systems/electrical/battery1-volts");
|
||||
battery2_volts = getprop("/systems/electrical/battery2-volts");
|
||||
battery1_percent = getprop("/systems/electrical/battery1-percent");
|
||||
battery2_percent = getprop("/systems/electrical/battery2-percent");
|
||||
rpmapu = getprop("/systems/apu/rpm");
|
||||
extpwr_on = getprop("/controls/switches/cart");
|
||||
stateL = getprop("/engines/engine[0]/state");
|
||||
|
@ -329,7 +313,22 @@ var ELEC = {
|
|||
replay = getprop("/sim/replay/replay-state");
|
||||
wow = getprop("/gear/gear[1]/wow");
|
||||
|
||||
if (getprop("/systems/electrical/battery1-amps") > 120 or getprop("/systems/electrical/battery2-amps") > 120) {
|
||||
if (battery1_volts >= 20 and battery1_sw and !batt1_fail) {
|
||||
setprop("/systems/electrical/battery1-amps", dc_amps_std);
|
||||
} else {
|
||||
setprop("/systems/electrical/battery1-amps", 0);
|
||||
}
|
||||
|
||||
if (battery2_volts >= 20 and battery2_sw and !batt2_fail) {
|
||||
setprop("/systems/electrical/battery2-amps", dc_amps_std);
|
||||
} else {
|
||||
setprop("/systems/electrical/battery2-amps", 0);
|
||||
}
|
||||
|
||||
battery1_amps = getprop("/systems/electrical/battery1-amps");
|
||||
battery2_amps = getprop("/systems/electrical/battery2-amps");
|
||||
|
||||
if (battery1_amps > 120 or battery2_amps > 120) {
|
||||
setprop("/systems/electrical/bus/dcbat", dc_volt_std);
|
||||
} else {
|
||||
setprop("/systems/electrical/bus/dcbat", 0);
|
||||
|
@ -340,7 +339,7 @@ var ELEC = {
|
|||
}
|
||||
|
||||
if (dc2 >= 25) {
|
||||
fctlpoweruptest();
|
||||
setprop("/systems/electrical/dc2-available", 1);
|
||||
} else {
|
||||
setprop("/systems/electrical/dc2-available", 0);
|
||||
}
|
||||
|
@ -392,55 +391,83 @@ var ELEC = {
|
|||
if (stateL == 3 and gen1_sw and !gen1_fail) {
|
||||
setprop("/systems/electrical/bus/dc1", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr1-amps", tr_amps_std);
|
||||
} else if (extpwr_on and gen_ext_sw and apu_ext_crosstie_sw) {
|
||||
setprop("/systems/electrical/bus/dc1", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr1-amps", tr_amps_std);
|
||||
} else if (gen_apu and !genapu_fail and apu_ext_crosstie_sw) {
|
||||
setprop("/systems/electrical/bus/dc1", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr1-amps", tr_amps_std);
|
||||
} else if (apu_ext_crosstie_sw == 1 and xtieL) {
|
||||
setprop("/systems/electrical/bus/dc1", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr1-amps", tr_amps_std);
|
||||
} else if (emergen) {
|
||||
setprop("/systems/electrical/bus/dc1", 0);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc1-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr1-amps", 0);
|
||||
} else if (dcbat and ias >= 50) {
|
||||
setprop("/systems/electrical/bus/dc1", 0);
|
||||
setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr1-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc1-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr1-amps", 0);
|
||||
} else {
|
||||
setprop("/systems/electrical/bus/dc1", 0);
|
||||
setprop("/systems/electrical/extra/tr1-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc1-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr1-amps", 0);
|
||||
setprop("/systems/electrical/bus/dc-ess", 0);
|
||||
}
|
||||
|
||||
# Right DC bus yes?
|
||||
if (stateR == 3 and gen2_sw and !gen2_fail) {
|
||||
setprop("/systems/electrical/bus/dc2", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr2-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr2-amps", tr_amps_std);
|
||||
} else if (extpwr_on and gen_ext_sw and apu_ext_crosstie_sw) {
|
||||
setprop("/systems/electrical/bus/dc2", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr2-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr2-amps", tr_amps_std);
|
||||
} else if (gen_apu and !genapu_fail and apu_ext_crosstie_sw) {
|
||||
setprop("/systems/electrical/bus/dc2", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr2-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr2-amps", tr_amps_std);
|
||||
} else if (apu_ext_crosstie_sw == 1 and xtieR) {
|
||||
setprop("/systems/electrical/bus/dc2", dc_volt_std);
|
||||
setprop("/systems/electrical/extra/tr2-volts", dc_volt_std);
|
||||
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
|
||||
setprop("/systems/electrical/extra/tr2-amps", tr_amps_std);
|
||||
} else if (emergen) {
|
||||
setprop("/systems/electrical/bus/dc2", 0);
|
||||
setprop("/systems/electrical/extra/tr2-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc2-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr2-amps", 0);
|
||||
} else if (dcbat and ias >= 50) {
|
||||
setprop("/systems/electrical/bus/dc2", 0);
|
||||
setprop("/systems/electrical/extra/tr2-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc2-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr2-amps", 0);
|
||||
} else {
|
||||
setprop("/systems/electrical/bus/dc2", 0);
|
||||
setprop("/systems/electrical/extra/tr2-volts", 0);
|
||||
setprop("/systems/electrical/bus/dc2-amps", 0);
|
||||
setprop("/systems/electrical/extra/tr2-amps", 0);
|
||||
}
|
||||
|
||||
# Left AC bus yes?
|
||||
|
@ -585,32 +612,63 @@ var ELEC = {
|
|||
dc1 = getprop("/systems/electrical/bus/dc1");
|
||||
dc2 = getprop("/systems/electrical/bus/dc2");
|
||||
|
||||
if (battery1_volts < 27.9 and (dc1 > 25 or dc2 > 25) and battery1_sw and !batt1_fail) {
|
||||
decharge1.stop();
|
||||
charge1.start();
|
||||
} else if (battery1_volts == 27.9 and (dc1 > 25 or dc2 > 25) and battery1_sw and !batt1_fail) {
|
||||
charge1.stop();
|
||||
decharge1.stop();
|
||||
} else if (battery1_sw and !batt1_fail) {
|
||||
charge1.stop();
|
||||
decharge1.start();
|
||||
if (battery1_percent < 100 and (dc1 > 25 or dc2 > 25) and battery1_sw and !batt1_fail) {
|
||||
if (getprop("/systems/electrical/battery1-time") + 5 < getprop("/sim/time/elapsed-sec")) {
|
||||
battery1_percent_calc = battery1_percent + 0.75; # Roughly 90 percent every 10 mins
|
||||
if (battery1_percent_calc > 100) {
|
||||
battery1_percent_calc = 100;
|
||||
}
|
||||
setprop("/systems/electrical/battery1-percent", battery1_percent_calc);
|
||||
setprop("/systems/electrical/battery1-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
} else if (battery1_amps >= 120 and battery1_sw and !batt1_fail) {
|
||||
if (getprop("/systems/electrical/battery1-time") + 5 < getprop("/sim/time/elapsed-sec")) {
|
||||
battery1_percent_calc = battery1_percent - 0.25; # Roughly 90 percent every 30 mins
|
||||
if (battery1_percent_calc < 0) {
|
||||
battery1_percent_calc = 0;
|
||||
}
|
||||
setprop("/systems/electrical/battery1-percent", battery1_percent_calc);
|
||||
setprop("/systems/electrical/battery1-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
} else {
|
||||
decharge1.stop();
|
||||
charge1.stop();
|
||||
setprop("/systems/electrical/battery1-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
|
||||
if (battery2_volts < 27.9 and (dc1 > 25 or dc2 > 25) and battery2_sw and !batt2_fail) {
|
||||
decharge2.stop();
|
||||
charge2.start();
|
||||
} else if (battery2_volts == 27.9 and (dc1 > 25 or dc2 > 25) and battery2_sw and !batt2_fail) {
|
||||
charge2.stop();
|
||||
decharge2.stop();
|
||||
} else if (battery2_sw and !batt2_fail) {
|
||||
charge2.stop();
|
||||
decharge2.start();
|
||||
if (battery2_percent < 100 and (dc1 > 25 or dc2 > 25) and battery2_sw and !batt2_fail) {
|
||||
if (getprop("/systems/electrical/battery2-time") + 5 < getprop("/sim/time/elapsed-sec")) {
|
||||
battery2_percent_calc = battery2_percent + 0.75; # Roughly 90 percent every 10 mins
|
||||
if (battery2_percent_calc > 100) {
|
||||
battery2_percent_calc = 100;
|
||||
}
|
||||
setprop("/systems/electrical/battery2-percent", battery2_percent_calc);
|
||||
setprop("/systems/electrical/battery2-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
} else if (battery2_amps >= 120 and battery2_sw and !batt2_fail) {
|
||||
if (getprop("/systems/electrical/battery2-time") + 5 < getprop("/sim/time/elapsed-sec")) {
|
||||
battery2_percent_calc = battery2_percent - 0.25; # Roughly 90 percent every 30 mins
|
||||
if (battery2_percent_calc < 0) {
|
||||
battery2_percent_calc = 0;
|
||||
}
|
||||
setprop("/systems/electrical/battery2-percent", battery2_percent_calc);
|
||||
setprop("/systems/electrical/battery2-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
} else {
|
||||
decharge2.stop();
|
||||
charge2.stop();
|
||||
setprop("/systems/electrical/battery2-time", getprop("/sim/time/elapsed-sec"));
|
||||
}
|
||||
|
||||
battery1_percent = getprop("/systems/electrical/battery1-percent");
|
||||
battery2_percent = getprop("/systems/electrical/battery2-percent");
|
||||
|
||||
if (battery1_percent >= 10) {
|
||||
setprop("/systems/electrical/battery1-volts", math.clamp(24 + (battery1_percent - 10) * (27.9 - 24) / (100 - 10), 24, 27.9));
|
||||
} else {
|
||||
setprop("/systems/electrical/battery1-volts", math.clamp(battery1_percent * (24) / (10), 0, 24));
|
||||
}
|
||||
|
||||
if (battery2_percent >= 10) {
|
||||
setprop("/systems/electrical/battery2-volts", math.clamp(24 + (battery2_percent - 10) * (27.9 - 24) / (100 - 10), 24, 30));
|
||||
} else {
|
||||
setprop("/systems/electrical/battery2-volts", math.clamp(battery2_percent * (24) / (10), 0, 24));
|
||||
}
|
||||
|
||||
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
|
||||
|
@ -766,20 +824,3 @@ var ELEC = {
|
|||
}
|
||||
},
|
||||
};
|
||||
|
||||
var charge1 = maketimer(6, func {
|
||||
bat1_volts = getprop("/systems/electrical/battery1-volts");
|
||||
setprop("/systems/electrical/battery1-volts", bat1_volts + 0.1);
|
||||
});
|
||||
var charge2 = maketimer(6, func {
|
||||
bat2_volts = getprop("/systems/electrical/battery2-volts");
|
||||
setprop("/systems/electrical/battery2-volts", bat2_volts + 0.1);
|
||||
});
|
||||
var decharge1 = maketimer(69, func { # interval is at 69 seconds, to allow about 30 min from 25.9
|
||||
bat1_volts = getprop("/systems/electrical/battery1-volts");
|
||||
setprop("/systems/electrical/battery1-volts", bat1_volts - 0.1);
|
||||
});
|
||||
var decharge2 = maketimer(69, func {
|
||||
bat2_volts = getprop("/systems/electrical/battery2-volts");
|
||||
setprop("/systems/electrical/battery2-volts", bat2_volts - 0.1);
|
||||
});
|
|
@ -226,7 +226,15 @@ var update_loop = func {
|
|||
var fbw_loop = func {
|
||||
var ail = getprop("/controls/flight/aileron");
|
||||
|
||||
if (ail > 0.4 or ail < -0.4) {
|
||||
if (ail > 0.4 and getprop("/orientation/roll-deg") >= -33.5) {
|
||||
setprop("/it-fbw/roll-lim", "67");
|
||||
if (getprop("/it-fbw/roll-back") == 1 and getprop("/orientation/roll-deg") <= 33.5 and getprop("/orientation/roll-deg") >= -33.5) {
|
||||
setprop("/it-fbw/roll-back", 0);
|
||||
}
|
||||
if (getprop("/it-fbw/roll-back") == 0 and (getprop("/orientation/roll-deg") > 33.5 or getprop("/orientation/roll-deg") < -33.5)) {
|
||||
setprop("/it-fbw/roll-back", 1);
|
||||
}
|
||||
} else if (ail < -0.4 and getprop("/orientation/roll-deg") <= 33.5) {
|
||||
setprop("/it-fbw/roll-lim", "67");
|
||||
if (getprop("/it-fbw/roll-back") == 1 and getprop("/orientation/roll-deg") <= 33.5 and getprop("/orientation/roll-deg") >= -33.5) {
|
||||
setprop("/it-fbw/roll-back", 0);
|
||||
|
|
|
@ -12,8 +12,3 @@ Present pack includes the following Airbus A320 Family variants:
|
|||
- A320-232
|
||||
- A320-251N
|
||||
- A320-271N
|
||||
|
||||
|
||||
Thank you to:
|
||||
Amanda Santos for the sound "botaodepressao", used for the overhead panel under the CC0 license:
|
||||
https://freesound.org/people/amandasantos/sounds/392148/
|
BIN
Resources/SpdBrk.xcf
Normal file
BIN
Resources/SpdBrk.xcf
Normal file
Binary file not shown.
|
@ -519,7 +519,7 @@
|
|||
<property>metrics/Sw-sqft</property>
|
||||
<property>metrics/bw-ft</property>
|
||||
<property>fcs/rudder-pos-rad</property>
|
||||
<value>-0.053</value>
|
||||
<value>0.053</value>
|
||||
</product>
|
||||
</function>
|
||||
|
||||
|
|
1451
Systems/a320-fcs.xml
1451
Systems/a320-fcs.xml
File diff suppressed because it is too large
Load diff
|
@ -1,35 +0,0 @@
|
|||
<!-- Airbus A320 Electrical -->
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<system name="A320: Electrical">
|
||||
<property>/controls/electrical/switches/battery1</property>
|
||||
<property>/systems/failures/elec-batt1</property>
|
||||
<property>/controls/electrical/switches/battery2</property>
|
||||
<property>/systems/failures/elec-batt2</property>
|
||||
|
||||
<channel name="Battery">
|
||||
<switch name="electrical/battery-1">
|
||||
<test logic="AND" value="150">
|
||||
/controls/electrical/switches/battery1 eq 1
|
||||
/systems/failures/elec-batt1 eq 0
|
||||
</test>
|
||||
<delay type="time">0.85</delay>
|
||||
<output>/systems/electrical/battery1-amps</output>
|
||||
</switch>
|
||||
|
||||
<switch name="electrical/battery-2">
|
||||
<test logic="AND" value="150">
|
||||
/controls/electrical/switches/battery2 eq 1
|
||||
/systems/failures/elec-batt2 eq 0
|
||||
</test>
|
||||
<delay type="time">0.85</delay>
|
||||
<output>/systems/electrical/battery2-amps</output>
|
||||
</switch>
|
||||
</channel>
|
||||
|
||||
</system>
|
|
@ -262,6 +262,430 @@
|
|||
<output>/engines/engine[1]/n1-actual-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED 1</name>
|
||||
<type>noise-spike</type>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>IDLE</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<value>1000</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.3</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.05</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>1000</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED LIMIT 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/engine[0]/throttle-cmd</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd-feed</output>
|
||||
<min>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/mode/thr</property>
|
||||
<value>RETARD</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</min>
|
||||
<min>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</min>
|
||||
<max>
|
||||
<property>/controls/engines/engine[0]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED 2</name>
|
||||
<type>noise-spike</type>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>IDLE</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<value>1000</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.3</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.05</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>1000</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED LIMIT 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/engine[1]/throttle-cmd</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd-feed</output>
|
||||
<min>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/mode/thr</property>
|
||||
<value>RETARD</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</min>
|
||||
<min>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</min>
|
||||
<max>
|
||||
<property>/controls/engines/engine[1]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>Throttle 1</name>
|
||||
<debug>false</debug>
|
||||
|
@ -435,7 +859,7 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd</property>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd-feed</property>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/engine[0]/throttle-fdm</property>
|
||||
|
@ -615,7 +1039,7 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd</property>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd-feed</property>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/engine[1]/throttle-fdm</property>
|
||||
|
|
|
@ -643,6 +643,430 @@
|
|||
<output>/engines/engine[1]/n1-actual-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED 1</name>
|
||||
<type>noise-spike</type>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>IDLE</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<value>1000</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.3</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state1</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.05</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>1000</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED LIMIT 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/engine[0]/throttle-cmd</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd-feed</output>
|
||||
<min>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/mode/thr</property>
|
||||
<value>RETARD</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</min>
|
||||
<min>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</min>
|
||||
<max>
|
||||
<property>/controls/engines/engine[0]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED 2</name>
|
||||
<type>noise-spike</type>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>IDLE</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<value>1000</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.3</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/athr</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<or>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/lim-flex</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MCT</value>
|
||||
</equals>
|
||||
</and>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/thrust/eng-out</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle-pos</property>
|
||||
<value>0.83</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN THR</value>
|
||||
</equals>
|
||||
</and>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>CL</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/systems/thrust/state2</property>
|
||||
<value>MAN</value>
|
||||
</equals>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/thr-mode</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.05</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>1000</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>A/THR FEED LIMIT 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/engine[1]/throttle-cmd</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd-feed</output>
|
||||
<min>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/mode/thr</property>
|
||||
<value>RETARD</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</min>
|
||||
<min>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</min>
|
||||
<max>
|
||||
<property>/controls/engines/engine[1]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>Throttle 1</name>
|
||||
<debug>false</debug>
|
||||
|
@ -816,7 +1240,7 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd</property>
|
||||
<property>/controls/engines/engine[0]/throttle-cmd-feed</property>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/engine[0]/throttle-fdm</property>
|
||||
|
@ -996,7 +1420,7 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd</property>
|
||||
<property>/controls/engines/engine[1]/throttle-cmd-feed</property>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/engine[1]/throttle-fdm</property>
|
||||
|
|
|
@ -1,363 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<!-- Airbus A3XX FBW System -->
|
||||
<!-- Joshua Davidson (it0uchpods) -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Surface Position Feeding -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<filter>
|
||||
<debug>false</debug>
|
||||
<type>noise-spike</type>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/acconfig/mismatch-code</property>
|
||||
<value>0x000</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
<value>0</value>
|
||||
</input>
|
||||
<input>/controls/flight/aileron</input>
|
||||
<output>/controls/flight/aileron-input-fast</output>
|
||||
<max-rate-of-change>5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<debug>false</debug>
|
||||
<type>noise-spike</type>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/acconfig/mismatch-code</property>
|
||||
<value>0x000</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
<value>0</value>
|
||||
</input>
|
||||
<input>/controls/flight/elevator</input>
|
||||
<output>/controls/flight/elevator-input-fast</output>
|
||||
<max-rate-of-change>5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<debug>false</debug>
|
||||
<type>noise-spike</type>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/acconfig/mismatch-code</property>
|
||||
<value>0x000</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
<property>/it-autoflight/internal/aileron-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/aileron</property>
|
||||
<entry><ind>-1.00</ind><dep>-1</dep></entry>
|
||||
<entry><ind>-0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.00</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 1.00</ind><dep> 1</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/controls/flight/aileron-input</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>1.0</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<debug>false</debug>
|
||||
<type>noise-spike</type>
|
||||
<enable>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/acconfig/mismatch-code</property>
|
||||
<value>0x000</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>30</value>
|
||||
</less-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/controls/flight/flap-pos</property>
|
||||
<value>4</value>
|
||||
</greater-than-equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle</property>
|
||||
<value>0.65</value>
|
||||
</less-than>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle</property>
|
||||
<value>0.65</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/FMGC/status/to-state</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[0]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/elevator</property>
|
||||
<entry><ind>-1.00</ind><dep>-1</dep></entry>
|
||||
<entry><ind>-0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.00</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 1.00</ind><dep> 1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<entry><ind> 5</ind><dep>0.20</dep></entry>
|
||||
<entry><ind>30</ind><dep>0.10</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>30</value>
|
||||
</less-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/controls/flight/flap-pos</property>
|
||||
<value>4</value>
|
||||
</greater-than-equals>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[0]/throttle</property>
|
||||
<value>0.65</value>
|
||||
</less-than>
|
||||
<less-than>
|
||||
<property>/controls/engines/engine[1]/throttle</property>
|
||||
<value>0.65</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/FMGC/status/to-state</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[0]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/elevator</property>
|
||||
<entry><ind>-1.00</ind><dep>-1</dep></entry>
|
||||
<entry><ind>-0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.00</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 1.00</ind><dep> 1</dep></entry>
|
||||
</table>
|
||||
<value>0.15</value>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/it-autoflight/internal/elevator-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</input>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/elevator</property>
|
||||
<entry><ind>-1.00</ind><dep>-1</dep></entry>
|
||||
<entry><ind>-0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.00</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 0.04</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 1.00</ind><dep> 1</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/controls/flight/elevator-input</output>
|
||||
<max-rate-of-change>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<value>1.0</value>
|
||||
</max-rate-of-change>
|
||||
<max-rate-of-change>5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
</PropertyList>
|
|
@ -6,107 +6,31 @@
|
|||
##############################################
|
||||
-->
|
||||
|
||||
<!-- Airbus A3XX FBW System -->
|
||||
<!-- Airbus A320 FBW System -->
|
||||
<!-- Joshua Davidson (it0uchpods) -->
|
||||
<!-- I didn't see an easy way to do this controller in JSBsim, so I keep it here -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Vertical -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: LOAD FACTOR CMD</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/elevator-input</property>
|
||||
<entry><ind> 1</ind><dep>-0.5</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 1.0</dep></entry>
|
||||
<entry><ind>-1</ind><dep> 2.5</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/g-target</output>
|
||||
<min>
|
||||
<condition>
|
||||
<not-equals>
|
||||
<property>/controls/flight/flap-pos</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</min>
|
||||
<min>-1.0</min>
|
||||
<max>
|
||||
<condition>
|
||||
<not-equals>
|
||||
<property>/controls/flight/flap-pos</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
</condition>
|
||||
<value>2.0</value>
|
||||
</max>
|
||||
<max>2.5</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: COMPUTED G</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<sum>
|
||||
<property>/accelerations/pilot-gdamped</property>
|
||||
<div>
|
||||
<value>-1</value>
|
||||
<cos>
|
||||
<deg2rad>
|
||||
<product>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>0.965</value>
|
||||
</product>
|
||||
</deg2rad>
|
||||
</cos>
|
||||
</div>
|
||||
<value>1</value>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/g-computed</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: G ERROR</name>
|
||||
<type>gain</type>
|
||||
<gain>-1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<dif>
|
||||
<property>/it-fbw/g-target</property>
|
||||
<property>/it-fbw/g-computed</property>
|
||||
</dif>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/g-error</output>
|
||||
</filter>
|
||||
|
||||
<pi-simple-controller>
|
||||
<name>IT-CONTROLLER: G ELEVATOR</name>
|
||||
<name>FBW PITCH G PI</name>
|
||||
<debug>false</debug>
|
||||
<enable>
|
||||
<input>
|
||||
<property>/fdm/jsbsim/fbw/pitch/g-error</property>
|
||||
</input>
|
||||
<reference>
|
||||
<value>0</value>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/fdm/jsbsim/fbw/pitch/g-pi</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>-1.5</Kp>
|
||||
<Ki>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<property>/fdm/jsbsim/position/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
|
@ -121,560 +45,30 @@
|
|||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/it-fbw/g-error</property>
|
||||
</input>
|
||||
<reference>
|
||||
<value>0</value>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/it-fbw/g-elevator-cmd</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>-1.5</Kp>
|
||||
<Ki>-1.5</Ki>
|
||||
<value>-1.5</value>
|
||||
</Ki>
|
||||
<Ki>0.0</Ki>
|
||||
<min>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/controls/flight/elevator-input</property>
|
||||
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
|
||||
<value>0</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>/controls/flight/elevator-input</property>
|
||||
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
|
||||
</min>
|
||||
<min>0.0</min>
|
||||
<max>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/controls/flight/elevator-input</property>
|
||||
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<property>/controls/flight/elevator-input</property>
|
||||
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
|
||||
</max>
|
||||
<max>0.0</max>
|
||||
</config>
|
||||
</pi-simple-controller>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: G ELEVATOR INVERT</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>90</value>
|
||||
</less-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>-90</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/it-fbw/g-elevator-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<property>/it-fbw/g-elevator-cmd</property>
|
||||
<scale>-1.0</scale>
|
||||
</input>
|
||||
<output>/it-fbw/g-elevator</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: PITCH RATE CMD</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 1</ind><dep>-5.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>-1</ind><dep> 5.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>-15.00000</ind><dep>1</dep></entry>
|
||||
<entry><ind>-14.99999</ind><dep>0</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind>1</ind><dep>5.0</dep></entry>
|
||||
<entry><ind>0</ind><dep>0.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>29.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>30.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>-1</ind><dep>-5.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>-18</ind><dep> 5</dep></entry>
|
||||
<entry><ind>-15</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 30</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 33</ind><dep>-5</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 1</ind><dep>-5.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>-1</ind><dep> 5.0</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 0.0</ind><dep> 1.5</dep></entry>
|
||||
<entry><ind>-1.0</ind><dep> 5.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>29.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>30.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 0</ind><dep>-1.5</dep></entry>
|
||||
<entry><ind>-1</ind><dep>-5.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind> 30</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 33</ind><dep>-5</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 1.0</ind><dep>-3.5</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 1.5</dep></entry>
|
||||
<entry><ind>-1.0</ind><dep> 5.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>-15.00000</ind><dep>1</dep></entry>
|
||||
<entry><ind>-14.99999</ind><dep>0</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind>1</ind><dep> 3.5</dep></entry>
|
||||
<entry><ind>0</ind><dep>-1.5</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>29.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>30.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/it-fbw/g-elevator</property>
|
||||
<entry><ind> 0</ind><dep>-1.5</dep></entry>
|
||||
<entry><ind>-1</ind><dep>-5.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<table>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
<entry><ind>-18</ind><dep> 5</dep></entry>
|
||||
<entry><ind>-15</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 30</ind><dep> 0</dep></entry>
|
||||
<entry><ind> 33</ind><dep>-5</dep></entry>
|
||||
</table>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/pitch-rate</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: PITCH KP (P Gain)</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/velocities/mach</property>
|
||||
<entry><ind>0.2</ind><dep>-0.31</dep></entry>
|
||||
<entry><ind>0.9</ind><dep>-0.15</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/pitch-kp</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: PITCH TI (I Time)</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/velocities/mach</property>
|
||||
<entry><ind>0.2</ind><dep>0.75</dep></entry>
|
||||
<entry><ind>0.9</ind><dep>0.55</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/pitch-ti</output>
|
||||
</filter>
|
||||
|
||||
<pid-controller>
|
||||
<name>IT-CONTROLLER: PITCH</name>
|
||||
<debug>false</debug>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/orientation/pitch-rate-degps</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>/it-fbw/pitch-rate</property>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/controls/flight/elevator-fbw-pid</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>
|
||||
<property>/it-fbw/pitch-kp</property>
|
||||
</Kp>
|
||||
<beta>1</beta>
|
||||
<alpha>0.1</alpha>
|
||||
<gamma>0</gamma>
|
||||
<Ti>
|
||||
<property>/it-fbw/pitch-ti</property>
|
||||
</Ti>
|
||||
<Td>0.005</Td>
|
||||
<u_min>-1</u_min>
|
||||
<u_max>1</u_max>
|
||||
</config>
|
||||
</pid-controller>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: ELEVATOR INVERT</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<less-than-equals>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>90</value>
|
||||
</less-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>-90</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/elevator-fbw-pid</property>
|
||||
</input>
|
||||
<input>
|
||||
<property>/controls/flight/elevator-fbw-pid</property>
|
||||
<scale>-1.0</scale>
|
||||
</input>
|
||||
<output>/controls/flight/elevator-fbw-cmd</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: PITCH OPTION</name>
|
||||
<debug>false</debug>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/elevator-fbw-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/elevator-input-fast</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<value>0.1</value>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0</value>
|
||||
</input>
|
||||
<output>/controls/flight/elevator-fbw</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: PITCH TRIM</name>
|
||||
<debug>false</debug>
|
||||
<initialize-to>output</initialize-to>
|
||||
<type>noise-spike</type>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<or>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>100</value>
|
||||
</greater-than-equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>50</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</or>
|
||||
<less-than>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>40</value>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<value>-40</value>
|
||||
</greater-than>
|
||||
<or>
|
||||
<greater-than>
|
||||
<property>/controls/flight/elevator-fbw</property>
|
||||
<value>0.01</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>/controls/flight/elevator-fbw</property>
|
||||
<value>-0.01</value>
|
||||
</less-than>
|
||||
</or>
|
||||
<less-than>
|
||||
<property>/fdm/jsbsim/forces/load-factor</property>
|
||||
<value>-0.5</value>
|
||||
</less-than>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/controls/flight/elevator-fbw</property>
|
||||
<value>0.01</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<value>1</value>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/controls/flight/elevator-fbw</property>
|
||||
<value>-0.01</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<value>-1</value>
|
||||
</input>
|
||||
<output>/controls/flight/elevator-trim</output>
|
||||
<min>-1.0</min>
|
||||
<max>0.32</max>
|
||||
<max-rate-of-change>0.01</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,747 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<!-- Airbus A3XX FBW System -->
|
||||
<!-- Joshua Davidson (it0uchpods) -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Lateral -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: ROLL</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/roll-lim</property>
|
||||
<value>33</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/roll-back</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>-15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1</ind><dep> 15.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>-33.00000</ind><dep>1</dep></entry>
|
||||
<entry><ind>-32.99999</ind><dep>0</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>32.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>33.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>1</ind><dep>-15.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/roll-lim</property>
|
||||
<value>67</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>-15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1</ind><dep> 15.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>-67.00000</ind><dep>1</dep></entry>
|
||||
<entry><ind>-66.99999</ind><dep>0</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>66.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>67.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>1</ind><dep>-15.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/roll-back</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>-67</ind><dep> 25.0</dep></entry>
|
||||
<entry><ind>-40</ind><dep> 10.0</dep></entry>
|
||||
<entry><ind>-33</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 33</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 40</ind><dep>-10.0</dep></entry>
|
||||
<entry><ind> 67</ind><dep>-25.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/protections/overspeed-roll-back</property>
|
||||
<value>1</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<sum>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>-15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1</ind><dep> 15.0</dep></entry>
|
||||
</table>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>-40.00000</ind><dep>1</dep></entry>
|
||||
<entry><ind>-39.99999</ind><dep>0</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>-1</ind><dep>15.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
<product>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>39.99999</ind><dep>0</dep></entry>
|
||||
<entry><ind>40.00000</ind><dep>1</dep></entry>
|
||||
</table>
|
||||
<table>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<entry><ind>0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind>1</ind><dep>-15.0</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</sum>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-fbw/protections/overspeed</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/protections/overspeed-roll-back</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/orientation/roll-deg</property>
|
||||
<entry><ind>-40</ind><dep> 25.0</dep></entry>
|
||||
<entry><ind>-15</ind><dep> 10.0</dep></entry>
|
||||
<entry><ind> 0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 15</ind><dep>-10.0</dep></entry>
|
||||
<entry><ind> 40</ind><dep>-25.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/roll-rate</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: ROLL KP (P Gain)</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/velocities/mach</property>
|
||||
<entry><ind>0.2</ind><dep>0.13</dep></entry>
|
||||
<entry><ind>0.9</ind><dep>0.06</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/roll-kp</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: ROLL TI (I Time)</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/velocities/mach</property>
|
||||
<entry><ind>0.2</ind><dep>0.75</dep></entry>
|
||||
<entry><ind>0.9</ind><dep>0.65</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<output>/it-fbw/roll-ti</output>
|
||||
</filter>
|
||||
|
||||
<pid-controller>
|
||||
<name>IT-CONTROLLER: ROLL</name>
|
||||
<debug>false</debug>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/orientation/roll-rate-degps</property>
|
||||
</input>
|
||||
<reference>
|
||||
<property>/it-fbw/roll-rate</property>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/controls/flight/aileron-fbw-cmd</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>
|
||||
<property>/it-fbw/roll-kp</property>
|
||||
</Kp>
|
||||
<beta>1</beta>
|
||||
<alpha>0.1</alpha>
|
||||
<gamma>0</gamma>
|
||||
<Ti>
|
||||
<property>/it-fbw/roll-ti</property>
|
||||
</Ti>
|
||||
<Td>0.005</Td>
|
||||
<u_min>-1</u_min>
|
||||
<u_max>1</u_max>
|
||||
</config>
|
||||
</pid-controller>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: ROLL OPTION</name>
|
||||
<debug>false</debug>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/aileron-fbw-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</or>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/aileron-input-fast</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<scale>-1</scale>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0</value>
|
||||
</input>
|
||||
<output>/controls/flight/roll-fbw</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: SPOILER</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-fbw/roll-back</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<expression>
|
||||
<product>
|
||||
<property>/controls/flight/aileron-input</property>
|
||||
<table>
|
||||
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
|
||||
<entry><ind>0.2</ind><dep>1.00</dep></entry>
|
||||
<entry><ind>0.9</ind><dep>0.25</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-fbw/roll-back</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0</value>
|
||||
</input>
|
||||
<output>/controls/flight/spoiler-input</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: LEFT SPOILER</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/failures/aileron-left</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/spoiler-input</property>
|
||||
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
||||
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/failures/aileron-left</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/roll-fbw</property>
|
||||
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<input>0</input>
|
||||
<output>/controls/flight/spoiler-left-fbw-cmd</output>
|
||||
<min>-1</min>
|
||||
<max>1</max>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: RIGHT SPOILER</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/failures/aileron-right</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/spoiler-input</property>
|
||||
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
||||
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/systems/failures/aileron-right</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>3</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<expression>
|
||||
<table>
|
||||
<property>/controls/flight/roll-fbw</property>
|
||||
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
||||
</table>
|
||||
</expression>
|
||||
</input>
|
||||
<input>0</input>
|
||||
<output>/controls/flight/spoiler-right-fbw-cmd</output>
|
||||
<min>-1</min>
|
||||
<max>1</max>
|
||||
</filter>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Yaw Damper/Turn Coordinator -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: YAW DAMPER/TURN COORDINATOR FEEDBACK IF DISABLED</name>
|
||||
<enable>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<greater-than-equals>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0.1</value>
|
||||
</greater-than-equals>
|
||||
<less-than-equals>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>-0.1</value>
|
||||
</less-than-equals>
|
||||
<less-than>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>50</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/lat</property>
|
||||
<value>4</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</enable>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>0</input>
|
||||
<output>/controls/flight/rudder-fbw-cmd</output>
|
||||
<min>-0.2</min>
|
||||
<max>0.2</max>
|
||||
</filter>
|
||||
|
||||
<pid-controller>
|
||||
<name>IT-CONTROLLER: YAW DAMPER/TURN COORDINATOR</name>
|
||||
<debug>false</debug>
|
||||
<enable>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<greater-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>50</value>
|
||||
</greater-than-equals>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/lat</property>
|
||||
<value>4</value>
|
||||
</not-equals>
|
||||
<less-than>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0.1</value>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>-0.1</value>
|
||||
</greater-than>
|
||||
</and>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
|
||||
</input>
|
||||
<reference>
|
||||
<value>0</value>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/controls/flight/rudder-fbw-cmd</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>0.025</Kp>
|
||||
<beta>1</beta>
|
||||
<alpha>0.1</alpha>
|
||||
<gamma>0</gamma>
|
||||
<Ti>3.0</Ti>
|
||||
<Td>0.00001</Td>
|
||||
<u_min>-0.2</u_min>
|
||||
<u_max>0.2</u_max>
|
||||
</config>
|
||||
</pid-controller>
|
||||
|
||||
<filter>
|
||||
<name>IT-CONTROLLER: RUDDER OPTION</name>
|
||||
<debug>false</debug>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<input>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0.1</value>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>-0.1</value>
|
||||
</greater-than>
|
||||
<greater-than-equals>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>50</value>
|
||||
</greater-than-equals>
|
||||
<not-equals>
|
||||
<property>/it-autoflight/output/lat</property>
|
||||
<value>4</value>
|
||||
</not-equals>
|
||||
</and>
|
||||
</condition>
|
||||
<property>/controls/flight/rudder-fbw-cmd</property>
|
||||
</input>
|
||||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/gear/gear[1]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/gear/gear[2]/wow</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<not-equals>
|
||||
<property>/it-fbw/law</property>
|
||||
<value>0</value>
|
||||
</not-equals>
|
||||
<greater-than-equals>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0.1</value>
|
||||
</greater-than-equals>
|
||||
<less-than-equals>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>-0.1</value>
|
||||
</less-than-equals>
|
||||
<less-than>
|
||||
<property>/position/gear-agl-ft</property>
|
||||
<value>50</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/lat</property>
|
||||
<value>4</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
<property>/controls/flight/rudder</property>
|
||||
</input>
|
||||
<output>/controls/flight/rudder-fbw</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>2.5</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
</PropertyList>
|
|
@ -657,20 +657,6 @@
|
|||
<debug>false</debug>
|
||||
<type>gain</type>
|
||||
<gain>0.15</gain>
|
||||
<enable>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/orientation/pitch-deg</property>
|
||||
</input>
|
||||
|
@ -678,7 +664,7 @@
|
|||
<property>/it-autoflight/internal/target-pitch-deg</property>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/it-autoflight/internal/elevator-cmd</property> <!-- Inputs to the FBW Pitch Rate -->
|
||||
<property>/fdm/jsbsim/fbw/fmgc/pitch-cmd</property> <!-- Inputs to the FBW Pitch Rate -->
|
||||
</output>
|
||||
<min>-0.3</min>
|
||||
<max>0.3</max>
|
||||
|
|
|
@ -197,20 +197,6 @@
|
|||
<debug>false</debug>
|
||||
<type>gain</type>
|
||||
<gain>-0.1</gain>
|
||||
<enable>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/orientation/roll-deg</property>
|
||||
</input>
|
||||
|
@ -245,7 +231,7 @@
|
|||
<value>0</value>
|
||||
</reference>
|
||||
<output>
|
||||
<property>/it-autoflight/internal/aileron-cmd</property> <!-- Inputs to the FBW Roll Rate -->
|
||||
<property>/fdm/jsbsim/fbw/fmgc/roll-cmd</property> <!-- Inputs to the FBW Roll Rate -->
|
||||
</output>
|
||||
<min>-0.32</min>
|
||||
<max>0.32</max>
|
||||
|
@ -315,20 +301,6 @@
|
|||
<debug>false</debug>
|
||||
<feedback-if-disabled>true</feedback-if-disabled>
|
||||
<initialize-to>output</initialize-to>
|
||||
<enable>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap1</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/it-autoflight/output/ap2</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<not-equals>
|
||||
|
@ -347,7 +319,7 @@
|
|||
</condition>
|
||||
<property>/it-autoflight/internal/rudder-cmd</property>
|
||||
</input>
|
||||
<output>/controls/flight/rudder</output>
|
||||
<output>/fdm/jsbsim/fbw/fmgc/yaw-cmd</output>
|
||||
<type>noise-spike</type>
|
||||
<max-rate-of-change>0.6</max-rate-of-change>
|
||||
</filter>
|
||||
|
|
|
@ -523,17 +523,8 @@
|
|||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/it-autoflight/mode/thr</property>
|
||||
<value>RETARD</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<value>0.0</value>
|
||||
</input>
|
||||
<input>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/throttle-cmd-pid</property>
|
||||
</output>
|
||||
|
@ -643,7 +634,7 @@
|
|||
</condition>
|
||||
</enable>
|
||||
<input>
|
||||
<property>/controls/engines/throttle-pid-max</property>
|
||||
<value>1.0</value>
|
||||
</input>
|
||||
<output>
|
||||
<property>/controls/engines/throttle-cmd-pid</property>
|
||||
|
@ -750,36 +741,6 @@
|
|||
<output>
|
||||
<property>/controls/engines/throttle-cmd-pid</property>
|
||||
</output>
|
||||
<min>
|
||||
<property>/controls/engines/idle-limit</property>
|
||||
</min>
|
||||
<max>
|
||||
<property>/controls/engines/throttle-pid-max</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<!-- Engine 1 -->
|
||||
<filter>
|
||||
<name>Thrust Filter 1</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
||||
<max>
|
||||
<property>/controls/engines/engine[0]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
<!-- Engine 2 -->
|
||||
<filter>
|
||||
<name>Thrust Filter 2</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/engines/throttle-cmd-pid</input>
|
||||
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
||||
<max>
|
||||
<property>/controls/engines/engine[1]/throttle-man</property>
|
||||
</max>
|
||||
</filter>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
<!-- Airbus A3XX FMGC System by Joshua Davidson (it0uchpods) and Jonathan Redpath (legoboyvdlp) -->
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
# Copyright (c) Joshua Davidson (it0uchpods) #
|
||||
##############################################
|
||||
-->
|
||||
|
||||
<system name="fmgc">
|
||||
<property value="0">/FMGC/internal/greendot-kts</property>
|
||||
|
||||
<channel name="GreenDot">
|
||||
<fcs_function name="/FMGC/internal/greendot-kts">
|
||||
<description>GreenDot</description>
|
||||
<function>
|
||||
<sum>
|
||||
<product>
|
||||
<product>
|
||||
<property>/fdm/jsbsim/inertia/weight-lbs</property>
|
||||
<value>0.000453592</value>
|
||||
</product>
|
||||
<v>2</v>
|
||||
</product>
|
||||
<v>85</v>
|
||||
</sum>
|
||||
</function>
|
||||
</fcs_function>
|
||||
</channel>
|
||||
</system>
|
|
@ -10,6 +10,107 @@
|
|||
|
||||
<PropertyList>
|
||||
|
||||
<style n="0">
|
||||
<colors n="0">
|
||||
<background n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.05</blue>
|
||||
<green>0.05</green>
|
||||
<red>0.05</red>
|
||||
</background>
|
||||
<button n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.2</blue>
|
||||
<green>0.2</green>
|
||||
<red>0.2</red>
|
||||
</button>
|
||||
<checkbox-foreground n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.05</blue>
|
||||
<green>0.05</green>
|
||||
<red>0.05</red>
|
||||
</checkbox-foreground>
|
||||
<checkbox-highlight n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.9</blue>
|
||||
<green>0.9</green>
|
||||
<red>0.9</red>
|
||||
</checkbox-highlight>
|
||||
<checkbox-misc n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.9</blue>
|
||||
<green>0.9</green>
|
||||
<red>0.9</red>
|
||||
</checkbox-misc>
|
||||
<combo-editfield n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.2</blue>
|
||||
<green>0.2</green>
|
||||
<red>0.2</red>
|
||||
</combo-editfield>
|
||||
<dial-misc n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.9</blue>
|
||||
<green>0.9</green>
|
||||
<red>0.9</red>
|
||||
</dial-misc>
|
||||
<hrule n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>1.0</blue>
|
||||
<green>0.0</green>
|
||||
<red>1.0</red>
|
||||
</hrule>
|
||||
<input n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.2</blue>
|
||||
<green>0.2</green>
|
||||
<red>0.2</red>
|
||||
</input>
|
||||
<input-legend n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.9</blue>
|
||||
<green>0.9</green>
|
||||
<red>0.9</red>
|
||||
</input-legend>
|
||||
<input-misc n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.9</blue>
|
||||
<green>0.9</green>
|
||||
<red>0.9</red>
|
||||
</input-misc>
|
||||
<radio-foreground n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.0</blue>
|
||||
<green>0.0</green>
|
||||
<red>0.0</red>
|
||||
</radio-foreground>
|
||||
<select-editfield n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.2</blue>
|
||||
<green>0.2</green>
|
||||
<red>0.2</red>
|
||||
</select-editfield>
|
||||
<slider n="0">
|
||||
<alpha>1.0</alpha>
|
||||
<blue>0.4</blue>
|
||||
<green>0.4</green>
|
||||
<red>0.4</red>
|
||||
</slider>
|
||||
<textbox-editable n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>0.2</blue>
|
||||
<green>0.2</green>
|
||||
<red>0.2</red>
|
||||
</textbox-editable>
|
||||
<vrule n="0">
|
||||
<alpha>0.9</alpha>
|
||||
<blue>1.0</blue>
|
||||
<green>0.0</green>
|
||||
<red>1.0</red>
|
||||
</vrule>
|
||||
</colors>
|
||||
</style>
|
||||
|
||||
<style n="1">
|
||||
<colors n="0">
|
||||
<background n="0">
|
||||
|
|
|
@ -553,14 +553,7 @@
|
|||
<name>TAS</name>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>
|
||||
<expression>
|
||||
<product>
|
||||
<property>/velocities/uBody-fps</property>
|
||||
<value>0.592484</value>
|
||||
</product>
|
||||
</expression>
|
||||
</input>
|
||||
<input>/instrumentation/airspeed-indicator/true-speed-kt</input>
|
||||
<output>/velocities/TAS</output>
|
||||
</filter>
|
||||
|
||||
|
|
|
@ -276,8 +276,8 @@
|
|||
<product>
|
||||
<table>
|
||||
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value> </product>
|
||||
<entry><ind>0.15</ind> <dep>0.40</dep></entry>
|
||||
<entry><ind>0.22</ind> <dep>0.85</dep></entry>
|
||||
<entry><ind>0.15</ind> <dep>0.50</dep></entry>
|
||||
<entry><ind>0.22</ind> <dep>1.00</dep></entry>
|
||||
<entry><ind>0.50</ind> <dep>1.30</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
|
@ -296,8 +296,8 @@
|
|||
<product>
|
||||
<table>
|
||||
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value> </product>
|
||||
<entry><ind>0.15</ind> <dep>0.40</dep></entry>
|
||||
<entry><ind>0.22</ind> <dep>0.85</dep></entry>
|
||||
<entry><ind>0.15</ind> <dep>0.50</dep></entry>
|
||||
<entry><ind>0.22</ind> <dep>1.00</dep></entry>
|
||||
<entry><ind>0.50</ind> <dep>1.30</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
|
|
3
THANKS.md
Normal file
3
THANKS.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Thank you to:
|
||||
Amanda Santos for the sound "botaodepressao", used for the overhead panel under the CC0 license:
|
||||
https://freesound.org/people/amandasantos/sounds/392148/
|
|
@ -1 +1 @@
|
|||
4330
|
||||
4504
|
Reference in a new issue