1
0
Fork 0
A320-family/Systems/a320-misc.xml

448 lines
14 KiB
XML
Raw Normal View History

2020-09-12 17:21:23 +00:00
<!-- Airbus A320 Misc Systems -->
<!-- Copyright (c) 2020 Jonathan Redpath -->
<system name="A320: MISC">
2020-09-12 17:21:23 +00:00
<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>
2020-11-29 13:17:56 +00:00
<channel name="ADF" execrate="8">
<switch name="/instrumentation/adf[0]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-ess-shed ge 110
</test>
</switch>
<actuator name="/instrumentation/adf[0]/power-supply-bite-enable">
<input>/instrumentation/adf[0]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.5</rate_limit>
</actuator>
<actuator name="/instrumentation/adf[0]/power-supply-bite-timer">
<input>/instrumentation/adf[0]/power-supply</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/adf[0]/power-supply-was-off">
<default value="/instrumentation/adf[0]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/adf[0]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/adf[0]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/adf[0]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-ess-shed">
/instrumentation/adf[0]/power-supply-was-off eq 0
/instrumentation/adf[0]/power-supply-bite-timer eq 1
</test>
</switch>
<switch name="/instrumentation/adf[1]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<actuator name="/instrumentation/adf[1]/power-supply-bite-enable">
<input>/instrumentation/adf[1]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.5</rate_limit>
</actuator>
<actuator name="/instrumentation/adf[1]/power-supply-bite-timer">
<input>/instrumentation/adf[1]/power-supply</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/adf[1]/power-supply-was-off">
<default value="/instrumentation/adf[1]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/adf[1]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/adf[1]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/adf[1]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-2">
/instrumentation/adf[1]/power-supply-was-off eq 0
/instrumentation/adf[1]/power-supply-bite-timer eq 1
</test>
</switch>
</channel>
<channel name="VOR" execrate="8">
<switch name="/instrumentation/nav[2]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-ess ge 110
</test>
</switch>
<actuator name="/instrumentation/nav[2]/power-supply-bite-enable">
<input>/instrumentation/nav[2]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.333</rate_limit>
</actuator>
<actuator name="/instrumentation/nav[2]/power-supply-bite-timer">
<input>/instrumentation/nav[2]/power-supply</input>
<rate_limit sense="incr">0.333</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/nav[2]/power-supply-was-off">
<default value="/instrumentation/nav[2]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/nav[2]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/nav[2]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/nav[2]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-ess">
/instrumentation/nav[2]/power-supply-was-off eq 0
/instrumentation/nav[2]/power-supply-bite-timer eq 1
</test>
</switch>
<switch name="/instrumentation/nav[3]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<actuator name="/instrumentation/nav[3]/power-supply-bite-enable">
<input>/instrumentation/nav[3]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.333</rate_limit>
</actuator>
<actuator name="/instrumentation/nav[3]/power-supply-bite-timer">
<input>/instrumentation/nav[3]/power-supply</input>
<rate_limit sense="incr">0.333</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/nav[3]/power-supply-was-off">
<default value="/instrumentation/nav[3]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/nav[3]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/nav[3]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/nav[3]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-2">
/instrumentation/nav[3]/power-supply-was-off eq 0
/instrumentation/nav[3]/power-supply-bite-timer eq 1
</test>
</switch>
</channel>
<channel name="DME" execrate="8">
<switch name="/instrumentation/dme[0]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-ess-shed ge 110
</test>
</switch>
<actuator name="/instrumentation/dme[0]/power-supply-bite-enable">
<input>/instrumentation/dme[0]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.5</rate_limit>
</actuator>
<actuator name="/instrumentation/dme[0]/power-supply-bite-timer">
<input>/instrumentation/dme[0]/power-supply</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/dme[0]/power-supply-was-off">
<default value="/instrumentation/dme[0]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/dme[0]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/dme[0]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/dme[0]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-ess-shed">
/instrumentation/dme[0]/power-supply-was-off eq 0
/instrumentation/dme[0]/power-supply-bite-timer eq 1
</test>
</switch>
<switch name="/instrumentation/dme[1]/power-supply">
<default value="0"/>
<test logic="AND" value="1">
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<actuator name="/instrumentation/dme[1]/power-supply-bite-enable">
<input>/instrumentation/dme[1]/power-supply</input>
<rate_limit sense="incr">100</rate_limit>
<rate_limit sense="decr">0.5</rate_limit>
</actuator>
<actuator name="/instrumentation/dme[1]/power-supply-bite-timer">
<input>/instrumentation/dme[1]/power-supply</input>
<rate_limit sense="incr">0.5</rate_limit>
<rate_limit sense="decr">100</rate_limit>
</actuator>
<switch name="/instrumentation/dme[1]/power-supply-was-off">
<default value="/instrumentation/dme[1]/power-supply-was-off"/>
<test logic="AND" value="0">
/instrumentation/dme[1]/power-supply-bite-timer eq 1
</test>
<test logic="AND" value="1">
/instrumentation/dme[1]/power-supply-bite-enable eq 0
</test>
</switch>
<switch name="/instrumentation/dme[1]/power-supply-node">
<default value="0"/>
<test logic="OR" value="/systems/electrical/bus/ac-2">
/instrumentation/dme[1]/power-supply-was-off eq 0
/instrumentation/dme[1]/power-supply-bite-timer eq 1
</test>
</switch>
</channel>
<channel name="ACP" execrate="8">
<switch name="/instrumentation/adf[0]/volume-norm">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/adf1-volume">
/controls/audio/acp[0]/adf1-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/adf1-recive eq 0
/controls/audio/acp[0]/adf1-volume ge /controls/audio/acp[1]/adf1-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/adf1-volume">
/controls/audio/acp[1]/adf1-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/adf1-recive eq 0
/controls/audio/acp[0]/adf1-volume lt /controls/audio/acp[1]/adf1-volume
</test>
</test>
</switch>
<switch name="/instrumentation/adf[1]/volume-norm">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/adf2-volume">
/controls/audio/acp[0]/adf2-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/adf2-recive eq 0
/controls/audio/acp[0]/adf2-volume ge /controls/audio/acp[1]/adf2-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/adf2-volume">
/controls/audio/acp[1]/adf2-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/adf2-recive eq 0
/controls/audio/acp[0]/adf2-volume lt /controls/audio/acp[1]/adf2-volume
</test>
</test>
</switch>
<switch name="/instrumentation/marker-beacon/volume">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/mkr-volume">
/controls/audio/acp[0]/mkr-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/mkr-recive eq 0
/controls/audio/acp[0]/mkr-volume ge /controls/audio/acp[1]/mkr-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/mkr-volume">
/controls/audio/acp[1]/mkr-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/mkr-recive eq 0
/controls/audio/acp[0]/mkr-volume lt /controls/audio/acp[1]/mkr-volume
</test>
</test>
</switch>
<switch name="/instrumentation/nav[0]/volume">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/ils-volume">
/controls/audio/acp[0]/ils-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/ils-recive eq 0
/controls/audio/acp[0]/ils-volume ge /controls/audio/acp[1]/ils-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/ils-volume">
/controls/audio/acp[1]/ils-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/ils-recive eq 0
/controls/audio/acp[0]/ils-volume lt /controls/audio/acp[1]/ils-volume
</test>
</test>
</switch>
<switch name="/instrumentation/nav[2]/volume">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/vor1-volume">
/controls/audio/acp[0]/vor1-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/vor1-recive eq 0
/controls/audio/acp[0]/vor1-volume ge /controls/audio/acp[1]/vor1-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/vor1-volume">
/controls/audio/acp[1]/vor1-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/vor1-recive eq 0
/controls/audio/acp[0]/vor1-volume lt /controls/audio/acp[1]/vor1-volume
</test>
</test>
</switch>
<switch name="/instrumentation/nav[3]/volume">
<default value="0"/>
<test logic="AND" value="/controls/audio/acp[0]/vor2-volume">
/controls/audio/acp[0]/vor2-recive eq 1
<test logic="OR">
/controls/audio/acp[1]/vor2-recive eq 0
/controls/audio/acp[0]/vor2-volume ge /controls/audio/acp[1]/vor2-volume
</test>
</test>
<test logic="AND" value="/controls/audio/acp[1]/vor2-volume">
/controls/audio/acp[1]/vor2-recive eq 1
<test logic="OR">
/controls/audio/acp[0]/vor2-recive eq 0
/controls/audio/acp[0]/vor2-volume lt /controls/audio/acp[1]/vor2-volume
</test>
</test>
</switch>
</channel>
2020-11-29 13:17:56 +00:00
<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>
2020-09-12 17:21:23 +00:00
<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>
2020-09-12 17:21:23 +00:00
</system>