<?xml version="1.0"?>

<PropertyList>

<aircraft>
  <icao>
    <wake-turbulence-category>M</wake-turbulence-category>
    <type type="string">AN24</type>
    <equipment type="string">FHLV</equipment>
    <surveillance type="string">C</surveillance> <!-- mode-C transponder -->
  </icao>
</aircraft>

 <sim>

  <description>Antonov An-24B</description>
  <long-description>The Antonov An-24 was basically built as regional airliner from 1959-1978 in the USSR. Having many variants, the An-24 also served, and serves, e.g. as transport, reconnaissance, fire fighter, or even as navigator training plane. It's derivatives, the An-26, An-30 and An-32 are used for military purposes. 
  </long-description>

  <rating>
   <FDM type="int">5</FDM>
   <systems type="int">3</systems>
   <cockpit type="int">4</cockpit>
   <model type="int">3</model>
  </rating>

  <author>Michael Soitanen (FDM, Systems), Adrian (3D, Systems)</author>
  <authors>
    <author n="0">
      <name>Adrian</name>
      <description>3D, Systems</description>
      <nick>Maerchenprinz</nick>
    </author>
    <author n="1">
      <name>Michael Soitanen</name>
      <description>FDM, Systems</description>
    </author>
  </authors>

  <maintainers>
   <maintainer n="0">
     <name>Adrian</name>
     <email>euer.maerchenprinz@arcor.de</email>
   </maintainer>
  </maintainers>

  <tags>
   <tag>passenger</tag>
   <tag>ga</tag>
   <tag>transport</tag>
   <tag>antonov</tag>
   <!--tag>1950s</tag--> <!-- though maiden flight in 1959! -->
   <tag>1960s</tag>
   <tag>1970s</tag>
   <tag>1980s</tag>
   <tag>2000s</tag>
   <!--tag>2010s</tag--> <!-- less and less in service... -->
   <tag>coldwar</tag>
   <tag>ifr</tag>
   <tag>high-wing</tag>
   <tag>h-tail</tag>
   <tag>pressurised</tag>
   <tag>retractable-gear</tag>
   <tag>pressurised</tag>
   <tag>propeller</tag>
   <tag>turboprop</tag>
   <tag>twin-engine</tag>
   <tag>variable-pitch</tag>
   <tag>rembrandt</tag>
  </tags>

  <urls>
   <home-page>http://wiki.flightgear.org/Antonov_An-24</home-page>
   <support>http://forum.flightgear.org</support>
   <wikipedia>https://en.wikipedia.org/wiki/Antonov_An-24</wikipedia>
   <code-repository>https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/an24b/</code-repository>
  </urls>

  <startup>
   <splash-texture>Aircraft/an24b/an-24b.png</splash-texture>
  </startup>

 <previews>
  <preview>
    <type>exterior</type>
    <splash type="bool">false</splash>
    <path>exterior.png</path>
  </preview>
  <preview>
    <type>panel</type>
    <splash type="bool">false</splash>
    <path>cockpit.png</path>
  </preview>
 </previews>

  <model>
   <path>Aircraft/an24b/Models/An-24B.xml</path>
   <fallback-model-index type="int">153</fallback-model-index>
  </model>

  <multiplay>
    <generic>
      <float n="0" alias="/an24/animations/nose"/>
    </generic>
  </multiplay>

  <status>early production</status>

  <minimum-fg-version>2.8</minimum-fg-version>
  <flight-model>jsb</flight-model>
  <aero>an24b</aero>

  <sound>
   <path>Aircraft/an24b/Sound/an24b-sound.xml</path>
  </sound>

  <view n="0">
   <name>Captain View</name>
   <internal archive="y">true</internal>
   <config>
   <x-offset-m archive="y">-0.47</x-offset-m>
   <y-offset-m archive="y">1.26</y-offset-m>
   <z-offset-m archive="y">-5.6</z-offset-m>
   <pitch-offset-deg type="double">-13.0</pitch-offset-deg>
   <default-field-of-view-deg type="double">74.0</default-field-of-view-deg>
   </config>
  </view>

  <view n="101">
    <name>Copilot View</name>
    <type>lookfrom</type>
    <internal type="bool">true</internal>
    <config>
      <from-model type="bool">true</from-model>
      <x-offset-m type="double" >0.47</x-offset-m>
      <y-offset-m type="double" >1.28</y-offset-m>
      <z-offset-m type="double" >-5.6</z-offset-m>
      <pitch-offset-deg type="double">-11.0</pitch-offset-deg>
      <from-model-idx type="int">0</from-model-idx>
      <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
      <default-field-of-view-deg type="double">64.0</default-field-of-view-deg>
      <default-pitch-deg type="double">0</default-pitch-deg>
      <default-heading-deg type="double">0</default-heading-deg>
      <front-direction-deg type="double">0</front-direction-deg>
      <front-left-direction-deg type="double">45</front-left-direction-deg>
      <left-direction-deg type="double">90</left-direction-deg>
      <back-left-direction-deg type="double">135</back-left-direction-deg>
      <back-direction-deg type="double">180</back-direction-deg>
      <back-right-direction-deg type="double">225</back-right-direction-deg>
      <right-direction-deg type="double">270</right-direction-deg>
      <front-right-direction-deg type="double">315</front-right-direction-deg>
      <dynamic-view type="bool">true</dynamic-view>
    </config>
  </view>

  <view n="102">
    <name>Engineer View</name>
    <type>lookfrom</type>
    <internal type="bool">true</internal>
    <config>
      <from-model type="bool">true</from-model>
      <x-offset-m type="double" >0.66</x-offset-m>
      <y-offset-m type="double" >0.84</y-offset-m>
      <z-offset-m type="double" >-5.06</z-offset-m>
      <pitch-offset-deg type="double">-5.0</pitch-offset-deg>
      <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
      <default-field-of-view-deg type="double">84.0</default-field-of-view-deg>
      <default-pitch-deg type="double">0</default-pitch-deg>
      <default-heading-deg type="double">0</default-heading-deg>
      <front-direction-deg type="double">180</front-direction-deg>
      <front-left-direction-deg type="double">225</front-left-direction-deg>
      <left-direction-deg type="double">270</left-direction-deg>
      <back-left-direction-deg type="double">315</back-left-direction-deg>
      <back-direction-deg type="double">0</back-direction-deg>
      <back-right-direction-deg type="double">45</back-right-direction-deg>
      <right-direction-deg type="double">90</right-direction-deg>
      <front-right-direction-deg type="double">135</front-right-direction-deg>
      <dynamic-view type="bool">true</dynamic-view>
    </config>
  </view>

  <view n="103">
    <name>Navigator View</name>
    <type>lookfrom</type>
    <internal type="bool">true</internal>
    <config>
      <from-model type="bool">true</from-model>
      <x-offset-m type="double" >-0.33</x-offset-m>
      <y-offset-m type="double" >1.10</y-offset-m>
      <z-offset-m type="double" >-4.87</z-offset-m>
      <pitch-offset-deg type="double">0.0</pitch-offset-deg>
      <from-model-idx type="int">0</from-model-idx>
      <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
      <default-field-of-view-deg type="double">84.0</default-field-of-view-deg>
      <default-pitch-deg type="double">0</default-pitch-deg>
      <default-heading-deg type="double">0</default-heading-deg>
      <front-direction-deg type="double">180</front-direction-deg>
      <front-left-direction-deg type="double">225</front-left-direction-deg>
      <left-direction-deg type="double">270</left-direction-deg>
      <back-left-direction-deg type="double">315</back-left-direction-deg>
      <back-direction-deg type="double">0</back-direction-deg>
      <back-right-direction-deg type="double">45</back-right-direction-deg>
      <right-direction-deg type="double">90</right-direction-deg>
      <front-right-direction-deg type="double">135</front-right-direction-deg>
      <dynamic-view type="bool">true</dynamic-view>
    </config>
  </view>

  <help>
   <title>An-24B</title>
   	   <key>
	    <name>F1</name>
	    <desc>Release Idle Lock (press for release)</desc>
	   </key>
   	   <key>
	    <name>Del</name>
	    <desc>Toggles Propeller Pitch Lock (UPOR VINTA)</desc>
	   </key>
   	   <key>
	    <name>-</name>
	    <desc>Decrease Idle Lock value</desc>
	   </key>
   	   <key>
	    <name>=</name>
	    <desc>Increase Idle Lock value</desc>
	   </key>
   	   <key>
	    <name>less-than</name>
	    <desc>Quick Overhead View</desc>
	   </key>
   	   <key>
	    <name>d</name>
	    <desc>(Dis-)Connect AP</desc>
	   </key>
   	   <key>
	    <name>1</name>
	    <desc>Pilot View</desc>
	   </key>
   	   <key>
	    <name>2</name>
	    <desc>F/O View</desc>
	   </key>
   	   <key>
	    <name>3</name>
	    <desc>Engineer/Radio Op View</desc>
	   </key>
   	   <key>
	    <name>4</name>
	    <desc>Navigator View</desc>
	   </key>
   	   <key>
	    <name>s</name>
	    <desc>Autostart</desc>
	   </key>
   	   <key>
	    <name> </name>
	    <desc> </desc>
	   </key>
   	   <key>
	    <name>Vref for 19 t and more</name>
	    <desc>210 km/h (flaps 38)</desc>
	   </key>
   	   <key>
	    <name>Vref for less than 19 t</name>
	    <desc>200 km/h (flaps 38)</desc>
	   </key>
    <text>
