• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

747 fuel panel

Messages
126
Country
italy
Hello,
I would like to realize the fuel panel of 747 in xml format.
I have a total of 7 more different crossfeed valves tanks. How do I determine in which order the fuel must be consumed?
For example if I have all full tanks the engines consume fuel only from the center tank.
 
FS has a default usage sequence for the fuel tanks. It will normally use that sequence. You can program a fuel use gauge to change that order (or force the user to do it manually), but it is not simple programming.
 
Literally I go crazy for the classics.
I would like to be able to realize 747 and 707.
The fuel panels work the same way in these bird.
I know their logic but do not know how to express it in xml
 
By default, FSX use wings tanks in first and ending by center tank. In my Airbus project, I had to write a gauge to manage fuel system, because, sequence in not the same in real life. On an Airbus, center tanks are used in first and after, this is wings tanks.

So, I wrote join a my gauge if that can help you. THis gauge is for A321 (2 engines, 3 center tanks, 1 wing main tank and 1 auxiliary tank per wing).

- I added a "reserve" in center1 tank (when a defined level is reached, gauge switch to wing tanks)
- when a defined low level in wing tanks is reached, there is an alarm
- crossfeed is manager : you can burn fuel from one of the wing tank to feed 1 or two engines : used after a engine fail to equilibrate aircraft.

Your panel must have Crossfeed switch and fuel pump switchs working :

