SHARE
TWEET

fuel.xml

Yanes Oct 14th, 2016 259 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <system name="Fuel">
  5. <!-- tank[1] collector tank connected to the engine fuel pump,
  6. tank[0], tank[2],tank[3] and tank[4] feeds the collector through valves.
  7. Negative Gs (<-0.5g) cuts the supply to the collector tanks -->
  8.  
  9.    <property value="1">propulsion/tank[0]/collector-valve</property>
  10.    <property value="1">propulsion/tank[2]/collector-valve</property>
  11.    <property value="1">propulsion/tank[3]/collector-valve</property>
  12.    <property value="1">propulsion/tank[4]/collector-valve</property>
  13.  
  14.  
  15.   <channel name="Fuel pumping">    
  16.  
  17.     <switch>
  18.             <!-- Tank[0] to Collector tank[1]  -->
  19.       <default value="-1"/>
  20.       <test logic="OR" value="0">
  21.         propulsion/tank[0]/collector-valve EQ 0
  22.         propulsion/tank[0]/contents-lbs LE 0
  23.         propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
  24.         accelerations/Nz LE -0.5
  25.       </test>
  26.       <output>propulsion/tank[0]/external-flow-rate-pps</output>
  27.     </switch>
  28.  
  29.     <switch>
  30.             <!-- Tank[2] to Collector tank[1]  -->
  31.       <default value="-1"/>
  32.       <test logic="OR" value="0">
  33.         propulsion/tank[2]/collector-valve EQ 0
  34.         propulsion/tank[2]/contents-lbs LE 0
  35.         propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
  36.         accelerations/Nz LE -0.5
  37.       </test>
  38.       <output>propulsion/tank[2]/external-flow-rate-pps</output>
  39.     </switch>
  40.    
  41.     <switch>
  42.             <!-- Tank[3] to Collector tank[1]  -->
  43.       <default value="-1"/>
  44.       <test logic="OR" value="0">
  45.         propulsion/tank[3]/collector-valve EQ 0
  46.         propulsion/tank[3]/contents-lbs LE 0
  47.         propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
  48.         accelerations/Nz LE -0.5
  49.       </test>
  50.       <output>propulsion/tank[3]/external-flow-rate-pps</output>
  51.     </switch>
  52.    
  53.     <switch>
  54.             <!-- Tank[4] to Collector tank[1]  -->
  55.       <default value="-1"/>
  56.       <test logic="OR" value="0">
  57.         propulsion/tank[4]/collector-valve EQ 0
  58.         propulsion/tank[4]/contents-lbs LE 0
  59.         propulsion/tank[1]/contents-lbs GE 9170.23 <!-- 1 lb below capacity -->
  60.         accelerations/Nz LE -0.5
  61.       </test>
  62.       <output>propulsion/tank[4]/external-flow-rate-pps</output>
  63.     </switch>
  64.  
  65.     <summer>
  66.       <input>-propulsion/tank[0]/external-flow-rate-pps</input>
  67.       <input>-propulsion/tank[2]/external-flow-rate-pps</input>
  68.       <input>-propulsion/tank[3]/external-flow-rate-pps</input>
  69.       <input>-propulsion/tank[4]/external-flow-rate-pps</input>
  70.       <output>propulsion/tank[1]/external-flow-rate-pps</output>
  71.     </summer>  
  72.  
  73.   </channel>      
  74.  
  75. </system>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top