/
electrical.xml
1823 lines (1675 loc) · 62.2 KB
/
electrical.xml
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Short S.23 flying boat flight model for JSBSim.
Copyright (C) 2012 Anders Gidenstam (anders(at)gidenstam.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<system name="electrical">
<documentation>
Electrical services according to [Short:RN-3-1-37]:
24 volts
Navigation lights
Landing searchlights (240W and 500W)
W/T power supply
Internal lighting
Steward's call signals
Power for flap motor
12 volts
Instrument lighting
Engine starting
</documentation>
<documentation>
Drawings and other important information in [Short:RN-3-1-37]:
page
124 Instrument lighting circuits.
127 Fig. 18 Wireless power supply circuit diagram.
142 Fig. 33 Cabin heating and ventilating.
148 Fig. 38 Wireless short and medium wave.
168 Fig. 53 Wiring for forward cabin.
169 Fig. 54 Instruments and pitot heater circuit diagram.
176 Fig. 20 Lighting services circuit diagram.
</documentation>
<documentation>
Fuse circuits according to [Short:RN-3-1-37]:
Control panel
Switch No Fuse No Volt. Power What
1 24V Voltmeter
2 1 8A 12V 48W Instruments
2 2 8A 12V 48W Instruments
3 4A 24V 20W Anchor and Steaming lights
4 4A 24V 12W Identification light
5 4A 24V 24W Steward's call signals
One or 3 6 4A 24V 18W Cockpit and wireless lights(wiring diag.)
both? 3 6 12A 24V ?W Instrument heater (Fig 54, page 169)
-> Later modification?
4 7 8A 24V 108W Corridor fwd and centre cabin
4 8 8A 24V 72W Promenade and aft cabin
4 9 4A 24V 48W Chart table, mail room, ...
5 10 12A 24V 126W Fwd and centre cabin roof, mooring comp.
5 11 12A 24V 204W Prom. and aft cabin and freight room roof
6 12 4A 24V 20W Port navigation light
6 13 4A 24V 30W Tail and Starboard navigation light
14 4A 12V 30W Signalling lamp
F 4A Dynamo field
F 4A Dynamo field
Additional fuses on the main switch board according to [Cassidy:2004:FE]:
Type Fuse What
Rotax N5 EB 15A Engine starting (solenoid)
Rotax N5 4A Flap indicator
Rotax N5 EB 15A Flap motor changeover switch
Rotax N5 DN 50A Flap motor (motor power 0.5hp [Short:RN-3-1-37])
Rotax N5 EB 20A Bow searchlight
Rotax N5 EB 50A Wing searchlight
Rotax N5 EB 15A Searchlight solenoid
Rotax N5 EB 15A Instrument heaters
Rotax N4 EB 4A Thermo-electric control of cabin heating. (fr. Fig.33)
</documentation>
<!-- ======================================================================
Switches
-->
<!-- On the main switchboard switchbox. Range: 0 and 1. -->
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[0]</property>
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[1]</property>
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[2]</property>
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[3]</property>
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[4]</property>
<property value="0.0">electrical/main-switchbox/switch-cmd-norm[5]</property>
<!-- The four brass switches on the main switchboard rack. Range: 0 and 1.
Assumed order: left top and bottom; right top and bottom.
The upper right one is a double switch.
The chart table light switch is at the chart table. -->
<property value="0.0">electrical/control-panel/loading-cmd-norm[0]</property>
<property value="0.0">electrical/control-panel/receiving-cmd-norm[0]</property>
<property value="0.0">electrical/control-panel/mail-cmd-norm[0]</property>
<property value="0.0">electrical/control-panel/mail-cmd-norm[1]</property>
<property value="0.0">electrical/control-panel/stowage-cmd-norm[0]</property>
<property value="0.0">electrical/control-panel/chart-cmd-norm[0]</property>
<!-- Rheostats on the instrument lighting panel. Range: 0 to 1. -->
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[0]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[1]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[2]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[3]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[4]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[5]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[6]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[7]</property>
<property value="0.0">electrical/instrument-lights/switch-cmd-norm[8]</property>
<!-- Switches on the light switch panel. -->
<!-- Range: 0 and 1. -->
<property value="0.0">electrical/light-switch-panel/steaming-cmd-norm</property>
<property value="0.0">electrical/light-switch-panel/identification-cmd-norm</property>
<!-- Range: 0, 0.5 and 1. -->
<property value="0.0">electrical/light-switch-panel/landing-cmd-norm</property>
<!-- Range: 0 to 1. -->
<property value="0.0">electrical/light-switch-panel/roof-cmd-norm[0]</property>
<property value="0.0">electrical/light-switch-panel/roof-cmd-norm[1]</property>
<!-- Range: 0 and 1. Actually located at the bow. -->
<property value="0.0">electrical/light-switch-panel/anchor-cmd-norm</property>
<!-- ======================================================================
Fuses
-->
<property value="1.0">electrical/main-switchbox/fuse-serviceable[0]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[1]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[2]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[3]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[4]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[5]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[6]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[7]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[8]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[9]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[10]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[11]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[12]</property>
<property value="1.0">electrical/main-switchbox/fuse-serviceable[13]</property>
<!-- ======================================================================
Battery
-->
<documentation>
"The battery was a 24 volt 18 cell NiFe alkaline battery with a
capacity of 55 ampere hours." ([Short:RN-3-1-37],[Cassidy:2004:FE])
</documentation>
<!-- Battery inputs. -->
<property value="0.0">electrical/battery/current-A[0]</property> <!-- 24V -->
<property value="0.0">electrical/battery/current-A[1]</property> <!-- 12V -->
<!-- Battery properties. -->
<property value="50.0">electrical/battery/initial-capacity-Ah</property>
<property value="55.0">electrical/battery/max-capacity-Ah</property>
<property value="0.015">electrical/battery/internal-resistance-ohm</property>
<channel name="Battery">
<fcs_function name="electrical/battery/capacity-Ah">
<function>
<difference>
<property>electrical/battery/initial-capacity-Ah</property>
<property>electrical/battery/consumed-Ah</property>
</difference>
</function>
<clipto>
<min>0.0</min>
<max>electrical/battery/max-capacity-Ah</max>
</clipto>
</fcs_function>
<fcs_function name="electrical/battery/open-circuit-voltage-V">
<function>
<table>
<independentVar lookup="row">electrical/battery/capacity-Ah</independentVar>
<tableData> <!-- Guessed. -->
0.0 0.0
2.0 12.0
20.0 20.0
55.0 24.0
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/battery/voltage-V">
<function>
<difference>
<property>electrical/battery/open-circuit-voltage-V</property>
<sum>
<product>
<property>electrical/battery/internal-resistance-ohm</property>
<max>
<value>0.0</value>
<property>electrical/battery/current-A[0]</property>
</max>
</product>
<product>
<value>0.5</value>
<property>electrical/battery/internal-resistance-ohm</property>
<max>
<value>0.0</value>
<property>electrical/battery/current-A[1]</property>
</max>
</product>
</sum>
</difference>
</function>
<clipto>
<min>0.0</min>
<max>48.0</max>
</clipto>
</fcs_function>
<summer name="electrical/battery/total-current-A">
<input>electrical/battery/current-A[0]</input>
<input>electrical/battery/current-A[1]</input>
</summer>
<integrator name="electrical/battery/consumed-Ah">
<input>electrical/battery/total-current-A</input>
<c1>0.0002778</c1>
<!-- clipto>
<min>0.0</min>
<max>electrical/battery/max-capacity-Ah</max>
</clipto -->
</integrator>
</channel>
<!-- ======================================================================
Supply buses
-->
<channel name="Supply">
<!-- The 24V bus. This bus is powered by the battery and the generators. -->
<fcs_function name="electrical/bus[0]/voltage-V">
<function>
<max>
<property>electrical/battery/voltage-V</property>
<property>propulsion/engine[1]/generator-voltage-V</property>
<property>propulsion/engine[2]/generator-voltage-V</property>
</max>
</function>
<clipto>
<min>0.0</min>
<max>48.0</max>
</clipto>
</fcs_function>
<!-- The 12V bus. This bus is powered only by the battery. -->
<fcs_function name="electrical/bus[1]/voltage-V">
<function>
<product>
<value>0.5</value>
<property>electrical/battery/voltage-V</property>
</product>
</function>
<clipto>
<min>0.0</min>
<max>48.0</max>
</clipto>
</fcs_function>
</channel>
<!-- ======================================================================
Main switchbox switch 1 - Voltmeter.
-->
<channel name="Voltmeter">
<switch name="electrical/main-switchbox/switch-voltage-V[0]">
<default value="0.0"/>
<test logic="AND" value="electrical/bus[0]/voltage-V">
electrical/main-switchbox/switch-cmd-norm[0] GT 0.5
</test>
</switch>
<lag_filter name="electrical/main-switchbox/voltmeter-voltage-V">
<input>electrical/main-switchbox/switch-voltage-V[0]</input>
<c1>4.0</c1>
</lag_filter>
</channel>
<channel name="Ammeter">
<!-- FIXME: This isn't really the right current to display. -->
<lag_filter name="electrical/main-switchbox/ammeter-current-A">
<input>electrical/voltage-regulators/battery-current-A</input>
<c1>4.0</c1>
</lag_filter>
</channel>
<!-- ======================================================================
Main switchbox switch 2, fuse 1 and 2 circuits - Instrument lights
-->
<documentation>
Instrument lighting circuits from [Short:RN-3-1-37] page 124:
Rheostat #bulbs Fuse What
1 3 1 Captain's altimeter, DG, AI
2 2 1 Captain's ASI, turn indicator, clock
3 1 1 Captain's VSI, fore-aft lever
4 2 2 Engine speed indicators
5 2 2 First officer's ASI, turn indicator, oil pressure
6 2 2 Boost gauges, First officer's altimeter
7 4 1 First officer's compass (+ 15.4 ohm resistor)
8 4 2 Captain's compass (+ 15.4 ohm resistor)
9 2 1 Autopilot
Assumptions:
The "typical" light bulb is a 4W 12V one (internal resistance 36 ohm).
All light bulbs are connected in parallel.
</documentation>
<channel name="Instrument lights">
<switch name="electrical/main-switchbox/switch-voltage-V[1]">
<default value="0.0"/>
<test logic="AND" value="electrical/bus[1]/voltage-V">
electrical/main-switchbox/switch-cmd-norm[1] GT 0.5
</test>
</switch>
<fcs_function name="electrical/main-switchbox/fuse-voltage-V[0]">
<function>
<product>
<property>electrical/main-switchbox/fuse-serviceable[0]</property>
<property>electrical/main-switchbox/switch-voltage-V[1]</property>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/main-switchbox/fuse-voltage-V[1]">
<function>
<product>
<property>electrical/main-switchbox/fuse-serviceable[1]</property>
<property>electrical/main-switchbox/switch-voltage-V[1]</property>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[0]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[0]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[1]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[1]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[2]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[2]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[3]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[3]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[4]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[4]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[5]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[5]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[6]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[6]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[7]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[7]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-resistance-ohm[8]">
<function>
<table>
<independentVar lookup="row">electrical/instrument-lights/switch-cmd-norm[8]</independentVar>
<tableData> <!-- Guessed: 300*(1-cmd.^0.25) -->
0.00000 300.00000
0.10000 131.29760
0.20000 99.37791
0.30000 77.97516
0.40000 61.41878
0.50000 47.73108
0.60000 35.96648
0.70000 25.59263
0.80000 16.27752
0.90000 7.79888
1.00000 0.00000
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[0]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[0]</property>
<value>12.0</value> <!-- 3 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[1]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[1]</property>
<value>18.0</value> <!-- 2 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[2]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[2]</property>
<value>36.0</value> <!-- 1 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[3]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[3]</property>
<value>18.0</value> <!-- 2 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[4]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[4]</property>
<value>18.0</value> <!-- 2 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[5]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[5]</property>
<value>18.0</value> <!-- 2 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[6]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[6]</property>
<value>9.0</value> <!-- 4 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[7]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[7]</property>
<value>9.0</value> <!-- 4 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-current-A[8]">
<function>
<quotient>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<sum>
<property>electrical/instrument-lights/switch-resistance-ohm[8]</property>
<value>18.0</value> <!-- 2 bulbs in parallel. -->
</sum>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[0]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[0]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[0]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[0]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/altimeter-power-W[0]">
<function>
<product>
<value>0.333333</value>
<property>electrical/instrument-lights/switch-power-W[0]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/altimeter-power-W[0]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/directional-power-W">
<function>
<product>
<value>0.333333</value>
<property>electrical/instrument-lights/switch-power-W[0]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/directional-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/attitude-power-W">
<function>
<product>
<value>0.333333</value>
<property>electrical/instrument-lights/switch-power-W[0]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/attitude-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[1]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[1]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[1]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[1]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/asi-power-W">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[1]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/asi-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/turn-power-W[0]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[1]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/turn-power-W[0]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/clock-power-W">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[1]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/clock-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[2]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[2]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[2]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[2]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/vsi-power-W">
<function>
<property>electrical/instrument-lights/switch-power-W[2]</property>
</function>
<output>/systems/electrical/lamps/instruments/vsi-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/fore-aft-lever-power-W">
<function>
<property>electrical/instrument-lights/switch-power-W[2]</property>
</function>
<output>/systems/electrical/lamps/instruments/fore-aft-level-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[3]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[3]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[3]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[3]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/engine-speed-power-W[0]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[3]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/engine-speed-power-W[0]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/engine-speed-power-W[1]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[3]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/engine-speed-power-W[1]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[4]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[4]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[4]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[4]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/oil-pressure-power-W[0]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[4]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/oil-pressure-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/asi-power-W[1]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[4]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/asi-power-W[1]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/turn-power-W[1]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[4]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/turn-power-W[1]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[5]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[5]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[5]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[5]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/boost-power-W">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[5]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/boost-power-W</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/altimeter-power-W[1]">
<function>
<product>
<value>0.5</value>
<property>electrical/instrument-lights/switch-power-W[5]</property>
</product>
</function>
<output>/systems/electrical/lamps/instruments/altimeter-power-W[1]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[6]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[6]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[6]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[6]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/compass-power-W[1]">
<function>
<property>electrical/instrument-lights/switch-power-W[6]</property>
</function>
<output>/systems/electrical/lamps/instruments/compass-power-W[1]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[7]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[7]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[1]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[7]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[7]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/compass-power-W[0]">
<function>
<property>electrical/instrument-lights/switch-power-W[7]</property>
</function>
<output>/systems/electrical/lamps/instruments/compass-power-W[0]</output>
</fcs_function>
<fcs_function name="electrical/instrument-lights/switch-power-W[8]">
<function>
<product>
<property>electrical/instrument-lights/switch-current-A[8]</property>
<difference>
<property>electrical/main-switchbox/fuse-voltage-V[0]</property>
<product>
<property>electrical/instrument-lights/switch-current-A[8]</property>
<property>electrical/instrument-lights/switch-resistance-ohm[8]</property>
</product>
</difference>
</product>
</function>
</fcs_function>
<fcs_function name="electrical/instrument-lights/autopilot-power-W">
<function>
<property>electrical/instrument-lights/switch-power-W[8]</property>
</function>
<output>/systems/electrical/lamps/instruments/autopilot-power-W</output>
</fcs_function>
<summer name="electrical/main-switchbox/fuse-current-A[0]">
<input>electrical/instrument-lights/switch-current-A[0]</input>
<input>electrical/instrument-lights/switch-current-A[1]</input>
<input>electrical/instrument-lights/switch-current-A[2]</input>
<input>electrical/instrument-lights/switch-current-A[6]</input>
<input>electrical/instrument-lights/switch-current-A[8]</input>
</summer>
<summer name="electrical/main-switchbox/fuse-current-A[1]">
<input>electrical/instrument-lights/switch-current-A[3]</input>
<input>electrical/instrument-lights/switch-current-A[4]</input>
<input>electrical/instrument-lights/switch-current-A[5]</input>
<input>electrical/instrument-lights/switch-current-A[7]</input>
</summer>
</channel>
<!-- ======================================================================
Main switchbox fuse 3 circuit - anchor and steaming lights
-->
<channel name="Anchor and steaming lights">
<switch name="electrical/light-switch-panel/anchor-voltage-V">
<default value="0.0"/>
<test logic="AND" value="electrical/bus[0]/voltage-V">
electrical/light-switch-panel/anchor-cmd-norm GT 0.5
electrical/main-switchbox/fuse-serviceable[2] GT 0.5
</test>
</switch>
<switch name="electrical/light-switch-panel/steaming-voltage-V">
<default value="0.0"/>
<test logic="AND" value="electrical/bus[0]/voltage-V">
electrical/light-switch-panel/steaming-cmd-norm GT 0.5
electrical/main-switchbox/fuse-serviceable[2] GT 0.5
</test>
</switch>
<fcs_function name="electrical/lamps/navigation/anchor-current-A">
<function>
<quotient>
<property>electrical/light-switch-panel/anchor-voltage-V</property>
<value>57.6</value>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/lamps/navigation/steaming-current-A">
<function>
<quotient>
<property>electrical/light-switch-panel/steaming-voltage-V</property>
<value>57.6</value>
</quotient>
</function>
</fcs_function>
<fcs_function name="electrical/lamps/navigation/anchor-power-W">
<function>
<product>
<property>electrical/light-switch-panel/anchor-voltage-V</property>
<property>electrical/lamps/navigation/anchor-current-A</property>
</product>
</function>
<output>/systems/electrical/lamps/navigation/anchor-power-W</output>
</fcs_function>
<fcs_function name="electrical/lamps/navigation/steaming-power-W">
<function>
<product>
<property>electrical/light-switch-panel/steaming-voltage-V</property>
<property>electrical/lamps/navigation/steaming-current-A</property>
</product>
</function>
<output>/systems/electrical/lamps/navigation/steaming-power-W</output>
</fcs_function>
<summer name="electrical/main-switchbox/fuse-current-A[2]">
<input>electrical/lamps/navigation/anchor-current-A</input>
<input>electrical/lamps/navigation/steaming-current-A</input>
</summer>
</channel>
<!-- ======================================================================