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

<!-- Dornier DO 26  : Emmanuel BARANGER    2010

       Source       : http://en.wikipedia.org/wiki/Dornier_Do_26

       Wingspan     : 30.00 m  (      98 ft 5 in )
       Lenght       : 24.50 m  (      80 ft 5 in )
       Height       :  6.90 m  (      22 ft 8 in )
       Weight       : 10200 kg (   22487 lb      )
       Max weight   : 20000 kg (   44092 lb      )
       Cruise speed : 310 km/h (  167.39 kt      )
       Engines      : 4 Junkers Jumo 205C Diesel (600 hp each)
-->
<airplane mass="22487" version="YASIM_VERSION_CURRENT" mtow-lbs="44092">

  <approach speed="76" aoa="11" fuel="0.2">
    <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/engines/engine[2]/throttle" value="0.4"/>
    <control-setting axis="/controls/engines/engine[3]/throttle" value="0.4"/>
    <control-setting axis="/controls/engines/engine[0]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[1]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[2]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[3]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[0]/propeller-pitch" value="0.5"/>
    <control-setting axis="/controls/engines/engine[1]/propeller-pitch" value="0.5"/>
    <control-setting axis="/controls/engines/engine[2]/propeller-pitch" value="0.5"/>
    <control-setting axis="/controls/engines/engine[3]/propeller-pitch" value="0.5"/>
    <control-setting axis="/controls/flight/flaps" value="1"/>
    <control-setting axis="/controls/gear/gear-down" value="1"/>
  </approach>

  <cruise speed="170" alt="7600">
    <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[2]/throttle" value="1"/>
    <control-setting axis="/controls/engines/engine[3]/throttle" value="1"/>
    <control-setting axis="/controls/engines/engine[0]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[1]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[2]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[3]/mixture" value="1"/>
    <control-setting axis="/controls/engines/engine[0]/propeller-pitch" value="1"/>
    <control-setting axis="/controls/engines/engine[1]/propeller-pitch" value="1"/>
    <control-setting axis="/controls/engines/engine[2]/propeller-pitch" value="1"/>
    <control-setting axis="/controls/engines/engine[3]/propeller-pitch" value="1"/>
    <control-setting axis="/controls/engines/engine[0]/boost" value="1"/>
    <control-setting axis="/controls/engines/engine[1]/boost" value="1"/>
    <control-setting axis="/controls/engines/engine[2]/boost" value="1"/>
    <control-setting axis="/controls/engines/engine[3]/boost" value="1"/>
    <control-setting axis="/controls/flight/flaps" value="0"/>
    <control-setting axis="/controls/gear/gear-down" value="0"/>
  </cruise>

  <cockpit x="7.65" y="0.54" z="-1.17"/>

  <!-- Fuselage -->
  <fuselage ax=" 12.300" ay=" 0.000" az="-2.326" bx=" 11.867" by=" 0.000" bz="-2.315" width="0.836" taper="0.50" midpoint="1"/>
  <fuselage ax=" 11.867" ay=" 0.000" az="-2.315" bx=" 11.217" by=" 0.000" bz="-2.345" width="1.255" taper="0.67" midpoint="1"/>
  <fuselage ax=" 11.217" ay=" 0.000" az="-2.345" bx=" 10.069" by=" 0.000" bz="-2.345" width="1.716" taper="0.73" midpoint="1"/>
  <fuselage ax=" 10.069" ay=" 0.000" az="-2.345" bx="  8.659" by=" 0.000" bz="-2.345" width="2.032" taper="0.85" midpoint="1"/>
  <fuselage ax="  8.659" ay=" 0.000" az="-2.345" bx="  2.049" by=" 0.000" bz="-1.988" width="2.792" taper="0.73" midpoint="1"/>
  <fuselage ax="  2.049" ay=" 0.000" az="-1.988" bx=" -0.028" by=" 0.000" bz="-1.690" width="2.800" taper="0.85" midpoint="0"/>
  <fuselage ax=" -0.028" ay=" 0.000" az="-1.690" bx=" -4.290" by=" 0.000" bz="-1.049" width="2.390" taper="0.65" midpoint="0"/>
  <fuselage ax=" -4.290" ay=" 0.000" az="-1.049" bx="-12.333" by=" 0.000" bz="-0.090" width="1.554" taper="0.15" midpoint="0"/>
  <fuselage ax=" -0.028" ay=" 0.000" az="-1.690" bx=" -4.337" by=" 0.000" bz="-1.709" width="2.390" taper="0.65" midpoint="0"/>
  <fuselage ax=" -4.337" ay=" 0.000" az="-1.709" bx="-12.333" by=" 0.000" bz="-0.090" width="1.554" taper="0.15" midpoint="0"/>
  
  <!-- Cockpit -->
  <fuselage ax="  8.642" ay=" 0.000" az="-1.866" bx="  8.125" by=" 0.000" bz="-1.737" width="1.577" taper="0.70" midpoint="1"/>
  <fuselage ax="  8.282" ay=" 0.000" az="-1.832" bx="  7.852" by=" 0.000" bz="-1.800" width="1.852" taper="0.92" midpoint="1"/>
  <fuselage ax="  7.852" ay=" 0.000" az="-1.800" bx="  2.109" by=" 0.000" bz="-1.527" width="1.852" taper="1.00" midpoint="1"/>
  
  <!-- Moteur gauche -->
  <fuselage ax="  6.679" ay=" 2.918" az="-0.109" bx="  6.034" by=" 2.918" bz="-0.070" width="0.716" taper="0.70" midpoint="1"/>
  <fuselage ax="  6.034" ay=" 2.918" az="-0.070" bx="  4.492" by=" 2.918" bz="-0.003" width="0.919" taper="0.79" midpoint="1"/>
  <fuselage ax="  4.492" ay=" 2.918" az="-0.003" bx="  1.943" by=" 2.918" bz="-0.003" width="0.994" taper="0.92" midpoint="1"/>
  <fuselage ax="  1.943" ay=" 2.918" az="-0.003" bx="  0.008" by=" 2.918" bz="-0.003" width="0.994" taper="0.45" midpoint="0"/>
  <fuselage ax="  6.676" ay=" 2.918" az="-0.583" bx="  6.032" by=" 2.918" bz="-0.630" width="0.716" taper="0.70" midpoint="1"/>
  <fuselage ax="  6.032" ay=" 2.918" az="-0.630" bx="  4.494" by=" 2.918" bz="-0.630" width="0.911" taper="0.78" midpoint="1"/>
  <fuselage ax="  4.494" ay=" 2.918" az="-0.630" bx="  2.248" by=" 2.918" bz="-0.502" width="0.911" taper="0.65" midpoint="0"/>
  
  <!-- Moteur droit -->
  <fuselage ax="  6.679" ay="-2.918" az="-0.109" bx="  6.034" by="-2.918" bz="-0.070" width="0.716" taper="0.70" midpoint="1"/>
  <fuselage ax="  6.034" ay="-2.918" az="-0.070" bx="  4.492" by="-2.918" bz="-0.003" width="0.919" taper="0.79" midpoint="1"/>
  <fuselage ax="  4.492" ay="-2.918" az="-0.003" bx="  1.943" by="-2.918" bz="-0.003" width="0.994" taper="0.92" midpoint="1"/>
  <fuselage ax="  1.943" ay="-2.918" az="-0.003" bx="  0.008" by="-2.918" bz="-0.003" width="0.994" taper="0.45" midpoint="0"/>
  <fuselage ax="  6.676" ay="-2.918" az="-0.583" bx="  6.032" by="-2.918" bz="-0.630" width="0.716" taper="0.70" midpoint="1"/>
  <fuselage ax="  6.032" ay="-2.918" az="-0.630" bx="  4.494" by="-2.918" bz="-0.630" width="0.911" taper="0.78" midpoint="1"/>
  <fuselage ax="  4.494" ay="-2.918" az="-0.630" bx="  2.248" by="-2.918" bz="-0.502" width="0.911" taper="0.65" midpoint="0"/>
  
  <wing x="2.605" y="0" z="-0.923" 
         chord="4.782" 
         length="4.095" 
         dihedral="13"
         camber="0.005">
         <flap0 start="0.12" end="0.95" lift="1.4" drag="1.4"/>

         <control-input control="FLAP0" axis="/controls/flight/flaps"/>

         <control-speed control="FLAP0" transition-time="5"/>
  </wing>

  <wing x="2.605" y="3.990" z="-0.001" 
        append="1"
        chord="4.782" 
        length="10.927" 
        taper="0.507" 
        sweep="6" 
        dihedral="3">
        <stall aoa="14" width="1" peak="1.5"/>
        <flap0 start="0.01" end="0.29" lift="1.4" drag="1.4"/>
        <flap1 start="0.31" end="0.95" lift="1.2" drag="1.1"/>

        <control-input  control="FLAP0" axis="/controls/flight/flaps"/>
        <control-input  control="FLAP1" axis="/controls/flight/aileron" split="true"/>
        <control-input  control="FLAP1" axis="/controls/flight/aileron-trim" split="true"/>

        <control-output control="FLAP0" prop="/surface-positions/flap-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-speed  control="FLAP0" transition-time="5"/>
  </wing>

  <hstab x="-10.28" y="0" z="0.304" 
         chord="2.71" 
         length="4.65" 
         taper="0.6" 
         sweep="2"
         dihedral="1">
         <stall aoa="18" width="1" peak="1.5"/>
         <flap0 start="0" end="1" lift="1.8" drag="1.1"/>

         <control-input  control="FLAP0" axis="/controls/flight/elevator"/>
         <control-input  control="FLAP0" axis="/controls/flight/elevator-trim"/>

         <control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
  </hstab>

  <vstab x="-10.326" y="0" z="-0.872" 
         chord="4.345" 
         length="4.31" 
         taper="0.3" 
         sweep="10">
         <stall aoa="14" width="1" peak="1.5"/>
         <flap0 start="0.22" end="1" lift="1.2" drag="1.1"/>

         <control-input  control="FLAP0" axis="/controls/flight/rudder" invert="true"/>
         <control-input  control="FLAP0" axis="/controls/flight/rudder-trim" invert="true"/>

         <control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
  </vstab>

  <!-- Engines   source            : http://en.wikipedia.org/wiki/Junkers_Jumo_205

                 name              : Junkers Jumo 205
                 type              : Six-cylinder 12-piston liquid-cooled opposed piston inline two-stroke diesel engine
                 power cruise      : 867 hp at 2800 rpm
                 weight            :     595 kg (1312 lb)
                 displacement      : 16.63 L (1015 in3)
                 compression       : 17:1
  -->
  <!-- 
        Throttle    100%
        Propeller   2100 RPM
        FuelFlow    35 gal/h

        Cruising @ 15000
        for a speed
  
        IAS         140 kts
        GS          175 kts

        rise        from     0 to  7500 ft    300 ft/min
                    from  7500 to 10000 ft    200 ft/min
                    from 10000 to 15000 ft    100 ft/min

        full fuel take off
  
        Throttle    100%
        Propeller   2800 RPM
        FuelFlow    70 gal/h

        rise        from     0 to  3000 ft    200 ft/min    @ 155 kts IAS
                    from  3000 to  5000 ft    200 ft/min    @ 155 kts IAS   Propeller     2800 RPM  -> FuelFlow decrease @ 65 gal/h 
                    from  5000 to  7500 ft    200 ft/min    @ 145 kts IAS   Propeller     2400 RPM  -> FuelFlow decrease @ 50 gal/h 
                    from  7500 to 10000 ft    100 ft/min    @ 135 kts IAS   Propeller     2200 RPM  -> FuelFlow decrease @ 45 gal/h
                    from 10000 to 15000 ft    100 ft/min    @ 135 kts IAS   Propeller     2000 RPM  -> FuelFlow decrease @ 33 gal/h
  -->
  <!-- Avant gauche -->
  <propeller x="5.338" y="2.895" z="-0.116"
             radius="1.9375" 
             mass="1312" 
             moment="64.5"
             cruise-alt="1500" 
             cruise-power="1200"
             cruise-speed="150" 
             cruise-rpm="1056"
             gear-ratio="0.44"
             min-rpm="766" 
             max-rpm="1237" 
             contra="1">
             <actionpt x="6.938" y="2.895" z="-0.116"/>
             <control-input control="ADVANCE"  axis="/controls/engines/engine[0]/propeller-pitch"/>
             <piston-engine eng-power="880"
                            eng-rpm="2900"
                            displacement="1312"
                            compression="5.8">
                            <control-input control="THROTTLE" axis="/controls/engines/engine[0]/throttle"/>
                            <control-input control="STARTER"  axis="/controls/engines/engine[0]/starter"/>
                            <control-input control="MAGNETOS" axis="/controls/engines/engine[0]/magnetos"/>
                            <control-input control="MIXTURE"  axis="/controls/engines/engine[0]/mixture"/>
                            <control-input control="BOOST"    axis="/controls/engines/engine[0]/boost"/>
             </piston-engine>
  </propeller>

  <!-- Arriere gauche -->
  <propeller x="1.181" y="2.895" z="0.011"
             radius="1.9375" 
             mass="1312" 
             moment="64.5"
             cruise-alt="1500" 
             cruise-power="1200"
             cruise-speed="150" 
             cruise-rpm="1056"
             gear-ratio="0.44"
             min-rpm="766" 
             max-rpm="1237" 
             contra="1">
             <actionpt x="-0.219" y="2.895" z="0.011"/>
             <control-input control="ADVANCE"  axis="/controls/engines/engine[1]/propeller-pitch"/>
             <piston-engine eng-power="880"
                            eng-rpm="2900"
                            displacement="1312"
                            compression="5.8">
                            <control-input control="THROTTLE" axis="/controls/engines/engine[1]/throttle"/>
                            <control-input control="STARTER"  axis="/controls/engines/engine[1]/starter"/>
                            <control-input control="MAGNETOS" axis="/controls/engines/engine[1]/magnetos"/>
                            <control-input control="MIXTURE"  axis="/controls/engines/engine[1]/mixture"/>
                            <control-input control="BOOST"    axis="/controls/engines/engine[1]/boost"/>
             </piston-engine>
  </propeller>

  <!-- Avant droit -->
  <propeller x="5.338" y="-2.895" z="-0.116"
             radius="1.9375" 
             mass="1312" 
             moment="64.5"
             cruise-alt="1500" 
             cruise-power="1200"
             cruise-speed="150" 
             cruise-rpm="1056"
             gear-ratio="0.44"
             min-rpm="766" 
             max-rpm="1237" 
             contra="1">
             <actionpt x="6.938" y="-2.895" z="-0.116"/>
             <control-input control="ADVANCE"  axis="/controls/engines/engine[2]/propeller-pitch"/>
             <piston-engine eng-power="880"
                            eng-rpm="2900"
                            displacement="1312"
                            compression="5.8">
                            <control-input control="THROTTLE" axis="/controls/engines/engine[2]/throttle"/>
                            <control-input control="STARTER"  axis="/controls/engines/engine[2]/starter"/>
                            <control-input control="MAGNETOS" axis="/controls/engines/engine[2]/magnetos"/>
                            <control-input control="MIXTURE"  axis="/controls/engines/engine[2]/mixture"/>
                            <control-input control="BOOST"    axis="/controls/engines/engine[2]/boost"/>
             </piston-engine>
  </propeller>

  <!-- Arriere droit -->
  <propeller x="1.181" y="-2.895" z="0.011"
             radius="1.9375" 
             mass="1312" 
             moment="64.5"
             cruise-alt="1500" 
             cruise-power="1200"
             cruise-speed="150" 
             cruise-rpm="1056"
             gear-ratio="0.44"
             min-rpm="766" 
             max-rpm="1237" 
             contra="1">
             <actionpt x="-0.219" y="-2.895" z="0.011"/>
             <control-input control="ADVANCE"  axis="/controls/engines/engine[3]/propeller-pitch"/>
             <piston-engine eng-power="880"
                            eng-rpm="2900"
                            displacement="1312"
                            compression="5.8">
                            <control-input control="THROTTLE" axis="/controls/engines/engine[3]/throttle"/>
                            <control-input control="STARTER"  axis="/controls/engines/engine[3]/starter"/>
                            <control-input control="MAGNETOS" axis="/controls/engines/engine[3]/magnetos"/>
                            <control-input control="MIXTURE"  axis="/controls/engines/engine[3]/mixture"/>
                            <control-input control="BOOST"    axis="/controls/engines/engine[3]/boost"/>
             </piston-engine>
  </propeller>

  <!-- Main fuselage -->
  <!-- Noze 0 -->
  <gear x="12" y="0" z="-3.6"
        compression="1.2"
        spring="15"
        damp="8"
        sfric="0.4"
        dfric="0.3"
        on-water="1"
        on-solid="0"
        reduce-friction-by-extension="1.0"
        speed-planing="25"
        spring-factor-not-planing="0.2">
  </gear>

  <!-- Center 1 -->
  <gear x="2" y="0" z="-3.8"
        compression="2.4"
        spring="6"
        damp="8"
        sfric="0.4"
        dfric="0.1"
        on-water="1"
        on-solid="0"
        reduce-friction-by-extension="1.1"
        speed-planing="35"
        spring-factor-not-planing="0.3">
  </gear>

  <!-- Tail 2 -->
  <gear x="-4.4" y="0" z="-2.4"
        compression="1.1"
        spring="3"
        damp="8"
        sfric="0.4"
        dfric="0.2"
        on-water="1"
        on-solid="0"
        reduce-friction-by-extension="1.6"
        speed-planing="25"
        spring-factor-not-planing="0.9">
  </gear>

  <!-- wing floats -->
  <!-- Left 3 -->
  <gear x="2.5" y="8.2" z="-2.5"
        compression="0.3"
        spring="0.9"
        damp="10"
        sfric="0.8"
        dfric="0.7"
        ignored-by-solver="1"
        on-water="1"
        on-solid="0"
        reduce-friction-by-extension="1.25"
        speed-planing="15"
        spring-factor-not-planing="0.7">
        <control-input  control="EXTEND" axis="/controls/gear/gear-down"/>
        <control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
        <control-speed  control="EXTEND" transition-time="5.1"/>
  </gear>

  <!-- Right 4 -->
  <gear x="2.5" y="-8.2" z="-2.5"
        compression="0.3"
        spring="0.9"
        damp="10"
        sfric="0.8"
        dfric="0.7"
        ignored-by-solver="1"
        on-water="1"
        on-solid="0"
        reduce-friction-by-extension="1.25"
        speed-planing="15"
        spring-factor-not-planing="0.7">
        <control-input  control="EXTEND" axis="/controls/gear/gear-down"/>
        <control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
        <control-speed  control="EXTEND" transition-time="5.1"/>
  </gear>

  <tank x="1.83" y="-4" z="0" capacity="9800"/>
  <tank x="1.83" y=" 4" z="0" capacity="9800"/>

  <ballast x="-12.333" y=" 0" z="-0.090" mass="500"/>

</airplane>
