1
0
Fork 0

Fix that engines wouldn't shutdown when LP valves are commanded closed

This commit is contained in:
legoboyvdlp R 2020-08-01 22:26:25 +01:00
parent 701e52198e
commit c175461ea4

View file

@ -542,6 +542,32 @@
</test> </test>
</switch> </switch>
<switch name="rubbish/pipes-unusable-volume-1">
<default value="0"/>
<test logic="AND" value="1.5">
/systems/acconfig/autoconfig-running eq 0
/systems/fuel/valves/engine-1-lp-valve eq 0
</test>
<output>propulsion/tank[5]/unusable-volume-gal</output>
</switch>
<switch name="rubbish/pipes-unusable-volume-2">
<default value="0"/>
<test logic="AND" value="1.5">
/systems/acconfig/autoconfig-running eq 0
/systems/fuel/valves/engine-2-lp-valve eq 0
</test>
<output>propulsion/tank[6]/unusable-volume-gal</output>
</switch>
<switch name="rubbish/pipes-unusable-volume-apu">
<default value="0"/>
<test logic="AND" value="1.5">
/systems/acconfig/autoconfig-running eq 0
/systems/fuel/valves/apu-lp-valve eq 0
</test>
<output>propulsion/tank[7]/unusable-volume-gal</output>
</switch>
<!-- Feed system --> <!-- Feed system -->
<switch name="/systems/fuel/internal/apu-source"> <!-- this only when all pumps off --> <switch name="/systems/fuel/internal/apu-source"> <!-- this only when all pumps off -->
@ -773,7 +799,7 @@
<summer name="/systems/fuel/internal/eng-1-flow-rate"> <summer name="/systems/fuel/internal/eng-1-flow-rate">
<input>/systems/fuel/internal/left-wing-tank-eng-1</input> <input>/systems/fuel/internal/left-wing-tank-eng-1</input>
<input>/systems/fuel/internal/right-wing-tank-eng-1</input> <input>/systems/fuel/internal/right-wing-tank-eng-1</input>
<input>/systems/fuel/internal/center-tank-eng-2</input> <input>/systems/fuel/internal/center-tank-eng-1</input>
<output>propulsion/tank[5]/external-flow-rate-pps</output> <output>propulsion/tank[5]/external-flow-rate-pps</output>
</summer> </summer>