Quick start guide:
- turn on all switches at the bottom of the panels
- press and hold big round button near yoke until heading indicator move
(this is quick alignment of magnetic compass)
- switch to co-pilot's view (key 2), turn your head to the right and
alight GPK-52 with correct magnetic heading
- use flaps 15 for takeoff or 5 in case of long and solid runway
    </text>
  </help>

  <tutorials>
   <tutorial include="Tutorials/Engineer-Preflight.xml"/>
  </tutorials>

  <menubar>
    <default>
      <menu n="10">
        <label>An-24B</label>
        <enabled type="bool">true</enabled>
        <item>
          <label>Autostart</label>
          <binding>
            <command>nasal</command>
            <script>autostart.startup();</script>
          </binding>
        </item>
        <item>
          <label>Tiller steering</label>
          <binding>
            <command>nasal</command>
            <script>
              var tiller = gui.Dialog.new("/sim/gui/dialogs/an-24b/menu/dialog","Aircraft/an24b/Dialogs/tiller-steering.xml");
              tiller.open();
            </script>
          </binding>
        </item>
        <item>
          <label>Realism settings</label>
          <binding>
            <command>nasal</command>
            <script>
              var realism = gui.Dialog.new("/sim/gui/dialogs/an-24b/menu/dialog","Aircraft/an24b/Dialogs/realism.xml");
              realism.open();
            </script>
          </binding>
        </item>
        <item>
          <label>Equipment</label>
          <binding>
            <command>nasal</command>
            <script>
              var equip = gui.Dialog.new("/sim/gui/dialogs/an-24b/menu/dialog","Aircraft/an24b/Dialogs/equipment.xml");
              equip.open();
            </script>
          </binding>
        </item>
      </menu>
    </default>
  </menubar>

  <aircraft-data>
   <path>an24/radio-equip</path>
  </aircraft-data>

  <flaps>
	  <setting>0.0</setting>
	  <setting>0.1316</setting>
	  <setting>0.2632</setting>
	  <setting>0.3947</setting>
	  <setting>0.5263</setting>
	  <setting>0.6579</setting>
	  <setting>0.7895</setting>
	  <setting>1.0</setting>
  </flaps>

  <instrumentation>
    <path>Aircraft/an24b/Systems/instrumentation.xml</path>
  </instrumentation>

  <systems>
    <path>Aircraft/an24b/Systems/systems.xml</path>
    <autopilot>
      <path>Aircraft/an24b/Systems/ap-28l1.xml</path>
    </autopilot>
  </systems>

