-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path787-8.xml
340 lines (263 loc) · 15.8 KB
/
787-8.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!-- New FDM geometry 14 Nov 2010, FDM modifs dany 15 nov 2010, 787111410-V04 -->
<!--787 yasim
Specs:
or 75,000 lb GENXs
or 75,000 lb Rolls-Royce Trent 1000s
Typical Cruise = 0.85 Mach / 35000 ft
Max Speed = 0.87 / 35000 ft
Wing span: 60.10m
Length: 56.7 m
Tail Height: 16.97m
Diameter : 5.74 m
Wing Area: 427.8m2
Max Fuel :33,528 US gal
Max TO weight: 484,000 lbs
http://www.boeing.com/commercial/airports/787.html
TO speed : 145 kt
Landing speed : 131 kt
Mach 1 = 576.6 kt @ 35,000 ft -->
<airplane mass="242000">
<!--The approach configuration seems to be realistic, except for stalling.
-->
<approach speed="130" aoa="3.8" fuel=".08">
<control-setting axis="/controls/engines/engine[0]/throttle" value="0.5"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="0.5"/>
<control-setting axis="/controls/flight/flaps" value="1.0"/>
<control-setting axis="/controls/flight/slats" value="1.0"/>
<control-setting axis="/controls/gear/gear-down" value="1"/>
<solve-weight idx="0" weight="360"/>
<solve-weight idx="1" weight="1800"/>
<solve-weight idx="2" weight="6400"/>
<solve-weight idx="3" weight="25000"/>
<solve-weight idx="4" weight="10000"/>
<solve-weight idx="5" weight="5000"/>
</approach>
<!--Normal cruise for the 787 is supposed to be Mach .85 at 40000 feet. If
the cruising altitude is set at 40000, the aircraft can go past its service
ceiling of 43000, so normal cruising is set below that.-->
<cruise speed="488" alt="37000" fuel=".4">
<control-setting axis="/controls/engines/engine[0]/throttle" value="0.8"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="0.8"/>
<control-setting axis="/controls/flight/flaps" value="0.0"/>
<control-setting axis="/controls/flight/slats" value="0.0"/>
<control-setting axis="/controls/gear/gear-down" value="0"/>
<solve-weight idx="0" weight="360"/>
<solve-weight idx="1" weight="1800"/>
<solve-weight idx="2" weight="6400"/>
<solve-weight idx="3" weight="25000"/>
<solve-weight idx="4" weight="10000"/>
<solve-weight idx="5" weight="5000"/>
</cruise>
<cockpit x="22.6" y=".603" z="2.66"/>
<!--The fuselage of the airplane. Contains a sharp tip for the nose, the
rest of the nose, a long tube for the main fuselage, and then a cone for the
rear of the plane. There are also some pieces for engine nacelles.-->
<!--nose tip-->
<fuselage ax="25.91" ay="0" az="0.1" bx="22.9" by="0.00" bz="0.6" width="4" taper="0.0" midpoint="1.0"/>
<!--nose cone-->
<fuselage ax="23.0" ay="0" az="0.6" bx="15.6" by="0" bz="1.4" width="5.9" taper="0.7" midpoint="1"/>
<!--main fuselage tube-->
<fuselage ax="16.0" ay="0" az="1.4" bx="-13.6" by="0.00" bz="1.4" width="5.9" taper="1.0" midpoint="0.4"/>
<!--tail cone-->
<fuselage ax="-13.6" ay="0" az="1.4" bx="-29.338" by="0.00" bz="2.12" width="5.9" taper="0.1" midpoint="0"/>
<!-- Engine Left -->
<fuselage ax="8.3" ay="9.65" az="-0.844" bx="2.4" by="9.8" bz="-0.844" width="1.9" taper="0.9" midpoint="0.01"/>
<!-- Engine Right -->
<fuselage ax="8.3" ay="-9.65" az="-0.844" bx="2.4" by="-9.8" bz="-0.844" width="1.9" taper="0.9" midpoint="0.01"/>
<!--The wing. Wikipedia shows that the wing should be swept at about 32
degrees, but the model shows differently. I'm basing the FDM off of the
model, not what is really there. All elements of the wing have been fitted
to the model. Flap transition time has not been confirmed with the real deal
, either.
As for the spoilers, I have a special system in place. With k pressed once,
controls/flight/spoiler (if I used /spoilers it would clamp it to a max of
1) is set to 1. The nasal script checks for the left main wheel compressing.
If the wheel is compressed, controls/flight/speedbrake is set to full. If
the wheel is not compressed, they are set to .35, as an inflight detent
position. With k pressed twice, the spoilers will only engage, and engage
fully, on the ground.-->
<wing x="1.3" y="3.0" z="0.35" length="8" chord="11.6" sweep="20" taper=".6" dihedral="8" camber="0.005" incidence="2" twist="-1.75">
<stall aoa="10" width="4" peak="1.5"/>
<flap0 start="0.00001" end="1" lift="1.59" drag="0.9"/>
<slat start=".1" end=".75" aoa="1.5" drag="1.05"/>
<spoiler start="0.00001" end="1" lift=".5" drag="1.5"/>
<control-input axis="/controls/flight/flaps" control="FLAP0"/>
<control-input axis="/controls/flight/slats" control="SLAT"/>
<control-input axis="/controls/flight/speedbrake" control="SPOILER"/>
<control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
<control-output control="SLAT" prop="/surface-positions/slats"/>
<control-output control="SLAT" prop="sim/multiplay/generic/float[5]"/>
<control-output control="SPOILER" prop="/surface-positions/ib-speedbrake-pos-norm"/>
<control-output control="SPOILER" prop="sim/multiplay/generic/float[7]"/>
<control-speed control="FLAP0" transition-time="80"/>
<control-speed control="SPOILER" transition-time="1"/>
<control-speed control="SLAT" transition-time="20"/>
</wing>
<mstab x="-1.45" y="10.44" z="1.3" length="1.5" chord="6.96" sweep="26" taper=".92" dihedral="7.5" camber="0.005" incidence="1.25">
<stall aoa="10" width="4" peak="1.5"/>
<flap0 start="0.00001" end="1" lift="4" drag="1.2"/>
<slat start="0.00001" end="1" aoa="2" drag="1.1"/>
<spoiler start="0.00001" end="1" lift=".5" drag="1.5"/>
<control-input axis="/surface-positions/flap-pos-norm" control="FLAP0" src0="0" src1="1" dst0="0" dst1=".5"/>
<control-input axis="/controls/flight/mini-aileron" control="FLAP0" split="true" src0="-1" src1="1" dst0="-.5" dst1=".5"/>jjj
<control-input axis="/controls/flight/speedbrake" control="SPOILER"/>
<control-input axis="/controls/flight/ground-speedbrake" control="FLAP0" src0="0" src1="1" dst0="0" dst1="-0.25"/>
<control-input axis="/controls/flight/slats" control="SLAT"/>
<control-output control="FLAP0" side ="left" prop="/surface-positions/lminiflap-pos-norm"/>
<control-output control="FLAP0" side ="left" prop="/sim/multiplay/generic/float[8]"/>
<control-output control="FLAP0" side ="right" prop="/surface-positions/rminiflap-pos-norm"/>
<control-output control="FLAP0" side ="right" prop="/sim/multiplay/generic/float[9]"/>
<control-output control="SPOILER" prop="/surface-positions/minispoiler-pos-norm"/>
<control-output control="SPOILER" prop="/sim/multiplay/generic/float[6]"/>
<control-speed control="FLAP0" transition-time="1"/>
<control-speed control="SPOILER" transition-time="1"/>
<control-speed control="SLAT" transition-time="20"/>
</mstab>
<mstab x="-2.1" y="11.7765" z="1.4615" length="17.5" chord="6.4" sweep="28.7" taper=".35" dihedral="7.5" camber="0.005" incidence="1.25">
<stall aoa="10" width="4" peak="1.5"/>
<flap0 start="0.00001" end=".6" lift="1.49" drag="0.9"/>
<flap1 start=".61" end=".85" lift="1.8" drag="1.1"/>
<slat start="0.00001" end=".98" aoa="2" drag="1.1"/>
<spoiler start="0.00001" end="0.6" lift=".5" drag="1.5"/>
<control-input axis="/controls/flight/flaps" control="FLAP0"/>
<control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
<control-input axis="/controls/flight/aileron-trim" control="FLAP1" split="true"/>
<control-input axis="/controls/flight/slats" control="SLAT"/>
<control-input axis="/controls/flight/ob-speedbrake" control="SPOILER"/>
<control-input axis="/controls/flight/ground-speedbrake" control="FLAP1" src0="0" src1="1" dst0="0" dst1="-.5"/>
<control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
<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"/>
<control-output control="SPOILER" prop="/surface-positions/speedbrake-pos-norm"/>
<control-speed control="FLAP0" transition-time="80"/>
<control-speed control="FLAP1" transition-time=".4"/>
<control-speed control="SPOILER" transition-time="1"/>
<control-speed control="SLAT" transition-time="20"/>
</mstab>
<!--The 787-8 has raked wingtips, modeled with a mstab.-->
<mstab x="-10.55" y="26.9952" z="3.2814" length="4.2" chord="2.25" sweep="48" taper=".23" dihedral="13" incidence="1.25"/>
<!--The horizontal stabilizer used to have a lot more control than it should
have had. I tuned it down, but I don't know how realistic it is compared to
the real deal. The older hstab was also a lot farther back than it really
was.-->
<hstab x="-24.8" y="1.35" z="1.95" chord="5.5" length="10" taper=".22" sweep="30" dihedral="7" camber="0" effectiveness="1.5">
<stall aoa="20" width="10" peak="1.5"/>
<flap0 start="0.00001" end="1" lift="1.38" drag="1.3"/>
<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>
<vstab x="-23" y="0.00" z="3.76" chord="6.6" length="10" taper="0.35" sweep="33" effectiveness="2">
<stall aoa="15" width="2" peak="1.5"/>
<flap0 start="0.00001" end="1" lift="1.3" drag="1.3"/>
<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>
<!--There are two GEnx or RR Trent 1000 engines on every 787. The official
info on the engines is not available, but I was able to find approximate
tsfc values that were realistic, unlike the old .125 value that was used
before.-->
<jet x="6" y="9.63" z="-0.85" mass="12822" thrust="66500" egt="810" tsfc="0.27">
<control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[0]/reverser" control="REVERSE_THRUST"/>
<control-output control="REVERSE_THRUST" prop="/surface-positions/lreverser-pos-norm"/>
<control-output control="REVERSE_THRUST" prop="sim/multiplay/generic/float[10]"/>
<control-speed control="REVERSE_THRUST" transition-time="1.4"/>
<actionpt x="2" y="9.63" z="-0.85"/>
</jet>
<jet x="6" y="-9.63" z="-0.85" mass="12822" thrust="66500" egt="810" tsfc="0.27">
<control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[1]/reverser" control="REVERSE_THRUST"/>
<control-output control="REVERSE_THRUST" prop="/surface-positions/rreverser-pos-norm"/>
<control-output control="REVERSE_THRUST" prop="/surface-positions/reverser-pos-norm"/>
<control-output control="REVERSE_THRUST" prop="sim/multiplay/generic/float[11]"/>
<control-speed control="REVERSE_THRUST" transition-time="1.4"/>
<actionpt x="2" y="-9.63" z="-0.85"/>
</jet>
<!-- APU. It can be started on the electrical panel in the cockpit.-->
<jet x="-26.5" y="0" z="2" mass="300" thrust="50" egt="810" tsfc="2" n1-idle="80" n2-idle="85">
<control-input axis="/controls/engines/engine[2]/throttle" control="THROTTLE"/>
</jet>
<!--Landing gear. Once again, real performance isn't known, but I have attempted a mimic of two
wheelness.-->
<!-- nose #0-->
<gear x="20.56" y="0.00" z="-3.65" compression="0.75" spring="2" damp="2" sfric="1.5" dfric="1.0">
<control-input axis="/controls/flight/rudder" control="STEER" square="true"/>
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
<control-output control="STEER" prop="gear/gear[0]/steering-norm"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!--left main #1-->
<gear x="-1.9" y="4.88" z="-4" spring="1" compression="1.1" sfric=".5" dfric="0.4">
<control-input axis="/controls/gear/brake-left" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
<control-input axis="/controls/gear/autobrake" 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>
<!--right main #2-->
<gear x="-1.9" y="-4.88" z="-4" spring="1" compression="1.1" sfric=".5" dfric="0.4">
<control-input axis="/controls/gear/brake-right" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
<control-input axis="/controls/gear/autobrake" 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>
<!--left rear #3-->
<gear x="-2.7" y="4.88" z="-4.247" compression="3.0" sfric=".5" dfric="0.4">
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!--right rear #4-->
<gear x="-2.7" y="-4.88" z="-4.247" compression="3.0" sfric=".5" dfric="0.4">
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!--Fuel tanks. Their real locations aren't known, but these should be
realistic.-->
<tank x="0" y="7.5" z="0.65" jet="true" capacity="52000"/>
<tank x="0" y="-7.5" z="0.65" jet="true" capacity="52000"/>
<tank x="0" y="0" z="-1" jet="true" capacity="120000"/>
<!--These are the weights that can be set in the payload dialog box. In
default configuration, the 787 carries 224 passengers. I calculate each
passenger weighs 180 pounds.-->
<!--Crew. Min 350 Max 500 Default 350, for two crew members in the
cockpit.-->
<weight x="22.8" y="0" z="1.3" mass-prop="/sim/weight[0]/weight-lb"/>
<!--First class. 12 seats, adding 360 pounds for 30 pounds of seat
accessories for each seat. Min 360 Max 2160 Default 1800-->
<weight x="15" y="0" z="2" mass-prop="/sim/weight[1]/weight-lb"/>
<!--Business class. 42 seats. Min 0 Max 7560 Default 6400-->
<weight x="5.5" y="0" z="2" mass-prop="/sim/weight[2]/weight-lb"/>
<!--Economy class. 170 seats. Min 0 Max 30600 Default 25000-->
<weight x="-4" y="0" z="2" mass-prop="/sim/weight[3]/weight-lb"/>
<!--Forward cargo. I don't know how much cargo usually goes on an
average plane flight, so I guessed. Min 0 Max 10000 Default 10000-->
<weight x="10" y="0" z="-1" mass-prop="/sim/weight[4]/weight-lb"/>
<!--Rear cargo. Same as above, but Min 0 Max 10000 Default 5000-->
<weight x="-4" y="0" z="-1" mass-prop="/sim/weight[5]/weight-lb"/>
<!--Various ballasts for things.-->
<!--Avionics and front end stuff.-->
<ballast x="21.0" y="0" z="1" mass="15000"/>
<!--Gear assemblies-->
<ballast x="-3" y="5.0" z="0" mass="1500"/>
<ballast x="-3" y="-5.0" z="0" mass="1500"/>
<!--For CG purposes, I needed to lighten up the tail.-->
<ballast x="-25" y="0" z="0" mass="-27000"/>
<!--Thruster for personal controlled pushback. Uses the goldhofert truck
pacakaged with FG 2.0 and this aircraft. Eventually, pushback over MP may be
available.-->
<thruster x="20.56" y="0.00" z="-3.35" vx="1" vy="0" vz="0" thrust="15000">
<control-input axis="/sim/model/pushback/target-speed-fps" control="THROTTLE" src0="-1" src1="1" dst0="-1" dst1="1"/>
</thruster>
<!--Eventually may operate with pushback over MP-->
<hitch name="aerotow" x="20.56" y="0.00" z="-3.65" force-is-calculated-by-other="0">
<tow length="5" weight-per-meter="0.035" elastic-constant="1" break-force="100000" mp-auto-connect-period="0.0"/>
<winch max-tow-length="1000" min-tow-length="60" initial-tow-length="60"/>
<control-input axis="controls/aerotow/find-aircraft" control="FINDAITOW"/>
</hitch>
</airplane>