1
0
Fork 0

Make LEAP run by adding CFM CEO fadec

This commit is contained in:
legoboyvdlp R 2021-05-06 18:51:02 +01:00
parent bcdf18ec17
commit 362b8f419d
4 changed files with 676 additions and 110 deletions

View file

@ -276,6 +276,7 @@
<system file="glass-effect"/>
<system file="a320-fbw"/>
<system file="a320-fcs"/>
<system file="a320-cfm56-5b4-engine-fadec"/>
<system file="a320-fuel"/>
<system file="a320-fwc"/>
<system file="a320-fwc-phases"/>

View file

@ -2,21 +2,21 @@
<!-- Copyright (c) 2021 Josh Davidson (Octal450) -->
<turbine_engine name="LEAP1A26">
<turbine_engine name="CFM56-5B4">
<milthrust> 27120 </milthrust>
<milthrust>27000</milthrust>
<tsfc>0.445</tsfc>
<bleed>0.03</bleed>
<ignitionn1>0.6</ignitionn1>
<ignitionn2>22.2</ignitionn2>
<idlen1> 18.9 </idlen1>
<idlen2> 59.4 </idlen2>
<n1spinup>0.05</n1spinup>
<n2spinup>1.85</n2spinup>
<n1startrate>0.573</n1startrate>
<n2startrate>1.127</n2startrate>
<maxn1> 103.8 </maxn1>
<maxn2> 101.4 </maxn2>
<idlen1>18.9</idlen1>
<idlen2>59.4</idlen2>
<maxn1>104.0</maxn1>
<maxn2>105.0</maxn2>
<augmented>0</augmented>
<injected>0</injected>
@ -50,32 +50,32 @@
</table>
</function>
<function name="N2SpoolUp">
<function name="N2SpoolUp"> <!-- N1 to N2 factor 0.535840188014101 -->
<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
24 0.6
28 1.6
46 5.2
68 8.3
80 10.5
94 11.5
103 12.6
</tableData>
</table>
</function>
<function name="N2SpoolDown">
<function name="N2SpoolDown"> <!-- N1 to N2 factor 0.535840188014101 -->
<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
24 0.6
28 1.6
46 5.2
68 8.3
80 10.5
94 11.5
103 12.6
</tableData>
</table>
</function>
@ -86,17 +86,18 @@
<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
0.0 0.0430 0.0458 0.0378 0.0684 0.0819 0.0793 0.0000
0.2 0.0500 0.0291 0.0205 0.0514 0.0727 0.0729 0.0000
0.4 0.0040 0.0047 0.0012 0.0412 0.0585 0.0671 0.0000
0.6 0.0000 0.0000 0.0000 0.0000 0.0416 0.0518 0.0000
0.8 0.0000 0.0000 0.0000 0.0000 0.0354 0.0468 0.0000
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0352 0.0000
</tableData>
</table>
</function>
<function name="MilThrust">
<function name="MilThrust"> <!-- If you change this, make sure you update the table in the engine system file -->
<product>
<table>
<independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
@ -113,6 +114,15 @@
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
</tableData>
</table>
<property>fadec/limit/rated-thrust-factor</property>
<table> <!-- Thrust loss due to reverser angle -->
<independentVar lookup="row">/engines/engine[0]/reverser-pos-norm</independentVar>
<tableData>
0.01 1.00
1.00 0.65
</tableData>
</table>
</product>
</function>
</turbine_engine>

View file