</sim>


<engines>
  <engine n="0">
    <running type="bool">false</running>
    <rpm type="double" alias="/engines/engine[0]/thruster/rpm"/> <!-- transmitted over mp and used in animations -->
  </engine>
  <engine n="1">
    <running type="bool">false</running>
    <rpm type="double" alias="/engines/engine[1]/thruster/rpm"/> <!-- transmitted over mp and used in animations -->
  </engine>
</engines>

<input>
 <keyboard>

     <key n="115">
       <name>s</name>
       <desc>Autostart</desc>
       <binding>
        <command>nasal</command>
        <script>autostart.startup();</script>
       </binding>
     </key>

     <key n="258">
       <name>F2</name>
       <desc>Prop pitch lock</desc>
       <binding>
        <condition>
         <equals>
         <property>an24/AZS/sw0203</property>
         <value>1.0</value>
         </equals>
        </condition>
         <command>property-toggle</command>
         <property>/an24/instrumentation/prop-lock/prop-lock-left</property>
       </binding>
       <binding>
        <condition>
         <equals>
         <property>an24/AZS/sw0203</property>
         <value>1.0</value>
         </equals>
        </condition>
         <command>property-toggle</command>
         <property>/an24/instrumentation/prop-lock/prop-lock-right</property>
       </binding>
     </key>

     <key n="257">
       <name>F1</name>
       <desc>Idle lock</desc>
       <binding>
          <command>property-assign</command>
          <property>/an24/instrumentation/idle-lock/idle-lock</property>
          <value>1</value>
       </binding>
       <mod-up>
         <binding>
           <command>property-assign</command>
           <property>/an24/instrumentation/idle-lock/idle-lock</property>
           <value>0</value>
         </binding>            
       </mod-up>
     </key>

      <key n="45">
      <name>minus</name>
      <binding>
        <command>property-adjust</command>
        <property>/fdm/jsbsim/fcs/throttle/idle-lock-pos</property>
        <step>-0.02</step>
      </binding>
    </key>

     <key n="61">
      <name>equal</name>
      <binding>
        <command>property-adjust</command>
        <property>/fdm/jsbsim/fcs/throttle/idle-lock-pos</property>
        <step>0.02</step>
      </binding>
     </key>

     <key n="91">
        <name>[</name>
        <desc>Decrease flaps</desc>
        <binding>
          <command>nasal</command>
          <script>
            var flaps_min = 0;
            setprop("/controls/flight/flaps", flaps_min);
          </script>
        </binding>
        <mod-up>
          <binding>
            <command>nasal</command>
            <script>
              var flaps_current = getprop("/surface-positions/flap-pos-norm");
              setprop("/controls/flight/flaps", flaps_current);
            </script>
          </binding>
        </mod-up>
     </key>

      <key n="93">
        <name>]</name>
        <desc>Increase flaps</desc>
        <binding>
          <command>nasal</command>
          <script>
            var flaps_max = 1;
            setprop("/controls/flight/flaps", flaps_max);
          </script>
        </binding>
        <mod-up>
          <binding>
            <command>nasal</command>
            <script>
              var flaps_current = getprop("/surface-positions/flap-pos-norm");
              setprop("/controls/flight/flaps", flaps_current);
            </script>
          </binding>
        </mod-up>
      </key>

      <key n="100">
      <name>d</name>
      <desc>AP (DIS-)CONNECT</desc>
      <repeatable>false</repeatable>
       <binding>
       <command>nasal</command>
        <script>
         if( getprop("an24/AP-28l1/internal/engaged" ) == 0.0 ){
         instruments.engage_ap();
         }
         else {
         setprop("an24/AP-28l1/internal/kv", 0.0 );
         setprop("an24/AP-28l1/internal/horizon-mode", 0.0 );
         setprop("an24/AP-28l1/internal/engaged", 0.0 );
         }	
        </script>
       </binding>
      </key>

     <key n="60">
       <name>less-than</name>
       <desc>Overhead View</desc>
       <binding>
        <command>nasal</command>
        <script>
	setprop("/sim/current-view/heading-offset-deg2", getprop("/sim/current-view/heading-offset-deg") );
	setprop("/sim/current-view/pitch-offset-deg2", getprop("/sim/current-view/pitch-offset-deg") );
	setprop("/sim/current-view/field-of-view2", getprop("/sim/current-view/field-of-view") );
	</script>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/goal-pitch-offset-deg</property>
          <value>89.8</value>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/field-of-view</property>
          <value>90</value>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/x-offset-m</property>
          <value>-0.11</value>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/y-offset-m</property>
          <value>0.95</value>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/z-offset-m</property>
          <value>-6.01</value>
       </binding>
       <binding>
          <command>property-assign</command>
          <property>/sim/current-view/heading-offset-deg</property>
          <value>0.0</value>
       </binding>
       <mod-up>
       <binding>
        <command>nasal</command>
        <script>
	if (getprop("/sim/current-view/view-number") > 7 ) {
	var viewnr = getprop("/sim/current-view/view-number") + 93 ;
	}
	else {
	var viewnr = getprop("/sim/current-view/view-number");
	}
	var offsetx = getprop("/sim/view[" ~ viewnr ~ "]/config/x-offset-m");
	var offsety = getprop("/sim/view[" ~ viewnr ~ "]/config/y-offset-m");
	var offsetz = getprop("/sim/view[" ~ viewnr ~ "]/config/z-offset-m");
	setprop("/sim/current-view/x-offset-m", offsetx);
	setprop("/sim/current-view/y-offset-m", offsety);
	setprop("/sim/current-view/z-offset-m", offsetz);
	setprop("/sim/current-view/heading-offset-deg", getprop("/sim/current-view/heading-offset-deg2") );
	setprop("/sim/current-view/pitch-offset-deg", getprop("/sim/current-view/pitch-offset-deg2") );
	setprop("/sim/current-view/field-of-view", getprop("/sim/current-view/field-of-view2") );
	</script>
       </binding>
       </mod-up>
      </key>

    <key n="49">
      <name>1</name>
      <desc>Captain view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(0);</script>
      </binding>
    </key>
    <key n="50">
      <name>2</name>
      <desc>Copilot view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(1);</script>
      </binding>
    </key>

    <key n="51">
      <name>3</name>
      <desc>Engineer view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(2);</script>
      </binding>
    </key>
    <key n="52">
      <name>4</name>
      <desc>Navigator view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(3);</script>
      </binding>
    </key>

  </keyboard>
