SenecaII: replace some Nasal by more efficient property-rule
[fg:toms-fgdata.git] / Aircraft / SenecaII / SenecaII-base.xml
1 <?xml version="1.0"?>
2 <!--
3  This file is part of FlightGear, the free flight simulator
4  http://www.flightgear.org/
5
6  Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
7
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  General Public License for more details.
17 -->
18 <PropertyList>
19   <sim>
20     <author>Torsten Dreyer</author>
21     <startup>
22       <splash-texture>Aircraft/SenecaII/splash.png</splash-texture>
23       <splash-title>Piper PA34 200T Seneca II</splash-title>
24     </startup>
25     <panel>
26       <visibility>false</visibility>
27     </panel>
28
29     <!-- enable "parkpos=AVAILABLE" option -->
30     <dimensions>
31       <radius-m type="double">8.0</radius-m>
32       <parkpos-offset-m type="double">0.0</parkpos-offset-m>
33     </dimensions>
34     <aircraft-class type="string">ga</aircraft-class>
35     <aircraft-operator></aircraft-operator>
36     <model>
37       <instrument-lighting>
38         <emission>
39           <red type="double">1.0</red>
40           <green type="double">0.2</green>
41           <blue type="double">0.0</blue>
42         </emission>
43       </instrument-lighting>
44       <material>
45         <cockpit>
46           <red type="double">0.5</red>
47           <green type="double">0.1</green>
48           <blue type="double">0.1</blue>
49           <factor type="double">0</factor>
50         </cockpit>
51       </material>
52       <icing>
53         <iceable>
54           <name>Wing</name>
55           <salvage-control>/controls/deice/surface-deice-wingtail-light</salvage-control>
56           <sensitivity type="double">0.8</sensitivity>
57           <output-property>/fdm/jsbsim/ice/wing</output-property>
58         </iceable>
59         <iceable>
60           <name>Stabilizer</name>
61           <salvage-control>/controls/deice/surface-deice-wingtail-light</salvage-control>
62           <sensitivity type="double">1.0</sensitivity>
63           <output-property>/fdm/jsbsim/ice/stabilizer</output-property>
64         </iceable>
65         <iceable>
66           <name>Propeller</name>
67           <salvage-control>/controls/deice/prop-deice</salvage-control>
68           <sensitivity type="double">0.5</sensitivity>
69           <output-property>/fdm/jsbsim/ice/propeller</output-property>
70         </iceable>
71         <iceable>
72           <name>Windshield</name>
73           <salvage-control>/controls/deice/windshield-deice</salvage-control>
74           <sensitivity type="double">0.5</sensitivity>
75           <!-- not relevant for fdm, ignore output-property -->
76         </iceable>
77         <iceable>
78           <name>Fuselage</name>
79           <!-- no salvage control, no deicing of the fuselage -->
80           <sensitivity type="double">0.3</sensitivity>
81           <output-property>/fdm/jsbsim/ice/fuselage</output-property>
82         </iceable>
83         <iceable>
84           <name>Pitot tube</name>
85           <sensitivity type="double">1</sensitivity>
86           <salvage-control>/controls/anti-ice/pitot-heat</salvage-control>
87           <output-property>/systems/pitot/icing</output-property>
88         </iceable>
89       </icing>
90     </model>
91     <view n="0">
92       <internal>true</internal>
93       <config>
94         <default-field-of-view-deg type="double">50</default-field-of-view-deg>
95         <x-offset-m type="double">-0.358</x-offset-m>
96         <y-offset-m type="double">1.75</y-offset-m>
97         <z-offset-m type="double">-0.3</z-offset-m>
98         <pitch-offset-deg>-15</pitch-offset-deg>
99       </config>
100     </view>
101     <view n="1">
102       <config>
103         <y-offset-m type="double">3</y-offset-m>
104       </config>
105     </view>
106     <view n="100">
107       <name>Left Rear Pax View</name>
108       <type>lookfrom</type>
109       <internal>true</internal>
110       <config>
111         <from-model type="bool">true</from-model>
112         <from-model-idx type="int">0</from-model-idx>
113         <ground-level-nearplane-m type="double">0.01</ground-level-nearplane-m>
114         <default-field-of-view-deg type="double">50</default-field-of-view-deg>
115         <pitch-offset-deg>-15</pitch-offset-deg>
116         <heading-offset-deg>80</heading-offset-deg>
117         <x-offset-m type="double">-0.25</x-offset-m>
118         <y-offset-m type="double">1.60</y-offset-m>
119         <z-offset-m type="double">1.20</z-offset-m>
120       </config>
121     </view>
122     <view n="101">
123       <name>Right Rear Pax View</name>
124       <type>lookfrom</type>
125       <internal>true</internal>
126       <config>
127         <from-model type="bool">true</from-model>
128         <from-model-idx type="int">0</from-model-idx>
129         <ground-level-nearplane-m type="double">0.01</ground-level-nearplane-m>
130         <default-field-of-view-deg type="double">50</default-field-of-view-deg>
131         <pitch-offset-deg>-15</pitch-offset-deg>
132         <heading-offset-deg>-80</heading-offset-deg>
133         <x-offset-m type="double">0.25</x-offset-m>
134         <y-offset-m type="double">1.60</y-offset-m>
135         <z-offset-m type="double">1.20</z-offset-m>
136       </config>
137     </view>
138     <view n="102">
139       <name>Copilot View</name>
140       <type>lookfrom</type>
141       <internal>true</internal>
142       <config>
143         <from-model type="bool">true</from-model>
144         <from-model-idx type="int">0</from-model-idx>
145         <ground-level-nearplane-m type="double">0.01</ground-level-nearplane-m>
146         <default-field-of-view-deg type="double">50</default-field-of-view-deg>
147         <pitch-offset-deg>-15</pitch-offset-deg>
148         <x-offset-m type="double">0.358</x-offset-m>
149         <y-offset-m type="double">1.75</y-offset-m>
150         <z-offset-m type="double">-0.3</z-offset-m>
151       </config>
152     </view>
153     <menubar>
154       <default>
155         <!--menu n="3">
156                   <item n="0">
157                   <label>Autopilot Settings</label>
158                     <binding>
159                       <command>nasal</command>
160                       <script>SenecaII.apDialog.open()</script>
161                     </binding>
162                   </item>
163                 </menu-->
164         <menu n="10">
165           <label>Seneca</label>
166           <enabled type="bool">true</enabled>
167           <item>
168             <label>Malfunctions..</label>
169             <binding>
170               <command>nasal</command>
171               <script><![CDATA[
172                 var mal = gui.Dialog.new("/sim/gui/dialogs/SenecaII/menu/dialog", 
173                                          "Aircraft/SenecaII/Dialogs/malfunctions-dialog.xml");
174                 mal.open();
175                 ]]></script>
176             </binding>
177           </item>
178           <item>
179             <label>A/C Registration</label>
180             <binding>
181               <command>nasal</command>
182               <script><![CDATA[ 
183                 SenecaII.registrationDialog.toggle();
184               ]]></script>
185             </binding>
186           </item>
187           <item>
188             <label>Show/hide Aircraft</label>
189             <binding>
190               <command>property-toggle</command>
191               <property>sim/model/hide-model</property>
192             </binding>
193           </item>
194           <item>
195             <label>Show/hide yoke</label>
196             <binding>
197               <command>property-toggle</command>
198               <property>/sim/model/hide-yoke</property>
199             </binding>
200           </item>
201           <item>
202             <label>Show/hide windshield deice</label>
203             <binding>
204               <command>property-toggle</command>
205               <property>/sim/model/hide-windshield-deice</property>
206             </binding>
207           </item>
208           <item>
209             <label>Open/close cowl-flaps</label>
210             <binding>
211               <command>property-toggle</command>
212               <property>/controls/engines/engine[0]/cowl-flaps-norm</property>
213             </binding>
214             <binding>
215               <command>property-toggle</command>
216               <property>/controls/engines/engine[1]/cowl-flaps-norm</property>
217             </binding>
218           </item>
219           <item>
220             <label>Open/close Front door</label>
221             <binding>
222               <command>nasal</command>
223               <script><![CDATA[
224                 SenecaII.rightDoor.toggle();
225               ]]></script>
226             </binding>
227           </item>
228           <item>
229             <label>Open/close PAX door</label>
230             <binding>
231               <command>nasal</command>
232               <script><![CDATA[
233                 SenecaII.paxDoor.toggle();
234               ]]></script>
235             </binding>
236           </item>
237           <item>
238             <label>Open/close Baggage door</label>
239             <binding>
240               <command>nasal</command>
241               <script><![CDATA[
242                 SenecaII.baggageDoor.toggle();
243               ]]></script>
244             </binding>
245           </item>
246           <!--item>
247                         <label>Yaw Damper (on/off) default off</label>
248                         <binding>
249                             <command>property-toggle</command>
250                             <property>/autopilot/CENTURYIII/settings/yaw-damper</property>
251                         </binding>
252                     </item-->
253           <!--
254                     <item>
255                         <label>Checklists..</label>
256                         <binding>
257                             <command>dialog-show</command>
258                             <dialog-name>/sim/dialogs/dialog[0]</dialog-name>
259                         </binding>
260                     </item>
261                         -->
262         </menu>
263       </default>
264     </menubar>
265     <systems>
266       <path>Aircraft/SenecaII/Systems/SenecaII-systems.xml</path>
267       <autopilot>
268         <name>CENTURYIII-Controller</name>
269         <path>Aircraft/SenecaII/Systems/CENTURYIII-Controller.xml</path>
270       </autopilot>
271       <autopilot>
272         <name>CENTURYIII</name>
273         <path>Aircraft/SenecaII/Systems/CENTURYIII.xml</path>
274       </autopilot>
275       <autopilot>
276         <name>Instrument-Filter</name>
277         <path>Aircraft/SenecaII/Systems/Instrument-filter.xml</path>
278       </autopilot>
279       <autopilot>
280         <name>Electrical System</name>
281         <path>Aircraft/SenecaII/Systems/electric.xml</path>
282       </autopilot>
283       <electrical>
284         <path/>
285       </electrical>
286     </systems>
287     <instrumentation>
288       <path>Aircraft/SenecaII/Systems/SenecaII-instruments.xml</path>
289     </instrumentation>
290     <sound>
291       <path>Aircraft/SenecaII/SenecaII-Sound.xml</path>
292     </sound>
293     <flaps>
294       <setting type="double">0.000</setting>
295       <!-- Flaps 0 -->
296       <setting type="double">0.250</setting>
297       <!-- Flaps 10 -->
298       <setting type="double">0.625</setting>
299       <!-- Flaps 25 -->
300       <setting type="double">1.000</setting>
301       <!-- Flaps 40 -->
302     </flaps>
303     <aircraft-data>
304       <path>instrumentation/airspeed-indicator/tas-face-rotation</path>
305       <path>instrumentation/attitude-indicator[0]/horizon-offset-deg</path>
306       <path>instrumentation/attitude-indicator[1]/horizon-offset-deg</path>
307       <path>instrumentation/altimeter[0]/setting-inhg</path>
308       <path>instrumentation/altimeter[1]/setting-inhg</path>
309       <path>instrumentation/radar-altimeter/decision-height</path>
310       <path>instrumentation/comm[0]/volume</path>
311       <path>instrumentation/comm[0]/frequencies/selected-mhz</path>
312       <path>instrumentation/comm[0]/frequencies/standby-mhz</path>
313       <path>instrumentation/comm[0]/test-btn</path>
314       <path>instrumentation/nav[0]/audio-btn</path>
315       <path>instrumentation/nav[0]/power-btn</path>
316       <path>instrumentation/nav[0]/frequencies/selected-mhz</path>
317       <path>instrumentation/nav[0]/frequencies/standby-mhz</path>
318       <path>instrumentation/comm[1]/volume</path>
319       <path>instrumentation/comm[1]/frequencies/selected-mhz</path>
320       <path>instrumentation/comm[1]/frequencies/standby-mhz</path>
321       <path>instrumentation/comm[1]/test-btn</path>
322       <path>instrumentation/nav[1]/audio-btn</path>
323       <path>instrumentation/nav[1]/power-btn</path>
324       <path>instrumentation/nav[1]/frequencies/selected-mhz</path>
325       <path>instrumentation/nav[1]/frequencies/standby-mhz</path>
326       <path>instrumentation/nav[1]/radials/selected-deg</path>
327       <path>instrumentation/dme/frequencies/selected-mhz</path>
328       <path>instrumentation/dme/switch-position</path>
329       <path>instrumentation/adf/model</path>
330       <path>instrumentation/adf/rotation-deg</path>
331       <path>sim/model/hide-yoke</path>
332       <path>sim/model/hide-windshield-deice</path>
333       <path>engines/engine[0]/egt-bug</path>
334       <path>engines/engine[1]/egt-bug</path>
335       <path>controls/engines/engine[0]/cowl-flaps-norm</path>
336       <path>controls/engines/engine[1]/cowl-flaps-norm</path>
337       <path>autopilot/CENTURYIII/controls/mode</path>
338       <path>controls/electric/battery-switch</path>
339       <path>controls/electric/avionic-switch</path>
340       <path>controls/fuel/tank[0]/fuel_selector-position</path>
341       <path>controls/fuel/tank[1]/fuel_selector-position</path>
342     </aircraft-data>
343     <help>
344       <title>PA34-200T Seneca II</title>
345       <line>Quick startup:</line>
346       <line> - set magnetos to on by hitting '}' trice</line>
347       <line> - open throttles approx. 25 percent</line>
348       <line> - hit 's' for 5 seconds to start the engines</line>
349       <line> - hit 'B' to release brakes</line>
350       <line> - open throttles to 40 inches of manifold pressure</line>
351       <line> - rotate at 70 knots, climb at 100 knots</line>
352       <line/>
353       <line>You can also use the tutorials under Help-&gt;Start Tutorial</line>
354       <line/>
355       <line>For the online documentation go to</line>
356       <line>http://wiki.flightgear.org/Seneca</line>
357       <line/>
358     </help>
359
360     <flight-recorder include="Systems/flight-recorder.xml"/>
361
362     <tutorials>
363       <tutorial include="Tutorials/___ColdStart.xml"/>
364       <tutorial include="Tutorials/___HotStart.xml"/>
365       <tutorial include="Tutorials/01_CockpitCheck.xml"/>
366       <tutorial include="Tutorials/02_StartEngine.xml"/>
367       <tutorial include="Tutorials/03_AfterStartEngineCheck.xml"/>
368       <tutorial include="Tutorials/04_TaxiCheck.xml"/>
369       <tutorial include="Tutorials/05_BeforeTakeoffCheck.xml"/>
370       <tutorial include="Tutorials/06_LineUpCheck.xml"/>
371       <tutorial include="Tutorials/07_AfterTakeoffCheck.xml"/>
372       <tutorial include="Tutorials/08_CruiseCheck.xml"/>
373       <tutorial include="Tutorials/09_ApproachCheck.xml"/>
374       <tutorial include="Tutorials/10_FinalCheck.xml"/>
375       <tutorial include="Tutorials/11_AfterLandingCheck.xml"/>
376       <!--
377           <tutorial include="Tutorials/90_InterceptRadial.xml"/>
378           <tutorial include="Tutorials/91_Holding.xml"/>
379           <tutorial include="Tutorials/92_ILSApproach.xml"/>
380 -->
381     </tutorials>
382   </sim>
383   <engines>
384     <engine n="0">
385       <oil-pressure-psi type="double">0.0</oil-pressure-psi>
386     </engine>
387     <engine n="1">
388       <oil-pressure-psi type="double">0.0</oil-pressure-psi>
389     </engine>
390   </engines>
391   <controls>
392     <autopilot>
393       <mode type="int">2</mode>
394       <!-- start in heading-mode -->
395     </autopilot>
396     <electric>
397       <engine n="0">
398         <generator type="bool">true</generator>
399       </engine>
400       <engine n="1">
401         <generator type="bool">true</generator>
402       </engine>
403       <battery-switch type="bool">true</battery-switch>
404       <avionic-switch type="bool">true</avionic-switch>
405     </electric>
406     <engines>
407       <engine n="0">
408         <magnetos type="int">0</magnetos>
409         <magneto n="0" type="bool">false</magneto>
410         <magneto n="1" type="bool">false</magneto>
411         <cowl-flaps-norm type="double">1.0</cowl-flaps-norm>
412         <primer type="bool">false</primer>
413         <starter-switch type="bool">false</starter-switch>
414       </engine>
415       <engine n="1">
416         <magnetos type="int">0</magnetos>
417         <magneto n="0" type="bool">false</magneto>
418         <magneto n="1" type="bool">false</magneto>
419         <cowl-flaps-norm type="double">1.0</cowl-flaps-norm>
420         <primer type="bool">false</primer>
421         <starter-switch type="bool">false</starter-switch>
422       </engine>
423     </engines>
424     <gear>
425       <brake-parking type="bool">1</brake-parking>
426     </gear>
427     <fuel>
428       <tank n="0">
429         <fuel_selector-position type="int">1</fuel_selector-position>
430       </tank>
431       <tank n="1">
432         <fuel_selector-position type="int">1</fuel_selector-position>
433       </tank>
434     </fuel>
435     <lighting>
436       <strobe type="bool">false</strobe>
437       <beacon type="bool">false</beacon>
438       <landing-lights type="bool">false</landing-lights>
439       <taxi-light type="bool">false</taxi-light>
440       <nav-lights type="bool">false</nav-lights>
441       <radio-norm type="double">0.0</radio-norm>
442       <panel-norm type="double">0.0</panel-norm>
443       <instruments-norm type="double">0.0</instruments-norm>
444     </lighting>
445     <deice>
446       <surface-deice type="bool">false</surface-deice>
447       <surface-deice-wingtail-light type="bool">false</surface-deice-wingtail-light>
448     </deice>
449   </controls>
450   <gear>
451     <transit-light>
452       <serviceable type="bool">true</serviceable>
453     </transit-light>
454     <gear n="0">
455       <indicator-serviceable type="bool">true</indicator-serviceable>
456     </gear>
457     <gear n="1">
458       <indicator-serviceable type="bool">true</indicator-serviceable>
459     </gear>
460     <gear n="2">
461       <indicator-serviceable type="bool">true</indicator-serviceable>
462     </gear>
463   </gear>
464   <consumables>
465     <fuel>
466       <tank n="0">
467         <name type="string">Left Wing</name>
468         <capacity-gal_us type="double">64.0</capacity-gal_us>
469         <unusable-gal_us type="double">2.5</unusable-gal_us>
470         <level-gal_us type="double">50</level-gal_us>
471       </tank>
472       <tank n="1">
473         <name type="string">Right Wing</name>
474         <capacity-gal_us type="double">64.0</capacity-gal_us>
475         <unusable-gal_us type="double">2.5</unusable-gal_us>
476         <level-gal_us type="double">50</level-gal_us>
477       </tank>
478       <tank n="2"/>
479       <tank n="3"/>
480     </fuel>
481   </consumables>
482   <limits>
483     <max-flap-extension-speed>
484       <flaps type="double">0.20</flaps>
485       <speed type="double">129</speed>
486     </max-flap-extension-speed>
487     <max-flap-extension-speed>
488       <flaps type="double">0.60</flaps>
489       <speed type="double">115</speed>
490     </max-flap-extension-speed>
491     <max-flap-extension-speed>
492       <flaps type="double">0.99</flaps>
493       <speed type="double">105</speed>
494     </max-flap-extension-speed>
495     <max-gear-extension-speed type="double">129</max-gear-extension-speed>
496     <vne type="double">190</vne>
497     <!-- standard -->
498     <maximum-takeoff-mass-lbs type="double">4570</maximum-takeoff-mass-lbs>
499     <maximum-landing-mass-lbs type="double">4342</maximum-landing-mass-lbs>
500     <!-- reduced mtom to 1999kg -->
501     <!-- maximum-takeoff-mass-lbs type="double">4407</maximum-takeoff-mass-lbs>
502         <maximum-landing-mass-lbs type="double">4407</maximum-landing-mass-lbs-->
503   </limits>
504   <input>
505         <keyboard>
506             <key n="267">
507                 <name>F11</name>
508                 <desc>Pop up autopilot dialog</desc>
509                 <binding>
510                     <command>nasal</command>
511                     <script>setprop("/sim/messages/copilot", "Please operate the A/P from the 3d-panel.");</script>
512                 </binding>
513             </key>
514         </keyboard>
515     </input>
516   <nasal>
517     <SenecaII>
518       <file>Aircraft/SenecaII/Nasal/SenecaII.nas</file>
519       <file>Aircraft/SenecaII/Nasal/electric.nas</file>
520       <file>Aircraft/SenecaII/Nasal/timers.nas</file>
521       <file>Aircraft/Generic/limits.nas</file>
522       <file>Aircraft/SenecaII/Nasal/registration.nas</file>
523       <file>Aircraft/Instruments-3d/ki266/ki266.nas</file>
524       <file>Aircraft/SenecaII/Systems/kcs55.nas</file>
525       <script>
526         <![CDATA[
527                gui.menuEnable("autopilot",0);
528 #              var apDialog = gui.Dialog.new("/sim/gui/dialogs/SenecaII/centuryIII/dialog",
529 #               "Aircraft/SenecaII/Dialogs/centuryIII-dlg.xml");
530               KCS55.new();
531
532               #override controls.startEngine, we use "starter-switch" instead of "starter"
533               controls.startEngine = func(v = 1, which...) {
534                 if (!v and !size(which))
535                      return props.setAll("/controls/engines/engine", "starter-switch", 0);
536                  if(size(which)) {
537                      foreach(var i; which)
538                          foreach(var e; controls.engines)
539                              if(e.index == i)
540                                  e.controls.getNode("starter-switch",1).setBoolValue(v);
541                  } else {
542                      foreach(var e; controls.engines)
543                          if(e.selected.getValue())
544                              e.controls.getNode("starter-switch",1).setBoolValue(v);
545                  }
546
547               }
548
549       ]]></script>
550     </SenecaII>
551     <kr87>
552       <file>Aircraft/SenecaII/Nasal/kr87.nas</file>
553     </kr87>
554     <icing>
555       <file>Aircraft/SenecaII/Nasal/icing.nas</file>
556       <file>Aircraft/SenecaII/Nasal/PitotIcing.nas</file>
557     </icing>
558   </nasal>
559   <systems>
560     <electrical>
561       <path/>
562       <bus n="0">
563         <volts type="double">12</volts>
564         <name>mainbus</name>
565         <element>
566           <type>battery</type>
567           <name>main-battery</name>
568           <capacity-ah type="double">35</capacity-ah>
569         </element>
570         <element>
571           <type>generator</type>
572           <name>left-generator</name>
573           <max-amps type="double">65</max-amps>
574           <max-volts type="double">13.81</max-volts>
575           <min-volts type="double">12.0</min-volts>
576           <min-rpm type="double">800</min-rpm>
577           <max-rpm type="double">2000</max-rpm>
578           <switch-property>/controls/electric/engine[0]/generator</switch-property>
579           <rpm-source>/engines/engine[0]/rpm</rpm-source>
580         </element>
581         <element>
582           <type>generator</type>
583           <name>right-generator</name>
584           <max-amps type="double">65</max-amps>
585           <max-volts type="double">13.81</max-volts>
586           <min-volts type="double">12.0</min-volts>
587           <min-rpm type="double">800</min-rpm>
588           <max-rpm type="double">2000</max-rpm>
589           <switch-property>/controls/electric/engine[1]/generator</switch-property>
590           <rpm-source>/engines/engine[1]/rpm</rpm-source>
591         </element>
592         <element>
593           <type>load</type>
594           <name>landing-lights</name>
595           <load-watts type="double">50</load-watts>
596           <switch-property>/controls/lighting/landing-lights</switch-property>
597         </element>
598         <element>
599           <type>load</type>
600           <name>taxi-lights</name>
601           <load-watts type="double">50</load-watts>
602           <switch-property>/controls/lighting/taxi-light</switch-property>
603         </element>
604         <element>
605           <type>load</type>
606           <name>nav-lights</name>
607           <load-watts type="double">20</load-watts>
608           <switch-property>/controls/lighting/nav-lights</switch-property>
609         </element>
610         <element>
611           <type>load</type>
612           <name>prop-deice</name>
613           <load-watts type="double">200</load-watts>
614           <switch-property>/controls/deice/prop-deice</switch-property>
615           <i-property>/systems/electrical/deice/prop-deice-amps</i-property>
616         </element>
617         <element>
618           <type>load</type>
619           <name>beacon</name>
620           <load-watts type="double">50</load-watts>
621           <switch-property>/controls/lighting/beacon</switch-property>
622         </element>
623       </bus>
624       <!-- old outputs stuff -->
625       <outputs>
626         <dme type="double">12</dme>
627         <adf type="double">12</adf>
628         <nav n="0" type="double">12</nav>
629         <nav n="1" type="double">12</nav>
630         <turn-coordinator type="double">12</turn-coordinator>
631         <autopilot type="double">12</autopilot>
632       </outputs>
633     </electrical>
634     <fuel>
635       <fuel-pump n="0">
636         <name>L/H fuel pump</name>
637         <destination-tank type="int">2</destination-tank>
638         <fuel-flow-gph type="double">100</fuel-flow-gph>
639       </fuel-pump>
640       <fuel-pump n="1">
641         <name>R/H fuel pump</name>
642         <destination-tank type="int">3</destination-tank>
643         <fuel-flow-gph type="double">100</fuel-flow-gph>
644       </fuel-pump>
645     </fuel>
646   </systems>
647   <instrumentation>
648     <use-new-navradio type="bool">false</use-new-navradio>
649     <adf>
650       <ident-audible>0</ident-audible>
651       <volume-norm type="double">1.0</volume-norm>
652       <model>ki227</model>
653     </adf>
654     <nav n="0">
655       <ident type="bool">0</ident>
656       <volume type="double">0.5</volume>
657     </nav>
658     <nav n="1">
659       <ident type="bool">0</ident>
660       <volume type="double">0.5</volume>
661     </nav>
662     <dme>
663       <supply-voltage-norm type="double">0.6</supply-voltage-norm>
664       <min-supply-voltage-norm type="double">0.5</min-supply-voltage-norm>
665     </dme>
666     <marker-beacon>
667       <audio-btn type="bool">true</audio-btn>
668       <power-btn type="bool">true</power-btn>
669       <serviceable type="bool">true</serviceable>
670     </marker-beacon>
671     <audio-panel include="Models/gma340properties.xml"/>
672     <kcs55 include="Systems/kcs55.xml"/>
673   </instrumentation>
674   <fdm>
675     <jsbsim>
676       <aero>
677         <Cnp-factor type="double">1.0</Cnp-factor>
678       </aero>
679       <ice>
680         <wing type="double">0.0</wing>
681         <stabilizer type="double">0.0</stabilizer>
682         <propeller type="double">0.0</propeller>
683         <fuselage type="double">0.0</fuselage>
684       </ice>
685     </jsbsim>
686   </fdm>
687   <payload>
688     <weight>
689       <name type="string">Pilot</name>
690       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
691       <min-lb type="double">0.0</min-lb>
692       <max-lb type="double">300.0</max-lb>
693     </weight>
694     <weight>
695       <name type="string">Co Pilot</name>
696       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
697       <min-lb type="double">0.0</min-lb>
698       <max-lb type="double">300.0</max-lb>
699     </weight>
700     <weight>
701       <name type="string">Middle Left Pax</name>
702       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
703       <min-lb type="double">0.0</min-lb>
704       <max-lb type="double">300.0</max-lb>
705     </weight>
706     <weight>
707       <name type="string">Middle Right Pax</name>
708       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
709       <min-lb type="double">0.0</min-lb>
710       <max-lb type="double">300.0</max-lb>
711     </weight>
712     <weight>
713       <name type="string">Rear Left Pax</name>
714       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
715       <min-lb type="double">0.0</min-lb>
716       <max-lb type="double">300.0</max-lb>
717     </weight>
718     <weight>
719       <name type="string">Rear Right Pax</name>
720       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[5]"/>
721       <min-lb type="double">0.0</min-lb>
722       <max-lb type="double">300.0</max-lb>
723     </weight>
724     <weight>
725       <name type="string">Nose Baggage</name>
726       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[6]"/>
727       <min-lb type="double">0.0</min-lb>
728       <max-lb type="double">200.0</max-lb>
729     </weight>
730     <weight>
731       <name type="string">Aft Baggage</name>
732       <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[7]"/>
733       <min-lb type="double">0.0</min-lb>
734       <max-lb type="double">200.0</max-lb>
735     </weight>
736   </payload>
737 </PropertyList>