2020-06-03 15:14:50 +00:00
|
|
|
<?xml version="1.0"?>
|
2019-10-22 16:24:51 +00:00
|
|
|
|
2020-06-03 15:14:50 +00:00
|
|
|
<!-- Airbus A320 Fuel -->
|
2019-10-22 16:24:51 +00:00
|
|
|
<!-- Copyright (c) 2019 Jonathan Redpath -->
|
|
|
|
|
|
|
|
<system name="A320: Fuel:">
|
|
|
|
|
2020-07-19 13:01:13 +00:00
|
|
|
<channel name="Fuel Pumps and Valves" execrate="8">
|
2019-10-22 16:24:51 +00:00
|
|
|
<!-- Pumps -->
|
2019-11-07 21:47:16 +00:00
|
|
|
|
2020-05-19 12:04:33 +00:00
|
|
|
<switch name="/systems/fuel/pumps/apu-operate"> <!-- DC HOT 1 ? -->
|
2019-11-07 21:47:16 +00:00
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/systems/fuel/pumps/all-eng-pump-off eq 1
|
|
|
|
<test logic="OR">
|
2020-04-19 09:20:21 +00:00
|
|
|
/systems/electrical/bus/ac-ess-shed ge 110 <!-- TODO 2QC breaker -->
|
|
|
|
/systems/electrical/bus/ac-si-bus ge 110 <!-- TODO 1QC breaker -->
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-22 16:24:51 +00:00
|
|
|
<switch name="/systems/fuel/pumps/wing-pump-left-1-operate">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-left-1 eq 1
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/left-tank-pump-1 ne 1
|
2019-10-22 16:24:51 +00:00
|
|
|
<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">
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/left-tank-pump-2 ne 1
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-left-2 eq 1
|
2019-10-22 16:24:51 +00:00
|
|
|
/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">
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-right-1 eq 1
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/right-tank-pump-1 ne 1
|
2019-10-22 16:24:51 +00:00
|
|
|
<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">
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/right-tank-pump-2 ne 1
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-right-2 eq 1
|
2019-10-22 16:24:51 +00:00
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
2019-11-09 15:20:53 +00:00
|
|
|
|
|
|
|
<fcs_function name="/systems/fuel/internal/left-inner-tank-underfull-level">
|
|
|
|
<function>
|
|
|
|
<difference>
|
|
|
|
<property>/consumables/fuel/tank[1]/capacity-gal_us</property>
|
|
|
|
<value>106.197</value>
|
|
|
|
</difference>
|
|
|
|
</function>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
<fcs_function name="/systems/fuel/internal/right-inner-tank-underfull-level">
|
|
|
|
<function>
|
|
|
|
<difference>
|
|
|
|
<property>/consumables/fuel/tank[3]/capacity-gal_us</property>
|
|
|
|
<value>106.197</value>
|
|
|
|
</difference>
|
|
|
|
</function>
|
|
|
|
</fcs_function>
|
2019-10-22 16:24:51 +00:00
|
|
|
|
2019-11-07 21:47:16 +00:00
|
|
|
<switch name="/systems/fuel/left-inner-full">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/systems/fuel/left-inner-full eq 1
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[1]/level-norm lt 0.999
|
|
|
|
/consumables/fuel/tank[1]/level-gal_us ge /systems/fuel/internal/left-inner-tank-underfull-level
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
<test value="1">
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[1]/level-norm gt 0.999
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/right-inner-full">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/systems/fuel/right-inner-full eq 1
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[3]/level-norm lt 0.999
|
|
|
|
/consumables/fuel/tank[3]/level-gal_us ge /systems/fuel/internal/right-inner-tank-underfull-level
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
<test value="1">
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[3]/level-norm gt 0.999
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-22 16:24:51 +00:00
|
|
|
<switch name="/systems/fuel/pumps/center-pump-1-operate">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/center-tank-pump-1 ne 1
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-center-1 eq 1
|
2019-10-22 16:24:51 +00:00
|
|
|
<test logic="OR">
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/center-mode eq 0
|
2019-11-09 15:20:53 +00:00
|
|
|
<test logic="AND">
|
2019-11-08 18:42:38 +00:00
|
|
|
/systems/fuel/pumps/center-control-low-level ne 1
|
2019-11-09 15:20:53 +00:00
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/ctr-pump-cmd-on-eng-start eq 1
|
|
|
|
<test logic="AND">
|
|
|
|
fcs/slat-pos-deg lt 16
|
|
|
|
/systems/fuel/left-inner-full ne 1
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
2019-10-22 16:24:51 +00:00
|
|
|
</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">
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/pump-center-2 eq 1
|
2020-06-26 13:00:28 +00:00
|
|
|
/systems/failures/fuel/center-tank-pump-2 ne 1
|
2019-10-22 16:24:51 +00:00
|
|
|
<test logic="OR">
|
2019-11-07 21:47:16 +00:00
|
|
|
/controls/fuel/switches/center-mode eq 0
|
2019-11-09 15:20:53 +00:00
|
|
|
<test logic="AND">
|
2019-11-08 18:42:38 +00:00
|
|
|
/systems/fuel/pumps/center-control-low-level ne 1
|
2019-11-09 15:20:53 +00:00
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/ctr-pump-cmd-on-eng-start eq 1
|
|
|
|
<test logic="AND">
|
|
|
|
fcs/slat-pos-deg lt 16
|
|
|
|
/systems/fuel/left-inner-full ne 1
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
2019-10-22 16:24:51 +00:00
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-07 21:47:16 +00:00
|
|
|
<switch name="/systems/fuel/pumps/all-eng-pump-off">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/systems/fuel/pumps/wing-pump-left-1-operate eq 0
|
|
|
|
/systems/fuel/pumps/wing-pump-left-2-operate eq 0
|
|
|
|
/systems/fuel/pumps/wing-pump-right-1-operate eq 0
|
|
|
|
/systems/fuel/pumps/wing-pump-right-2-operate eq 0
|
|
|
|
/systems/fuel/pumps/center-pump-1-operate eq 0
|
|
|
|
/systems/fuel/pumps/center-pump-2-operate eq 0
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/quantity/left-wing-inner-low">
|
|
|
|
<default value="0"/>
|
|
|
|
<test value="1">
|
|
|
|
propulsion/tank[1]/contents-lbs le 1650
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/quantity/center-low">
|
|
|
|
<default value="0"/>
|
|
|
|
<test value="1">
|
|
|
|
propulsion/tank[2]/contents-lbs le 220
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/quantity/right-wing-inner-low">
|
|
|
|
<default value="0"/>
|
|
|
|
<test value="1">
|
|
|
|
propulsion/tank[3]/contents-lbs le 1650
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-22 16:24:51 +00:00
|
|
|
<actuator name="/systems/fuel/pumps/center-control-low-level">
|
|
|
|
<input>/systems/fuel/quantity/center-low</input>
|
2020-10-20 21:24:29 +00:00
|
|
|
<rate_limit sense="decr">120</rate_limit> <!-- Instant -->
|
2019-10-22 16:24:51 +00:00
|
|
|
<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">
|
2019-11-07 21:47:16 +00:00
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-1-cmd eq 1
|
2019-10-22 16:24:51 +00:00
|
|
|
/systems/fuel/refuel/refuelling eq 0
|
|
|
|
</test>
|
2019-11-08 20:33:21 +00:00
|
|
|
<test logic="AND" value="1">
|
2019-11-11 19:07:01 +00:00
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-1-power ne 0
|
2019-11-08 20:33:21 +00:00
|
|
|
<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
|
2019-10-22 16:24:51 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-1-power">
|
|
|
|
<default value="0"/>
|
2019-11-11 19:07:01 +00:00
|
|
|
<test logic="OR" value="0.333">
|
2019-10-22 16:24:51 +00:00
|
|
|
/systems/electrical/bus/dc-ess-shed ge 25
|
2019-11-11 19:07:01 +00:00
|
|
|
/systems/electrical/bus/dc-2 ge 25
|
2019-10-22 16:24:51 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-1">
|
|
|
|
<input>/systems/fuel/valves/outer-inner-transfer-valve-1-cmd</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<rate_limit>/systems/fuel/valves/outer-inner-transfer-valve-1-power</rate_limit>
|
2019-10-22 16:24:51 +00:00
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-cmd">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
2019-11-07 21:47:16 +00:00
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-2-cmd eq 1
|
2019-10-22 16:24:51 +00:00
|
|
|
/systems/fuel/refuel/refuelling eq 0
|
|
|
|
</test>
|
2019-11-08 20:33:21 +00:00
|
|
|
<test logic="AND" value="1">
|
2019-11-11 19:07:01 +00:00
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-2-power ne 0
|
2019-11-08 20:33:21 +00:00
|
|
|
<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
|
2019-10-22 16:24:51 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/valves/outer-inner-transfer-valve-2-power">
|
|
|
|
<default value="0"/>
|
2019-11-11 19:07:01 +00:00
|
|
|
<test logic="OR" value="0.333">
|
2019-10-22 16:24:51 +00:00
|
|
|
/systems/electrical/bus/dc-ess-shed ge 25
|
2019-11-11 19:07:01 +00:00
|
|
|
/systems/electrical/bus/dc-2 ge 25
|
2019-10-22 16:24:51 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/valves/outer-inner-transfer-valve-2">
|
|
|
|
<input>/systems/fuel/valves/outer-inner-transfer-valve-2-cmd</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<rate_limit>/systems/fuel/valves/outer-inner-transfer-valve-2-power</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<!-- XFeed Valve -->
|
|
|
|
<switch name="/systems/fuel/valves/crossfeed-valve-cmd">
|
|
|
|
<default value="0"/>
|
|
|
|
<test value="1">
|
|
|
|
/controls/fuel/switches/crossfeed eq 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/valves/crossfeed-valve-power">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="0.5">
|
|
|
|
/systems/electrical/bus/dc-2 ge 25
|
|
|
|
/systems/electrical/bus/dc-ess-shed ge 25
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/valves/crossfeed-valve">
|
|
|
|
<input>/systems/fuel/valves/crossfeed-valve-cmd</input>
|
|
|
|
<rate_limit>/systems/fuel/valves/crossfeed-valve-power</rate_limit>
|
2019-10-22 16:24:51 +00:00
|
|
|
</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
|
2022-03-09 17:26:14 +00:00
|
|
|
/engines/engine[0]/state ge 1
|
2019-10-22 16:24:51 +00:00
|
|
|
</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>
|
2019-11-07 21:47:16 +00:00
|
|
|
<rate_limit>/systems/fuel/valves/engine-1-lp-valve-power</rate_limit>
|
2019-10-22 16:24:51 +00:00
|
|
|
</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
|
2022-03-09 17:26:14 +00:00
|
|
|
/engines/engine[1]/state ge 1
|
2019-10-22 16:24:51 +00:00
|
|
|
</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>
|
2019-11-07 21:47:16 +00:00
|
|
|
<rate_limit>/systems/fuel/valves/engine-2-lp-valve-power</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/valves/apu-lp-valve-power">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1.0">
|
2020-04-19 09:20:21 +00:00
|
|
|
/systems/electrical/bus/dc-bat ge 25 <!-- 4WF -->
|
|
|
|
/systems/electrical/bus/dc-hot-1 ge 25 <!-- 3WF -->
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/valves/apu-lp-valve">
|
|
|
|
<input>/systems/fuel/valves/apu-lp-valve-cmd</input>
|
|
|
|
<rate_limit>/systems/fuel/valves/apu-lp-valve-power</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<!-- Pump PSI -->
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/apu-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/apu-operate</input>
|
|
|
|
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/apu-psi">
|
|
|
|
<input>/systems/fuel/pumps/apu-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/wing-pump-left-1-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-left-1-operate</input>
|
|
|
|
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/wing-pump-left-1-psi">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-left-1-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/wing-pump-left-2-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-left-2-operate</input>
|
|
|
|
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/wing-pump-left-2-psi">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-left-2-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/center-pump-1-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/center-pump-1-operate</input>
|
|
|
|
<gain>30</gain> <!-- 11000 lb/h -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/center-pump-1-psi">
|
|
|
|
<input>/systems/fuel/pumps/center-pump-1-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/center-pump-2-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/center-pump-2-operate</input>
|
|
|
|
<gain>30</gain> <!-- 11000 lb/h -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/center-pump-2-psi">
|
|
|
|
<input>/systems/fuel/pumps/center-pump-2-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/wing-pump-right-1-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-right-1-operate</input>
|
|
|
|
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/wing-pump-right-1-psi">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-right-1-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
|
|
|
</actuator>
|
|
|
|
|
|
|
|
<pure_gain name="/systems/fuel/pumps/wing-pump-right-2-psi-cmd">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-right-2-operate</input>
|
|
|
|
<gain>25.3</gain> <!-- 9600 lb/h (guess) -->
|
|
|
|
</pure_gain>
|
|
|
|
|
|
|
|
<actuator name="/systems/fuel/pumps/wing-pump-right-2-psi">
|
|
|
|
<input>/systems/fuel/pumps/wing-pump-right-2-psi-cmd</input>
|
|
|
|
<rate_limit sense="incr">5</rate_limit>
|
|
|
|
<rate_limit sense="decr">10</rate_limit>
|
2019-10-22 16:24:51 +00:00
|
|
|
</actuator>
|
|
|
|
</channel>
|
|
|
|
|
2020-07-19 13:01:13 +00:00
|
|
|
<channel name="Flow Rates" execrate="2">
|
2019-10-22 16:24:51 +00:00
|
|
|
|
2020-09-12 16:43:00 +00:00
|
|
|
<summer name="/systems/fuel/fuel-used-1">
|
|
|
|
<input>/systems/fuel/offset-left</input>
|
|
|
|
<input>propulsion/engine[0]/fuel-used-lbs</input>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/fuel-used-2">
|
|
|
|
<input>/systems/fuel/offset-right</input>
|
|
|
|
<input>propulsion/engine[1]/fuel-used-lbs</input>
|
|
|
|
</summer>
|
|
|
|
|
2019-11-07 21:47:16 +00:00
|
|
|
<switch name="/systems/fuel/feed-left-inner">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
/systems/fuel/pumps/wing-pump-left-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-left-2-operate eq 1
|
|
|
|
</test>
|
2019-11-09 15:59:19 +00:00
|
|
|
<test logic="AND" value="0"> <!-- crossfeeding overrides gravity feed -->
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/pumps/wing-pump-right-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-right-2-operate eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
<test logic="AND" value="1"> <!-- Suction/Gravity feed if G is not to far below 1 -->
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/feed-right-inner">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
/systems/fuel/pumps/wing-pump-right-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-right-2-operate eq 1
|
|
|
|
</test>
|
2019-11-09 15:59:19 +00:00
|
|
|
<test logic="AND" value="0"> <!-- crossfeeding overrides gravity feed -->
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/pumps/wing-pump-left-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-left-2-operate eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
<test logic="AND" value="1"> <!-- Suction/Gravity feed if G is not to far below 1 -->
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/feed-center-1">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
/systems/fuel/pumps/center-pump-1-operate eq 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/feed-center-2">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
/systems/fuel/pumps/center-pump-2-operate eq 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2020-04-17 19:11:44 +00:00
|
|
|
<switch name="/systems/fuel/apu-feed-pump">
|
|
|
|
<default value="0"/>
|
2020-04-17 19:38:05 +00:00
|
|
|
<test logic="AND" value="1">
|
2020-04-17 19:11:44 +00:00
|
|
|
/systems/fuel/pumps/apu-operate eq 1
|
2020-04-17 19:31:06 +00:00
|
|
|
/systems/fuel/valves/apu-lp-valve eq 1
|
2020-04-17 19:11:44 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-09 15:20:53 +00:00
|
|
|
<!-- Refuel system -->
|
2019-11-08 20:33:21 +00:00
|
|
|
<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
|
2019-11-09 15:20:53 +00:00
|
|
|
propulsion/tank[0]/pct-full ge 99.9
|
2019-11-08 20:33:21 +00:00
|
|
|
</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
|
2019-11-09 15:20:53 +00:00
|
|
|
propulsion/tank[4]/pct-full ge 99.9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<!-- Feed system -->
|
2020-04-17 19:28:24 +00:00
|
|
|
|
2020-04-17 19:58:26 +00:00
|
|
|
<switch name="/systems/fuel/internal/apu-source"> <!-- this only when all pumps off -->
|
2020-04-17 19:28:24 +00:00
|
|
|
<default value="0"/> <!-- no fuel -->
|
|
|
|
<test logic="AND" value="2"> <!-- center preferentially, higher psi -->
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/apu-feed-pump eq 1
|
2020-04-17 19:28:24 +00:00
|
|
|
/consumables/fuel/tank[2]/level-gal_us gt /consumables/fuel/tank[2]/unusable-gal_us
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="1"> <!-- left -->
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/apu-feed-pump eq 1
|
2020-04-17 19:28:24 +00:00
|
|
|
/consumables/fuel/tank[1]/level-gal_us gt /consumables/fuel/tank[1]/unusable-gal_us
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="3"> <!-- right -->
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/apu-feed-pump eq 1
|
2020-04-17 19:28:24 +00:00
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
/consumables/fuel/tank[3]/level-gal_us gt /consumables/fuel/tank[3]/unusable-gal_us
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-09 15:20:53 +00:00
|
|
|
<switch name="/systems/fuel/internal/left-wing-tank-eng-1">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-1 eq 0
|
|
|
|
</test>
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/feed-left-inner eq 1
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[1]/level-gal_us gt /consumables/fuel/tank[1]/unusable-gal_us
|
|
|
|
propulsion/tank[5]/contents-lbs lt 9
|
2019-11-08 20:33:21 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-08 17:16:55 +00:00
|
|
|
<switch name="/systems/fuel/internal/center-tank-eng-1">
|
2019-11-07 21:47:16 +00:00
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/feed-center-1 eq 1
|
|
|
|
<test logic="AND">
|
|
|
|
/systems/fuel/feed-center-2 eq 1
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[2]/level-gal_us gt /consumables/fuel/tank[2]/unusable-gal_us
|
2019-11-07 21:47:16 +00:00
|
|
|
propulsion/tank[5]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/right-wing-tank-eng-1">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-2 eq 0
|
|
|
|
</test>
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/feed-right-inner eq 1
|
2019-11-07 21:47:16 +00:00
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
2021-02-25 20:29:12 +00:00
|
|
|
/consumables/fuel/tank[1]/level-gal_us le /consumables/fuel/tank[3]/unusable-gal_us
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[3]/level-gal_us gt /consumables/fuel/tank[3]/unusable-gal_us
|
2019-11-07 21:47:16 +00:00
|
|
|
propulsion/tank[5]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/left-wing-tank-eng-2">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-1 eq 0
|
|
|
|
</test>
|
|
|
|
/systems/fuel/feed-left-inner eq 1
|
2020-04-17 20:09:03 +00:00
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[1]/level-gal_us gt /consumables/fuel/tank[1]/unusable-gal_us
|
2021-02-25 20:29:12 +00:00
|
|
|
/consumables/fuel/tank[3]/level-gal_us le /consumables/fuel/tank[3]/unusable-gal_us
|
2019-11-07 21:47:16 +00:00
|
|
|
propulsion/tank[6]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-08 17:16:55 +00:00
|
|
|
<switch name="/systems/fuel/internal/center-tank-eng-2">
|
2019-11-07 21:47:16 +00:00
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/feed-center-2 eq 1
|
|
|
|
<test logic="AND">
|
|
|
|
/systems/fuel/feed-center-1 eq 1
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[2]/level-gal_us gt /consumables/fuel/tank[2]/unusable-gal_us
|
2019-11-07 21:47:16 +00:00
|
|
|
propulsion/tank[6]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/right-wing-tank-eng-2">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-2 eq 0
|
|
|
|
</test>
|
|
|
|
/systems/fuel/feed-right-inner eq 1
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[3]/level-gal_us gt /consumables/fuel/tank[3]/unusable-gal_us
|
2019-11-07 21:47:16 +00:00
|
|
|
propulsion/tank[6]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2020-04-17 19:58:26 +00:00
|
|
|
<switch name="/systems/fuel/internal/left-wing-tank-apu">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-1 eq 0
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/pumps/wing-pump-left-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-left-2-operate eq 1
|
|
|
|
/systems/fuel/internal/apu-source eq 1
|
|
|
|
</test>
|
|
|
|
/consumables/fuel/tank[1]/level-gal_us gt /consumables/fuel/tank[1]/unusable-gal_us
|
|
|
|
propulsion/tank[7]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/center-tank-apu">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
2020-04-17 19:58:51 +00:00
|
|
|
<test logic="OR">
|
2020-04-17 19:58:26 +00:00
|
|
|
/systems/fuel/feed-center-1 eq 1
|
|
|
|
<test logic="AND">
|
|
|
|
/systems/fuel/feed-center-2 eq 1
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
</test>
|
|
|
|
/systems/fuel/internal/apu-source eq 2
|
|
|
|
</test>
|
|
|
|
/consumables/fuel/tank[2]/level-gal_us gt /consumables/fuel/tank[2]/unusable-gal_us
|
|
|
|
propulsion/tank[7]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/right-wing-tank-apu">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="9">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/center-low eq 1
|
|
|
|
/systems/fuel/feed-center-1 eq 0
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/pumps/wing-pump-right-1-operate eq 1
|
|
|
|
/systems/fuel/pumps/wing-pump-right-2-operate eq 1
|
|
|
|
/systems/fuel/internal/apu-source eq 3
|
|
|
|
</test>
|
|
|
|
/systems/fuel/valves/crossfeed-valve eq 1
|
|
|
|
/consumables/fuel/tank[3]/level-gal_us gt /consumables/fuel/tank[3]/unusable-gal_us
|
|
|
|
propulsion/tank[7]/contents-lbs lt 9
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-11-07 21:47:16 +00:00
|
|
|
<switch name="/systems/fuel/internal/left-wing-outer-to-inner-tank">
|
|
|
|
<default value="0"/>
|
2019-11-16 11:17:50 +00:00
|
|
|
<test logic="AND" value="/systems/fuel/internal/left-outer-wing-tank-refuel">
|
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-1 eq 1
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
|
|
|
/consumables/fuel/tank[0]/level-gal_us gt /consumables/fuel/tank[0]/unusable-gal_us
|
|
|
|
/consumables/fuel/tank[1]/level-norm lt 0.9999
|
|
|
|
/systems/fuel/refuel/refuelling eq 1
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
<test logic="AND" value="9">
|
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-1 eq 1
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[0]/level-gal_us gt /consumables/fuel/tank[0]/unusable-gal_us
|
2019-11-11 19:07:01 +00:00
|
|
|
/consumables/fuel/tank[1]/level-norm lt 0.9999
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/internal/right-wing-outer-to-inner-tank">
|
|
|
|
<default value="0"/>
|
2019-11-16 11:17:50 +00:00
|
|
|
<test logic="AND" value="/systems/fuel/internal/right-outer-wing-tank-refuel">
|
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-2 eq 1
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
|
|
|
/consumables/fuel/tank[4]/level-gal_us gt /consumables/fuel/tank[0]/unusable-gal_us
|
|
|
|
/consumables/fuel/tank[3]/level-norm lt 0.9999
|
|
|
|
/systems/fuel/refuel/refuelling eq 1
|
|
|
|
</test>
|
2019-11-07 21:47:16 +00:00
|
|
|
<test logic="AND" value="9">
|
|
|
|
/systems/fuel/valves/outer-inner-transfer-valve-2 eq 1
|
|
|
|
/accelerations/pilot-gdamped ge 0.5
|
2019-11-09 15:20:53 +00:00
|
|
|
/consumables/fuel/tank[4]/level-gal_us gt /consumables/fuel/tank[4]/unusable-gal_us
|
2019-11-11 19:07:01 +00:00
|
|
|
/consumables/fuel/tank[3]/level-norm lt 0.9999
|
2019-11-07 21:47:16 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
2020-10-19 19:45:33 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Final Flow Rates">
|
2019-11-07 21:47:16 +00:00
|
|
|
<summer name="/systems/fuel/internal/left-outer-flow-rate">
|
2019-11-08 20:33:21 +00:00
|
|
|
<input>/systems/fuel/internal/left-outer-wing-tank-refuel</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<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>
|
2019-11-08 20:33:21 +00:00
|
|
|
<input>/systems/fuel/internal/left-inner-wing-tank-refuel</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<input>-/systems/fuel/internal/left-wing-tank-eng-1</input>
|
|
|
|
<input>-/systems/fuel/internal/left-wing-tank-eng-2</input>
|
2020-04-17 19:58:26 +00:00
|
|
|
<input>-/systems/fuel/internal/left-wing-tank-apu</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<output>propulsion/tank[1]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/center-flow-rate">
|
2019-11-08 20:33:21 +00:00
|
|
|
<input>/systems/fuel/internal/center-tank-refuel</input>
|
2019-11-08 18:22:29 +00:00
|
|
|
<input>-/systems/fuel/internal/center-tank-eng-1</input>
|
|
|
|
<input>-/systems/fuel/internal/center-tank-eng-2</input>
|
2020-04-17 19:58:26 +00:00
|
|
|
<input>-/systems/fuel/internal/center-tank-apu</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<output>propulsion/tank[2]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/right-inner-flow-rate">
|
|
|
|
<input>/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
|
2019-11-08 20:33:21 +00:00
|
|
|
<input>/systems/fuel/internal/right-inner-wing-tank-refuel</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<input>-/systems/fuel/internal/right-wing-tank-eng-1</input>
|
|
|
|
<input>-/systems/fuel/internal/right-wing-tank-eng-2</input>
|
2020-04-17 19:58:26 +00:00
|
|
|
<input>-/systems/fuel/internal/right-wing-tank-apu</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<output>propulsion/tank[3]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/right-outer-flow-rate">
|
2019-11-08 20:33:21 +00:00
|
|
|
<input>/systems/fuel/internal/right-outer-wing-tank-refuel</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<input>-/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
|
|
|
|
<output>propulsion/tank[4]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/eng-1-flow-rate">
|
|
|
|
<input>/systems/fuel/internal/left-wing-tank-eng-1</input>
|
|
|
|
<input>/systems/fuel/internal/right-wing-tank-eng-1</input>
|
2020-08-01 21:26:25 +00:00
|
|
|
<input>/systems/fuel/internal/center-tank-eng-1</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<output>propulsion/tank[5]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/eng-2-flow-rate">
|
|
|
|
<input>/systems/fuel/internal/left-wing-tank-eng-2</input>
|
|
|
|
<input>/systems/fuel/internal/right-wing-tank-eng-2</input>
|
2019-11-08 17:16:55 +00:00
|
|
|
<input>/systems/fuel/internal/center-tank-eng-2</input>
|
2019-11-07 21:47:16 +00:00
|
|
|
<output>propulsion/tank[6]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
2020-04-17 19:58:26 +00:00
|
|
|
|
|
|
|
<summer name="/systems/fuel/internal/apu-flow-rate">
|
|
|
|
<input>/systems/fuel/internal/left-wing-tank-apu</input>
|
|
|
|
<input>/systems/fuel/internal/center-tank-apu</input>
|
2020-07-04 20:18:47 +00:00
|
|
|
<input>/systems/fuel/internal/right-wing-tank-apu</input>
|
2020-04-17 19:58:26 +00:00
|
|
|
<output>propulsion/tank[7]/external-flow-rate-pps</output>
|
|
|
|
</summer>
|
2019-10-22 16:24:51 +00:00
|
|
|
</channel>
|
2020-07-11 19:13:21 +00:00
|
|
|
|
2020-07-19 13:01:13 +00:00
|
|
|
<channel name="Warnings" execrate="8">
|
2020-07-11 19:13:21 +00:00
|
|
|
|
|
|
|
<summer name="/systems/fuel/quantity/left-wing-kg">
|
|
|
|
<input>/consumables/fuel/tank[0]/level-kg</input>
|
|
|
|
<input>/consumables/fuel/tank[1]/level-kg</input>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<summer name="/systems/fuel/quantity/right-wing-kg">
|
|
|
|
<input>/consumables/fuel/tank[3]/level-kg</input>
|
|
|
|
<input>/consumables/fuel/tank[4]/level-kg</input>
|
|
|
|
</summer>
|
|
|
|
|
|
|
|
<switch name="/systems/fuel/mode-fault">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/fuel/quantity/left-wing-kg lt 5000
|
|
|
|
/systems/fuel/quantity/right-wing-kg lt 5000
|
|
|
|
</test>
|
|
|
|
/consumables/fuel/tank[2]/level-kg ge 250
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
</channel>
|
2019-10-22 16:24:51 +00:00
|
|
|
|
|
|
|
</system>
|