This commit is contained in:
omega13a 2017-06-05 19:42:57 -07:00
commit 0120b1c7d9
31 changed files with 774 additions and 1623 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>
@ -735,7 +735,7 @@
<file>Aircraft/A320Family/Nasal/ADIRS.nas</file>
</systems>
<thrust>
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
<file>Aircraft/A320Family/Nasal/fadec.nas</file>
</thrust>
<fbw>
<file>Aircraft/A320Family/Nasal/it-fbw.nas</file>

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

@ -207,6 +207,34 @@
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pitch-mode-box</object-name>
<object-name>pitch-mode-armed-box</object-name>
<object-name>roll-mode-box</object-name>
<object-name>roll-mode-armed-box</object-name>
<condition>
<or>
<equals>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rudder_bar</object-name>
@ -1594,10 +1622,46 @@
<type>select</type>
<object-name>throttle-mode-box</object-name>
<condition>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<and>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<or>
<not-equals>
<property>/systems/thrust/state1</property>
<value>IDLE</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>IDLE</value>
</not-equals>
</or>
</and>
</condition>
</animation>

View file

@ -207,6 +207,34 @@
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pitch-mode-box</object-name>
<object-name>pitch-mode-armed-box</object-name>
<object-name>roll-mode-box</object-name>
<object-name>roll-mode-armed-box</object-name>
<condition>
<or>
<equals>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rudder_bar</object-name>
@ -1594,10 +1622,46 @@
<type>select</type>
<object-name>throttle-mode-box</object-name>
<condition>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<and>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<or>
<not-equals>
<property>/systems/thrust/state1</property>
<value>IDLE</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>IDLE</value>
</not-equals>
</or>
</and>
</condition>
</animation>

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<sim>
<model>
<livery>
<name>DNB Airlines</name>
<texture>Liveries/A320/IAE/DNBairlines.png</texture>
</livery>
</model>
</sim>
<options>
<EIS2 type="bool">0</EIS2>
</options>
<sharklet type="bool">0</sharklet>
</PropertyList>

View file

@ -4,7 +4,7 @@
<sim>
<model>
<livery>
<name>jetBlue (Blue Finest)</name>
<name>JetBlue (Blue Finest)</name>
<texture>Liveries/A320/IAE/N531JL.png</texture>
</livery>
</model>

View file

