The tank drain priority in flight_model.cfg does not work

Version: 1.5.27.0

Frequency: Consistently

Severity: Blocker

Context: In the flight_model.cfg file, the fuel_tank_priority parameter in [FUEL] does not function. Construction of my latest project underway…

Bug description:
Here is an excerpt from my flight_model.cfg file:

[FUEL]
LeftMain = 0,0,0,84.01,0 ; Aile gauche
RightMain = 0,0,0,84.01,0 ; Aile droite
Center1= 0,0,0,239.87,0 ; Avant
Center2= 0,0,0,62.35,0 ; Arrière
Center3 = 0,0,0,0,0
LeftAux = 0,0,0,0,0
LeftTip = 0,0,0,0,0
RightAux = 0,0,0,0,0
RightTip = 0,0,0,0,0
External1= 0,0,0,356.63,0 ; Flunts Intérieurs
External2= 0,0,0,240.39,0 ; Flunts extérieurs
fuel_type =2
number_of_tank_selectors =1
default_fuel_tank_selector.1=1
fuel_tank_priority= Center2,External2,External1 LeftMain-RightMain,Center1

I have the impression that the problem stems from the external tanks: they always empty first, and both at the same time… Then, the tanks empty in the desired order!
What’s strange is that when setting the fuel quantity via the EFB before the flight, the tanks follow the order specified in the flight_model.cfg file perfectly.

Thank you to the Asobo team for fixing this bug, which is the only issue currently preventing my test pilots, former Swiss Air Force pilots, from being completely satisfied!

1 Like

Hello @Chris-SMS

The documentation probably requires a clarification there, but this parameter does not determine where the fuel is drained from in normal flight. This is determined by the fuel selector(s).

What this parameter controls is what tank will be filled/emptied in priority when adjusting fuel levels or when skipping part of the flight.
For example, this config:
fuel_tank_priority = LeftMain,RightMain,External1,External2
leads to this behavior:
fuel
First listed tank is emptied first and filled last (so documentation saying it has the highest priority is also incorrect here)

Fuel selectors should allow you to achieve what you’re trying to do and if it does not cover your particular need, you will probably need to move to the more advanced fuel system.

Regards,
Sylvain

2 Likes

Merci Sylvain…! I’m going to try using priorities with selectors…!

…23.08.225
It works very well with the selectors. Thanks again for the advice!

But I tried to use fuel transfers with it, in particular the Fuel transfer Key SET_FUEL_TRANSFER_AUTO in this way: 20 19 (>K:2:SET_FUEL_TRANSFER_AUTO) without any success… How does this command work?

1 Like

This K event does not take any parameters.
It also requires to have a CIRCUIT_FUEL_TRANSFER_PUMP circuit defined and active.

Regards,
Sylvain

1 Like

Hello @Chris-SMS

This parameter description was clarified in SDK 1.5.3 documentation

Regards,
Sylvain

1 Like