2017-06-09 16:53:49 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<!-- A3XX Fuel System -->
|
|
|
|
|
2019-01-01 06:03:06 +00:00
|
|
|
<!-- Copyright (c) 2019 Joshua Davidson (it0uchpods) -->
|
2017-07-13 17:30:33 +00:00
|
|
|
|
2017-06-09 16:53:49 +00:00
|
|
|
<system name="fuel">
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<channel name="Fuel to Engine 1 Pipes">
|
|
|
|
<switch name="fuel/from-tank0-to-tank3">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-06-09 16:53:49 +00:00
|
|
|
/systems/fuel/only-use-ctr-tank == 0
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[0]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[0]/contents-lbs gt 0
|
|
|
|
propulsion/tank[3]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<switch name="fuel/from-tank1-to-tank3">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[1]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[1]/contents-lbs gt 0
|
|
|
|
propulsion/tank[3]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<switch name="fuel/from-tank2-to-tank3">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-09-23 01:56:44 +00:00
|
|
|
/systems/fuel/x-feed == 1
|
2017-06-09 16:53:49 +00:00
|
|
|
/systems/fuel/only-use-ctr-tank == 0
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[2]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[0]/contents-lbs eq 0
|
|
|
|
propulsion/tank[2]/contents-lbs gt 0
|
|
|
|
propulsion/tank[3]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
2017-09-23 01:56:44 +00:00
|
|
|
</channel>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<channel name="Fuel to Engine 2 Pipes">
|
|
|
|
<switch name="fuel/from-tank2-to-tank4">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-06-09 16:53:49 +00:00
|
|
|
/systems/fuel/only-use-ctr-tank == 0
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[2]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[2]/contents-lbs gt 0
|
|
|
|
propulsion/tank[4]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<switch name="fuel/from-tank1-to-tank4">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[1]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[1]/contents-lbs gt 0
|
|
|
|
propulsion/tank[4]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<switch name="fuel/from-tank0-to-tank4">
|
2017-06-09 16:53:49 +00:00
|
|
|
<default value="0"/>
|
2017-09-23 04:55:45 +00:00
|
|
|
<test logic="AND" value="9">
|
2017-09-23 01:56:44 +00:00
|
|
|
/systems/fuel/x-feed == 1
|
2017-06-09 16:53:49 +00:00
|
|
|
/systems/fuel/only-use-ctr-tank == 0
|
2017-09-23 03:53:01 +00:00
|
|
|
/systems/fuel/tank[0]/feed == 1
|
2018-07-12 21:03:28 +00:00
|
|
|
propulsion/tank[2]/contents-lbs eq 0
|
|
|
|
propulsion/tank[0]/contents-lbs gt 0
|
|
|
|
propulsion/tank[4]/contents-lbs lt 9
|
2017-06-09 16:53:49 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
2017-09-23 01:56:44 +00:00
|
|
|
</channel>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<channel name="Engine 1 Pipes">
|
2017-09-23 02:22:20 +00:00
|
|
|
<summer name="tank0 tank1 tank 2 to tank3">
|
2017-09-23 01:56:44 +00:00
|
|
|
<input>fuel/from-tank0-to-tank3</input>
|
|
|
|
<input>fuel/from-tank1-to-tank3</input>
|
2017-09-23 02:22:20 +00:00
|
|
|
<input>fuel/from-tank2-to-tank3</input>
|
2017-09-23 01:56:44 +00:00
|
|
|
<output>propulsion/tank[3]/external-flow-rate-pps</output>
|
2017-06-09 16:53:49 +00:00
|
|
|
</summer>
|
2017-09-23 01:56:44 +00:00
|
|
|
</channel>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
2017-09-23 01:56:44 +00:00
|
|
|
<channel name="Engine 2 Pipes">
|
2017-09-23 02:22:20 +00:00
|
|
|
<summer name="tank0 tank1 tank 2 to tank4">
|
2017-09-23 01:56:44 +00:00
|
|
|
<input>fuel/from-tank2-to-tank4</input>
|
|
|
|
<input>fuel/from-tank1-to-tank4</input>
|
2017-09-23 02:22:20 +00:00
|
|
|
<input>fuel/from-tank0-to-tank4</input>
|
2017-06-09 16:53:49 +00:00
|
|
|
<output>propulsion/tank[4]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
2017-09-23 01:56:44 +00:00
|
|
|
</channel>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
2018-07-20 12:33:20 +00:00
|
|
|
<channel name="Total PPS">
|
|
|
|
<summer name="fuel/tank0-flow-rate">
|
|
|
|
<input>-fuel/from-tank0-to-tank3</input>
|
|
|
|
<input>-fuel/from-tank0-to-tank4</input>
|
|
|
|
<output>propulsion/tank[0]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
2018-07-20 12:33:20 +00:00
|
|
|
<summer name="fuel/tank1-flow-rate">
|
|
|
|
<input>-fuel/from-tank1-to-tank3</input>
|
|
|
|
<input>-fuel/from-tank1-to-tank4</input>
|
|
|
|
<output>propulsion/tank[1]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
2017-09-23 01:56:44 +00:00
|
|
|
|
2018-07-20 12:33:20 +00:00
|
|
|
<summer name="fuel/tank2-flow-rate">
|
|
|
|
<input>-fuel/from-tank2-to-tank4</input>
|
|
|
|
<input>-fuel/from-tank2-to-tank3</input>
|
|
|
|
<output>propulsion/tank[2]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
</channel>
|
2017-06-09 16:53:49 +00:00
|
|
|
|
|
|
|
</system>
|