<?xml version="1.0"?>
<PropertyList>
      <bus n="0">
        <name type="string">Main Battery Bus</name>
        <battery n="0">
          <name type="string">Battery 1</name>
          <design-voltage-v type="double">24</design-voltage-v>
          <design-capacity-ah type="double">25</design-capacity-ah>
          <capacity-ah type="double">20</capacity-ah>
          <g0-siemens type="double">10</g0-siemens>
          <condition>
            <property>controls/electric/battery[0]</property>
          </condition>
        </battery>

        <battery n="1">
          <name type="string">Battery 2</name>
          <design-voltage-v type="double">24</design-voltage-v>
          <design-capacity-ah type="double">25</design-capacity-ah>
          <capacity-ah type="double">20</capacity-ah>
          <g0-siemens type="double">10</g0-siemens>
          <condition>
            <property>controls/electric/battery[1]</property>
          </condition>
        </battery>

        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.01</g0-siemens>
        </load>

        <load>
          <name type="string">left starter</name>
          <g0-siemens type="double">3.5</g0-siemens>
          <condition>
            <property>engines/engine[0]/cranking2</property>
          </condition>
        </load>

        <load>
          <name type="string">right starter</name>
          <g0-siemens type="double">3.5</g0-siemens>
          <condition>
            <property>engines/engine[1]/cranking2</property>
          </condition>
        </load>

      </bus>

      <bus n="1">
        <name type="string">Main Generator Bus</name>

        <generator n="0">
          <source type="string">engines/engine[0]/n2</source>
          <scale type="double">2.85</scale>
          <offset type="double">-114</offset>
          <min-v type="double">0.0</min-v>
          <max-v type="double">28.5</max-v>
          <max-a type="double">350</max-a>
          <condition>
            <equals>
              <property>controls/electric/generator[0]</property>
              <value type="double">1</value>
            </equals>
          </condition>
        </generator>

        <generator n="1">
          <source type="string">engines/engine[1]/n2</source>
          <scale type="double">2.85</scale>
          <offset type="double">-114</offset>
          <min-v type="double">0.0</min-v>
          <max-v type="double">28.5</max-v>
          <max-a type="double">350</max-a>
          <condition>
            <equals>
              <property>controls/electric/generator[1]</property>
              <value type="double">1</value>
            </equals>
          </condition>
        </generator>

        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.01</g0-siemens>
        </load>

      </bus>

      <bus n="2">
        <name type="string">Essential Bus</name>
        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.02</g0-siemens>
        </load>
      </bus>

      <bus n="3">
        <name type="string">Generator Bus 1</name>
        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.001</g0-siemens>
        </load>
      </bus>

      <bus n="4">
        <name type="string">Generator Bus 2</name>
        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.001</g0-siemens>
        </load>
      </bus>

      <bus n="5">
        <name type="string">Battery Bus</name>
        <load>
          <name type="string">base load</name>
          <g0-siemens type="double">0.001</g0-siemens>
        </load>
      </bus>

      <bus-tie>
        <bus-id type="int">0</bus-id> <!-- main batt -->
        <bus-id type="int">1</bus-id> <!-- main gen  -->
        <condition>
          <!-- TODO: this is incomplete, also check for reverse current -->
          <greater-than-equals>
            <property>systems/electrical/bus[1]/voltage-v</property>
            <property>systems/electrical/bus[0]/voltage-v</property>
          </greater-than-equals>
          <greater-than>
            <property>systems/electrical/bus[0]/voltage-v</property>
            <value>6</value>
          </greater-than>
        </condition>
      </bus-tie>

</PropertyList>
