1
0
Fork 0
A320-family/Systems/a320-misc.xml
2020-11-29 13:17:56 +00:00

101 lines
2.4 KiB
XML

<!-- Airbus A320 Misc Systems -->
<!-- Copyright (c) 2020 Jonathan Redpath -->
<system name="A320: MISC">
<channel name="CVR" execrate="8">
<switch name="/controls/CVR/power">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-ess ge 110
<test logic="OR">
/gear/gear[1]/wow eq 1
/gear/gear[2]/wow eq 1
</test>
<test logic="OR">
/controls/CVR/gndctl eq 1
/engines/engine[0]/state eq 3
/engines/engine[1]/state eq 3
</test>
</test>
<test logic="AND" value="1">
/systems/electrical/bus/ac-ess ge 110
/gear/gear[1]/wow eq 0
/gear/gear[2]/wow eq 0
</test>
</switch>
</channel>
<channel name="IESI" execrate="8">
<actuator name="/instrumentation/iesi/att-reset">
<input>/instrumentation/iesi/att-reset-cmd</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
</channel>
<channel name="System Display" execrate="8">
<switch name="/ECAM/Lower/g-force-display-cmd">
<default value="0"/>
<test logic="AND" value="1">
<test logic="OR">
/accelerations/pilot-gdamped lt 0.7
/accelerations/pilot-gdamped gt 1.4
</test>
/ECAM/warning-phase ge 4
</test>
</switch>
<actuator name="/ECAM/Lower/g-force-display">
<input>/ECAM/Lower/g-force-display-cmd</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">0.2</rate_limit>
</actuator>
</channel>
<channel name="Shake" execrate="8">
<switch name="/systems/shake/effect">
<default value="0"/>
<test logic="AND" value="1">
/velocities/groundspeed-kt ge 15
<test logic="OR">
/gear/gear[0]/compression-norm gt 0
/gear/gear[1]/compression-norm gt 0
/gear/gear[2]/compression-norm gt 0
</test>
</test>
</switch>
<switch name="/engines/ready">
<default value="0"/>
<test logic="AND" value="1">
/engines/engine[0]/state eq 3
/engines/engine[1]/state eq 3
</test>
</switch>
<switch name="/controls/pneumatics/switches/groundair">
<default value="/controls/pneumatics/switches/groundair"/>
<test logic="AND" value="0">
/velocities/groundspeed-kt ge 2
</test>
</switch>
<switch name="/controls/electrical/ground-cart">
<default value="/controls/electrical/ground-cart"/>
<test logic="AND" value="0">
/velocities/groundspeed-kt ge 2
</test>
</switch>
</channel>
</system>