1
0
Fork 0

Fuel capacities and refuelling system (no gui yet) added

This commit is contained in:
legoboyvdlp R 2019-11-08 20:33:21 +00:00
parent 8537a20181
commit f1e1dc5b56
7 changed files with 198 additions and 111 deletions

View file

@ -76,11 +76,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
@ -89,11 +89,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12212.50 </capacity>
<capacity unit="LBS"> 12272.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
@ -103,11 +103,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14550.50 </capacity>
<contents unit="LBS"> 40.88 </contents>
<capacity unit="LBS"> 14623.00 </capacity>
<contents unit="LBS"> 42 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
@ -116,11 +116,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12212.50 </capacity>
<capacity unit="LBS"> 12272.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
@ -129,11 +129,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -145,7 +145,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -156,7 +156,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
</propulsion>

View file

@ -76,11 +76,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
@ -89,11 +89,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12520.50 </capacity>
<capacity unit="LBS"> 12591.95 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -102,11 +102,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14550.50 </capacity>
<contents unit="LBS"> 40.88 </contents>
<capacity unit="LBS"> 14623.00 </capacity>
<contents unit="LBS"> 42 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
@ -115,11 +115,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12520.50 </capacity>
<capacity unit="LBS"> 12591.95 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
@ -128,11 +128,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -144,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -155,7 +155,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
</propulsion>

View file

@ -76,11 +76,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
@ -89,11 +89,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12212.50 </capacity>
<capacity unit="LBS"> 12272.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -102,11 +102,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14550.50 </capacity>
<contents unit="LBS"> 40.88 </contents>
<capacity unit="LBS"> 14623.00 </capacity>
<contents unit="LBS"> 42 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
@ -115,11 +115,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12212.50 </capacity>
<capacity unit="LBS"> 12272.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
@ -128,11 +128,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -144,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -155,7 +155,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
</propulsion>

View file

@ -935,6 +935,9 @@
</tank>
<ctr-pump-cmd-on-eng-start type="bool">0</ctr-pump-cmd-on-eng-start>
<refuel>
<left-valve type="bool">0</left-valve>
<center-valve type="bool">0</center-valve>
<right-valve type="bool">0</right-valve>
<refuelling type="bool">0</refuelling>
</refuel>
<fuel-used-1 type="double">0</fuel-used-1>

View file

@ -76,11 +76,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
@ -89,11 +89,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<capacity unit="LBS"> 12155.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -102,11 +102,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14601.44 </capacity>
<contents unit="LBS"> 40.88 </contents>
<capacity unit="LBS"> 14620.00 </capacity>
<contents unit="LBS"> 42 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
@ -115,11 +115,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<capacity unit="LBS"> 12155.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
@ -128,11 +128,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -144,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -155,7 +155,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
</propulsion>

View file

@ -76,11 +76,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Left Wing Tank -->
@ -89,11 +89,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<capacity unit="LBS"> 12155.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Center Tank -->
@ -102,11 +102,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 14601.44 </capacity>
<contents unit="LBS"> 40.88 </contents>
<capacity unit="LBS"> 14620.00 </capacity>
<contents unit="LBS"> 42 </contents>
<unusable-volume unit="LTR"> 23.20 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Inner Right Wing Tank -->
@ -115,11 +115,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 5.1104 </y>
<z> -0.61182 </z>
</location>
<capacity unit="LBS"> 12147.00 </capacity>
<capacity unit="LBS"> 12155.90 </capacity>
<contents unit="LBS"> 6000.00 </contents>
<unusable-volume unit="LTR"> 11.70 </unusable-volume>
<unusable-volume unit="LTR"> 28.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Outer Right Wing Tank -->
@ -128,11 +128,11 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<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>
<capacity unit="LBS"> 1523.00 </capacity>
<contents unit="LBS"> 1523.00 </contents>
<unusable-volume unit="LTR"> 4.0 </unusable-volume>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
<temperature>50</temperature>
</tank>
<tank type="FUEL"> <!-- Engine 1 Pipes -->
@ -144,7 +144,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
<tank type="FUEL"> <!-- Engine 2 Pipes -->
<location unit="M">
@ -155,7 +155,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<capacity unit="LBS">10</capacity>
<contents unit="LBS">0</contents>
<priority>1</priority>
<density unit="LBS/GAL">6.67</density>
<density unit="LBS/GAL">6.71</density>
</tank>
</propulsion>

