Add hydraulic system, tidy pneumatic system
[fg:toms-fgdata.git] / Aircraft / Hurricane / hurricaneIIb.xml
1 <?xml version="1.0"?>
2 <!--
3
4 ************************************************************************
5
6 YASim aerodynamic model for a Hurricane IIb
7
8 Sources: 
9
10   Hurricane Mk II Performance
11   Aeroplane and Armament Experimental Establishment 
12   Boscombe Down 
13   21st October 1941
14
15  
16   NATIONAL ADVISORY COMMITTEE FOR AERONAUTICS
17   WARTIME REPORT
18   ORIGINALLY ISSUED
19   April 1942 as
20   Memorandum Report
21
22   MEASUREMENT OF THE FLYING QUALITIES OF
23   A HAWKER HURRICANE AIRPLANE
24
25   by J M.Nissen and W. H. Phillips
26   Langley Field Memorial Aeronautical Laboratory
27   Langley Field, Va.
28   NACA
29   WASHINGTON
30
31 This configuration has been developed with a great deal of assistance
32 by Emilian Huminiuc and includes many of his ideas and suggestions for
33 improvements. He has also contributed many hours testing to tune the
34 results.
35
36 © Vivian Meazza & Emilian Huminiuc 2012
37
38 The reference datum for measurements is the nose.
39
40 ************************************************************************
41
42 -->
43 <!-- Weight of everything but fuel  (5590lbs empty) -->
44 <airplane mass="6464">
45         <!-- Approach configuration -->
46         <approach speed="61"
47                                                 aoa="12.5">
48                 <control-setting axis="/controls/engines/engine[0]/throttle"
49                                                                                  value="0.2"/>
50                 <control-setting axis="/controls/engines/engine[0]/mixture"
51                                                                                  value="1.0"/>
52                 <control-setting axis="/controls/engines/engine[0]/propeller-pitch"
53                                                                                  value="1"/>
54                 <control-setting axis="/controls/engines/engine[0]/boost"
55                                                                                  value="0.79"/>
56                 <control-setting axis="/controls/flight/flaps"
57                                                                                  value="1.0"/>
58                 <control-setting axis="/controls/gear/gear-down"
59                                                                                  value="1"/>
60                 <solve-weight idx="0"
61                                                                         weight="200"/>
62         </approach>
63         <!-- Cruise configuration -->
64         <cruise speed="213"
65                                         alt="20800"
66                                         fuel="0.9">
67                 <control-setting axis="/controls/engines/engine[0]/throttle"
68                                                                                  value="1.0"/>
69                 <control-setting axis="/controls/engines/engine[0]/mixture"
70                                                                                  value="1.0"/>
71                 <control-setting axis="/controls/engines/engine[0]/propeller-pitch"
72                                                                                  value="1.0"/>
73                 <control-setting axis="/controls/engines/engine[0]/boost"
74                                                                                  value="1.0"/>
75                 <control-setting axis="/controls/flight/flaps"
76                                                                                  value="0.0"/>
77                 <control-setting axis="/controls/gear/gear-down"
78                                                                                  value="0"/>
79                 <solve-weight idx="0"
80                                                                         weight="200"/>
81         </cruise>
82         <!-- pilot's eyepoint -->
83         <cockpit x="-3.86"
84                                          y="0"
85                                          z="0.55"/>
86         <!--     Fuselage -->
87         <fuselage
88                 ax="0.0"
89                 ay="0.0"
90                 az="0.0"
91                 bx="-0.65"
92                 by="0.0"
93                 bz="0.0"
94                 width="0.6"
95                 taper="0.2"
96                 midpoint="1"
97     />
98         <fuselage
99                 ax="-0.65"
100                 ay="0.0"
101                 az="0.0"
102                 bx="-1.968"
103                 by="0.0"
104                 bz="-0.10"
105                 cx="0.5"
106                 width="1.255"
107                 taper="0.47"
108                 midpoint="1"
109                 />
110         <fuselage
111                 ax="-1.968"
112                 ay="0.0"
113                 az="-0.10"
114                 bx="-5.3"
115                 by="0.0"
116                 bz="-0.10"
117                 cx="0.5"
118                 width="1.255"
119                 taper="1"
120                 midpoint="1"
121                 />
122         <fuselage
123                 ax="-5.3"
124                 ay="0.0"
125                 az="-0.10"
126                 bx="-9.11"
127                 by="0.0"
128                 bz="-0.10"
129                 cx="0.4"
130                 width="1.255"
131                 taper="0.58"
132                 midpoint="0"
133         />
134
135         <!-- stub wing  -->
136         <mstab x="-3.76"
137                                  y="0.44"
138                                  z="-0.58"
139                                  taper="0.81"
140                                  incidence="2"
141                                  twist="0"
142                                  chord="3.08"
143                                  sweep="-17.25"
144                                  length="0.942"
145                                  camber="0.17"
146                                  idrag="1.2"
147         >
148                 <stall aoa="20.5"
149                                          width="12"
150                                          peak="1.316"/>
151                 <flap0 start="0.00"
152                                          end="1"
153                                          lift="1.8"
154                                          drag="1.7"/>
155                 <control-input axis="/controls/flight/flaps"
156                                                                          control="FLAP0"/>
157                 <control-output control="FLAP0"
158                                                                                 prop="/surface-positions/flap-pos-norm"/>
159                 <control-speed control="FLAP0"
160                                                                          transition-time="10"/>
161         </mstab>
162         <wing x="-3.48"
163                                 y="1.34"
164                                 z="-0.57"
165                                 taper="0.5"
166                                 incidence="2.0"
167                                 twist="-2.0"
168                                 length="4.314"
169                                 chord="2.497"
170                                 sweep="-3"
171                                 dihedral="3.5"
172                                 camber="0.189"
173                                 idrag="1.2"
174         >
175                 <stall aoa="16.5"
176                                          width="11"
177                                          peak="1.28"/>
178                 <flap0 start="0.00"
179                                          end="0.457"
180                                          lift="1.8"
181                                          drag="1.7"/>
182                 <flap1 start="0.457"
183                                          end="1.0"
184                                          lift="1.2"
185                                          drag="1.6"/>
186                 <control-input axis="/systems/hydraulic/outputs/flaps"
187                                                                          control="FLAP0"/>
188                 <control-output control="FLAP0"
189                                                                                 prop="/surface-positions/flap-pos-norm"/>
190                 <control-speed control="FLAP0"
191                                                                          transition-time="10"/>
192                 <control-input axis="/controls/flight/aileron"
193                                                                          control="FLAP1"
194                                                                          split="true"/>
195                 <control-input axis="/controls/flight/aileron-trim"
196                                                                          control="FLAP1"
197                                                                          split="true"/>
198                 <control-output control="FLAP1"
199                                                                                 side="left"
200                                                                                 prop="/surface-positions/left-aileron-pos-norm"/>
201                 <control-output  control="FLAP1"
202                                                                                  side="right"
203                                                                                  prop="/surface-positions/right-aileron-pos-norm"/>
204                 <control-speed control="FLAP1"
205                                                                          transition-time="0.1"/>
206         </wing>
207         <!-- wing tip -->
208         <mstab x="-3.264"
209                                  y="5.64"
210                                  z="-0.299"
211                                  taper="0.41"
212                                  incidence="0"
213                                  dihedral="3.5"
214                                  twist="0"
215                                  chord="1.248"
216                                  sweep="-0"
217                                  length="0.43"
218                                  camber="0.199"
219                                  idrag="1.2">
220                 <stall aoa="12.5"
221                                          width="8"
222                                          peak="1.312"/>
223         </mstab>
224         <!-- tailplane          effectiveness="1.2"-->
225         <hstab
226                 x="-8.899"
227                 y="0.08"
228                 z="0.224"
229                 taper="0.6"
230                 length="1.5"
231                 chord="1.382"
232                 sweep="-0.5"
233                 idrag="0.9">
234                 <stall aoa="15"
235                                          width="4"
236                                          peak="2.5"/>
237                 <flap0 start="0.0"
238                                          end="1.05"
239                                          lift="2.625"
240                                          drag="1.9"/>
241                 <control-input axis="/controls/flight/elevator"
242                                                                          control="FLAP0"/>
243                 <control-input axis="/controls/flight/elevator-trim"
244                                                                          control="FLAP0"/>
245                 <control-output control="FLAP0"
246                                                                                 prop="/surface-positions/elevator-pos-norm"/>
247                 <control-speed control="FLAP0"
248                                                                          transition-time="0.1"/>
249         </hstab>
250         <!-- tail -->
251         <vstab x="-8.849"
252                                  y="0"
253                                  z="0.224"
254                                  taper="0.44"
255                                  effectiveness="1.0"
256                                  length="1.2"
257                                  chord="1.9"
258                                  sweep="15"
259                                  incidence="-1.5">
260                 <stall aoa="12.5"
261                                          width="2"
262                                          peak="4"/>
263                 <flap0 start="0"
264                                          end="1"
265                                          lift="3.5"
266                                          drag="2.8"/>
267                 <control-input axis="/controls/flight/rudder"
268                                                                          control="FLAP0"
269                                                                          invert="true"
270                                                                          square="true"/>
271                 <control-input axis="/controls/flight/rudder-trim"
272                                                                          control="FLAP0"
273                                                                          invert="true"/>
274                 <control-output control="FLAP0"
275                                                                                 prop="/surface-positions/rudder-pos-norm"/>
276                 <control-speed control="FLAP0"
277                                                                          transition-time="0.1"/>
278         </vstab>
279         <vstab x="-8.849"
280                                  y="0"
281                                  z="-0.46"
282                                  taper="1.1875"
283                                  effectiveness="1.0"
284                                  length="0.684"
285                                  chord="1.6"
286                                  sweep="0"
287                                  incidence="-1.5">
288                 <stall aoa="12.5"
289                                          width="2"
290                                          peak="4"/>
291                 <flap0 start="0"
292                                          end="1"
293                                          lift="3.5"
294                                          drag="2.8"/>
295                 <control-input axis="/controls/flight/rudder"
296                                                                          control="FLAP0"
297                                                                          invert="true"
298                                                                          square="true"/>
299                 <control-input axis="/controls/flight/rudder-trim"
300                                                                          control="FLAP0"
301                                                                          invert="true"/>
302                 <control-output control="FLAP0"
303                                                                                 prop="/surface-positions/rudder-pos-norm"/>
304                 <control-speed control="FLAP0"
305                                                                          transition-time="0.1"/>
306         </vstab>
307
308         <!-- radiator 'wing' centre -->
309         <mstab x="-3.93"
310                                  y="-0.0"
311                                  z="-1.09"
312                                  dihedral="0"
313                                  twist="0"
314                                  chord="1.00"
315                                  taper="1"
316                                  incidence="0"
317                                  sweep="0"
318                                  length="0.34"  >
319                 <stall aoa="25"
320                                          width="4"
321                                          peak="1.5"/>
322                 <flap0 start="0.00"
323                                          end="1"
324                                          lift="1.1"
325                                          drag="1.3"/>
326                 <control-input axis="/controls/engines/engine/rad-flap-norm"
327                                                                          control="FLAP0"/>
328                 <control-output control="FLAP0"
329                                                                                 prop="/engines/engine/rad-flap-norm"/>
330                 <control-speed control="FLAP0"
331                                                                          transition-time="3" />
332         </mstab>
333
334         <!-- propeller and engine -->
335         <!-- moment = radius(m)* propeller mass(kg)/2 - equation provided by Andy Ross -->
336         <!-- documented gear ratio of 0.477  min-rpm="1800" max-rpm="3000" takeoff-power="1280"
337                         takeoff-rpm="1431"
338 -->
339         <propeller x="-1.35"
340                                                  y="0"
341                                                  z="-0.0"
342                                                  mass="2055"
343                                                  moment="60"
344                                                  radius="1.638"
345                                                  cruise-speed="237"
346                                                  cruise-rpm="1360"
347                                                  cruise-power="1190"
348                                                  cruise-alt="18000"
349                                                  min-rpm="715"
350                                                  max-rpm="1431"
351                                                  gear-ratio="0.477"
352                                                  coarse-stop="1.9"
353                                                  fine-stop="0.6"
354                                                  takeoff-power="1250"
355                                                  takeoff-rpm="1431">
356                 <actionpt x="-0.47"
357                                                         y="0"
358                                                         z="0"/>
359                 <dir x="1.0"
360                                  y="0"
361                                  z="0.009"/>
362                 <control-input axis="/controls/engines/engine[0]/propeller-pitch"
363                                                                          control="ADVANCE"/>
364                 <piston-engine
365                         eng-power="1290"
366                         eng-rpm="3000"
367                         displacement="1649"
368                         compression="6"
369                         turbo-mul="3.65"
370                         wastegate-mp="55.5"
371                         supercharger="1"
372                         >
373                         <control-input axis="/controls/engines/engine[0]/throttle"
374                                                                                  control="THROTTLE"/>
375                         <control-input axis="/controls/engines/engine[0]/boost-control"
376                                                                                  src0="-1"
377                                                                                  src1="1"
378                                                                                  dst0="-1"
379                                                                                  dst1="1"
380                                                                                  control="THROTTLE"/>
381                         <control-input axis="/controls/engines/engine[0]/starter"
382                                                                                  control="STARTER"/>
383                         <control-input axis="/controls/engines/engine[0]/magnetos"
384                                                                                  control="MAGNETOS"/>
385                         <control-input axis="/controls/engines/engine[0]/mixture"
386                                                                                  control="MIXTURE"/>
387                         <control-input axis="/controls/engines/engine[0]/boost"
388                                                                                  control="BOOST"/>
389                 </piston-engine>
390         </propeller>
391
392         <!-- simulate cannon recoil -->
393         <thruster x="3.5"
394                                                 y="0"
395                                                 z="0.4"
396                                                 vx="-1"
397                                                 vy="0"
398                                                 vz="0.3"
399                                                 thrust="4000">
400                 <control-input axis="/sim/ai/recoil"
401                                                                          control="THROTTLE"
402                                                                          src0="0"
403                                                                          src1="1"
404                                                                          dst0="0"
405                                                                          dst1="1"/>
406         </thruster>
407
408         <thruster x="3.5"
409                                                 y="0"
410                                                 z="0.4"
411                                                 vx="1"
412                                                 vy="0"
413                                                 vz="-0.3"
414                                                 thrust="4000">
415                 <control-input axis="/sim/ai/runout"
416                                                                          control="THROTTLE"
417                                                                          src0="0"
418                                                                          src1="1"
419                                                                          dst0="0"
420                                                                          dst1="1"/>
421         </thruster>
422         <!-- Tail wheel -->
423         <!-- tail wheel casters freely in Hurricane -->
424         <gear x="-8.566"
425                                 y="0"
426                                 z="-0.946"
427                                 compression="0.15"
428                                 castering="1">
429                 <control-input axis="/controls/gear/tailwheel-lock"
430                                                                          src0="0"
431                                                                          src1="1"
432                                                                          dst0="1"
433                                                                          dst1="1"
434                                                                          control="CASTERING"/>
435                 <control-input axis="/controls/gear/brake-parking"
436                                                                          control="BRAKE"
437                                                                          transition-time="0"
438                                                                          src0="0"
439                                                                          src1="1.0"
440                                                                          dst0="0.4"
441                                                                          dst1="0.4"/>
442         </gear>
443         <!-- left main   dfric="0.5" sfric="0.6"dfric="0.5" sfric="0.6"-->
444         <gear x="-2.76"
445                                 y="1.18"
446                                 z="-2.02"
447                                 spring="1.2"
448                                 damp="4.0"
449                                 compression="0.25"
450                                 dfric="0.7"
451                                 sfric ="0.8">
452                 <control-input axis="/systems/pneumatic/outputs/brake"
453                                                                          control="BRAKE"
454                                                                          transition-time="0.25"
455                                                                          src0="0"
456                                                                          src1="1"
457                                                                          dst0="0.001"
458                                                                          dst1="0.6"/>
459                 <control-input axis="/controls/gear/brake-parking"
460                                                                          control="BRAKE"
461                                                                          split="true"/>
462                 <control-input axis="/systems/hydraulic/outputs/gear[1]"
463                                                                          control="EXTEND"/>
464                 <control-speed control="EXTEND"
465                                                                          transition-time="9"/>
466                 <control-output control="EXTEND"
467                                                                                 prop="/gear/gear[1]/position-norm"/>
468         </gear>
469         <!-- right main spring="0.7" damp="3.0" -->
470         <gear x="-2.76"
471                                 y="-1.18"
472                                 z="-2.02"
473                                 spring="1.2"
474                                 damp="4.0"
475                                 compression="0.25"
476                                 dfric="0.7"
477                                 sfric ="0.8">
478                 <control-input axis="/systems/pneumatic/outputs/brake[1]"
479                                                                          control="BRAKE"
480                                                                          transition-time="0.25"
481                                                                          src0="0"
482                                                                          src1="1"
483                                                                          dst0="0.001"
484                                                                          dst1="0.6"/>
485                 <control-input axis="/controls/gear/brake-parking"
486                                                                          control="BRAKE"
487                                                                          split="true"/>
488                 <control-input axis="systems/hydraulic/outputs/gear[2]"
489                                                                          control="EXTEND"/>
490                 <control-speed control="EXTEND"
491                                                                          transition-time="7"/>
492                 <control-output control="EXTEND"
493                                                                                 prop="/gear/gear[2]/position-norm"/>
494         </gear>
495
496         <!-- dummy Tail wheel - add a little friction to make it flyable! -->
497         <gear x="-8.566"
498                                 y="0"
499                                 z="-0.946"
500                                 compression="0.15"
501                                 dfric="0.50"
502                                 sfric ="0.60">
503                 <control-input axis="/controls/gear/brake-parking"
504                                                                          control="BRAKE"
505                                                                          transition-time="0"
506                                                                          src0="0"
507                                                                          src1="1"
508                                                                          dst0="0.4"
509                                                                          dst1="0.4"/>
510         </gear>
511         <!-- Canopy -->
512         <gear x="-3.90"
513                                 y="0.0"
514                                 z="0.7"
515                                 compression="1">
516                 <control-input axis="/controls/flight/canopy-slide"
517                                                                          control="EXTEND"/>
518                 <control-speed control="EXTEND"
519                                                                          transition-time="2"/>
520                 <control-output control="EXTEND"
521                                                                                 prop="/gear/canopy/position-norm"/>
522         </gear>
523         <!-- Hook
524     <gear x="-6.70" y="0.0" z="-1.74" compression="1" spring="0.15">
525       <control-input axis="/controls/gear/tailhook" control="EXTEND"/>
526       <control-speed control="EXTEND" transition-time="2"/>
527       <control-output control="EXTEND" prop="/gear/tailhook/position-norm"/>
528     </gear>-->
529         <!-- Hook  - the hook extends only - it has no retracting mechanism
530       <hook x="-5.91" y="0.0" z="-0.60" length="1.416" down-angle="55" up-angle="-5">
531         <control-input axis="/controls/gear/tailhook" control="HEXTEND"/>
532         <control-speed control="HEXTEND" transition-time="5"/>
533       </hook>-->
534         <!-- Launch-bar
535
536 Note: the Seafire was not fitted with a catpult launch-bar - it used a catapult strop,
537 if at all. It usually did a free take-off.
538 the launch-bar is included here as a workable substitute.
539       <launchbar x="-2.30" y="0.0" z="-1.25" length="1.0">
540        <control-input axis="/controls/gear/launchbar" control="LEXTEND"/>
541         <control-speed control="LEXTEND" transition-time="1"/>
542       </launchbar>-->
543         <!-- Wing and Fuselage tanks.
544 Weight of contents calculated using 100 octane AVGAS density of 695 kg/m3 @ 15degC
545
546 -->
547         <tank x="-3.41"
548                                 y="0.99"
549                                 z="-0.5"
550                                 capacity="229"/>
551         <!-- left 33 imp gals -->
552         <tank x="-3.41"
553                                 y="-0.99"
554                                 z="-0.5"
555                                 capacity="229"/>
556         <!--  right 33 imp gals -->
557         <tank x="-2.56"
558                                 y="0"
559                                 z="0.45"
560                                 capacity="195"/>
561         <!--  centre 28 imp gals -->
562         <!-- ballast and weights -->
563         <!-- Cockpit, sundries-->
564         <ballast x="-3.50"
565                                          y="0"
566                                          z="-0.29"
567                                          mass="400"/>
568         <!-- armament -->
569         <!-- innner guns -->
570         <ballast x="-3.06"
571                                          y="2.27"
572                                          z="-0.50"
573                                          mass="52"/>
574         <ballast x="-3.06"
575                                          y="-2.27"
576                                          z="-0.50"
577                                          mass="52"/>
578         <ballast x="-3.06"
579                                          y="2.13"
580                                          z="-0.51"
581                                          mass="52"/>
582         <ballast x="-3.06"
583                                          y="-2.13"
584                                          z="-0.51"
585                                          mass="52"/>
586         <ballast x="-3.06"
587                                          y="2.00"
588                                          z="-0.52"
589                                          mass="52"/>
590         <ballast x="-3.06"
591                                          y="-2.00"
592                                          z="-0.52"
593                                          mass="52"/>
594         <ballast x="-3.06"
595                                          y="1.85"
596                                          z="-0.53"
597                                          mass="52"/>
598         <ballast x="-3.06"
599                                          y="-1.85"
600                                          z="-0.53"
601                                          mass="52"/>
602         <!-- outer guns -->
603         <ballast x="-3.06"
604                                          y="3.46"
605                                          z="-0.39"
606                                          mass="52"/>
607         <ballast x="-3.06"
608                                          y="-3.46"
609                                          z="-0.39"
610                                          mass="52"/>
611         <ballast x="-3.06"
612                                          y="3.70"
613                                          z="-0.43"
614                                          mass="52"/>
615         <ballast x="-3.06"
616                                          y="-3.70"
617                                          z="-0.43"
618                                          mass="52"/>
619         <!-- Radiator -->
620         <ballast x="-3.93"
621                                          y="0.0"
622                                          z="-1.09"
623                                          mass="100"/>
624         <!--nose ballast to fix CG-->
625         <ballast x="-1.35"
626                                          y="0.0"
627                                          z="-0.45"
628                                          mass="90"/>
629         <!--     tail ballast to fix CG CG: x:-3.079, y:-0.000, z:-0.232-->
630         <ballast x="-15.0"
631                                          y="0.0"
632                                          z="0.45"
633                                          mass="-90"/>
634         <!-- pilot -->
635         <weight x="-3.65"
636                                         y="0"
637                                         z="-0.04"
638                                         mass-prop="/yasim/weights/pilot-lb"/>
639 </airplane>