1
0
Fork 0

Fuel: adjust capacities and tanks

This commit is contained in:
legoboyvdlp R 2019-10-22 17:24:51 +01:00
parent ce62c58c79
commit 58eb3de150
8 changed files with 2560 additions and 87 deletions

View file

@ -70,43 +70,56 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</thruster>
</engine>
<tank type="FUEL"> <!-- Left Wing Tank -->
<tank type="FUEL"> <!-- Outer Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
<location unit="M">
<x> 18.9731 </x>
<y> 0 </y>
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14281 </capacity>
<contents unit="LBS"> 0 </contents>
<standpipe unit="LBS">43</standpipe>
<capacity unit="LBS"> 12212.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Right Wing Tank -->
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 12212.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -118,7 +131,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -129,13 +142,14 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
</propulsion>
<system file="fuel"/>
<system file="glass-effect1"/>
<system file="a320-fcs"/>
<system file="a320-100-fuel"/>
<system file="a320-spoiler"/>
<system file="a320-electrical"/>
<system file="a320-hydraulic"/>

View file

@ -70,17 +70,30 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</thruster>
</engine>
<tank type="FUEL"> <!-- Left Wing Tank -->
<tank type="FUEL"> <!-- Outer Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12520.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -89,24 +102,37 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14281 </capacity>
<contents unit="LBS"> 0 </contents>
<standpipe unit="LBS">43</standpipe>
<capacity unit="LBS"> 14550.50 </capacity>
<contents unit="LBS"> 40.88 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Right Wing Tank -->
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 12520.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -118,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -129,13 +155,14 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
</propulsion>
<system file="fuel"/>
<system file="glass-effect1"/>
<system file="a320-fcs"/>
<system file="a320-fuel"/>
<system file="a320-spoiler"/>
<system file="a320-electrical"/>
<system file="a320-hydraulic"/>

View file

@ -70,17 +70,30 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</thruster>
</engine>
<tank type="FUEL"> <!-- Left Wing Tank -->
<tank type="FUEL"> <!-- Outer Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12212.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -89,24 +102,37 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14281 </capacity>
<contents unit="LBS"> 0 </contents>
<standpipe unit="LBS">43</standpipe>
<capacity unit="LBS"> 14550.50 </capacity>
<contents unit="LBS"> 40.88 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Right Wing Tank -->
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 12212.50 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -118,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -129,13 +155,14 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
</propulsion>
<system file="fuel"/>
<system file="glass-effect1"/>
<system file="a320-fcs"/>
<system file="a320-fuel"/>
<system file="a320-spoiler"/>
<system file="a320-electrical"/>
<system file="a320-hydraulic"/>

View file

@ -424,18 +424,24 @@
<consumables>
<fuel>
<tank n="0">
<name>Left Wing</name>
<name>Outer Left Wing</name>
</tank>
<tank n="1">
<name>Center</name>
<name>Inner Left Wing</name>
</tank>
<tank n="2">
<name>Right Wing</name>
<name>Center</name>
</tank>
<tank n="3">
<name>Engine 1 Pipes</name>
<name>Inner Right Wing</name>
</tank>
<tank n="4">
<name>Outer Right Wing</name>
</tank>
<tank n="5">
<name>Engine 1 Pipes</name>
</tank>
<tank n="6">
<name>Engine 2 Pipes</name>
</tank>
</fuel>

View file

@ -70,17 +70,30 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</thruster>
</engine>
<tank type="FUEL"> <!-- Left Wing Tank -->
<tank type="FUEL"> <!-- Outer Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -89,24 +102,37 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14281 </capacity>
<contents unit="LBS"> 0 </contents>
<standpipe unit="LBS">43</standpipe>
<capacity unit="LBS"> 14601.44 </capacity>
<contents unit="LBS"> 40.88 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Right Wing Tank -->
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 12147.00 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -118,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -129,13 +155,14 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
</propulsion>
<system file="fuel"/>
<system file="glass-effect1"/>
<system file="a320-fcs"/>
<system file="a320-fuel"/>
<system file="a320-spoiler"/>
<system file="a320-electrical"/>
<system file="a320-hydraulic"/>

View file

@ -70,17 +70,30 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</thruster>
</engine>
<tank type="FUEL"> <!-- Left Wing Tank -->
<tank type="FUEL"> <!-- Outer Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -89,24 +102,37 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14281 </capacity>
<contents unit="LBS"> 0 </contents>
<standpipe unit="LBS">43</standpipe>
<capacity unit="LBS"> 14601.44 </capacity>
<contents unit="LBS"> 40.88 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Right Wing Tank -->
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 13914 </capacity>
<contents unit="LBS"> 6000 </contents>
<standpipe unit="LBS">31</standpipe>
<capacity unit="LBS"> 12147.00 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
<location unit="M">
<x> 18.9231 </x>
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 1552.00 </capacity>
<contents unit="LBS"> 1552.00 </contents>
<unusable-volume unit="LTR"> 17.75 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -118,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -129,13 +155,14 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<type>JET-A1</type>
<density unit="LBS/GAL">6.67</density>
</tank>
</propulsion>
<system file="fuel"/>
<system file="glass-effect1"/>
<system file="a320-fcs"/>
<system file="a320-fuel"/>
<system file="a320-spoiler"/>
<system file="a320-electrical"/>
<system file="a320-hydraulic"/>

2158
Systems/a320-100-fuel.xml Normal file

File diff suppressed because it is too large Load diff

187
Systems/a320-fuel.xml Normal file
View file

