1
0
Fork 0
A320-family/Systems/a320-engine-fire.xml

154 lines
3.9 KiB
XML
Raw Normal View History

2019-10-14 16:48:35 +00:00
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
<system name="A320: Engine Fire">
<channel name="Engine Fire" execrate="8">
<fcs_function name="rubbish/enginefire1">
2019-10-14 16:48:35 +00:00
<function>
<sum>
<property>/systems/fire/engine1/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/engine-left-fire</independentVar>
2019-10-14 16:48:35 +00:00
<tableData>
0 -5
1 30
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/engine1/temperature</output>
</fcs_function>
<fcs_function name="rubbish/enginefire2">
2019-10-14 16:48:35 +00:00
<function>
<sum>
<property>/systems/fire/engine2/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/engine-right-fire</independentVar>
2019-10-14 16:48:35 +00:00
<tableData>
0 -5
1 30
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/engine2/temperature</output>
</fcs_function>
<fcs_function name="rubbish/apufire">
2019-10-14 16:48:35 +00:00
<function>
<sum>
<property>/systems/fire/apu/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/apu-fire</independentVar>
2019-10-14 16:48:35 +00:00
<tableData>
0 -5
1 45
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/apu/temperature</output>
</fcs_function>
</channel>
<channel name="Cargo Fire" execrate="8">
<fcs_function name="rubbish/fwdfire">
2019-10-14 16:48:35 +00:00
<function>
<sum>
<property>/systems/fire/cargo/fwd/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/cargo-fwd-fire</independentVar>
2019-10-14 16:48:35 +00:00
<tableData>
0 -5
1 30
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/cargo/fwd/temperature</output>
</fcs_function>
<fcs_function name="rubbish/aftfire">
2019-10-14 16:48:35 +00:00
<function>
<sum>
<property>/systems/fire/cargo/aft/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/cargo-aft-fire</independentVar>
2019-10-14 16:48:35 +00:00
<tableData>
0 -5
1 45
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/cargo/aft/temperature</output>
</fcs_function>
<fcs_function name="rubbish/lavatory">
<function>
<sum>
<property>/systems/fire/lavatory/temperature</property>
<product>
<table>
<independentVar lookup="row">/systems/failures/fire/lavatory-fire</independentVar>
<tableData>
0 -5
1 45
</tableData>
</table>
<property>simulation/channel-dt</property>
</product>
</sum>
</function>
<clipto>
<min>0</min>
<max>300</max>
</clipto>
<output>/systems/fire/lavatory/temperature</output>
</fcs_function>
<switch name="/systems/fire/lavatory/warning">
<default value="0"/>
<test logic="OR" value="1">
/systems/fire/lavatory/temperature ge 295
</test>
</switch>
2019-10-14 16:48:35 +00:00
</channel>
</system>