A3XX: Improve FDE, Fix Engine Parameters

FDE: Fix Drag for various
FDE: Fix Engine Idle N1 and N2
This commit is contained in:
Joshua Davidson 2017-06-05 19:42:02 -04:00
parent a6420a44c6
commit e382d527df
21 changed files with 150 additions and 1402 deletions

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A319-133 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A319-133 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A320-232 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A320-232 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -71,7 +71,7 @@
<path>Aircraft/A320Family/Systems/custom-autothrust.xml</path>
</autopilot>
<autopilot n="5">
<path>Aircraft/A320Family/Systems/engine-timing.xml</path>
<path>Aircraft/A320Family/Systems/libraries.xml</path>
</autopilot>
<autopilot n="6">
<path>Aircraft/A320Family/Systems/fmgc-c.xml</path>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A321-231 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A321-231 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus ACJ with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B3.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B3
type: turbine
thrust: 33000 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B3">
<milthrust> 27000 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B4.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B4
type: turbine
thrust: 27000 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B4">
<milthrust> 27000 </milthrust>
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B6.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B6
type: turbine
thrust: 23300 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B6">
<milthrust> 27000 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 23000 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 26600 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust>
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 32000 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -361,13 +361,14 @@ var APinit = func {
# AP 1 Master System
setlistener("/it-autoflight/input/ap1", func {
var apmas = getprop("/it-autoflight/input/ap1");
var ac_ess = getprop("/systems/electrical/bus/ac-ess");
if (apmas == 0) {
setprop("/it-autoflight/output/ap1", 0);
if (getprop("/it-autoflight/sound/enableapoffsound") == 1) {
setprop("/it-autoflight/sound/apoffsound", 1);
setprop("/it-autoflight/sound/enableapoffsound", 0);
}
} else if (apmas == 1) {
} else if (apmas == 1 and ac_ess >= 110) {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {
setprop("/it-autoflight/output/ap1", 1);
setprop("/it-autoflight/sound/enableapoffsound", 1);
@ -379,13 +380,14 @@ setlistener("/it-autoflight/input/ap1", func {
# AP 2 Master System
setlistener("/it-autoflight/input/ap2", func {
var apmas = getprop("/it-autoflight/input/ap2");
var ac_ess = getprop("/systems/electrical/bus/ac-ess");
if (apmas == 0) {
setprop("/it-autoflight/output/ap2", 0);
if (getprop("/it-autoflight/sound/enableapoffsound2") == 1) {
setprop("/it-autoflight/sound/apoffsound2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 0);
}
} else if (apmas == 1) {
} else if (apmas == 1 and ac_ess >= 110) {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {
setprop("/it-autoflight/output/ap2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 1);

View file

@ -396,71 +396,73 @@ var master_elec = func {
decharge2.start();
}
if (getprop("/systems/electrical/bus/ac-ess") == 0) {
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
setprop("/it-autoflight/input/ap1", 0);
setprop("/it-autoflight/input/ap2", 0);
setprop("systems/electrical/on", 0);
# ai_spin.setValue(0.2);
# aispin.stop();
setprop("systems/electrical/outputs/adf", 0);
setprop("systems/electrical/outputs/audio-panel", 0);
setprop("systems/electrical/outputs/audio-panel[1]", 0);
setprop("systems/electrical/outputs/autopilot", 0);
setprop("systems/electrical/outputs/avionics-fan", 0);
setprop("systems/electrical/outputs/beacon", 0);
setprop("systems/electrical/outputs/bus", 0);
setprop("systems/electrical/outputs/cabin-lights", 0);
setprop("systems/electrical/outputs/dme", 0);
setprop("systems/electrical/outputs/efis", 0);
setprop("systems/electrical/outputs/flaps", 0);
setprop("systems/electrical/outputs/fuel-pump", 0);
setprop("systems/electrical/outputs/fuel-pump[1]", 0);
setprop("systems/electrical/outputs/gps", 0);
setprop("systems/electrical/outputs/gps-mfd", 0);
setprop("systems/electrical/outputs/hsi", 0);
setprop("systems/electrical/outputs/instr-ignition-switch", 0);
setprop("systems/electrical/outputs/instrument-lights", 0);
setprop("systems/electrical/outputs/landing-lights", 0);
setprop("systems/electrical/outputs/map-lights", 0);
setprop("systems/electrical/outputs/mk-viii", 0);
setprop("systems/electrical/outputs/nav", 0);
setprop("systems/electrical/outputs/nav[1]", 0);
setprop("systems/electrical/outputs/pitot-head", 0);
setprop("systems/electrical/outputs/stobe-lights", 0);
setprop("systems/electrical/outputs/tacan", 0);
setprop("systems/electrical/outputs/taxi-lights", 0);
setprop("systems/electrical/outputs/transponder", 0);
setprop("systems/electrical/outputs/turn-coordinator", 0);
setprop("/systems/electrical/outputs/adf", 0);
setprop("/systems/electrical/outputs/audio-panel", 0);
setprop("/systems/electrical/outputs/audio-panel[1]", 0);
setprop("/systems/electrical/outputs/autopilot", 0);
setprop("/systems/electrical/outputs/avionics-fan", 0);
setprop("/systems/electrical/outputs/beacon", 0);
setprop("/systems/electrical/outputs/bus", 0);
setprop("/systems/electrical/outputs/cabin-lights", 0);
setprop("/systems/electrical/outputs/dme", 0);
setprop("/systems/electrical/outputs/efis", 0);
setprop("/systems/electrical/outputs/flaps", 0);
setprop("/systems/electrical/outputs/fuel-pump", 0);
setprop("/systems/electrical/outputs/fuel-pump[1]", 0);
setprop("/systems/electrical/outputs/gps", 0);
setprop("/systems/electrical/outputs/gps-mfd", 0);
setprop("/systems/electrical/outputs/hsi", 0);
setprop("/systems/electrical/outputs/instr-ignition-switch", 0);
setprop("/systems/electrical/outputs/instrument-lights", 0);
setprop("/systems/electrical/outputs/landing-lights", 0);
setprop("/systems/electrical/outputs/map-lights", 0);
setprop("/systems/electrical/outputs/mk-viii", 0);
setprop("/systems/electrical/outputs/nav", 0);
setprop("/systems/electrical/outputs/nav[1]", 0);
setprop("/systems/electrical/outputs/pitot-head", 0);
setprop("/systems/electrical/outputs/stobe-lights", 0);
setprop("/systems/electrical/outputs/tacan", 0);
setprop("/systems/electrical/outputs/taxi-lights", 0);
setprop("/systems/electrical/outputs/transponder", 0);
setprop("/systems/electrical/outputs/turn-coordinator", 0);
} else {
setprop("systems/electrical/on", 1);
setprop("/systems/electrical/on", 1);
# aispin.start();
setprop("systems/electrical/outputs/adf", dc_volt_std);
setprop("systems/electrical/outputs/audio-panel", dc_volt_std);
setprop("systems/electrical/outputs/audio-panel[1]", dc_volt_std);
setprop("systems/electrical/outputs/autopilot", dc_volt_std);
setprop("systems/electrical/outputs/avionics-fan", dc_volt_std);
setprop("systems/electrical/outputs/beacon", dc_volt_std);
setprop("systems/electrical/outputs/bus", dc_volt_std);
setprop("systems/electrical/outputs/cabin-lights", dc_volt_std);
setprop("systems/electrical/outputs/dme", dc_volt_std);
setprop("systems/electrical/outputs/efis", dc_volt_std);
setprop("systems/electrical/outputs/flaps", dc_volt_std);
setprop("systems/electrical/outputs/fuel-pump", dc_volt_std);
setprop("systems/electrical/outputs/fuel-pump[1]", dc_volt_std);
setprop("systems/electrical/outputs/gps", dc_volt_std);
setprop("systems/electrical/outputs/gps-mfd", dc_volt_std);
setprop("systems/electrical/outputs/hsi", dc_volt_std);
setprop("systems/electrical/outputs/instr-ignition-switch", dc_volt_std);
setprop("systems/electrical/outputs/instrument-lights", dc_volt_std);
setprop("systems/electrical/outputs/landing-lights", dc_volt_std);
setprop("systems/electrical/outputs/map-lights", dc_volt_std);
setprop("systems/electrical/outputs/mk-viii", dc_volt_std);
setprop("systems/electrical/outputs/nav", dc_volt_std);
setprop("systems/electrical/outputs/nav[1]", dc_volt_std);
setprop("systems/electrical/outputs/pitot-head", dc_volt_std);
setprop("systems/electrical/outputs/stobe-lights", dc_volt_std);
setprop("systems/electrical/outputs/tacan", dc_volt_std);
setprop("systems/electrical/outputs/taxi-lights", dc_volt_std);
setprop("systems/electrical/outputs/transponder", dc_volt_std);
setprop("systems/electrical/outputs/turn-coordinator", dc_volt_std);
setprop("/systems/electrical/outputs/adf", dc_volt_std);
setprop("/systems/electrical/outputs/audio-panel", dc_volt_std);
setprop("/systems/electrical/outputs/audio-panel[1]", dc_volt_std);
setprop("/systems/electrical/outputs/autopilot", dc_volt_std);
setprop("/systems/electrical/outputs/avionics-fan", dc_volt_std);
setprop("/systems/electrical/outputs/beacon", dc_volt_std);
setprop("/systems/electrical/outputs/bus", dc_volt_std);
setprop("/systems/electrical/outputs/cabin-lights", dc_volt_std);
setprop("/systems/electrical/outputs/dme", dc_volt_std);
setprop("/systems/electrical/outputs/efis", dc_volt_std);
setprop("/systems/electrical/outputs/flaps", dc_volt_std);
setprop("/systems/electrical/outputs/fuel-pump", dc_volt_std);
setprop("/systems/electrical/outputs/fuel-pump[1]", dc_volt_std);
setprop("/systems/electrical/outputs/gps", dc_volt_std);
setprop("/systems/electrical/outputs/gps-mfd", dc_volt_std);
setprop("/systems/electrical/outputs/hsi", dc_volt_std);
setprop("/systems/electrical/outputs/instr-ignition-switch", dc_volt_std);
setprop("/systems/electrical/outputs/instrument-lights", dc_volt_std);
setprop("/systems/electrical/outputs/landing-lights", dc_volt_std);
setprop("/systems/electrical/outputs/map-lights", dc_volt_std);
setprop("/systems/electrical/outputs/mk-viii", dc_volt_std);
setprop("/systems/electrical/outputs/nav", dc_volt_std);
setprop("/systems/electrical/outputs/nav[1]", dc_volt_std);
setprop("/systems/electrical/outputs/pitot-head", dc_volt_std);
setprop("/systems/electrical/outputs/stobe-lights", dc_volt_std);
setprop("/systems/electrical/outputs/tacan", dc_volt_std);
setprop("/systems/electrical/outputs/taxi-lights", dc_volt_std);
setprop("/systems/electrical/outputs/transponder", dc_volt_std);
setprop("/systems/electrical/outputs/turn-coordinator", dc_volt_std);
}
}

View file

@ -1,4 +1,4 @@
# A320Family JSB Engine System
# A3XX JSB Engine System
# Joshua Davidson (it0uchpods)
#####################
@ -6,12 +6,12 @@
#####################
var engines = props.globals.getNode("/engines").getChildren("engine");
var n1_min = 23.4;
var n1_min = 22.4;
var n2_min = 63.7;
var egt_min = 434;
var n1_spin = 5.1;
var n2_spin = 22.8;
var n1_start = 23.3;
var n1_start = 22.3;
var n2_start = 63.6;
var egt_start = 587;
var n1_max = 105.8;
@ -125,7 +125,7 @@ var eng_one_n2_check = func {
if (getprop("/engines/engine[0]/egt-actual") >= egt_start) {
interpolate(engines[0].getNode("egt-actual"), egt_min, egt_lightdn_time);
}
if (getprop("/engines/engine[0]/n2") >= 50.8) {
if (getprop("/engines/engine[0]/n2") >= 55.8) {
setprop("/systems/pneumatic/eng1-starter", 0);
setprop("/engines/engine[0]/state", 3);
eng_one_n2_checkt.stop();
@ -166,7 +166,7 @@ var eng_two_n2_check = func {
if (getprop("/engines/engine[1]/egt-actual") >= egt_start) {
interpolate(engines[1].getNode("egt-actual"), egt_min, egt_lightdn_time);
}
if (getprop("/engines/engine[1]/n2") >= 50.8) {
if (getprop("/engines/engine[1]/n2") >= 55.8) {
setprop("/systems/pneumatic/eng2-starter", 0);
setprop("/engines/engine[1]/state", 3);
eng_two_n2_checkt.stop();

File diff suppressed because it is too large Load diff

View file

@ -55,7 +55,7 @@
<expression>
<table>
<property>/controls/engines/engine[0]/throttle-man</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>0.95</ind><dep>101.7</dep></entry>
</table>
</expression>
@ -72,7 +72,7 @@
<expression>
<table>
<property>/controls/engines/engine[1]/throttle-man</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>0.95</ind><dep>101.7</dep></entry>
</table>
</expression>
@ -415,7 +415,7 @@
<expression>
<table>
<property>/engines/flx-thr</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>1.00</ind><dep>105.8</dep></entry>
</table>
</expression>
@ -448,7 +448,7 @@
<property>/engines/engine[0]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>690</dep></entry>
</table>
</expression>
@ -481,7 +481,7 @@
<property>/engines/engine[1]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>690</dep></entry>
</table>
</expression>

View file

@ -91,7 +91,7 @@
<table>
<property>/engines/engine[0]/n1</property>
<entry><ind> 18.0</ind><dep>0.00</dep></entry>
<entry><ind> 23.4</ind><dep>0.03</dep></entry>
<entry><ind> 22.4</ind><dep>0.03</dep></entry>
<entry><ind> 35.0</ind><dep>0.20</dep></entry>
<entry><ind>105.8</ind><dep>1.00</dep></entry>
</table>
@ -162,7 +162,7 @@
<table>
<property>/engines/engine[1]/n1</property>
<entry><ind> 18.0</ind><dep>0.00</dep></entry>
<entry><ind> 23.4</ind><dep>0.03</dep></entry>
<entry><ind> 22.4</ind><dep>0.03</dep></entry>
<entry><ind> 35.0</ind><dep>0.20</dep></entry>
<entry><ind>105.8</ind><dep>1.00</dep></entry>
</table>
@ -714,7 +714,7 @@
<property>/engines/engine[0]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>620</dep></entry>
</table>
</expression>
@ -747,7 +747,7 @@
<property>/engines/engine[1]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>620</dep></entry>
</table>
</expression>

View file

@ -11,7 +11,7 @@
<expression>
<table>
<property>/FMGC/internal/flex-cmd</property>
<entry><ind> 0</ind><dep>0.0</dep></entry>
<entry><ind> 0</ind><dep>0.00</dep></entry>
<entry><ind>70</ind><dep>0.12</dep></entry>
</table>
</expression>