Code:
<!--
G:Var1 is low level flag center tank 1
G:Var4 is low level flag left wing main tank
G:Var5 is low level flag right wing main tank
-->
<FloatPosition>0.000,0.000</FloatPosition>
<Update Frequency="4">
    <Script>
        (* if fuel pumps stopped set selector on main central tank*)
        (A:FUEL TANK SELECTOR:1,enum) 0 !=
        (A:General eng fuel pump switch:1,bool) 1 != and
        (A:Fuel Cross Feed,bool) 0 == and if{ 1 (>K:FUEL_SELECTOR_OFF) }
        (A:FUEL TANK SELECTOR:2,enum) 0 !=
        (A:General eng fuel pump switch:2,bool) 1 != and
        (A:Fuel Cross Feed,bool) 0 == and if{ 1 (>K:FUEL_SELECTOR_2_OFF) }

        (* alarm activated if low level reached *)
        (A:Fuel Tank Center3 Quantity,Gallons) 5 &lt;= if{ 1 (>G:Var1) }
        (A:Fuel Tank Center2 Quantity,Gallons) 5 &lt;= if{ 1 (>G:Var2) }
        (A:Fuel Tank Center Quantity,Gallons) 500 &lt; if{ 1 (>G:Var3) }
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and (A:Fuel left quantity,gallons) 250 &lt; and
        (A:Fuel Tank Selector:1,number) 2 == and
        (L:init_sound,bool) 1 == and if{ 1 (>L:CA_Sound13) 1 (>G:Var4) 1 (>L:Fuel Too low,Bool) }
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (A:Fuel right quantity,gallons) 250 &lt; and
        (A:Fuel Tank Selector:2,number) 3 == and
        (L:init_sound,bool) 1 == and if{ 1 (>L:CA_Sound13) 1 (>G:Var5) 1 (>L:Fuel Too low,Bool) }
        (* annulation alarme *)
        (A:Fuel Cross Feed,bool) 1 == if{ 0 (>L:Fuel Too low,Bool) }

        (* set to central tank 3 if it has some fuel  *)
        (G:Var1) 0 ==
        (A:FUEL TANK SELECTOR:1,enum) 8 != and
        (A:General eng fuel pump switch:1,bool) 1 == and if{ 8 (>K:FUEL_SELECTOR_SET) }
        (G:Var1) 0 ==
        (A:FUEL TANK SELECTOR:2,enum) 8 != and
        (A:General eng fuel pump switch:2,bool) 1 == and if{ 8 (>K:FUEL_SELECTOR_2_SET) }

        (* set to central tank 2 if it has some fuel and central 3 empty *)
        (G:Var1) 1 ==
        (G:Var2) 0 == and
        (A:FUEL TANK SELECTOR:1,enum) 7 != and
        (A:General eng fuel pump switch:1,bool) 1 == and if{ 7 (>K:FUEL_SELECTOR_SET) }
        (G:Var1) 1 ==
        (G:Var2) 0 == and
        (A:FUEL TANK SELECTOR:2,enum) 7 != and
        (A:General eng fuel pump switch:2,bool) 1 == and if{ 7 (>K:FUEL_SELECTOR_2_SET) }

        (* set to central tank 3 if it has some fuel and if central3 and central2 empty *)
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 0 == and
        (A:FUEL TANK SELECTOR:1,enum) 6 != and
        (A:General eng fuel pump switch:1, bool) 1 == and if{ 6 (>K:FUEL_SELECTOR_SET) }
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 0 == and
        (A:FUEL TANK SELECTOR:2,enum) 6 != and
        (A:General eng fuel pump switch:2,bool) 1 == and if{ 6 (>K:FUEL_SELECTOR_2_SET) }

        (* switch to wings tanks when central 1 is in reserve  *)
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (G:Var4) 0 == and
        (A:General eng fuel pump switch:1,bool) 1 == and
        (A:Fuel Cross Feed,bool) 0 == and
        (A:FUEL TANK SELECTOR:1,enum) 2 != and if{ 1 (>K:FUEL_SELECTOR_LEFT) }
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (G:Var5) 0 == and
        (A:General eng fuel pump switch:2,bool) 1 == and
        (A:Fuel Cross Feed,bool) 0 == and
        (A:FUEL TANK SELECTOR:2,enum) 3 != and if{ 1 (>K:FUEL_SELECTOR_2_RIGHT) }

        (* crossfeed : Right wing tank with right pump to feed left engine *)
        (G:Var1) 1 ==
        (G:Var5) 0 == and
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (A:General eng fuel pump switch:1,bool) 0 == and
        (A:Fuel Cross Feed, bool) 0 != and
        (A:FUEL TANK SELECTOR:1, enum) 3 != and if{ 18 (>K:FUEL_SELECTOR_LEFT) 15 (>K:FUEL_SELECTOR_SET) }

        (* crossfeed : left wing tank with left pump to feed right engine *)
        (G:Var1) 1 ==
        (G:Var4) 0 == and
        (G:Var2,number) 1 == and
        (G:Var3,number) 1 == and
        (A:General eng fuel pump switch:2,bool) 0 == and
        (A:Fuel Cross Feed, bool) 0 != and
        (A:FUEL TANK SELECTOR:2, enum) 2 != and if{ 18 (>K:FUEL_SELECTOR_2_RIGHT) 14 (>K:FUEL_SELECTOR_2_SET) }

        (* crossfeed : all tanks to all engines : starting *)
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (A:General eng fuel pump switch:1,bool) 1 == and
        (A:General eng fuel pump switch:2,bool) 1 == and
        (A:Fuel Cross Feed,bool) 0 != and
        (A:FUEL TANK SELECTOR:1,enum) 13 != and if{ 13 (>K:FUEL_SELECTOR_SET) 1 (>K:CROSS_FEED_OPEN)  }
        (G:Var1) 1 ==
        (G:Var2) 1 == and
        (G:Var3) 1 == and
        (A:General eng fuel pump switch:1,bool) 1 == and
        (A:General eng fuel pump switch:2,bool) 1 == and
        (A:Fuel Cross Feed,bool) 0 != and
        (A:FUEL TANK SELECTOR:2,enum) 13 != and if{ 13 (>K:FUEL_SELECTOR_2_SET) 1 (>K:CROSS_FEED_OPEN)  }
    </Script>
</Update>


at the end of this old video, you can see a exemple of the fuel managment with a fire engine (A320 with only one center tank). This video is old, panel was a beta version



Francois
 
Last edited:
Back
Top