<?xml version="1.0" encoding="ISO-8859-1"?>

<!--
  Deperdussin   : 2010 Emmanuel BARANGER 
        updated : 2014 Emmanuel BARANGER

  source        : http://en.wikipedia.org/wiki/Deperdussin_Monocoque

  Wingspan      : 8.95 m    (  29 ft 04 in )
  lenght        : 5.75 m    (  18 ft 10 in )
  Empty mass    :  400 kg   ( 880 lb)
  Engine        : Gnome rotary 160 hp
  Maximum speed :  210 km/h (  113 kts )
-->
<airplane mass="880" >

  <approach speed="35" aoa="4" fuel="0.3">
    <control-setting axis="/controls/engines/engine[0]/throttle" value="0.2"/>
    <control-setting axis="/controls/engines/engine[0]/mixture" value="0.65"/>
  </approach>
  
  <!-- <control-setting axis="/controls/flight/elevator-trim" value="0.16"/> -->
  <cruise speed="107" alt="5000" fuel="0.7" >
    <control-setting axis="/controls/engines/engine[0]/throttle" value="1.0" />
    <control-setting axis="/controls/engines/engine[0]/mixture" value="0.65" />
  </cruise>

  <cockpit x="0.760" y="0.00" z="0.733"/>

  <fuselage ax="2.630" ay="0" az="0.272" bx="-2.550" by="0" bz="0.346" width="0.820" taper="0.2" midpoint="0.01"/>

  <!-- Wing -->
  <wing x="1.461" y="0.350" z="0.517" 
        chord="1.601" 
        length="2.953" 
        taper="1" 
        camber="0.03">
        <stall aoa="16" width="1" peak="1.5"/>
        <flap0 start="0.5" end="1" lift="1.2" drag="1.1"/>
      
        <control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
        <control-input axis="/controls/flight/aileron-trim" control="FLAP0" split="true"/>
      
        <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"/>
  </wing>

  <hstab x="-2.041" y="0.0" z="0.341" 
         chord="1.927" 
         length="1.2"
         sweep="32" 
         taper="0.35"> 
         <stall aoa="14" width="1" peak="1.5"/>
         <flap0 start="0" end="1" lift="1.4" 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="-2.317" y="0" z="0.214" 
         chord="1.479" 
         length="0.92"
         sweep="40" 
         taper="0.16">
         <stall aoa="12" width="1" peak="1.4"/>
         <flap0 start="0" end="1" lift="1.1" drag="1.1"/>

         <control-input axis="/controls/flight/rudder" square="true" 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>

  <!--  Gnome rotary 160 hp
                 source       : http://www.enginehistory.org/Gnome%20Monosoupape.pdf

                 type         : 9-cylinder version
                 power        : 160 hp
                 weight       : 150 kg  ( 330 lb )
                 Displacement : 970 cm3
                 Compression  : 5.45:1
  -->
  <propeller x="2.457" y="0.0" z="0.272"  
             mass="330"       
             radius="1.14"
             moment="2.5"
             cruise-power="140"
             cruise-alt="5000" 
             cruise-speed="107"
             cruise-rpm="1100"
             takeoff-power="160"
             takeoff-rpm="1300">
             <actionpt x="2.823" y="0.0" z="0.272" />
             <piston-engine eng-rpm="1300" 
                            eng-power="160"
                            displacement="970" 
                            compression="5.45">
                            <control-input control="MAGNETOS" axis="/controls/engines/engine[0]/magnetos"/>
                            <control-input control="STARTER" axis="/controls/engines/engine[0]/starter"/>
                            <control-input control="MIXTURE" axis="/controls/engines/engine[0]/mixture"/>
                            <control-input control="THROTTLE" axis="/controls/engines/engine[0]/throttle"/>

             </piston-engine>
  </propeller>

  <!-- Left wheel -->
  <gear x="1.732" y="0.662" z="-1.137" 
        compression="0.15" 
        dfric="0.8"
        sfric="1.0" 
        damp="0.8">
        <control-input axis="/controls/gear/brake-left" control="BRAKE" split="true"/>
        <control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>
  </gear>

  <!-- Right wheel -->
  <gear x="1.732" y="-0.662" z="-1.137" 
        compression="0.15" 
        dfric="0.8"
        sfric="1.0" 
        damp="0.8">
        <control-input axis="/controls/gear/brake-right" control="BRAKE" split="true"/>
        <control-input axis="/controls/gear/brake-parking" control="BRAKE" split="true"/>
  </gear>

  <!-- Tail wheel -->
  <gear x="-2.511" y="0" z="-0.159" 
        compression="0.10"
        castering="0"
        dfric="0.5"
        sfric="0.6">
    </gear>

  <!-- Fuel: Forward 142 lbs -->
  <tank x="1.824" y="0" z="0" capacity="142"/>
  
  <!-- CG -->
  <ballast x="1" y="0" z="-2" mass="400" />

</airplane>
