electrical.xml 3.24 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
<?xml version="1.0"?>
 
<!-- The cub doesn't really have an electrical system but let's give -->
<!-- it a little bit of something since we don't have a virtual ground -->
<!-- crew to go out and flip the prop for us. -->

<PropertyList>

  <!-- Supplier list -->

  <supplier>
    <name>Battery 1</name>
    <prop>/systems/electrical/suppliers/battery[0]</prop>
    <kind>battery</kind>
    <volts>28</volts> <!-- needs to be > 24.5, but this is a guess -->
    <amps>60</amps>   <!-- I have no idea! -->
  </supplier>

  <supplier>
    <name>Alternator 1</name>
    <prop>/systems/electrical/suppliers/alternator[0]</prop>
    <kind>alternator</kind>
    <rpm-source>/engines/engine[0]/rpm</rpm-source>
    <volts>28</volts> <!-- stubbed in -->
    <amps>60</amps>   <!-- from the 172S Skyhawk Information Manual -->
  </supplier>

  <!-- Bus list -->

  <bus>
    <name>Master Bus</name>
    <prop>/systems/electrical/outputs/bus[0]</prop>
    <prop>/systems/electrical/outputs/transponder</prop>
  </bus>

  <!-- Generic Outputs -->

  <output>
    <name>Starter 1 Power</name>
    <prop>/systems/electrical/outputs/starter[0]</prop>
  </output>

  <output>
    <name>Landing Light Power</name>
    <prop>/systems/electrical/outputs/landing-light</prop>
  </output>

  <output>
    <name>Beacon Power</name>
    <prop>/systems/electrical/outputs/beacon</prop>
  </output>

  <output>
    <name>Strobe Lights Power</name>
    <prop>/systems/electrical/outputs/strobe-lights</prop>
  </output>

  <output>
    <name>Taxi Lights Power</name>
    <prop>/systems/electrical/outputs/taxi-lights</prop>
  </output>

  <output>
    <name>Pitot Heat Power</name>
    <prop>/systems/electrical/outputs/pitot-heat</prop>
  </output>


  <!-- connect in power sources -->

  <connector>
    <input>Alternator 1</input>
    <output>Master Bus</output>
    <switch>
      <prop>/controls/engines/engine[0]/master-alt</prop>
    </switch>
  </connector>

  <connector>
    <input>Battery 1</input>
    <output>Master Bus</output>
    <switch>
      <prop>/controls/engines/engine[0]/master-bat</prop>
    </switch>
  </connector>

  <!-- connect starter output -->

  <connector>
    <input>Master Bus</input>
    <output>Starter 1 Power</output>
    <switch>
      <prop>/controls/engines/engine[0]/starter</prop>
      <initial-state>off</initial-state>
    </switch>
  </connector>

  <!-- connect master bus outputs -->

  <connector>
    <input>Master Bus</input>
    <output>Landing Light Power</output>
    <switch>
      <prop>/controls/switches/landing-light</prop>
    </switch>
  </connector>

  <connector>
    <input>Master Bus</input>
    <output>Beacon Power</output>
    <switch>
      <prop>/controls/switches/flashing-beacon</prop>
    </switch>
  </connector>

  <connector>
    <input>Master Bus</input>
    <output>Strobe Lights Power</output>
    <switch>
      <prop>/controls/switches/strobe-lights</prop>
    </switch>
  </connector>

  <connector>
    <input>Master Bus</input>
    <output>Taxi Lights Power</output>
    <switch>
      <prop>/controls/switches/taxi-lights</prop>
    </switch>
  </connector>

  <connector>
    <input>Master Bus</input>
    <output>Pitot Heat Power</output>
    <switch>
      <prop>/controls/switches/pitot-heat</prop>
    </switch>
  </connector>

</PropertyList>