</input>

<controls>
  <gear>
    <steering>10.0</steering>
    <nose-wheel-steering type="bool">true</nose-wheel-steering>
  </gear>
</controls>

<consumables>
    <fuel>
      <tank n="0">
        <name>AUX2 LH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
      <tank n="1">
      <name>AUX1 LH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
      <tank n="2">
      <name>MAIN LH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
      <tank n="3">
      <name>Main RH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
      <tank n="4">
        <name>AUX1 RH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
      <tank n="5">
        <name>AUX2 RH</name>
        <unusable-gal_us>5.0</unusable-gal_us>
      </tank>
    </fuel>
</consumables>

<fdm>
  <jsbsim>  
    <gear>
     <steering>10.0</steering>
        <nose-wheel-steering type="bool">true</nose-wheel-steering>
    </gear>
    <fcs>
     <realism>
      <tiller-enabled type="double">0</tiller-enabled>
     </realism>
      <throttle>
        <throttle-pos-norm number="0" type="double">0</throttle-pos-norm>
        <throttle-pos-norm number="1" type="double">0</throttle-pos-norm>
      </throttle>
      <throttle-pos-norm>0</throttle-pos-norm>
      <steering>
        <steer-cmd-norm-final type="double">0</steer-cmd-norm-final>
      </steering>
    </fcs>
  </jsbsim>
