<?xml version="1.0"?>

<!-- intialize systems :

     - avoids nil values for Nasal.
     - cross feeed of engine feeding (not of tanks) is emulated.


     Known problems :
     ==============
     - virtual cross feed tanks run out of fuel above X 3 speed-up.
-->

<PropertyList>

  <autopilot>
   <gyro-beacon>
    <enabled type="bool">true</enabled>
   </gyro-beacon>

   <relations>
    <dependency>
     <altimeter>/instrumentation/altimeter/indicated-altitude-ft</altimeter>
    </dependency>

    <itself>
     <autopilot>/autopilot/locks</autopilot>
     <autopilot-ctrl>/controls/autoflight</autopilot-ctrl>
     <autopilot-set>/autopilot/settings</autopilot-set>
    </itself>

    <noinstrument>
     <heading>/orientation/heading-magnetic-deg</heading>
     <pitch>/orientation/pitch-deg</pitch>
    </noinstrument>
   </relations>
  </autopilot>

  <copilot>
   <activ type="bool">false</activ>                                                    <!-- yellow -->

   <relations>
    <dependency>
     <autopilot>/autopilot/locks</autopilot>
     <crew>/systems/crew</crew>
     <crew-ctrl>/controls/crew</crew-ctrl>
     <route>/autopilot/route-manager/route</route>
     <route-manager>/autopilot/route-manager</route-manager>
     <waypoint>
      <component>/autopilot/route-manager</component>
      <subcomponent>wp</subcomponent>
     </waypoint>
    </dependency>

    <itself>
     <state>/systems/copilot/state</state>
     <waypoint>
      <component>/autopilot/route-manager</component>
      <subcomponent>wp</subcomponent>
     </waypoint>
    </itself>

    <noinstrument>
     <roll>/orientation/roll-deg</roll>
     <speed-up>/sim/speed-up</speed-up>
    </noinstrument>
   </relations>

   <state></state>
   <state-last></state-last>                                                           <!-- last action -->
   <throttle type="bool">false</throttle>                                              <!-- doesn't hold throttle -->
   <time></time>
   <waypoint type="bool">false</waypoint>                                              <!-- doesn't follow waypoint -->
   <waypoint-nm type="double">0.0</waypoint-nm>
  </copilot>

  <crew>
   <serviceable type="bool">true</serviceable>

   <minimized type="bool">true</minimized>
  </crew>

  <doors>
   <passenger type="bool">false</passenger>
  </doors>

  <electrical>
   <serviceable type="bool" archive="y">true</serviceable>

   <power>
    <specific type="bool">true</specific>                                              <!-- not implemented : always voltage -->
   </power>
  </electrical>

  <engineer>
   <activ type="bool">false</activ>                                                    <!-- yellow -->

   <relations>
    <dependency>
     <crew>/systems/crew</crew>
     <crew-ctrl>/controls/crew</crew-ctrl>
     <engine>
      <component>/controls/engines</component>
      <subcomponent>engine</subcomponent>
     </engine>
    </dependency>

    <noinstrument>
     <altitude>/position/altitude-ft</altitude>
     <speed-up>/sim/speed-up</speed-up>
    </noinstrument>
   </relations>

   <state></state>
   <state-last></state-last>                                                           <!-- last action -->
   <time></time>
  </engineer>

  <engines>
   <engine n="0">
    <engine-num>1</engine-num>
    <fuel-pressure alias="/consumables/fuel/tank[7]/level-gal_us"/>
    <fuel-pressure-low type="bool">false</fuel-pressure-low>
    <oil-low type="bool">false</oil-low>
    <propeller-low-high type="bool">false</propeller-low-high>
   </engine>
   <engine n="1">
    <engine-num>2</engine-num>
    <fuel-pressure alias="/consumables/fuel/tank[8]/level-gal_us"/>
    <fuel-pressure-low type="bool">false</fuel-pressure-low>
    <oil-low type="bool">false</oil-low>
    <propeller-low-high type="bool">false</propeller-low-high>
   </engine>
   <engine n="2">
    <engine-num>3</engine-num>
    <fuel-pressure alias="/consumables/fuel/tank[9]/level-gal_us"/>
    <fuel-pressure-low type="bool">false</fuel-pressure-low>
    <oil-low type="bool">false</oil-low>
    <propeller-low-high type="bool">false</propeller-low-high>
   </engine>
   <engine n="3">
    <engine-num>4</engine-num>
    <fuel-pressure alias="/consumables/fuel/tank[10]/level-gal_us"/>
    <fuel-pressure-low type="bool">false</fuel-pressure-low>
    <oil-low type="bool">false</oil-low>
    <propeller-low-high type="bool">false</propeller-low-high>
   </engine>

   <relations>
    <itself>
     <engine>
      <component>/engines</component>
      <subcomponent>engine</subcomponent>
     </engine>
     <engine-sys>
      <component>/systems/engines</component>
      <subcomponent>engine</subcomponent>
     </engine-sys>
    </itself>
   </relations>
  </engines>

  <fuel>
   <serviceable type="bool" archive="y">true</serviceable>

   <internal>
    <config include="Lockheed1049-fuel.xml"/>
    <iterations type="int">0</iterations>
   </internal>

   <presets type="int">0</presets>                                                     <!-- max landing load -->

   <relations>
    <dependency>
     <electric>/systems/electrical/power</electric>
     <engine>
      <component>/systems/engines</component>
      <subcomponent>engine</subcomponent>
     </engine>
    </dependency>

    <itself>
     <jettison>
      <component>/controls/fuel/dump</component>
      <subcomponent>valve</subcomponent>
     </jettison>
    </itself>

    <noinstrument>
     <speed-up>/sim/speed-up</speed-up>
    </noinstrument>
   </relations>

   <tanks include="../Nasal/Lockheed1049-fuel.xml"/>
  </fuel>

  <fuel-pump>
   <serviceable type="bool">true</serviceable>

