<!--
DHC8-300 
June 2008 Alex Park.

SPECS:
Height: 7.49
Length: 22.25
Wing span: 25.91

MTOW: 12,500 lbs

Service Ceiling = 25000 ft
Cruise at MTOW
5000 ft - 287 TAS
10,000 ft - 287 TAS

Stall :
Full Flaps = 58 kt
O Flaps = 74 kt
-->

<airplane mass="7500">

    <approach speed="70" aoa="5" fuel="0.5">
        <control-setting axis="/controls/engines/engine[0]/throttle" value="0.2"/>
        <control-setting axis="/controls/engines/engine[1]/throttle" value="0.2"/>
        <control-setting axis="/controls/engines/engine[0]/condition" value="1.0"/>
        <control-setting axis="/controls/engines/engine[1]/condition" value="1.0"/>
        <control-setting axis="/controls/flight/flaps" value="0.5"/>
        <solve-weight idx="0" weight="360"/>
        <solve-weight idx="1" weight="2940"/>
 	  <control-setting axis="/controls/gear/gear-down" value="1"/>
    </approach>

    <cruise speed="287" alt="10000" fuel="0.5"> 
        <control-setting axis="/controls/engines/engine[0]/throttle" value="1.0"/>
        <control-setting axis="/controls/engines/engine[1]/throttle" value="1.0"/>
        <control-setting axis="/controls/engines/engine[0]/condition" value="1.0"/>
        <control-setting axis="/controls/engines/engine[1]/condition" value="1.0"/>
        <control-setting axis="/controls/flight/flaps" value="0.0"/>
        <solve-weight idx="0" weight="360"/>
        <solve-weight idx="1" weight="2940"/>
  <control-setting axis="/controls/gear/gear-down" value="1"/>
    </cruise>

    <cockpit x="2.60" y="-0.31" z="2.85"/>

    <fuselage ax="6.338"  ay="0" az="-0.185" bx="3.609" by="0" bz="0.111"
        width="1.8" taper="0.2" midpoint="1.0" cy="1.1" cx="1.1"/>
    <fuselage ax="3.609"  ay="0" az="0.111" bx="-2.470" by="0" bz="0.111"
        width="1.8" taper="1.0" midpoint="0.5" cy="1.1" cx="1.1"/>
    <fuselage ax="-2.470"  ay="0" az="0.111" bx="-8.811" by="0" bz="0.30"
        width="1.8" taper="0.1" midpoint="0.0" cy="1.1" cx="1.1"/>


    <fuselage ax="2.497"  ay="2.857" az="0.858" bx="-0.410" by="2.857" bz="1.012"
        width="0.6" taper="0.2" midpoint="0.2" cy="1.5" cx="1.5"/>

    <fuselage ax="2.497"  ay="-2.857" az="0.858" bx="-0.410" by="-2.857" bz="1.012"
        width="0.6" taper="0.2" midpoint="0.2" cy="1.5" cx="1.5"/>



    <wing x="0.10" y="0.80" z="1.0" length="9.0" chord="1.95"
        sweep="0" dihedral="2" taper="1"  camber="0.020" incidence="1">
        <stall aoa="15" width="6" peak="1.5"/>
        <flap0 start="0" end=".6" lift="1.6" drag="1.8"/>
        <flap1 start=".6" end=".95" lift="1.3" drag="1.2"/>
        <control-input axis="/controls/flight/flaps" control="FLAP0"/>
        <control-speed control="FLAP0" transition-time="20"/>
        <control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
        <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>

    <hstab x="-7.47" y="0.08" z="1.186" length="3.15" chord="1.4"
        sweep="0" dihedral="0" taper="1">
        <stall aoa="18" width="4" peak="1.5"/>
        <flap0 start="0" end="1" lift="1.3" drag="1.1"/>
        <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="-7.312" y="0.00" z="0.3" length="2.6" chord="2.9"
        sweep="20" taper="0.7" >
        <stall aoa="16" width="4" peak="1.5"/>
        <flap0 start="0" end="1" lift="1.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"/>
    </vstab>

<!--
2500 lbs (Jet A)
Fuel burn ... 580 lbs/hr
-->
    <tank x="0.66" y="0" z="-0.5" capacity="1000" jet="true"/>
    <tank x="-1.32" y="0" z="0.5" capacity="1400" jet="true"/>
    <tank x="0" y="0" z="0" capacity="0"/>

    <gear x="2.43" y="0.00" z="-1.0" compression=".4"
    spring="0.8" damp="1.2" sfric="0.6" 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="EXTEND" prop="/gear/gear[0]/position-norm"/>
  <control-speed control="EXTEND" transition-time="6"/>
    </gear>

    <gear x="-2.00" y="-3.98" z="-1.00" compression=".3"
    spring="0.8" damp="1.2" sfric="0.8" dfric="0.7">
        <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="6"/>

    </gear>

    <gear x="-2.00" y="3.98" z="-1.00" compression=".3"
    spring="0.8" damp="1.2" sfric="0.8" dfric="0.7">
        <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="6"/>

    </gear>