@ -2,21 +2,21 @@
<!-- Copyright (c) 2021 Josh Davidson (Octal450) -->
<turbine_engine name="LEAP1A26">
<turbine_engine name="CFM56-5B4">
<milthrust> 27120 </milthrust>
<milthrust>27000</milthrust>
<tsfc>0.445</tsfc>
<bleed>0.03</bleed>
<ignitionn1>0.6</ignitionn1>
<ignitionn2>22.2</ignitionn2>
<idlen1> 18.9 </idlen1>
<idlen2> 59.4 </idlen2>
<n1spinup>0.05</n1spinup>
<n2spinup>1.85</n2spinup>
<n1startrate>0.573</n1startrate>
<n2startrate>1.127</n2startrate>
<maxn1> 103.8 </maxn1>
<maxn2> 101.4 </maxn2>
<idlen1>18.9</idlen1>
<idlen2>59.4</idlen2>
<maxn1>104.0</maxn1>
<maxn2>105.0</maxn2>
<augmented>0</augmented>
<injected>0</injected>
@ -50,32 +50,32 @@
</table>
</function>
<function name="N2SpoolUp">
<function name="N2SpoolUp"> <!-- N1 to N2 factor 0.535840188014101 -->
<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
24 0.6
28 1.6
46 5.2
68 8.3
80 10.5
94 11.5
103 12.6
</tableData>
</table>
</function>
<function name="N2SpoolDown">
<function name="N2SpoolDown"> <!-- N1 to N2 factor 0.535840188014101 -->
<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
24 0.6
28 1.6
46 5.2
68 8.3
80 10.5
94 11.5
103 12.6
</tableData>
</table>
</function>
@ -86,17 +86,18 @@
<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
0.0 0.0430 0.0458 0.0378 0.0684 0.0819 0.0793 0.0000
0.2 0.0500 0.0291 0.0205 0.0514 0.0727 0.0729 0.0000
0.4 0.0040 0.0047 0.0012 0.0412 0.0585 0.0671 0.0000
0.6 0.0000 0.0000 0.0000 0.0000 0.0416 0.0518 0.0000
0.8 0.0000 0.0000 0.0000 0.0000 0.0354 0.0468 0.0000
1.0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0352 0.0000
</tableData>
</table>
</function>
<function name="MilThrust">
<function name="MilThrust"> <!-- If you change this, make sure you update the table in the engine system file -->
<product>
<table>
<independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
@ -113,6 +114,15 @@
1.4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
</tableData>
</table>
<property>fadec/limit/rated-thrust-factor</property>
<table> <!-- Thrust loss due to reverser angle -->
<independentVar lookup="row">/engines/engine[1]/reverser-pos-norm</independentVar>
<tableData>
0.01 1.00
1.00 0.65
</tableData>
</table>
</product>
</function>
</turbine_engine>

View file