</fdm>

 <gear>
    <gear n="0">
      <zsink-in type="double">150</zsink-in>
    </gear>
    <gear n="1">
      <zsink-in type="double">150</zsink-in>
    </gear>
    <gear n="2">
      <zsink-in type="double">150</zsink-in>
    </gear>
    <gear n="3">
      <zsink-in type="double">100</zsink-in>
    </gear>
    <gear n="4">
      <zsink-in type="double">100</zsink-in>
    </gear>
    <gear n="5">
      <zsink-in type="double">-30</zsink-in>
    </gear>
    <gear n="6">
      <zsink-in type="double">-30</zsink-in>
    </gear>
    <gear n="7">
      <zsink-in type="double">-30</zsink-in>
    </gear>
 </gear>


<instrumentation>
  <adf n="1">
    <serviceable type="bool">true</serviceable>
  </adf>
  <airspeed-indicator n="1">
    <serviceable type="bool">true</serviceable>
  </airspeed-indicator>
  <altimeter n="1">
    <serviceable type="bool">true</serviceable>
  </altimeter>
  <heading-indicator-dg>
    <serviceable type="bool">true</serviceable>
  </heading-indicator-dg>
  <heading-indicator-fg>
    <serviceable type="bool">true</serviceable>
  </heading-indicator-fg>
  <!--<kppm n="0">
    <scale-offset type="double">0</scale-offset>
  </kppm>-->
  <marker-beacon>
    <audio-btn type="bool">false</audio-btn>
    <volume type="double">0.0</volume>
  </marker-beacon>
  <radar-altimeter>
    <serviceable type="bool">true</serviceable>
    <sw-on type="double">0.0</sw-on>
    <antenna>
      <x-offset-m type="double">0</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m type="double">1.05</z-offset-m>
    </antenna>
  </radar-altimeter>
  <transponder>
   <inputs>
    <knob-mode type="int">1</knob-mode>
    <anim-knob-mode type="int">3</anim-knob-mode>
   </inputs>
  </transponder>
  <vertical-speed-indicator n="1">
    <serviceable type="bool">true</serviceable>
  </vertical-speed-indicator>
  <zk2>
    <heading-bug type="double">0</heading-bug>
  </zk2>