<!-- tanks participitating to cross feed -->

   <tanks>
    <tank n="0">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[0]/priority"/>
    </tank>
    <tank n="1">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[1]/priority"/>
    </tank>
    <tank n="2">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[2]/priority"/>
    </tank>
    <tank n="3">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[3]/priority"/>
    </tank>
    <tank n="4">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[4]/priority"/>
    </tank>
    <tank n="5">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[5]/priority"/>
    </tank>
    <tank n="6">
     <cross type="bool">false</cross>
     <valve alias="/fdm/jsbsim/propulsion/tank[6]/priority"/>
    </tank>

<!-- virtual cross feed tanks -->

    <tank n="7">
     <level-lb>0.0</level-lb>
    </tank>
    <tank n="8">
     <level-lb>0.0</level-lb>
    </tank>
    <tank n="9">
     <level-lb>0.0</level-lb>
    </tank>
    <tank n="10">
     <level-lb>0.0</level-lb>
    </tank>
   </tanks>

<!-- crossed engine feeding -->

   <engines>
    <engine n="0">
     <cross type="bool">false</cross>
    </engine>
    <engine n="1">
     <cross type="bool">false</cross>
    </engine>
    <engine n="2">
     <cross type="bool">false</cross>
    </engine>
    <engine n="3">
     <cross type="bool">false</cross>
    </engine>
   </engines>
  </fuel-pump>

  <gear>
   <gear n="0">
    <safe type="bool">true</safe>
   </gear>
   <gear n="1">
    <safe type="bool">true</safe>
   </gear>
   <gear n="2">
    <safe type="bool">true</safe>
   </gear>

   <relations>
    <dependency>
     <steering>/controls/crew/steering</steering>
    </dependency>

    <itself>
     <gear>
      <component>/gear</component>
      <subcomponent>gear</subcomponent>
     </gear>
     <gear-sys>
      <component>/systems/gear</component>
      <subcomponent>gear</subcomponent>
     </gear-sys>
    </itself>

    <noinstrument>
     <airspeed>/velocities/airspeed-kt</airspeed>
    </noinstrument>
   </relations>

   <unsafe type="bool">false</unsafe>
  </gear>

  <human>
   <captain>
    <stowe-norm type="double">0.0</stowe-norm>
   </captain>
   <copilot>
    <stowe-norm type="double">0.0</stowe-norm>
   </copilot>

   <relations>
    <dependency>
     <crew>/controls/crew</crew>
     <lighting>/controls/lighting/internal</lighting>
     <lighting-copilot>/controls/lighting/internal/copilot</lighting-copilot>
     <lighting-engineer>/controls/lighting/internal/engineer</lighting-engineer>
     <lighting-overhead>/controls/lighting/internal/overhead</lighting-overhead>
     <lighting-pilot>/controls/lighting/internal/pilot</lighting-pilot>
    </dependency>

    <itself>
     <captain>/systems/human/captain</captain>
     <copilot>/systems/human/copilot</copilot>
     <lighting>/controls/human/lighting</lighting>
    </itself>

    <noinstrument>
     <sun>/sim/time/sun-angle-rad</sun>
    </noinstrument>
   </relations>
  </human>

  <lighting>
   <serviceable type="bool" archive="y">true</serviceable>

   <internal>
    <ambient-light>1.0</ambient-light>                                                 <!-- day light -->
    <copilot>
     <chart-blue>0.1</chart-blue>                                                      <!-- default is reddish -->
     <chart-green>0.1</chart-green>
     <chart-light alias="/controls/lighting/internal/copilot/chart-on"/>
     <instrument-light>0.0</instrument-light>
     <panel-light>0.0</panel-light>
     <side-light>0.0</side-light>
    </copilot>
    <engineer>
     <flood-light>0.0</flood-light>
     <instrument-light>0.0</instrument-light>
    </engineer>
    <overhead>
     <blue>0.1</blue>                                                                  <!-- default is reddish -->
     <green>0.1</green>
     <light alias="/controls/lighting/internal/overhead/panel"/>
    </overhead>
    <panel>
     <panel-blue>0.1</panel-blue>                                                      <!-- default is reddish -->
     <panel-green>0.1</panel-green>
     <panel-light alias="/controls/lighting/internal/pilot/panel"/>
    </panel>
    <pilot>
     <chart-blue>0.1</chart-blue>                                                      <!-- default is reddish -->
     <chart-green>0.1</chart-green>
     <chart-light alias="/controls/lighting/internal/pilot/chart-on"/>
     <instrument-light>0.0</instrument-light>
     <panel-light>0.0</panel-light>
     <side-light>0.0</side-light>
    </pilot>
   </internal>

   <relations>
    <dependency>
     <electric>/systems/electrical/power</electric>
     <instrument>/controls/human/lighting/instrument</instrument>
    </dependency>

    <itself>
     <internal>/systems/lighting/internal</internal>
     <internal-ctrl>/controls/lighting/internal</internal-ctrl>
     <landing>
      <component>/controls/lighting/external</component>
      <subcomponent>landing</subcomponent>
     </landing>
    </itself>
   </relations>
  </lighting>

  <seat>
   <captain type="bool">true</captain>
   <copilot type="bool">false</copilot>
   <engineer type="bool">false</engineer>
   <gear-well type="bool">false</gear-well>
   <navigator type="bool">false</navigator>
   <observer type="bool">false</observer>
   <observer2 type="bool">false</observer2>
   <offset>
    <captain type="double">0.0</captain>
    <engineer type="double">0.0</engineer>
   </offset>
   <position>
    <gear-well>
     <x-m type="double">0.0</x-m>
     <y-m type="double">0.0</y-m>
     <z-m type="double">0.0</z-m>
    </gear-well>
    <observer>
     <x-m type="double">0.0</x-m>
     <y-m type="double">0.0</y-m>
     <z-m type="double">0.0</z-m>
    </observer>
    <observer2>
     <x-m type="double">0.0</x-m>
     <y-m type="double">0.0</y-m>
     <z-m type="double">0.0</z-m>
    </observer2>
   </position>
   <radio type="bool">false</radio>

   <relations>
    <dependency>
     <current-view>/sim/current-view</current-view>
     <views>
      <component>/sim</component>
      <subcomponent>view</subcomponent>
     </views>
    </dependency>

    <itself>
     <position>/systems/seat/position</position>
    </itself>
   </relations>
  </seat>

  <voice>
   <callout></callout>
   <checklist></checklist>
   <real type="bool">false</real>                                                      <!-- not a real checklist -->
   <text></text>
  </voice>

</PropertyList>
