-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEF-Typhoon-yasim.xml
478 lines (427 loc) · 18.1 KB
/
EF-Typhoon-yasim.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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<?xml version="1.0"?>
<!--
Eurofighter Typhoon
Stable version with G-Limitations: Search #G# for comment
TODO:
* Strengthen parking brakes
* Adjust coord. of ballast, tanks, weights, slats more effective, thrust vectoring
* Fixed: error on wing degres, fuel consume more moderated, mach 1.2 without afterburners (for mach 1.5 -sea level-, 2 -hight altitude- within & "fuel freeze":
*Missing some message warning over fuel consume on right-bottom cockpit panel).
TESTING:
* fuselages and ballast
NEW:
Solution results: Iterations: 353
Drag Coefficient: 13.394805
Lift Ratio: 218.659500
Cruise AoA: 0.747883
Tail Incidence: 1.027657
Approach Elevator: -0.085132
CG: x:-9.505, y:-0.000, z:0.091
Inertia tensor : 40018.832, -0.000, 5525.729
[kg*m^2] -0.000, 173373.953, 0.000
Origo at CG 5525.729, 0.000, 202977.812
NOTES:
Between nose (0) and jet out 1.37º, (0.36m down from 0)
Wing: Mount with -1.72º, pods with +3.72º
Air intake: down -1.04643m from 0.
If az on fuselage(1) is 0.067, jet center action out on -0.293
Notes to be taken into account after comparing with an actual model:
Between tip (0 horizontal) and the engines output there is an inclination of 1.37 degrees, and -0.36m to the height of the output.
Wings: The wing mount is at -1.72 degrees and tip at +3.72 (positive superior)
Air intake: The inferior limite for air intake is at -1.04643 from 0
Calculations: if the az on fuselage (1) is 0.067, engine output will be approximately -0.293. Currently out of position.
-->
<airplane mass="24581" version="YASIM_VERSION_ORIGINAL">
<!-- Approach configuration -->
<approach speed="130" aoa="9">
<control-setting axis="/controls/engines/engine[0]/throttle" value="0.4"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="0.4"/>
<control-setting axis="/controls/flight/flaps" value="0"/>
<control-setting axis="/controls/gear/gear-down" value="1"/>
<control-setting axis="/controls/flight/speedbrake" value="0"/>
<control-setting axis="/controls/flight/slats" value="0"/>
</approach>
<!-- For Maximun perfomance test. Mach 2.0+
<cruise speed="1480" alt="45000">
<control-setting axis="/controls/engines/engine[0]/throttle" value="1"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="1"/>
<control-setting axis="/controls/engines/engine[0]/afterburner" value="1"/>
<control-setting axis="/controls/engines/engine[1]/afterburner" value="1"/>
<control-setting axis="/controls/flight/flaps" value="0"/>
<control-setting axis="/controls/gear/gear-down" value="0"/>
<control-setting axis="/controls/flight/speedbrake" value="0"/>
<control-setting axis="/controls/flight/slats" value="1"/>
</cruise>
-->
<!--
Cruise configuration. Reaches 1.1/1.3 Mach without afterburner and basic air-to-air load
with 860 seem fine and reaches within 1.5 sea level; stall 80-90 kt!
-->
<cruise speed="860" alt="45000">
<control-setting axis="/controls/engines/engine[0]/throttle" value="0.94"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="0.94"/>
<control-setting axis="/controls/flight/flaps" value="0"/>
<control-setting axis="/controls/gear/gear-down" value="0"/>
<control-setting axis="/controls/flight/speedbrake" value="0"/>
<control-setting axis="/controls/flight/slats" value="0"/>
</cruise>
<!-- pilot eyepoint -->
<cockpit x="-4" y="0.0" z="1.18"/>
<!--fuselage bz="-0.064" -->
<fuselage ax="0" ay="0" az="0.067"
bx="-14.96" by="0" bz="-0.066"
width="1.8" taper= "0.6" midpoint= "0.7"/>
<!--
cockpit and upper fuselage <cockpit x="-4" y="0.0" z="1.18"/>
width="0.9" taper= "0.45" midpoint= "0.17"
... maybe do another
-->
<fuselage ax="-2.61" ay="0.0" az="1"
bx="-13" by="0.0" bz="0.8"
width="0.95" taper= "0.5" midpoint= "0.17"/>
<!--
vstab mount
-->
<fuselage ax="-11.20" ay="0" az="1.1"
bx="-14.88" by="0" bz="0.6"
width="0.4" taper= "0.9" midpoint= "0.65"/>
<!-- pods -->
<fuselage ax="-10.6964" ay="5.471" az="-0.263"
bx="-13.231" by="5.461" bz="-0.263"
width="0.37" taper= "0.8" midpoint= "0.65"/>
<fuselage ax="-10.6964" ay="-5.471" az="-0.263"
bx="-13.231" by="-5.461" bz="-0.263"
width="0.37" taper= "0.8" midpoint= "0.65"/>
<!-- wing mounts -->
<fuselage ax="-5.9526" ay="0.79" az="-0.14"
bx="-13.65" by="0.983" bz="-0.35"
width="0.4" taper= "0.9" midpoint= "0.9"/>
<fuselage ax="-5.9526" ay="-0.79" az="-0.14"
bx="-13.65" by="-0.983" bz="-0.35"
width="0.4" taper= "0.9" midpoint= "0.9"/>
<!--
engine mounts x="-12.8" y="-0.532" z="-0.293"
ax="-11.08" ay="0.532" az="-0.06"
bx="-14.914" by="0.532" bz="-0.06"
-->
<fuselage ax="-11.08" ay="0.532" az="-0.066"
bx="-14.914" by="0.532" bz="-0.066"
width="1" taper= "1" midpoint= "0.8"/>
<fuselage ax="-11.08" ay="-0.532" az="-0.066"
bx="-14.914" by="-0.532" bz="-0.066"
width="1" taper= "1" midpoint= "0.8"/>
<!-- on testing
flap0 = foreplane, flap1 = variable capture air intake,
-->
<hstab x="-2.785" y="0.556" z="0.222"
taper="0.34"
length="1.6"
chord="1.642"
sweep="35"
dihedral="-10">
<stall aoa="35" width="13" peak="1.5"/>
<flap0 start="0.001" end="1" lift="1.9" drag="1.4"/>
<flap1 start="0.001" end="0.15" lift="1.4" drag="1.0"/>
<control-input axis="/controls/flight/elevator" control="FLAP0" invert="true" square="true"/>
<control-input axis="/controls/flight/elevator-trim" control="FLAP0" invert="true"/>
<control-input axis="/controls/flight/flaps" control="FLAP1" invert="false"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
<control-output control="FLAP1" prop="/surface-positions/flap-pos-norm"/>
<!-- #G# -->
<control-input axis="/accelerations/pilot-g" control="FLAP0" invert="true" src0="5" src1="9.5" dst0="0" dst1="1" />
<control-input axis="/accelerations/pilot-g" control="FLAP0" invert="true" src0="-5" src1="-4" dst0="-1" dst1="0" />
<!-- #G# -->
<!--control-speed control="FLAP0" transition-time="4"/-->
<control-speed control="FLAP1" transition-time="1.5"/>
</hstab>
<!--
Other test, for fine AFCS work: flap0 = flapleron0, flap1 = flapleron1, slats, speedbrake
*** CAUTION: slat: invert = true (for pos rear on wing ?) ***
Problem: spoilers do nothing!
<wing x="-9.525" y="1.180" z="-0.199"
taper="0.185"
incidence="-0.4"
twist="5.0"
length="5.1"
chord="6.815"
sweep="30"
dihedral="0">
<stall aoa="21" width="8" peak="1.3"/>
<flap0 start="0.02" end="0.55" lift="1.2" drag="1.1"/>
<flap1 start="0.55" end="0.95" lift="1.2" drag="1.1"/>
<spoiler start="0.001" end="0.10" lift="0.001" drag="8" aoa="3"/>
<slat start="0.2" end="0.95" aoa="30" lift="3" drag="1.2"/>
<control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
<control-input axis="/controls/flight/aileron-trim" control="FLAP0" split="true"/>
<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/speedbrake" control="SPOILER"/>
<control-input axis="/controls/flight/slats" control="SLAT" invert="true"/>
<control-output control="SLAT" prop="/surface-positions/slat-pos-norm"/>
<control-output control="FLAP0" side="left" prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP0" side="right" prop="/surface-positions/right-aileron-pos-norm"/>
<control-output control="FLAP0" prop="/surface-positions/aileron-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="FLAP1" prop="/surface-positions/aileron-pos-norm"/>
<control-output control="SPOILER" prop="/surface-positions/speedbrake-pos-norm"/>
<control-speed control="SLAT" transition-time="5"/>
<control-speed control="FLAP0" transition-time="1.05"/>
<control-speed control="FLAP1" transition-time="1.05"/>
<control-speed control="SPOILER" transition-time="3.0"/>
</wing>
-->
<!--
On test fine: flap0 = flaplerons, slat = slats, flap1 = speedbrake (from wing)
-->
<wing x="-9.525" y="1.016" z="-0.199"
taper="0.18"
incidence="1.5"
twist="-2"
length="4.95"
chord="7"
sweep="30"
dihedral="0">
<stall aoa="21" width="8" peak="1.3"/>
<slat start="0.2" end="0.95" aoa="6" lift="1.2" drag="1.2"/>
<flap0 start="0.02" end="0.95" lift="1.2" drag="1.0"/>
<flap1 start="0.001" end="0.091" lift="0.001" drag="1.9"/>
<control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
<control-input axis="/controls/flight/aileron-trim" control="FLAP0" split="true"/>
<control-input axis="/controls/flight/speedbrake" control="FLAP1" invert="true"/>
<control-input axis="/controls/flight/slats" control="SLAT"/>
<control-output control="SLAT" prop="/surface-positions/slats-pos-norm"/>
<control-output control="FLAP0" side="left" prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP0" side="right" prop="/surface-positions/right-aileron-pos-norm"/>
<!--control-output control="FLAP0" prop="/surface-positions/aileron-pos-norm"/-->
<control-output control="FLAP1" prop="/surface-positions/speedbrake-pos-norm"/>
<control-speed control="SLAT" transition-time="2"/>
<control-speed control="FLAP0" transition-time="1.05"/>
<control-speed control="FLAP1" transition-time="3.0"/>
</wing>
<vstab x="-13.198" y="0.0" z="0.817"
taper="0.38"
length="3.9"
chord="2.952"
sweep="40" >
<stall aoa="27" width="10" peak="1.5"/>
<flap0 start="0.001" end="0.8" 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"/>
<control-speed control="FLAP0" transition-time="1"/>
</vstab>
<!--
tsfc 0.7 seems excessive
new calculed actionpt
-->
<jet x="-12.8" y="0.532" z="-0.066"
mass="2204"
thrust="13490"
afterburner="20230"
tsfc="0.25"
n1-idle="25" n1-max="100" n2-idle="30" n2-max="100"
exhaust-speed="1950"
rotation="0">
<!--actionpt x="-14.914" y="0.532" z="-0.06"/-->
<actionpt x="-14.914" y="0.532" z="-0.066"/>
<!--thrust vectoring here -->
<control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[0]/reheat" control="REHEAT"/>
<control-input axis="/controls/engines/engine[0]/reverser" control="REVERSE_THRUST"/>
<control-output control="REHEAT" prop="engines/engine[0]/afterburner" />
</jet>
<jet x="-12.8" y="-0.532" z="-0.066"
mass="2204"
thrust="13490"
afterburner="20230"
tsfc="0.25"
n1-idle="25" n1-max="100" n2-idle="30" n2-max="100"
exhaust-speed="1950"
rotation="0">
<!--actionpt x="-14.914" y="-0.532" z="-0.06"/-->
<actionpt x="-14.914" y="-0.532" z="-0.066"/>
<!--thrust vectoring here -->
<control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
<control-input axis="/controls/engines/engine[1]/reheat" control="REHEAT"/>
<control-input axis="/controls/engines/engine[1]/reverser" control="REVERSE_THRUST"/>
<control-output control="REHEAT" prop="engines/engine[1]/afterburner" />
</jet>
<!--
Gear:
Parking brakes on until 80% of throttle, real model parking brakes with 100% throttle and reheat.
with brake-parking on noseger, use only on taxi-ground
-->
<gear x="-5.375" y="0" z="-2.05"
retract-time="1" initial-load="10"
compression="0.4" upx="0" upy="0" upz="0.3" spring="5" damp="4"> <!-- testing -->
<control-input axis="/controls/flight/rudder" control="STEER" square="true"
src0="-1" src1="1" dst0="-0.9" dst1="0.9"/>
<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[0]/position-norm"/>
<control-speed control="EXTEND" transition-time="7"/>
</gear>
<!-- left main -->
<gear x="-9.8" y="2.093" z="-2.03"
retract-time="1"
compression="0.4" upx="-0.02" upy="0.01" upz="0.19"
spring="0.8" damp="2">
<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[1]/position-norm"/>
<control-speed control="EXTEND" transition-time="8"/>
<control-speed control="BRAKE" transition-time="1"/>
</gear>
<!-- right main -->
<gear x="-9.8" y="-2.093" z="-2.03"
retract-time="1"
compression="0.4" upx="-0.02" upy="-0.01" upz="0.19"
spring="0.8" damp="2">
<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[2]/position-norm"/>
<control-speed control="EXTEND" transition-time="8"/>
<control-speed control="BRAKE" transition-time="1"/>
</gear>
<!-- Carrier ops -->
<!-- Hook f14b ; true length seem +/- max "2.2246" min "2.06" -->
<hook x="-12.20" y="-0.0192" z="-0.5483" length="2.25" down-angle="60" up-angle="-3">
<control-input axis="/controls/gear/tailhook" control="HEXTEND"/>
<control-speed control="HEXTEND" transition-time="4"/>
</hook>
<!--
Launch-bar f14b ; over nosegear tail: x="-5.406" y="0.0" z="-0.7945" length="1.463"
over nosewheel : x="-5.44" y="0.0" z="-1.175"
-->
<launchbar x="-5.44" y="0.0" z="-1.175" length="1.463">
<control-input axis="/controls/gear/launchbar" control="LEXTEND"/>
<control-speed control="LEXTEND" transition-time="1"/>
</launchbar>
<!-- tanks ahead gear 9.2, best that 9.8 (otherwise crash on parking!) -->
<!-- front, 7.3 (?) -->
<tank x="-7.3" y="0.0" z="-0.25" jet="true" capacity="3990"/>
<!-- rear, 9.2 ! -->
<tank x="-9.2" y="-0.0" z="-0.25" jet="true" capacity="1873"/>
<!-- left wing tanks -->
<tank x="-9.3" y="2.2" z="-0.18" jet="true" capacity="420"/>
<tank x="-10.1" y="2.7" z="-0.18" jet="true" capacity="882"/>
<!-- right wing tanks -->
<tank x="-9.3" y="-2.2" z="-0.18" jet="true" capacity="420"/>
<tank x="-10.1" y="-2.7" z="-0.18" jet="true" capacity="882"/>
<!-- drop tanks -->
<tank x="-9.2" y="2.824" z="-0.6" jet="true" capacity="2645"/>
<tank x="-9.2" y="-2.824" z="-0.6" jet="true" capacity="2645"/>
<tank x="-9.2" y="0.0" z="-0.8" jet="true" capacity="2204"/>
<tank x="-9.2" y="0.0" z="-0.8" jet="true" capacity="0"/>
<!--
ballast
<ballast x="-3.05" y="0" z="-0.1" mass="1000"/>
<ballast x="-2.74" y="0" z="-0.35" mass="1200"/>
ballast compensation by brute force
<ballast x="-2.7" y="0" z="-1.2" mass="3270"/>
-->
<ballast x="-2" y="0" z="0.22" mass="400"/>
<ballast x="-2.79" y="0" z="0.22" mass="500"/>
<ballast x="-4" y="0" z="0.3" mass="900"/>
<ballast x="-4.09" y="0" z="0.57" mass="400"/>
<ballast x="-6.12" y="0" z="-0.20" mass="1000"/>
<!--
<ballast x="-2" y="0" z="0.22" mass="400"/>
<ballast x="-2.79" y="0" z="0.22" mass="500"/>
<ballast x="-4" y="0" z="0.2" mass="900"/>
<ballast x="-4.09" y="0" z="-0.57" mass="400"/>
<ballast x="-6.12" y="0" z="-0.10" mass="1000"/>
<ballast x="-0.9" y="0" z="-0.75" mass ="500"/>
-->
<weight x="-4.5" y="0" z="0.6" mass-prop="/yasim/weights/pilot-lb"/>
<!--
<weight x="-0.39" y="0" z="-1.33" size="1.5" mass-prop="/yasim/hunter/weights/right-inboard-lbs"/>
<weight x="-0.79" y="2" z="-1.33" size="1" mass-prop="/yasim/hunter/weights/left-inboard-lbs"/>
-->
<!-- external loads -->
<weight x="-10.36"
y="4.7"
z="-0.65"
size="0.25"
mass-prop="sim/weight[0]/weight-lb"
/>
<weight x="-9.536"
y="3.802"
z="-0.775"
size="0.45"
mass-prop="sim/weight[1]/weight-lb"
/>
<!-- left droptank -->
<weight x="-9.4"
y="2.824"
z="-0.6"
size="0.7"
mass-prop="sim/weight[2]/weight-lb"
/>
<weight x="-7.376"
y="1.739"
z="-0.817"
size="0.45"
mass-prop="sim/weight[3]/weight-lb"
/>
<!-- center -->
<weight x="-9.4"
y="0.0"
z="-0.32"
size="0.6"
mass-prop="sim/weight[4]/weight-lb"
/>
<weight x="-7.376"
y="-1.739"
z="-0.817"
size="0.45"
mass-prop="sim/weight[5]/weight-lb"
/>
<!-- right droptank -->
<weight x="-9.4"
y="-2.824"
z="-0.6"
size="0.7"
mass-prop="sim/weight[6]/weight-lb"
/>
<weight x="-9.536"
y="-3.802"
z="-0.775"
size="0.45"
mass-prop="sim/weight[7]/weight-lb"
/>
<weight x="-10.36"
y="-4.7"
z="-0.65"
size="0.25"
mass-prop="sim/weight[8]/weight-lb"
/>
<!-- fuselage AMRAAMs -->
<weight x="-6.793"
y="0.882"
z="-0.616"
size="0.3"
mass-prop="sim/weight[9]/weight-lb"
/>
<weight x="-11.627"
y="0.979"
z="-0.616"
size="0.3"
mass-prop="sim/weight[10]/weight-lb"
/>
<weight x="-6.793"
y="-0.882"
z="-0.616"
size="0.3"
mass-prop="sim/weight[11]/weight-lb"
/>
<weight x="-11.627"
y="-0.979"
z="-0.616"
size="0.3"
mass-prop="sim/weight[12]/weight-lb"
/>
</airplane>