@ -14,6 +14,7 @@ setprop("/FMGC/internal/mng-kts-mach", 0);
setprop("/FMGC/internal/mach-switchover", 0);
setprop("/it-autoflight/settings/reduc-agl-ft", 3000);
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
setprop("/it-autoflight/output/fma-pwr", 0);
var FMGCinit = func {
setprop("/FMGC/status/to-state", 0);
@ -340,6 +341,7 @@ var APinit = func {
setprop("/it-autoflight/output/thr-mode", 2);
setprop("/it-autoflight/output/lat", 5);
setprop("/it-autoflight/output/vert", 7);
setprop("/it-autoflight/output/fma-pwr", 0);
setprop("/it-autoflight/settings/use-nav2-radio", 0);
setprop("/it-autoflight/settings/use-backcourse", 0);
setprop("/it-autoflight/internal/min-vs", -500);
@ -361,14 +363,17 @@ 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) {
fmabox();
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)) {
fmabox();
setprop("/it-autoflight/output/ap1", 1);
setprop("/it-autoflight/sound/enableapoffsound", 1);
setprop("/it-autoflight/sound/apoffsound", 0);
@ -379,14 +384,17 @@ 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) {
fmabox();
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)) {
fmabox();
setprop("/it-autoflight/output/ap2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 1);
setprop("/it-autoflight/sound/apoffsound2", 0);
@ -409,8 +417,10 @@ setlistener("/it-autoflight/input/athr", func {
setlistener("/it-autoflight/input/fd1", func {
var fdmas = getprop("/it-autoflight/input/fd1");
if (fdmas == 0) {
fmabox();
setprop("/it-autoflight/output/fd1", 0);
} else if (fdmas == 1) {
fmabox();
setprop("/it-autoflight/output/fd1", 1);
}
});
@ -419,12 +429,31 @@ setlistener("/it-autoflight/input/fd1", func {
setlistener("/it-autoflight/input/fd2", func {
var fdmas = getprop("/it-autoflight/input/fd2");
if (fdmas == 0) {
fmabox();
setprop("/it-autoflight/output/fd2", 0);
} else if (fdmas == 1) {
fmabox();
setprop("/it-autoflight/output/fd2", 1);
}
});
# FMA Boxes and Mode
var fmabox = func {
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
var fd1 = getprop("/it-autoflight/output/fd1");
var fd2 = getprop("/it-autoflight/output/fd2");
if (!ap1 and !ap2 and !fd1 and !fd2) {
setprop("/it-autoflight/input/lat", 3);
setprop("/it-autoflight/input/vert", 1);
setprop("/it-autoflight/input/vs", 0);
setprop("/it-autoflight/output/fma-pwr", 0);
} else {
setprop("/it-autoflight/input/vs", 0);
setprop("/it-autoflight/output/fma-pwr", 1);
}
}
# Master Lateral
setlistener("/it-autoflight/input/lat", func {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {

View file

@ -244,20 +244,79 @@ var at = func {
}
}
var boxchk = func {
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
var fd1 = getprop("/it-autoflight/output/fd1");
var fd2 = getprop("/it-autoflight/output/fd2");
var fma_pwr = getprop("/it-autoflight/output/fma-pwr");
if (ap1 and !ap2 and !fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and ap2 and !fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and !ap2 and fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and !ap2 and !fd1 and fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
}
}
var boxchk_b = func {
setprop("/modes/pfd/fma/roll-mode-box", 1);
setprop("/modes/pfd/fma/pitch-mode-box", 1);
settimer(func {
setprop("/modes/pfd/fma/roll-mode-box", 0);
}, 5);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode-box", 0);
}, 5);
var newarmr = getprop("/modes/pfd/fma/roll-mode-armed");
if (newarmr != " ") {
setprop("/modes/pfd/fma/roll-mode-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/roll-mode-armed-box", 0);
}, 5);
}
var newarmp = getprop("/modes/pfd/fma/pitch-mode-armed");
if (newarmp != " ") {
setprop("/modes/pfd/fma/pitch-mode-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode-armed-box", 0);
}, 5);
}
var newarmp2 = getprop("/modes/pfd/fma/pitch-mode2-armed");
if (newarmp2 != " ") {
setprop("/modes/pfd/fma/pitch-mode2-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode2-armed-box", 0);
}, 5);
}
}
# Update AP FD ATHR
setlistener("/it-autoflight/output/ap1", func {
speedmach();
ap();
boxchk();
});
setlistener("/it-autoflight/output/ap2", func {
speedmach();
ap();
boxchk();
});
setlistener("/it-autoflight/output/fd1", func {
speedmach();
fd();
boxchk();
});
setlistener("/it-autoflight/output/fd2", func {
speedmach();
fd();
boxchk();
});
setlistener("/it-autoflight/output/athr", func {
at();

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

@ -1,209 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<filter>
<name>Flex Derate</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/FMGC/internal/flex-cmd</property>
<entry><ind> 0</ind><dep>0.0</dep></entry>
<entry><ind>70</ind><dep>0.12</dep></entry>
</table>
</expression>
</input>
<output>/engines/flex-derate</output>
</filter>
<filter>
<name>FF 1</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[0]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 2387</dep></entry>
<entry><ind>9000</ind><dep>13847</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[0]/fuel-flow_actual</output>
</filter>
<filter>
<name>FF 2</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[1]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 2359</dep></entry>
<entry><ind>9000</ind><dep>13831</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[1]/fuel-flow_actual</output>
</filter>
<filter>
<name>Altitude PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<floor>
<div>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>100</value>
</div>
</floor>
</expression>
</input>
<output>/instrumentation/altimeter/indicated-altitude-ft-pfd</output>
</filter>
<filter>
<name>V/S PFD</name>
<type>noise-spike</type>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<floor>
<div>
<property>/it-autoflight/internal/vert-speed-fpm</property>
<value>100</value>
</div>
</floor>
</expression>
</input>
<output>/it-autoflight/internal/vert-speed-fpm-pfd</output>
<max-rate-of-change>50</max-rate-of-change>
</filter>
<filter>
<name>V/S 2 PFD</name>
<type>noise-spike</type>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</input>
<output>/it-autoflight/internal/vert-speed-fpm-filtered</output>
<max-rate-of-change>5000</max-rate-of-change>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/engines/engine[0]/throttle-lever</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/engines/engine[1]/throttle-lever</output>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>1</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle-rev</property>
</input>
<output>/controls/engines/engine[0]/throttle-pos</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle-rev</property>
</input>
<output>/controls/engines/engine[1]/throttle-pos</output>
</filter>
</PropertyList>

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

@ -261,7 +261,7 @@
<value>0</value>
</equals>
<equals>
<property>/it-fbw/alpha-hld</property>
<property>/it-fbw/spd-hold</property>
<value>0</value>
</equals>
<or>
@ -298,6 +298,178 @@
</config>
</pid-controller>
<filter>
<name>IT-FBW: SPD PITCH TARGET CMD</name>
<type>noise-spike</type>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</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>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</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>
<expression>
<table>
<property>/controls/flight/elevator-input</property>
<entry><ind> 0</ind><dep>129</dep></entry>
<entry><ind>-1</ind><dep>106</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/spd-pitch-target</output>
<max-rate-of-change>10</max-rate-of-change>
</filter>
<pid-controller>
<name>IT-FBW: SPD PITCH TARGET</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</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>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</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>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
</input>
<reference>
<property>/it-fbw/spd-pitch-target</property>
</reference>
<output>
<property>/it-fbw/spd-pitch-deg</property>
</output>
<config>
<Kp>-0.50</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>5.0</Ti>
<Td>0.0001</Td>
<u_min>-10</u_min>
<u_max>20</u_max>
</config>
</pid-controller>
<pid-controller>
<name>IT-FBW: SPD PITCH</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</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>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</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-deg</property>
</input>
<reference>
<property>/it-fbw/spd-pitch-deg</property>
</reference>
<output>
<property>/controls/flight/elevator-fbw-cmd</property>
</output>
<config>
<Kp>-0.08</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>5</Ti>
<Td>0.001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<filter>
<name>IT-FBW: PITCH OPTION</name>
<debug>false</debug>

View file

@ -8,8 +8,7 @@
<property value="-33">/it-fbw/roll-lim-min</property>
<property value="30">/it-fbw/pitch-lim-max</property>
<property value="-15">/it-fbw/pitch-lim-min</property>
<property value="14">/it-fbw/alpha-max</property>
<property value="0">/it-fbw/alpha-min</property>
<property value="0">/it-fbw/spd-hold</property>
<channel name="FBW Aileron">
<fcs_function name="/it-fbw/roll-deg">
@ -81,6 +80,10 @@
<property>/gear/gear[0]/wow</property>
<value>0</value>
</eq>
<eq>
<property>/it-fbw/spd-hold</property>
<value>0</value>
</eq>
<or>
<eq>
<property>/it-fbw/law</property>

205
Systems/libraries.xml Normal file
View file

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<filter>
<name>Flex Derate</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/FMGC/internal/flex-cmd</property>
<entry><ind> 0</ind><dep>0.00</dep></entry>
<entry><ind>70</ind><dep>0.12</dep></entry>
</table>
</expression>
</input>
<output>/engines/flex-derate</output>
</filter>
<filter>
<name>FF 1</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[0]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 2387</dep></entry>
<entry><ind>9000</ind><dep>13847</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[0]/fuel-flow_actual</output>
</filter>
<filter>
<name>FF 2</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[1]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 2359</dep></entry>
<entry><ind>9000</ind><dep>13831</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[1]/fuel-flow_actual</output>
</filter>
<filter>
<name>Altitude PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<floor>
<div>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>100</value>
</div>
</floor>
</expression>
</input>
<output>/instrumentation/altimeter/indicated-altitude-ft-pfd</output>
</filter>
<filter>
<name>V/S PFD</name>
<type>noise-spike</type>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<floor>
<div>
<property>/it-autoflight/internal/vert-speed-fpm</property>
<value>100</value>
</div>
</floor>
</expression>
</input>
<output>/it-autoflight/internal/vert-speed-fpm-pfd</output>
<max-rate-of-change>50</max-rate-of-change>
</filter>
<filter>
<name>V/S 2 PFD</name>
<type>noise-spike</type>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</input>
<output>/it-autoflight/internal/vert-speed-fpm-filtered</output>
<max-rate-of-change>5000</max-rate-of-change>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/engines/engine[0]/throttle-lever</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/engines/engine[1]/throttle-lever</output>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>1</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle-rev</property>
</input>
<output>/controls/engines/engine[0]/throttle-pos</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle-rev</property>
</input>
<output>/controls/engines/engine[1]/throttle-pos</output>
</filter>
</PropertyList>