-
Notifications
You must be signed in to change notification settings - Fork 0
/
ATR-42.xml
152 lines (132 loc) · 7.14 KB
/
ATR-42.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!-- ATR-42-500 YASim FDM by Narendran Muraleedharan -->
<!-- Airplane Empty Weight -->
<airplane mass="24000">
<!-- Approach configuration -->
<approach speed="110" aoa="6" fuel="0.7">
<control-setting axis="/controls/engines/engine[0]/throttle-lever" value="0.25"/>
<control-setting axis="/controls/engines/engine[1]/throttle-lever" value="0.25"/>
<control-setting axis="/controls/flight/flaps" value="1"/>
<control-setting axis="/surface-positions/flap-pos-norm" value="1"/>
<control-setting axis="/controls/gear/gear-down" value="1"/>
<solve-weight idx="0" weight="350"/>
<solve-weight idx="1" weight="8000"/>
</approach>
<!-- Cruise configuration -->
<cruise speed="260" alt="20000" fuel="0.7">
<control-setting axis="/controls/engines/engine[0]/throttle-lever" value="0.75"/>
<control-setting axis="/controls/engines/engine[1]/throttle-lever" value="0.75"/>
<control-setting axis="/controls/flight/flaps" value="0.0"/>
<control-setting axis="/controls/gear/gear-down" value="0"/>
<solve-weight idx="0" weight="350"/>
<solve-weight idx="1" weight="8000"/>
</cruise>
<!-- Cockpit Configuration -->
<cockpit x="-3" y="0.0" z="0.75"/>
<!-- Fuselage Configuration -->
<fuselage ax="0" ay="0" az="0" bx="-2.9" by="0" bz="0.4"
width="2.8" taper="0.0" midpoint="1.0"/>
<fuselage ax="-2.9" ay="0" az="0.4" bx="-14.9" by="0" bz="0.4"
width="2.8" taper="1.0" midpoint="0.5"/>
<fuselage ax="-14.9" ay="0" az="0.4" bx="-22.7" by="0.00" bz="1.4"
width="2.8" taper="0.0" midpoint="0.0"/>
<!-- Wing Configuration -->
<wing x="-10" y="1.3" z="2.2" length="11" chord="2.4" sweep="0"
taper=".5" dihedral="2.5" camber="0.01" incidence="2.5" twist="-1">
<stall aoa="15" width="8" peak="1.5"/>
<flap0 start="0" end=".45" lift="1.6" drag="1.1"/>
<flap1 start=".55" end=".88" lift="1.3" drag="1.1"/>
<slat start="0" end="1" aoa="2" drag="1.2"/>
<spoiler start="0.2" end="0.6" lift="0.3" drag="3.0"/>
<control-input axis="/controls/flight/flaps" control="FLAP0"/>
<control-input axis="/surface-positions/flap-pos-norm" control="SLAT"/>
<control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
<control-output control="FLAP0" prop="/surface-positions/slats"/>
<control-speed control="FLAP0" transition-time="10"/>
<control-input axis="/controls/flight/speedbrake" control="SPOILER"/>
<control-output control="SPOILER" prop="/surface-positions/speedbrake-norm"/>
<control-speed control="SPOILER" transition-time="5"/>
<control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
<control-input axis="/controls/flight/aileron-trim" control="FLAP1" split="true"/>
<control-output control="FLAP1" side="left"
prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP1" side="right"
prop="/surface-positions/right-aileron-pos-norm"/>
</wing>
<!-- Horizontal Stabilizer Configuration -->
<hstab x="-20.6" y="0.05" z="6.4" chord="2" length="3.9" taper=".6"
sweep="5" dihedral="7" effectiveness="0.75">
<stall aoa="15" width="2" peak="1.5"/>
<flap0 start="0" end="1" lift="1.4" drag="1.2"/>
<control-input axis="/controls/flight/elevator" control="FLAP0"/>
<control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
</hstab>
<!-- Vertical Stabilizer Configuration -->
<vstab x="-19.7" y="0.00" z="2.0" chord="4.2" length="4.2" taper="0.5"
sweep="15" effectiveness="1.5">
<stall aoa="15" width="2" peak="1.5"/>
<flap0 start="0" end="1" lift="2" drag="1.2"/>
<control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"
min="1" max="-1"/>
</vstab>
<!-- Right Engine Configuration (PW-127E) -->
<jet x="-8.6" y="4.4" z="1.8" mass="1030" thrust="3600" spool-time="3"
egt="810" tsfc="0.346" n1-idle="5" n1-max="120">
<control-input axis="/controls/engines/engine[0]/throttle-lever" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[0]/mixture" control="MIXTURE"/>
<control-input axis="/controls/engines/engine[0]/reverser" control="REVERSE_THRUST"/>
<control-output control="REVERSE_THRUST" prop="/surface-positions/reverser-norm[0]"/>
<control-speed control="REVERSE_THRUST" transition-time="1.5"/>
<actionpt x="-8.9" y="4.4" z="-1.8"/>
</jet>
<!-- Left Engine Configuration (PW-127E) -->
<jet x="-8.6" y="-4.4" z="1.8" mass="1030" thrust="3600" spool-time="3"
egt="810" tsfc="0.346" n1-idle="5" n1-max="120">
<control-input axis="/controls/engines/engine[1]/throttle-lever" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[0]/mixture" control="MIXTURE"/>
<control-input axis="/controls/engines/engine[1]/reverser" control="REVERSE_THRUST"/>
<control-output control="REVERSE_THRUST" prop="/surface-positions/reverser-norm[1]"/>
<control-speed control="REVERSE_THRUST" transition-time="1.5"/>
<actionpt x="-8.9" y="-4.4" z="-1.8"/>
</jet>
<!-- Fake thrust for Pushback -->
<thruster x="-2" y="0.00" z="-0.4" vx="1" vy="0" vz="0" thrust="1000">
<control-input axis="/sim/model/pushback/target-speed-fps" control="THROTTLE" src0="-1" src1="1" dst0="-1" dst1="1"/>
</thruster>
<!-- Nose Gear Configuration -->
<gear x="-2" y="0" z="-0.4" compression="0.3" sfric="0.7" dfric="0.5">
<control-input axis="/controls/flight/rudder" control="STEER" square="true"/>
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="STEER" prop="/gear/gear[0]/steering-norm"/>
<control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!-- Right Gear Configuration -->
<gear x="-11.5" y="2.2" z="-0.4" compression="0.4" sfric="0.7" dfric="0.5">
<control-input axis="/controls/gear/brake-right" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!-- Left Gear Configuration -->
<gear x="-11.5" y="-2.2" z="-0.4" compression="0.4" sfric="0.7" dfric="0.5">
<control-input axis="/controls/gear/brake-left" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!-- Fuel Tank Configuration -->
<tank x="-6" y="5" z="2.2" jet="true" capacity="3000"/>
<tank x="-3" y="0" z="0" jet="true" capacity="6000"/>
<tank x="-6" y="-5" z="2.2" jet="true" capacity="3000"/>
<!-- Crew, PAX and Payload Configuration -->
<weight x="-4" y="0" z="0" mass-prop="/sim/weight[2]/weight-lb"/>
<weight x="-6" y="0" z="0" mass-prop="/sim/weight[0]/weight-lb"/>
<weight x="-12" y="0" z="0" mass-prop="/sim/weight[1]/weight-lb"/>
<!-- Ballast for Balance (lightening the tail) -->
<ballast x="0" y="0" z="0" mass="0"/>
</airplane>