This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Systems/fuel.xml

119 lines
3.4 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
2017-09-23 01:56:44 +00:00
<!-- A3XX Fuel System -->
<!-- Joshua Davidson (it0uchpods) -->
<!--
2017-08-16 20:53:35 +00:00
#########################################
# Copyright (c) it0uchpods Design Group #
#########################################
-->
<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">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
/systems/fuel/only-use-ctr-tank == 0
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[0]/feed == 1
2017-09-23 01:56:44 +00:00
propulsion/tank[0]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[3]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
<switch name="fuel/from-tank1-to-tank3">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[1]/feed == 1
2017-09-23 01:56:44 +00:00
propulsion/tank[1]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[3]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
<switch name="fuel/from-tank2-to-tank3">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
/systems/fuel/x-feed == 1
/systems/fuel/only-use-ctr-tank == 0
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[2]/feed == 1
2017-09-23 04:15:48 +00:00
propulsion/tank[0]/contents-lbs EQ 0
2017-09-23 01:56:44 +00:00
propulsion/tank[2]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[3]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
</channel>
2017-09-23 01:56:44 +00:00
<channel name="Fuel to Engine 2 Pipes">
<switch name="fuel/from-tank2-to-tank4">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
/systems/fuel/only-use-ctr-tank == 0
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[2]/feed == 1
2017-09-23 01:56:44 +00:00
propulsion/tank[2]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[4]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
<switch name="fuel/from-tank1-to-tank4">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[1]/feed == 1
2017-09-23 01:56:44 +00:00
propulsion/tank[1]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[4]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
<switch name="fuel/from-tank0-to-tank4">
<default value="0"/>
2017-09-23 01:56:44 +00:00
<test logic="AND" value="0.9">
/systems/fuel/x-feed == 1
/systems/fuel/only-use-ctr-tank == 0
2017-09-23 03:53:01 +00:00
/systems/fuel/tank[0]/feed == 1
2017-09-23 04:15:48 +00:00
propulsion/tank[2]/contents-lbs EQ 0
2017-09-23 01:56:44 +00:00
propulsion/tank[0]/contents-lbs GT 0
2017-09-23 03:53:01 +00:00
propulsion/tank[4]/contents-lbs LT 0.9
</test>
</switch>
2017-09-23 01:56:44 +00:00
</channel>
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>
</summer>
2017-09-23 01:56:44 +00:00
</channel>
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>
<output>propulsion/tank[4]/external-flow-rate-pps</output>
</summer>
2017-09-23 01:56:44 +00:00
</channel>
2017-09-23 01:56:44 +00:00
<channel name="Total PPS">
<summer name="fuel/tank0-flow-rate">
<input>-fuel/from-tank0-to-tank3</input>
2017-09-23 02:22:20 +00:00
<input>-fuel/from-tank0-to-tank4</input>
2017-09-23 01:56:44 +00:00
<output>propulsion/tank[0]/external-flow-rate-pps</output>
</summer>
2017-09-23 01:56:44 +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>
<summer name="fuel/tank2-flow-rate">
<input>-fuel/from-tank2-to-tank4</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[2]/external-flow-rate-pps</output>
</summer>
</channel>
</system>