@ -0,0 +1,545 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2021 Josh Davidson (Octal450) -->
<PropertyList>
<path>Aircraft/A320-family/Models/Engines/Models/CFMLEAP1A.ac</path>
<params>
<contrail1>engines/engine[0]/contrail</contrail1>
<contrail2>engines/engine[1]/contrail</contrail2>
</params>
<!-- Particle Effects -->
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailLeft</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail1" />
</params>
</overlay>
<offsets>
<x-m> 4.51789</x-m>
<y-m>-5.63029</y-m>
<z-m>-2.22295</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/contrail.xml</path>
<name>contrailRight</name>
<condition>
<property>environment/contrail</property>
</condition>
<overlay>
<params>
<contrail alias="../../../../params/contrail2" />
</params>
</overlay>
<offsets>
<x-m> 4.51789</x-m>
<y-m> 5.63029</y-m>
<z-m>-2.22295</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureLeft</name>
<condition>
<and>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[3]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>-7.432</x-m>
<y-m>-5.63029</y-m>
<z-m>-2.46943</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/Moisture.xml</path>
<name>moistureRight</name>
<condition>
<and>
<greater-than>
<property>environment/relative-humidity</property>
<value>45</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>75</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[4]/n1</property>
<value>65</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>-7.432</x-m>
<y-m> 5.63029</y-m>
<z-m>-2.46943</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-left</name>
<condition>
<and>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[3]/n1</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>-0.62458</x-m>
<y-m>-5.63029</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray.xml</path>
<name>engine-spray-right</name>
<condition>
<and>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>position/altitude-agl-ft</property>
<value>15</value>
</less-than-equals>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[4]/n1</property>
<value>65</value>
</greater-than>
<equals>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0</value>
</equals>
</and>
</condition>
<offsets>
<x-m>-0.62458</x-m>
<y-m>5.63029</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[3]/n1</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[0]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>-6.62458</x-m>
<y-m>-5.63029</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<path>Aircraft/A320-family/Models/Effects/engine-spray-reverse.xml</path>
<name>engine-spray-reverse</name>
<condition>
<and>
<greater-than>
<property>environment/surface/wetness</property>
<value>0.3</value>
</greater-than>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.63</value>
</less-than-equals>
<greater-than>
<property>engines/engine[4]/n1</property>
<value>65</value>
</greater-than>
<greater-than>
<property>engines/engine[1]/reverser-pos-norm</property>
<value>0.75</value>
</greater-than>
</and>
</condition>
<offsets>
<x-m>-6.62458</x-m>
<y-m>5.63029</y-m>
<z-m>-5</z-m>
</offsets>
</model>
<model>
<name>Engine fire left</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>-3.96705</x-m>
<y-m>-5.63029</y-m>
<z-m>-2.22295</z-m>
</offsets>
<condition>
<property>systems/failures/fire/engine-left-fire</property>
</condition>
</model>
<model>
<name>Engine fire right</name>
<path>Aircraft/A320-family/Models/Effects/enginefire.xml</path>
<offsets>
<x-m>-3.96705</x-m>
<y-m> 5.63029</y-m>
<z-m>-2.22295</z-m>
</offsets>
<condition>
<property>systems/failures/fire/engine-right-fire</property>
</condition>
</model>
<!-- Animations -->
<animation>
<name>Fan spinning animation (slow)</name>
<type>spin</type>
<object-name>FanLCFM56L</object-name>
<factor>50</factor> <!-- TCDS sourced - don't tune! -->
<property>engines/engine[3]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-6.66773</x-m>
<y-m>-5.63082</y-m>
<z-m>-2.26943</z-m>
</center>
</animation>
<animation>
<name>Fan spinning animation (slow)</name>
<type>spin</type>
<object-name>FanLCFM56R</object-name>
<factor>50</factor>
<property>engines/engine[4]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-6.66773</x-m>
<y-m> 5.62871</y-m>
<z-m>-2.26943</z-m>
</center>
</animation>
<animation>
<name>Fan spinning animation (fast)</name>
<type>spin</type>
<object-name>FanSpinningCFM56L</object-name>
<factor>5</factor>
<property>engines/engine[3]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-6.66773</x-m>
<y-m>-5.63082</y-m>
<z-m>-2.26943</z-m>
</center>
</animation>
<animation>
<name>Fan spinning animation (fast)</name>
<type>spin</type>
<object-name>FanSpinningCFM56R</object-name>
<factor>5</factor>
<property>engines/engine[4]/n1</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-6.66773</x-m>
<y-m> 5.62871</y-m>
<z-m>-2.26943</z-m>
</center>
</animation>
<animation>
<type>select</type>
<object-name>FanSpinningCFM56L</object-name>
<condition>
<greater-than>
<property>engines/engine[3]/n1</property>
<value>40.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FanSpinningCFM56R</object-name>
<condition>
<greater-than>
<property>engines/engine[4]/n1</property>
<value>40.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FanLCFM56L</object-name>
<condition>
<less-than-equals>
<property>engines/engine[3]/n1</property>
<value>40.0</value>
</less-than-equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FanLCFM56R</object-name>
<condition>
<less-than-equals>
<property>engines/engine[4]/n1</property>
<value>40.0</value>
</less-than-equals>
</condition>
</animation>
<animation>
<name>Reverser Door LH 1</name>
<type>rotate</type>
<object-name>ReverserLDoor1</object-name>
<object-name>ReverserLDoor1.Inner</object-name>
<factor>-70</factor>
<property>engines/engine[0]/reverser-pos-norm</property>
<axis>
<x1-m>-4.7738</x1-m>
<y1-m>-6.25156</y1-m>
<z1-m>-1.65547</z1-m>
<x2-m>-4.77475</x2-m>
<y2-m>-6.29771</y2-m>
<z2-m>-1.71849</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door LH 2</name>
<type>rotate</type>
<object-name>ReverserLDoor2</object-name>
<object-name>ReverserLDoor2.Inner</object-name>
<factor>-70</factor>
<property>engines/engine[0]/reverser-pos-norm</property>
<axis>
<x1-m>-4.77785</x1-m>
<y1-m>-6.29253</y1-m>
<z1-m>-2.82287</z1-m>
<x2-m>-4.77731</x2-m>
<y2-m>-6.2496</y2-m>
<z2-m>-2.88363</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door LH 3</name>
<type>rotate</type>
<object-name>ReverserLDoor3</object-name>
<object-name>ReverserLDoor3.Inner</object-name>
<factor>70</factor>
<property>engines/engine[0]/reverser-pos-norm</property>
<axis>
<x1-m>-4.7738</x1-m>
<y1-m>-5.01022</y1-m>
<z1-m>-1.6555</z1-m>
<x2-m>-4.77475</x2-m>
<y2-m>-4.96408</y2-m>
<z2-m>-1.71852</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door LH 4</name>
<type>rotate</type>
<object-name>ReverserLDoor4</object-name>
<object-name>ReverserLDoor4.Inner</object-name>
<factor>70</factor>
<property>engines/engine[0]/reverser-pos-norm</property>
<axis>
<x1-m>-4.778</x1-m>
<y1-m>-4.96919</y1-m>
<z1-m>-2.82264</z1-m>
<x2-m>-4.77746</x2-m>
<y2-m>-5.01209</y2-m>
<z2-m>-2.8834</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door RH 1</name>
<type>rotate</type>
<object-name>ReverserRDoor1</object-name>
<object-name>ReverserRDoor1.Inner</object-name>
<factor>-70</factor>
<property>engines/engine[1]/reverser-pos-norm</property>
<axis>
<x1-m>-4.7738</x1-m>
<y1-m> 5.01008</y1-m>
<z1-m>-1.65547</z1-m>
<x2-m>-4.77475</x2-m>
<y2-m> 4.96393</y2-m>
<z2-m>-1.71849</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door RH 2</name>
<type>rotate</type>
<object-name>ReverserRDoor2</object-name>
<object-name>ReverserRDoor2.Inner</object-name>
<factor>-70</factor>
<property>engines/engine[1]/reverser-pos-norm</property>
<axis>
<x1-m>-4.77785</x1-m>
<y1-m> 4.96912</y1-m>
<z1-m>-2.82287</z1-m>
<x2-m>-4.77731</x2-m>
<y2-m> 5.01204</y2-m>
<z2-m>-2.88363</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door RH 3</name>
<type>rotate</type>
<object-name>ReverserRDoor3</object-name>
<object-name>ReverserRDoor3.Inner</object-name>
<factor>70</factor>
<property>engines/engine[1]/reverser-pos-norm</property>
<axis>
<x1-m>-4.7738</x1-m>
<y1-m> 6.25142</y1-m>
<z1-m>-1.6555</z1-m>
<x2-m>-4.77475</x2-m>
<y2-m> 6.29756</y2-m>
<z2-m>-1.71852</z2-m>
</axis>
</animation>
<animation>
<name>Reverser Door RH 4</name>
<type>rotate</type>
<object-name>ReverserRDoor4</object-name>
<object-name>ReverserRDoor4.Inner</object-name>
<factor>70</factor>
<property>engines/engine[1]/reverser-pos-norm</property>
<axis>
<x1-m>-4.778</x1-m>
<y1-m> 6.29245</y1-m>
<z1-m>-2.82264</z1-m>
<x2-m>-4.77746</x2-m>
<y2-m> 6.24955</y2-m>
<z2-m>-2.8834</z2-m>
</axis>
</animation>
<!-- Effect -->
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection-engine-CFM</inherits-from>
<object-name>EngineCFM56L</object-name>
<object-name>EngineCFM56R</object-name>
<object-name>ReverserLDoor1</object-name>
<object-name>ReverserLDoor2</object-name>
<object-name>ReverserLDoor3</object-name>
<object-name>ReverserLDoor4</object-name>
<object-name>ReverserRDoor1</object-name>
<object-name>ReverserRDoor2</object-name>
<object-name>ReverserRDoor3</object-name>
<object-name>ReverserRDoor4</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection-matt-engine-CFM</inherits-from>
<object-name>PylonCFM56L</object-name>
<object-name>PylonCFM56R</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/reflection-chrome-engine-CFM</inherits-from>
<object-name>IntakeCFM56L</object-name>
<object-name>IntakeCFM56R</object-name>
</effect>
</PropertyList>