<!--
Engines:
2 PW123A
1250 shp
Prop diam: 2.59 m 
-->

    <propeller x="1.3" y="2.65" z="1.0"
        mass="500" moment="80" radius="1.3"
        cruise-speed="280" cruise-rpm="2200"
        cruise-power="1200" cruise-alt="10000"
        min-rpm="1700" max-rpm="2200"
        fine-stop="0.25" coarse-stop="4.0">
        <turbine-engine
            eng-power="1250" eng-rpm="2200" alt="10000"
            flat-rating="1250" max-n2="101.5" bsfc="0.468"/>
        <actionpt x="2.2" y="2.65" z="1.0"/>
        <control-input axis="/controls/engines/engine[0]/throttle"
        control="THROTTLE"/>
        <control-input axis="/controls/engines/engine[0]/condition"
        control="CONDLEVER"/>
        <control-input axis="/controls/engines/engine[0]/starter"
        control="STARTER"/>
        <control-input axis="/controls/engines/engine[0]/propeller-pitch"
        control="ADVANCE"/>
        <control-input axis="/controls/engines/engine[0]/propeller-feather"
        control="PROPFEATHER"/>
    </propeller>

    <propeller x="1.3" y="-2.65" z="1.0"
        mass="500" moment="-80" radius="1.3"
        cruise-speed="280" cruise-rpm="2200"
        cruise-power="1250" cruise-alt="10000"
        min-rpm="1700" max-rpm="2200"
        fine-stop="0.25" coarse-stop="4.0">
        <turbine-engine
            eng-power="1250" eng-rpm="2200" alt="10000"
            flat-rating="1250" max-n2="101.5" bsfc="0.468"/>
        <actionpt x="2.2" y="-2.65" z="1.0"/>
        <control-input axis="/controls/engines/engine[1]/throttle"
        control="THROTTLE"/>
        <control-input axis="/controls/engines/engine[1]/condition"
        control="CONDLEVER"/>
        <control-input axis="/controls/engines/engine[1]/starter"
        control="STARTER"/>
        <control-input axis="/controls/engines/engine[1]/propeller-pitch"
        control="ADVANCE"/>
        <control-input axis="/controls/engines/engine[1]/propeller-feather"
        control="PROPFEATHER"/>
    </propeller>
<!--
    <jet x="1.3" y="2.65" z="1.0" mass="500" thrust="2000" tsfc="0.468" 
    epr="3.4" rotate="0" spool-time="4.0">
        <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"/>
        <control-speed control="REVERSE_THRUST" transition-time="1.5"/>
        <actionpt  x="2.2" y="2.65" z="1.0"/>
    </jet>

    <jet x="1.3" y="-2.65" z="1.0" mass="500" thrust="2000" tsfc="0.468" 
    epr="3.4" rotate="0" spool-time="4.0">
        <control-input axis="/controls/engines/engine[1]/throttle-lever"
        control="THROTTLE"/>
        <control-input axis="/controls/engines/engine[1]/mixture" control="MIXTURE"/>
        <control-input axis="/controls/engines/engine[1]/reverser" control="REVERSE_THRUST"/>
        <control-output control="REVERSE_THRUST" prop="/surface-positions/reverser-norm"/>
        <control-speed control="REVERSE_THRUST" transition-time="1.5"/>
        <actionpt  x="2.2" y="-2.65" z="1.0"/>
    </jet>
-->

    <ballast x="-6.5" y="0" z="0" mass="-350"/>
    <ballast x="0.3" y="0" z="-0.5" mass="1500"/>
    <ballast x="2.5" y="0" z="-1" mass="1000"/>

    <weight x="2.5" y="0" z="0" mass-prop="/sim/weight[0]/weight-lb"/>
    <weight x="0.0" y="0" z="0" mass-prop="/sim/weight[1]/weight-lb"/>

  <hitch name="aerotow" x="-2.5" y="0" z="-0.85"  force-is-calculated-by-other="1">
  <tow length="60" weight-per-meter="0.035" elastic-constant="9000" break-force="10000" mp-auto-connect-period="1.0"/>
  <winch max-tow-length="1000" min-tow-length="60" initial-tow-length="60"/>
</hitch>

</airplane>