| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
|
| 5 |
<filter> |
| 6 |
<type>gain</type> |
| 7 |
<gain>100.0</gain> |
| 8 |
<input> |
| 9 |
<property>/systems/electrical/battery-charge-percent</property> |
| 10 |
</input> |
| 11 |
<output> |
| 12 |
<property>/systems/electrical/battery-charge-percent-100</property> |
| 13 |
</output> |
| 14 |
</filter> |
| 15 |
|
| 16 |
<logic> |
| 17 |
<name>Low Voltage LED</name> |
| 18 |
<input> |
| 19 |
<and> |
| 20 |
<greater-than> |
| 21 |
<property>systems/electrical/volts</property> |
| 22 |
<value>0.0</value> |
| 23 |
</greater-than> |
| 24 |
<less-than> |
| 25 |
<property>systems/electrical/amps</property> |
| 26 |
<value>0.0</value> |
| 27 |
</less-than> |
| 28 |
|
| 29 |
</and> |
| 30 |
</input> |
| 31 |
<output> |
| 32 |
<property>/instrumentation/low-voltage-led</property> |
| 33 |
</output> |
| 34 |
</logic> |
| 35 |
|
| 36 |
<logic> |
| 37 |
<name>Hydraulic On/Off</name> |
| 38 |
<input> |
| 39 |
<and> |
| 40 |
<less-than> |
| 41 |
<property>systems/electrical/outputs/hydraulic-pump</property> |
| 42 |
<value>31.5</value> |
| 43 |
</less-than> |
| 44 |
<greater-than> |
| 45 |
<property>systems/electrical/outputs/hydraulic-pump</property> |
| 46 |
<value>20.0</value> |
| 47 |
</greater-than> |
| 48 |
<property>/controls/switches/master-bat</property> |
| 49 |
</and> |
| 50 |
</input> |
| 51 |
<output> |
| 52 |
<property>/sim/model/c172p/hydraulics/hydraulic-pump</property> |
| 53 |
</output> |
| 54 |
</logic> |
| 55 |
|
| 56 |
<logic> |
| 57 |
<name>Amphibious Gear Hydraulic Damage</name> |
| 58 |
<input> |
| 59 |
<and> |
| 60 |
<equals> |
| 61 |
<property>fdm/jsbsim/pontoon-damage/left-pontoon</property> |
| 62 |
<value>0</value> |
| 63 |
</equals> |
| 64 |
<equals> |
| 65 |
<property>fdm/jsbsim/pontoon-damage/right-pontoon</property> |
| 66 |
<value>0</value> |
| 67 |
</equals> |
| 68 |
<property>controls/gear/gear-down-command</property> |
| 69 |
</and> |
| 70 |
</input> |
| 71 |
<output> |
| 72 |
<property>controls/gear/gear-down</property> |
| 73 |
</output> |
| 74 |
</logic> |
| 75 |
|
| 76 |
<flipflop> |
| 77 |
<name>Pitch-Trim annunciator conditions for too long</name> |
| 78 |
<type>monostable</type> |
| 79 |
<inverted type="bool">true</inverted> |
| 80 |
<S><not> |
| 81 |
|
| 82 |
<and> |
| 83 |
<property>/autopilot/kap140/pitch-axis-fail</property> |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
<or> |
| 88 |
<equals> |
| 89 |
<property>autopilot/kap140/panel/state-previous</property> |
| 90 |
<value>6</value> |
| 91 |
</equals> |
| 92 |
<and> |
| 93 |
<not-equals> |
| 94 |
<property>autopilot/kap140/panel/state-previous</property> |
| 95 |
<value>6</value> |
| 96 |
</not-equals> |
| 97 |
<not><property>autopilot/kap140/sensors/excess-g</property></not> |
| 98 |
</and> |
| 99 |
</or> |
| 100 |
</and> |
| 101 |
|
| 102 |
</not></S> |
| 103 |
<time> |
| 104 |
<value> 0.5 </value> |
| 105 |
</time> |
| 106 |
<output> <property>/instrumentation/annunciator/pitch-trim-trigger</property> </output> |
| 107 |
</flipflop> |
| 108 |
|
| 109 |
|
| 110 |
<logic> |
| 111 |
<name>avionics_fan_operating</name> |
| 112 |
<input> |
| 113 |
<and> |
| 114 |
<property>systems/electrical/avionics-fan/serviceable</property> |
| 115 |
<greater-than> |
| 116 |
<property>systems/electrical/outputs/avionics-fan</property> |
| 117 |
<value>12.0</value> |
| 118 |
</greater-than> |
| 119 |
</and> |
| 120 |
</input> |
| 121 |
<output> |
| 122 |
<property>systems/electrical/avionics-fan/operating</property> |
| 123 |
</output> |
| 124 |
</logic> |
| 125 |
<filter> |
| 126 |
<name>avionics_fan_spin</name> |
| 127 |
<debug>false</debug> |
| 128 |
<type>exponential</type> |
| 129 |
<filter-time>3.0</filter-time> |
| 130 |
<input>systems/electrical/avionics-fan/operating</input> |
| 131 |
<output>systems/electrical/avionics-fan/spin</output> |
| 132 |
</filter> |
| 133 |
</PropertyList> |