1
0
Fork 0

Improve automatic RAT deployment conditions per AMM

This commit is contained in:
Jonathan Redpath 2021-10-03 17:40:11 +01:00
parent e2080544d9
commit 91e0cf821f

View file

@ -826,13 +826,29 @@
</switch>
<!-- Emergency Generator -->
<switch name="/systems/electrical/some-electric-thingie/speed-abv-100">
<default value="0"/>
<test logic="AND" value="1">
/systems/navigation/adr/output/cas-1 gt 100
/systems/navigation/adr/operating-1 eq 1
</test>
</switch>
<actuator name="/systems/electrical/some-electric-thingie/speed-abv-100-output">
<input>/systems/electrical/some-electric-thingie/speed-abv-100</input>
<rate_limit sense="decr">120</rate_limit> <!-- Instant -->
<rate_limit sense="incr">1</rate_limit> <!-- 1 second -->
</actuator>
<switch name="/systems/electrical/some-electric-thingie/rat-deploy">
<default value="/systems/electrical/some-electric-thingie/rat-deploy"/>
<test logic="AND" value="1">
/instrumentation/airspeed-indicator/indicated-speed-kt gt 100
/systems/electrical/bus/dc-hot-1 ge 25
/systems/electrical/some-electric-thingie/speed-abv-100-output eq 1
/controls/electrical/switches/emer-gen-test eq 0
/sim/time/elapsed-sec gt 30
/systems/electrical/bus/ac-1 eq 0
/systems/electrical/bus/ac-2 eq 0
/systems/electrical/bus/ac-1 lt 1
/systems/electrical/bus/ac-2 lt 1
/controls/electrical/switches/emer-elec-man-on eq 0
</test>
<test logic="OR" value="1">