Optica-electrical-old.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0"?>
  2. <!--
  3. components:
  4. type (battery|alternator|external|output)
  5. name
  6. volts (required for suppliers)
  7. prop 1 ... prop n
  8. source-prop (required for alternator types)
  9. source-min (required for alternator type)
  10. connectors:
  11. input
  12. output
  13. switch 1 ... switch n (all optional)
  14. variable (optional, defaults to false)
  15. scaled (optional, defaults to false)
  16. -->
  17. <PropertyList>
  18. <electrical>
  19. <!-- Include the following empty path to disable the default electrical system -->
  20. <path></path>
  21. <!-- Components -->
  22. <component>
  23. <kind type="string">battery</kind>
  24. <name type="string">Battery</name>
  25. <volts type="float">24</volts>
  26. <prop type="string">/systems/electrical/suppliers/battery[0]</prop>
  27. </component>
  28. <component>
  29. <kind type="string">alternator</kind>
  30. <name type="string">Alternator</name>
  31. <volts type="float">28</volts>
  32. <prop type="string">/systems/electrical/suppliers/alternator[0]</prop>
  33. <source-prop type="string">/engines/engine[0]/rpm</source-prop>
  34. <source-min type="float">600</source-min>
  35. </component>
  36. <component>
  37. <kind type="string">output</kind>
  38. <name type="string">Primary Bus</name>
  39. <prop type="string">/systems/electrical/outputs/bus-dc</prop>
  40. <prop type="string">/systems/electrical/outputs/adf</prop>
  41. <prop type="string">/systems/electrical/outputs/nav[0]</prop>
  42. <prop type="string">/systems/electrical/outputs/nav[1]</prop>
  43. <prop type="string">/systems/electrical/outputs/oat</prop>
  44. </component>
  45. <component>
  46. <kind type="string">output</kind>
  47. <name type="string">Avionics Bus</name>
  48. <prop type="string">/systems/electrical/outputs/bus-avionics</prop>
  49. <prop type="string">/systems/electrical/outputs/encoder</prop>
  50. </component>
  51. <component>
  52. <kind type="string">output</kind>
  53. <name type="string">Starter</name>
  54. <prop type="string">/systems/electrical/outputs/starter[0]</prop>
  55. </component>
  56. <component>
  57. <kind type="string">output</kind>
  58. <name type="string">Turn Coordinator Power</name>
  59. <prop type="string">/systems/electrical/outputs/turn-coordinator</prop>
  60. </component>
  61. <component>
  62. <kind type="string">output</kind>
  63. <name type="string">Panel Lights</name>
  64. <prop type="string">/systems/electrical/outputs/panel-norm</prop>
  65. </component>
  66. <component>
  67. <kind type="string">output</kind>
  68. <name type="string">Fuel Pump</name>
  69. <prop type="string">/systems/electrical/outputs/fuelpump</prop>
  70. </component>
  71. <component>
  72. <kind type="string">output</kind>
  73. <name type="string">KX-155-1</name>
  74. <prop type="string">/systems/electrical/outputs/kx-155-1</prop>
  75. </component>
  76. <component>
  77. <kind type="string">output</kind>
  78. <name type="string">KX-155-2</name>
  79. <prop type="string">/systems/electrical/outputs/kx-155-2</prop>
  80. </component>
  81. <component>
  82. <kind type="string">output</kind>
  83. <name type="string">KR-87</name>
  84. <prop type="string">/systems/electrical/outputs/kr-87</prop>
  85. </component>
  86. <component>
  87. <kind type="string">output</kind>
  88. <name type="string">KT-76c</name>
  89. <prop type="string">/systems/electrical/outputs/kt-76c</prop>
  90. </component>
  91. <component>
  92. <kind type="string">output</kind>
  93. <name type="string">lights_nav</name>
  94. <prop type="string">/systems/electrical/outputs/lights-nav</prop>
  95. </component>
  96. <component>
  97. <kind type="string">output</kind>
  98. <name type="string">lights_tail</name>
  99. <prop type="string">/systems/electrical/outputs/lights-tail</prop>
  100. </component>
  101. <component>
  102. <kind type="string">output</kind>
  103. <name type="string">lights_taxi</name>
  104. <prop type="string">/systems/electrical/outputs/lights-taxi</prop>
  105. </component>
  106. <component>
  107. <kind type="string">output</kind>
  108. <name type="string">lights_landing</name>
  109. <prop type="string">/systems/electrical/outputs/lights-landing</prop>
  110. </component>
  111. <!-- Connectors -->
  112. <connector>
  113. <input type="string">Battery</input>
  114. <output type="string">Primary Bus</output>
  115. <switch type="string">/controls/switches/battery</switch>
  116. </connector>
  117. <connector>
  118. <input type="string">Alternator</input>
  119. <output type="string">Primary Bus</output>
  120. <switch type="string">/controls/switches/alternator</switch>
  121. </connector>
  122. <connector>
  123. <input type="string">Primary Bus</input>
  124. <output type="string">Avionics Bus</output>
  125. <switch type="string">/controls/switches/avionics</switch>
  126. </connector>
  127. <connector>
  128. <input type="string">Primary Bus</input>
  129. <output type="string">Starter</output>
  130. </connector>
  131. <connector>
  132. <input type="string">Primary Bus</input>
  133. <output type="string">Turn Coordinator Power</output>
  134. </connector>
  135. <connector>
  136. <input type="string">Primary Bus</input>
  137. <output type="string">Fuel Pump</output>
  138. <switch type="string">/controls/switches/fuelpump</switch>
  139. </connector>
  140. <connector>
  141. <input type="string">Primary Bus</input>
  142. <output type="string">lights_taxi</output>
  143. <switch type="string">/controls/lighting/taxi</switch>
  144. <variable type="int">1</variable> <!-- Propagate on/off state only -->
  145. </connector>
  146. <connector>
  147. <input type="string">Primary Bus</input>
  148. <output type="string">lights_landing</output>
  149. <switch type="string">/controls/lighting/landing</switch>
  150. <variable type="int">1</variable> <!-- Propagate on/off state only -->
  151. </connector>
  152. <connector>
  153. <input type="string">Avionics Bus</input>
  154. <output type="string">Panel Lights</output>
  155. <switch type="string">/controls/lighting/panel-norm</switch>
  156. <variable type="int">1</variable>
  157. </connector>
  158. <connector>
  159. <input type="string">Avionics Bus</input>
  160. <output type="string">KX-155-1</output>
  161. <switch type="string">/controls/switches/kx-155-1</switch>
  162. </connector>
  163. <connector>
  164. <input type="string">Avionics Bus</input>
  165. <output type="string">KX-155-2</output>
  166. <switch type="string">/controls/switches/kx-155-2</switch>
  167. </connector>
  168. <connector>
  169. <input type="string">Avionics Bus</input>
  170. <output type="string">KR-87</output>
  171. <switch type="string">/controls/switches/kr-87</switch>
  172. </connector>
  173. <connector>
  174. <input type="string">Avionics Bus</input>
  175. <output type="string">KT-76c</output>
  176. <switch type="string">/controls/switches/kt-76c</switch>
  177. <variable type="int">1</variable>
  178. </connector>
  179. <connector>
  180. <input type="string">Avionics Bus</input>
  181. <output type="string">lights_nav</output>
  182. <switch type="string">/controls/lighting/nav</switch>
  183. </connector>
  184. <connector>
  185. <input type="string">Avionics Bus</input>
  186. <output type="string">lights_tail</output>
  187. <switch type="string">/controls/lighting/tail</switch>
  188. </connector>
  189. </electrical>
  190. </PropertyList>