</instrumentation>

<systems>
 <static n="7">
  <serviceable>1</serviceable>
 </static>
 <static n="8">
  <serviceable>1</serviceable>
 </static>
</systems>

<an24>
  <AP-28l1>
    <coefficients> <!-- coefficients are taken from book An-24. Technical description.-->
      <roll-angle type="double">0.52</roll-angle>
      <roll-rate type="double">0.33</roll-rate>
      <pitch-angle type="double">0.96</pitch-angle>
      <pitch-rate type="double">0.57</pitch-rate>
      <pitch-roll-compensate type="double">0.1</pitch-roll-compensate> <!-- compensate when roll -->
      <pitch-altitude type="double">0.061</pitch-altitude> <!-- degree elevator to mm of water. Original was 0.61, but this is too sharp -->
      <yaw-angle type="double">1.02</yaw-angle>
      <yaw-rate type="double">1.5</yaw-rate>
      <heading-error type="double">0.8</heading-error> <!-- degree aileron to heading error. Original value=2.6 -->
      <heading-error-deg type="double">0</heading-error-deg>
      <yaw-rate-t-constant type="double">0.4</yaw-rate-t-constant>
    </coefficients>
    <lamps>
      <ready type="bool">false</ready>
      <on type="bool">false</on>
      <kv type="bool">false</kv>
      <pull type="bool">false</pull>
      <push type="bool">false</push>
    </lamps>
    <switches>
      <roll-mode type="double">0</roll-mode>
      <roll-control type="double">0</roll-control>
      <up-down-l type="double">0</up-down-l>
      <up-down-r type="double">0</up-down-r>
      <autotrim type="double">1</autotrim>
      <power type="double">0</power>
      <pitch type="double">1</pitch>
    </switches>
    <buttons>
      <turn-on type="double">0</turn-on>
      <horizon type="double">0</horizon>
      <kv type="double">0</kv>      
    </buttons>
    <internal>
      <powered type="bool">false</powered>
      <power-on-time type="double">0</power-on-time>
      <engaged type="bool">false</engaged>
      <armed type="bool">false</armed>
      <roll-mode type="int">0</roll-mode> <!-- 0=stabilization, 1=razvorot -->
      <yaw-mode type="int">0</yaw-mode> <!-- 0=yaw damper, 1=gpk-52, 2=gik-1 -->
      <horizon-mode type="bool">false</horizon-mode>
      <kv type="bool">false</kv>
      <target-bank type="double">0</target-bank>
      <target-pitch type="double">0</target-pitch>
      <target-heading-gpk-52 type="double">0</target-heading-gpk-52>
      <target-heading-gik-1 type="double">0</target-heading-gik-1>
      <target-pressure-inhg type="double">0</target-pressure-inhg>
      <pitch-error-deg type="double">0</pitch-error-deg>
      <roll-error-deg type="double">0</roll-error-deg>
      <elevator-autotrim-feel type="bool">false</elevator-autotrim-feel>
      <elevator-alt-correction type="double">0</elevator-alt-correction>
    </internal>
  </AP-28l1>

 <ARK-11>
  <panel_nav_oh type="double">0.0</panel_nav_oh>
   <mem1>
    <fixp type="double">0.0</fixp>
    <fixpressed type="int">1</fixpressed>
    <fixohpressed type="int">1</fixohpressed>
   </mem1>
   <mem2>
    <fixp type="double">0.0</fixp>
    <fixpressed type="int">1</fixpressed>
   </mem2>
 </ARK-11>

 <FireTest>
  <mainresetdone type="bool">1.0</mainresetdone>
 </FireTest>

 <FuelControl>
  <anim-flow-meter type="double">0</anim-flow-meter>
  <cutoff-l-by-sw type="double">1</cutoff-l-by-sw>
  <cutoff-l-by-fs type="double">0</cutoff-l-by-fs>
  <cutoff-r-by-sw type="double">1</cutoff-r-by-sw>
  <cutoff-r-by-fs type="double">0</cutoff-r-by-fs>
  <flow-meter type="double">0</flow-meter>
  <flow-meter-save-l type="double">0</flow-meter-save-l>
  <flow-meter-save-r type="double">0</flow-meter-save-r>
  <fuel-meter-l type="double">0</fuel-meter-l>
  <fuel-meter-r type="double">0</fuel-meter-r>
  <sw0401 type="double">0</sw0401>
  <sw0402 type="double">0</sw0402>
  <sw0403 type="double">0</sw0403>
  <sw_crossfeed type="double">0</sw_crossfeed>
  <sw0405 type="double">0</sw0405>
  <sw0406 type="double">0</sw0406>
  <sw0407 type="double">0</sw0407>
 </FuelControl>

 <Pressure>
  <pitotvalve1 type="double">1.0</pitotvalve1>
  <pitotvalve2 type="double">1.0</pitotvalve2>
  <pitotvalve3 type="double">1.0</pitotvalve3>
 </Pressure>

  <R-802>
   <sw_power-1 type="double">0.0</sw_power-1>
   <sw_power-2 type="double">0.0</sw_power-2>
   <power-1 type="double">0.0</power-1>
   <power-2 type="double">0.0</power-2>
  </R-802>

  <R-836>
   <b1_hood_anim2 type="double">0</b1_hood_anim2>
   <b2_hood_anim2 type="double">0</b2_hood_anim2>
  </R-836>

  <RTMS>
   <fuel-offset-l type="double">0</fuel-offset-l>
   <fuel-offset-r type="double">0</fuel-offset-r>
  </RTMS>

  <SP-50>
   <channel type="int">6</channel>
   <regime type="int">1</regime> <!-- 0=SP-50, 1=ILS -->
  </SP-50>

 <animations>
  <nose type="double">1.0</nose>
 </animations>

  <gear>
    <steer_mode type="double">2.0</steer_mode>
  </gear>

  <instrumentation>
    <idle-lock>
      <idle-lock>0.0</idle-lock>
    </idle-lock>
    <prop-lock>
      <prop-lock-left type="bool">false</prop-lock-left>
      <prop-lock-right type="bool">false</prop-lock-right>
    </prop-lock>
  </instrumentation>