@ -0,0 +1,187 @@
<!-- Airbus A320 Fuel -->
<!-- Copyright (c) 2019 Jonathan Redpath -->
<system name="A320: Fuel:">
<channel name="Fuel Pumps and Valves">
<!-- Pumps -->
<switch name="/systems/fuel/pumps/wing-pump-left-1-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-left-1 eq 1
<test logic="OR">
<test logic="AND">
/systems/electrical/sources/idg-1/pmg-volt ge 110
/controls/electrical/switches/gen-1-line-contactor eq 1
</test>
/systems/electrical/bus/ac-1 ge 110
</test>
</test>
</switch>
<switch name="/systems/fuel/pumps/wing-pump-left-2-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-left-2 eq 1
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<switch name="/systems/fuel/pumps/wing-pump-right-1-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-right-1 eq 1
<test logic="OR">
<test logic="AND">
/systems/electrical/sources/idg-1/pmg-volt ge 110
/controls/electrical/switches/gen-1-line-contactor eq 1
</test>
/systems/electrical/bus/ac-1 ge 110
</test>
</test>
</switch>
<switch name="/systems/fuel/pumps/wing-pump-right-2-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-right-2 eq 1
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<switch name="/systems/fuel/pumps/center-pump-1-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-center-1 eq 1
<test logic="OR">
/controls/switches/fuel/center-mode eq 0
<test logic="AND">
fcs/slat-pos-deg lt 16
/systems/fuel/pumps/center-control-low-level ne 1
propulsion/tank[1]/contents-lbs lt 11420
</test>
</test>
/systems/electrical/bus/ac-1 ge 110
</test>
</switch>
<switch name="/systems/fuel/pumps/center-pump-2-operate">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/fuel/pump-center-3 eq 1
<test logic="OR">
/controls/switches/fuel/center-mode eq 0
<test logic="AND">
fcs/slat-pos-deg lt 16
/systems/fuel/pumps/center-control-low-level ne 1
propulsion/tank[3]/contents-lbs lt 11420
</test>
</test>
/systems/electrical/bus/ac-2 ge 110
</test>
</switch>
<actuator name="/systems/fuel/pumps/center-control-low-level">
<description>Timer for the Fuel Center pumps</description>
<input>/systems/fuel/quantity/center-low</input>
<rate_limit sense="decr">100</rate_limit> <!-- Instant -->
<rate_limit sense="incr">0.00333</rate_limit> <!-- 300 seconds -->
</actuator>
<!-- Valves -->
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-1-cmd">
<default value="0"/>
<test logic="AND" value="1">
/systems/fuel/valves/intercell-transfer-valve-1-cmd eq 1
/systems/fuel/refuel/refuelling eq 0
</test>
<test value="1">
/systems/fuel/quantity/left-wing-inner-low eq 1
</test>
</switch>
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-1-power">
<default value="0"/>
<test value="0.333">
/systems/electrical/bus/dc-ess-shed ge 25
</test>
</switch>
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-1">
<input>/systems/fuel/valves/outer-inner-transfer-valve-1-cmd</input>
<rate_limit><property>/systems/fuel/valves/outer-inner-transfer-valve-1-power</property></rate_limit>
</actuator>
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-cmd">
<default value="0"/>
<test logic="AND" value="1">
/systems/fuel/valves/intercell-transfer-valve-2-cmd eq 1
/systems/fuel/refuel/refuelling eq 0
</test>
<test value="1">
/systems/fuel/quantity/right-wing-inner-low eq 1
</test>
</switch>
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-power">
<default value="0"/>
<test value="0.333">
/systems/electrical/bus/dc-ess-shed ge 25
</test>
</switch>
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-2">
<input>/systems/fuel/valves/outer-inner-transfer-valve-2-cmd</input>
<rate_limit><property>/systems/fuel/valves/outer-inner-transfer-valve-2-power</property></rate_limit>
</actuator>
<!-- Engine LP Valves -->
<switch name="/systems/fuel/valves/engine-1-lp-valve-cmd">
<default value="0"/>
<test logic="AND" value="1">
/controls/engines/engine[0]/fire-btn eq 0
/controls/engines/engine[0]/cutoff-switch eq 0
</test>
</switch>
<switch name="/systems/fuel/valves/engine-1-lp-valve-power">
<default value="0"/>
<test logic="OR" value="1.0">
/systems/electrical/bus/dc-ess-shed ge 25
/systems/electrical/bus/dc-2 ge 25
</test>
</switch>
<actuator name="/systems/fuel/valves/engine-1-lp-valve">
<input>/systems/fuel/valves/engine-1-lp-valve-cmd</input>
<rate_limit><property>/systems/fuel/valves/engine-1-lp-valve-power</property></rate_limit>
</actuator>
<switch name="/systems/fuel/valves/engine-2-lp-valve-cmd">
<default value="0"/>
<test logic="AND" value="1">
/controls/engines/engine[1]/fire-btn eq 0
/controls/engines/engine[1]/cutoff-switch eq 0
</test>
</switch>
<switch name="/systems/fuel/valves/engine-2-lp-valve-power">
<default value="0"/>
<test logic="OR" value="1.0">
/systems/electrical/bus/dc-ess-shed ge 25
/systems/electrical/bus/dc-2 ge 25
</test>
</switch>
<actuator name="/systems/fuel/valves/engine-2-lp-valve">
<input>/systems/fuel/valves/engine-2-lp-valve-cmd</input>
<rate_limit><property>/systems/fuel/valves/engine-2-lp-valve-power</property></rate_limit>
</actuator>
</channel>
<channel name="Flow Rates">
</channel>
</system>