1
0
Fork 0
A320-family/Systems/a320-fwc-phases.xml

86 lines
2.3 KiB
XML
Raw Normal View History

<!-- Airbus A320 FWC -->
<!-- Copyright (c) 2020 Jonathan Redpath -->
<system name="A320: FWC Phase Computation">
<channel name="FWC Phase Logic Timers" execrate="8">
<actuator name="/ECAM/timer/ground-calc">
<description>Timer for the ECAM phase system</description>
<input>/ECAM/ground-calc-immediate</input>
<rate_limit sense="decr">100</rate_limit> <!-- Instant -->
<rate_limit sense="incr">1</rate_limit> <!-- 1 second -->
</actuator>
</channel>
<channel name="FWC Phase Logic and Switches">
<switch name="/ECAM/flipflop/speed-gt-80-set">
<default value="0"/>
<test value="0">
/sim/time/elapsed-sec lt 10
</test>
<test logic="OR" value="1">
<test logic="AND">
/systems/navigation/adr/output/cas-1 gt 83
/systems/navigation/adr/output/cas-2 gt 83
</test>
<test logic="AND">
/systems/navigation/adr/output/cas-2 gt 83
/systems/navigation/adr/output/cas-3 gt 83
</test>
<test logic="AND">
/systems/navigation/adr/output/cas-1 gt 83
/systems/navigation/adr/output/cas-3 gt 83
</test>
</test>
</switch>
<switch name="/ECAM/flipflop/speed-gt-80-reset">
<default value="0"/>
<test value="0">
/sim/time/elapsed-sec lt 10
</test>
<test logic="OR" value="1">
<test logic="AND">
/systems/navigation/adr/output/cas-1 lt 77
/systems/navigation/adr/output/cas-2 lt 77
</test>
<test logic="AND">
/systems/navigation/adr/output/cas-2 lt 77
/systems/navigation/adr/output/cas-3 lt 77
</test>
<test logic="AND">
/systems/navigation/adr/output/cas-1 lt 77
/systems/navigation/adr/output/cas-3 lt 77
</test>
</test>
</switch>
<switch name="/ECAM/flipflop/radar-altimeter-5-set">
<default value="0"/>
<test logic="OR" value="1">
/position/gear-agl-ft lt 5
</test>
</switch>
<switch name="/ECAM/flipflop/radar-altimeter-5-reset">
<default value="0"/>
<test logic="OR" value="1">
/gear/gear[1]/compression-norm eq 0
</test>
</switch>
<switch name="/ECAM/ground-calc-immediate">
<default value="0"/>
<test logic="OR" value="1">
/ECAM/flipflop/radar-altimeter-5-output eq 1
/position/gear-agl-ft lt 5
</test>
</switch>
</channel>
</system>