49 lines
1.6 KiB
XML
49 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<system name="fuel">
|
|
<channel name="fuel">
|
|
<switch name="leftpump">
|
|
<default value="0"/>
|
|
<test logic="AND" value="-3">
|
|
propulsion/tank[2]/contents-lbs eq 0
|
|
propulsion/tank[1]/contents-lbs gt 0
|
|
propulsion/tank[5]/contents-lbs lt 99
|
|
</test>
|
|
<output>propulsion/tank[1]/external-flow-rate-pps</output>
|
|
</switch>
|
|
|
|
<switch name="centerpump">
|
|
<default value="0"/>
|
|
<test logic="AND" value="-3">
|
|
propulsion/tank[2]/contents-lbs gt 0
|
|
propulsion/tank[5]/contents-lbs lt 99
|
|
</test>
|
|
<test logic="AND" value="-3">
|
|
propulsion/tank[2]/contents-lbs gt 0
|
|
propulsion/tank[6]/contents-lbs lt 99
|
|
</test>
|
|
<output>propulsion/tank[2]/external-flow-rate-pps</output>
|
|
</switch>
|
|
|
|
<switch name="rightpump">
|
|
<default value="0"/>
|
|
<test logic="AND" value="-3">
|
|
propulsion/tank[2]/contents-lbs eq 0
|
|
propulsion/tank[3]/contents-lbs gt 0
|
|
propulsion/tank[6]/contents-lbs lt 99
|
|
</test>
|
|
<output>propulsion/tank[3]/external-flow-rate-pps</output>
|
|
</switch>
|
|
|
|
<summer name="tank5inlet">
|
|
<input>-propulsion/tank[1]/external-flow-rate-pps</input>
|
|
<input>-propulsion/tank[2]/external-flow-rate-pps</input>
|
|
<output>propulsion/tank[5]/external-flow-rate-pps</output>
|
|
</summer>
|
|
|
|
<summer name="tank6inlet">
|
|
<input>-propulsion/tank[3]/external-flow-rate-pps</input>
|
|
<input>-propulsion/tank[2]/external-flow-rate-pps</input>
|
|
<output>propulsion/tank[6]/external-flow-rate-pps</output>
|
|
</summer>
|
|
</channel>
|
|
</system>
|