View file

@ -66,11 +66,11 @@
<default value="0"/>
<test logic="AND" value="1">
/systems/fuel/left-inner-full eq 1
propulsion/tank[1]/contents-lbs lt 11420
propulsion/tank[1]/contents-lbs lt 12270
propulsion/tank[1]/contents-lbs ge 10300
</test>
<test value="1">
propulsion/tank[1]/contents-lbs eq 11420
propulsion/tank[1]/contents-lbs eq 12270
</test>
</switch>
@ -78,11 +78,11 @@
<default value="0"/>
<test logic="AND" value="1">
/systems/fuel/right-inner-full eq 1
propulsion/tank[3]/contents-lbs lt 11420
propulsion/tank[3]/contents-lbs lt 12270
propulsion/tank[3]/contents-lbs ge 10300
</test>
<test value="1">
propulsion/tank[3]/contents-lbs eq 11420
propulsion/tank[3]/contents-lbs eq 12270
</test>
</switch>
@ -172,9 +172,12 @@
/systems/fuel/valves/outer-inner-transfer-valve-1-cmd eq 1
/systems/fuel/refuel/refuelling eq 0
</test>
<test logic="OR" value="1">
/systems/fuel/quantity/left-wing-inner-low eq 1
/systems/fuel/quantity/right-wing-inner-low eq 1
<test logic="AND" value="1">
<test logic="OR">
/systems/fuel/quantity/left-wing-inner-low eq 1
/systems/fuel/quantity/right-wing-inner-low eq 1
</test>
/systems/fuel/refuel/refuelling eq 0
</test>
</switch>
@ -196,9 +199,12 @@
/systems/fuel/valves/outer-inner-transfer-valve-2-cmd eq 1
/systems/fuel/refuel/refuelling eq 0
</test>
<test logic="OR" value="1">
/systems/fuel/quantity/left-wing-inner-low eq 1
/systems/fuel/quantity/right-wing-inner-low eq 1
<test logic="AND" value="1">
<test logic="OR">
/systems/fuel/quantity/left-wing-inner-low eq 1
/systems/fuel/quantity/right-wing-inner-low eq 1
</test>
/systems/fuel/refuel/refuelling eq 0
</test>
</switch>
@ -425,11 +431,84 @@
/systems/fuel/feed-center-1 eq 0
</test>
/systems/fuel/feed-left-inner eq 1
propulsion/tank[1]/contents-lbs gt 31.24
propulsion/tank[1]/contents-lbs gt 22.68
propulsion/tank[5]/contents-lbs lt 9
</test>
</switch>
<switch name="/systems/fuel/internal/left-outer-wing-tank-refuel">
<default value="0"/>
<test logic="AND" value="16.615">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/left-valve eq 1
/systems/fuel/refuel/center-valve eq 0
</test>
<test logic="AND" value="11.076">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/left-valve eq 1
/systems/fuel/refuel/center-valve eq 1
</test>
</switch>
<switch name="/systems/fuel/internal/left-inner-wing-tank-refuel">
<default value="0"/>
<test logic="AND" value="/systems/fuel/internal/left-outer-wing-tank-refuel">
/systems/fuel/refuel/refuelling eq 1
propulsion/tank[0]/contents-lbs ge 1523
</test>
</switch>
<switch name="/systems/fuel/internal/center-tank-refuel">
<default value="0"/>
<test logic="AND" value="33.230">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/right-valve eq 0
/systems/fuel/refuel/center-valve eq 1
</test>
<test logic="AND" value="16.615">
/systems/fuel/refuel/refuelling eq 1
<test logic="OR">
<test logic="AND">
/systems/fuel/refuel/left-valve eq 1
/systems/fuel/refuel/right-valve eq 0
</test>
<test logic="AND">
/systems/fuel/refuel/left-valve eq 0
/systems/fuel/refuel/right-valve eq 1
</test>
</test>
/systems/fuel/refuel/center-valve eq 1
</test>
<test logic="AND" value="11.076">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/left-valve eq 1
/systems/fuel/refuel/right-valve eq 1
/systems/fuel/refuel/center-valve eq 1
</test>
</switch>
<switch name="/systems/fuel/internal/right-outer-wing-tank-refuel">
<default value="0"/>
<test logic="AND" value="16.615">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/right-valve eq 1
/systems/fuel/refuel/center-valve eq 0
</test>
<test logic="AND" value="11.076">
/systems/fuel/refuel/refuelling eq 1
/systems/fuel/refuel/right-valve eq 1
/systems/fuel/refuel/center-valve eq 1
</test>
</switch>
<switch name="/systems/fuel/internal/right-inner-wing-tank-refuel">
<default value="0"/>
<test logic="AND" value="/systems/fuel/internal/right-outer-wing-tank-refuel">
/systems/fuel/refuel/refuelling eq 1
propulsion/tank[4]/contents-lbs ge 1523
</test>
</switch>
<switch name="/systems/fuel/internal/center-tank-eng-1">
<default value="0"/>
<test logic="AND" value="9">
@ -440,7 +519,7 @@
/systems/fuel/valves/crossfeed-valve eq 1
</test>
</test>
propulsion/tank[3]/contents-lbs gt 31.24
propulsion/tank[3]/contents-lbs gt 22.68
propulsion/tank[5]/contents-lbs lt 9
</test>
</switch>
@ -454,7 +533,7 @@
/systems/fuel/feed-center-2 eq 0
</test>
/systems/fuel/valves/crossfeed-valve eq 1
propulsion/tank[3]/contents-lbs gt 31.24
propulsion/tank[3]/contents-lbs gt 22.68
propulsion/tank[5]/contents-lbs lt 9
</test>
</switch>
@ -468,7 +547,7 @@
/systems/fuel/feed-center-1 eq 0
</test>
/systems/fuel/feed-left-inner eq 1
propulsion/tank[1]/contents-lbs gt 31.24
propulsion/tank[1]/contents-lbs gt 22.68
propulsion/tank[6]/contents-lbs lt 9
</test>
</switch>
@ -483,7 +562,7 @@
/systems/fuel/valves/crossfeed-valve eq 1
</test>
</test>
propulsion/tank[3]/contents-lbs gt 31.24
propulsion/tank[3]/contents-lbs gt 22.68
propulsion/tank[6]/contents-lbs lt 9
</test>
</switch>
@ -496,7 +575,7 @@
/systems/fuel/feed-center-2 eq 0
</test>
/systems/fuel/feed-right-inner eq 1
propulsion/tank[3]/contents-lbs gt 31.24
propulsion/tank[3]/contents-lbs gt 22.68
propulsion/tank[6]/contents-lbs lt 9
</test>
</switch>
@ -518,18 +597,21 @@
</switch>
<summer name="/systems/fuel/internal/left-outer-flow-rate">
<input>/systems/fuel/internal/left-outer-wing-tank-refuel</input>
<input>-/systems/fuel/internal/left-wing-outer-to-inner-tank</input>
<output>propulsion/tank[0]/external-flow-rate-pps</output>
</summer>
<summer name="/systems/fuel/internal/left-inner-flow-rate">
<input>/systems/fuel/internal/left-wing-outer-to-inner-tank</input>
<input>/systems/fuel/internal/left-inner-wing-tank-refuel</input>
<input>-/systems/fuel/internal/left-wing-tank-eng-1</input>
<input>-/systems/fuel/internal/left-wing-tank-eng-2</input>
<output>propulsion/tank[1]/external-flow-rate-pps</output>
</summer>
<summer name="/systems/fuel/internal/center-flow-rate">
<input>/systems/fuel/internal/center-tank-refuel</input>
<input>-/systems/fuel/internal/center-tank-eng-1</input>
<input>-/systems/fuel/internal/center-tank-eng-2</input>
<output>propulsion/tank[2]/external-flow-rate-pps</output>
@ -537,12 +619,14 @@
<summer name="/systems/fuel/internal/right-inner-flow-rate">
<input>/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
<input>/systems/fuel/internal/right-inner-wing-tank-refuel</input>
<input>-/systems/fuel/internal/right-wing-tank-eng-1</input>
<input>-/systems/fuel/internal/right-wing-tank-eng-2</input>
<output>propulsion/tank[3]/external-flow-rate-pps</output>
</summer>
<summer name="/systems/fuel/internal/right-outer-flow-rate">
<input>/systems/fuel/internal/right-outer-wing-tank-refuel</input>
<input>-/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
<output>propulsion/tank[4]/external-flow-rate-pps</output>
</summer>