</an24>

<nasal>
  <autostart>
    <file>Aircraft/an24b/Nasal/autostart.nas</file>
  </autostart>
  <electrical>
    <file>Aircraft/an24b/Nasal/elect.nas</file>
  </electrical>
  <engines>
    <file>Aircraft/an24b/Nasal/enginestart.nas</file>
  </engines>
  <friction>
    <file>Aircraft/an24b/Nasal/friction.nas</file>
  </friction>
  <fuel>
    <file>Aircraft/an24b/Nasal/fuel.nas</file>
  </fuel>
  <help>
    <file>Aircraft/an24b/Nasal/help.nas</file>
  </help>
  <icing>
    <file>Aircraft/an24b/Nasal/icing.nas</file>
  </icing>
  <instruments>
    <file>Aircraft/an24b/Nasal/instruments.nas</file>
    <file>Aircraft/an24b/Nasal/gpk-52.nas</file>
    <file>Aircraft/an24b/Nasal/ap-28l1.nas</file>
    <file>Aircraft/an24b/Nasal/radios.nas</file>
  </instruments>
  <pitotstatic>
    <file>Aircraft/an24b/Nasal/pitotstatic.nas</file>
  </pitotstatic>
  <stations>
    <file>Aircraft/an24b/Nasal/stations.nas</file>
  </stations>
  <view>
    <file>Aircraft/an24b/Nasal/view.nas</file>
  </view>
</nasal>

<limits>
  <mass-and-balance>
    <maximum-takeoff-mass-lbs type="double">46297</maximum-takeoff-mass-lbs> <!-- 21 t -->
  </mass-and-balance>
</limits>

<payload>
  <weight>
   <name type="string">Buffet</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[7]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">88.18</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 1</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[8]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 2</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[9]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 3</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[10]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 4</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[11]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 5</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[12]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 6</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[13]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 7</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[14]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 8</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[15]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 9</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[16]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 10</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[17]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 11</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[18]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 12</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[19]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">661.39</max-lb>
  </weight>
  <weight>
   <name type="string">Passengers row 13</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[20]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">330.50</max-lb>
  </weight>
  <weight>
   <name type="string">Baggage room 1 left</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[21]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">1985.0</max-lb>
  </weight>
  <weight>
   <name type="string">Baggage room 1 right</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[22]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">1323.0</max-lb>
  </weight>
  <weight>
   <name type="string">Baggage room 2</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[23]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">1323.0</max-lb>
  </weight>
  <weight>
   <name type="string">Baggage room 3</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[24]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">1255.0</max-lb>
  </weight>
 </payload>

</PropertyList>
