Fix center tanks
This commit is contained in:
parent
5e64b5a9a9
commit
6da2a26147
2 changed files with 5 additions and 5 deletions
|
@ -2268,7 +2268,7 @@ var canvas_lowerECAM_fuel = {
|
|||
# TODO use the valve prop and add amber if difference between eng master and valve
|
||||
# TODO add transition state
|
||||
# TODO fix amber/green at the same time when closed
|
||||
if (systems.FUEL.Valves.lpValve1.getValue()) == 0) {
|
||||
if (systems.FUEL.Valves.lpValve1.getValue() == 0) {
|
||||
me["FUEL-ENG-Master-1"].setRotation(0);
|
||||
me["FUEL-ENG-Master-1"].setColor(0.0509,0.7529,0.2941);
|
||||
me["FUEL-ENG-1-pipe"].setColor(0.0509,0.7529,0.2941);
|
||||
|
|
|
@ -427,7 +427,7 @@
|
|||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/center-tank-eng-1">
|
||||
<switch name="/systems/fuel/internal/center-tank-left">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
<test logic="OR">
|
||||
|
@ -470,7 +470,7 @@
|
|||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/systems/fuel/internal/center-tank-eng-2">
|
||||
<switch name="/systems/fuel/internal/center-tank-right">
|
||||
<default value="0"/>
|
||||
<test logic="AND" value="9">
|
||||
<test logic="OR">
|
||||
|
@ -521,6 +521,7 @@
|
|||
|
||||
<summer name="/systems/fuel/internal/left-inner-flow-rate">
|
||||
<input>/systems/fuel/internal/left-wing-outer-to-inner-tank</input>
|
||||
<input>/systems/fuel/internal/center-tank-left</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>
|
||||
|
@ -534,6 +535,7 @@
|
|||
|
||||
<summer name="/systems/fuel/internal/right-inner-flow-rate">
|
||||
<input>/systems/fuel/internal/right-wing-outer-to-inner-tank</input>
|
||||
<input>/systems/fuel/internal/center-tank-right</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>
|
||||
|
@ -546,14 +548,12 @@
|
|||
|
||||
<summer name="/systems/fuel/internal/eng-1-flow-rate">
|
||||
<input>/systems/fuel/internal/left-wing-tank-eng-1</input>
|
||||
<input>/systems/fuel/internal/center-tank-eng-1</input>
|
||||
<input>/systems/fuel/internal/right-wing-tank-eng-1</input>
|
||||
<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/center-tank-eng-2</input>
|
||||
<input>/systems/fuel/internal/right-wing-tank-eng-2</input>
|
||||
<output>propulsion/tank[6]/external-flow-rate-pps</output>
|
||||
</summer>
|
||||
|
|
Loading…
Reference in a new issue