<!-- http://www.airliners.net/info/stats.main?id=66 -->
<!-- http://www.takeflightvideo.com/beech99.htm -->
<!-- http://www.flywestwind.com/WTC/Pprograms/turboprops.htm -->
<!-- http://www.skyquestinternational.com/Performance%20Beech%2099%20.htm -->

<!-- empty weight is 5722 lbs, max operating weight is 10400 lbs, max fuel -->
<!-- load is 2400 lbs (which is shouldn't be included in the airplane -->
<!-- mass number below.  With a full fuel load, that leaves 2278 lbs -->
<!-- remaining for other things like the pilots and passengers and -->
<!-- baggage.   Load will be added at the end of this config file -->
<!-- using the <weight> tag -->
<airplane mass="5722">

 <approach speed="71" aoa="12" fuel="0.8">
  <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/engines/engine[0]/propeller-pitch"
                   value="1.0"/>
  <control-setting axis="/controls/engines/engine[1]/propeller-pitch"
                   value="1.0"/>
  <control-setting axis="/controls/flight/flaps" value="1.0"/>
  <control-setting axis="/controls/gear/gear-down" value="1"/>
 </approach>

 <cruise speed="310" alt="20000" fuel="0.8"> <!-- 247 indicated -->
  <control-setting axis="/controls/flight/elevator-trim" value="0.24"/>
  <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/engines/engine[0]/propeller-pitch"
                   value="0.85"/>
  <control-setting axis="/controls/engines/engine[1]/propeller-pitch"
                   value="0.85"/>
  <control-setting axis="/controls/flight/flaps" value="0.0"/>
  <control-setting axis="/controls/gear/gear-down" value="0"/>
 </cruise>

 <!-- 13.58 (161 pixels) long, 11.86 pixels/meter -->

 <cockpit x="-3.60" y="0.26" z="1.18"/>

 <fuselage ax="0.00"  ay="0" az="0" bx="-3.60" by="0" bz="0"
           width="1.50" taper="0"/>
 <fuselage ax="-3.60"  ay="0" az="0" bx="-7.26" by="0" bz="0"
           width="1.60" taper="0"/>
 <fuselage ax="-7.26"  ay="0" az="0" bx="-13.58" by="0" bz="0"
           width="0.80" taper="0"/>

 <wing x="-5.75" y="0.80" z="-0.18" length ="6.41" chord ="2.45"
      sweep="0" dihedral="5" taper="0.5" camber="0.1">
  <stall aoa="14" width="4" peak="1.5"/>
  <flap0 start="0" end=".57" lift="1.4" drag="1.3"/>
  <flap1 start=".57" end=".95" lift="1.3" drag="1.2"/>
  <control-input axis="/controls/flight/flaps" control="FLAP0"/>
  <control-speed control="FLAP0" transition-time="5"/>
  <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="-12.48" y="0.42" z="0.76" length ="3.12" chord ="1.60"
        sweep="12" dihedral="7" taper="0.55">
  <stall aoa="16" width="4" peak="1.5"/>
  <flap0 start="0" end="1" lift="1.6" 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>

 <vstab x="-12.26" y="0.00" z="1.18" length ="3.16" chord ="2.11"
        sweep="22" taper="0.57">
  <stall aoa="16" width="4" peak="1.5"/>
  <flap0 start="0" 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"/>
 </vstab>

 <!-- I know the total fuel capacity is 2400 lbs, but the number and -->
 <!-- position of tanks is just a WAG for now --> 
 <tank x="-5.00" y="4.00" z="0.44" capacity="400"/>
 <tank x="-5.00" y="2.00" z="-0.15" capacity="800"/>
 <tank x="-5.00" y="-2.00" z="-0.15" capacity="800"/>
 <tank x="-5.00" y="-4.00" z="0.44" capacity="400"/>

 <gear x="-0.51" y="0.00" z="-1.35" compression=".3" retract-time="7">
  <control-input axis="/controls/flight/rudder" control="STEER"/>
  <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
  <control-speed control="EXTEND" transition-time="7"/>
  <control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
 </gear>

 <gear x="-6.15" y="2.02" z="-1.35" compression=".2" retract-time="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-speed control="EXTEND" transition-time="6.2"/>
  <control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
 </gear>

 <gear x="-6.15" y="-2.02" z="-1.35" compression=".2" retract-time="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-speed control="EXTEND" transition-time="6"/>
  <control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
 </gear>

 <propeller x="-2.70" y="2.10" z="0.25"
            mass="1200" moment="80" radius="1.0"
            cruise-speed="310" cruise-rpm="1700"
            cruise-power="600" cruise-alt="20000"
            min-rpm="1000" max-rpm="1700">
  <turbine-engine
            eng-power="680" eng-rpm="1700" alt="9000"
            flat-rating="680"
            n2-low-idle="50" n2-high-idle="70" n2-max="101.5"
            bsfc="0.78"/>
  <actionpt x="-2.70" y="2.10" z="0.25"/>
  <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="-2.70" y="-2.10" z="0.25"
            mass="1200" moment="-80" radius="1.0"
            cruise-speed="310" cruise-rpm="1700"
            cruise-power="600" cruise-alt="20000"
            min-rpm="1000" max-rpm="1700">
  <turbine-engine
            eng-power="680" eng-rpm="1700" alt="9000"
            flat-rating="680"
            n2-low-idle="50" n2-high-idle="70" n2-max="101.5"
            bsfc="0.78"/>
  <actionpt x="-2.70" y="-2.10" z="0.25"/>
  <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>


 <!-- The <ballast> tag doesn't add weight, but instead specifies the -->
 <!-- distribution of the overall weight. -->
 <ballast x="-13.00" y="0.26" z="0.0" mass="400"/><!-- balance the aircraft -->
 <!-- <ballast x="-3.60" y="0.26" z="0.0" mass="180"/> --> <!-- pilot -->
 <!-- <ballast x="-3.60" y="0" z="0.0" mass="240"/> -->    <!-- cockpit -->


 <!-- The <weight> tags add weight over and above the aircraft empty -->
 <!-- weight and fuel weight.  The sum of these values can be anything -->
 <!-- in the range of 0 to 10400 (max weight) minus 5722 (empty weight) -->
 <!-- minus fuel load.  I.e. the remaining available load for safe -->
 <!-- flying.  So if fuel fraction is 0.8, this sum can be in the range -->
 <!-- of 0 to (10400 - 5722 - 1920 = 2758.)  0 of course would mean -->
 <!-- ghost pilots, so it should be a bit more than that.  -->

 <!-- You can double check total gross weight at flight time by looking -->
 <!-- at /yasim/gross-weight-lbs in the property tree.  It should not ever -->
 <!-- exceed 10400 lbs. -->

 <!-- the /yasim/beech99/*-lbs propertis are initialized in the -->
 <!-- beech99-yasim-set.xml file and can be adjusted at run time. -->
 <weight x="-4.0" y="0" z="0" mass-prop="/yasim/beech99/pilot-lbs"/>
 <weight x="-7.0" y="0" z="0" mass-prop="/yasim/beech99/passenger-lbs"/>

</airplane>
