# Fuel {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} Token Variables - along with the [Gauge API](../gauge-api/) - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new [Vars API](../../vars-api/vars-api/) and [Event API](../../event-api/event-api/), which work with the more extensive and supported [Simulation Variables](../../../simvars/simulation-variables/) and [Key Events](../../../key-events/key-events/). {{< /callout >}} This page lists the available **fuel** [Token Variables](token-variables/) for use when creating gauges using {{< glossterm >}}wasm{{< /glossterm >}} / C++.     ### Fuel Tanks {{< table-wrapper >}} | Parameters | Universal Var Member | Description | |---------------------------------------------------------------------------------|----------------------|---------------------------------------------------------------------------------------------------------------------------| | `FUEL_TANK_LEFT_AUX_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Left Auxiliary fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_LEFT_AUX_LEVEL` | `n` (FLOAT64) | The fuel left in the Left Auxiliary tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_CENTER_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Center (1) fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_CENTER_LEVEL` | `n` (FLOAT64) | The fuel left in the Center (1) tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_CENTER2_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Center (2) fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_CENTER2_LEVEL` | `n` (FLOAT64) | The fuel left in the Center (2) tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_LEFT_MAIN_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Left Main fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_LEFT_MAIN_LEVEL` | `n` (FLOAT64) | The fuel left in the Left Main tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_LEFT_TIP_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Left Tip fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_LEFT_TIP_LEVEL` | `n` (FLOAT64) | The fuel left in the Left Tip tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_RIGHT_AUX_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Right Auxilliary fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_RIGHT_AUX_LEVEL` | `n` (FLOAT64) | The fuel left in the Right Auxilliary tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_RIGHT_MAIN_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Right Main fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_RIGHT_MAIN_LEVEL` | `n` (FLOAT64) | The fuel left in the Right Main tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | | `FUEL_TANK_RIGHT_TIP_CAPACITY` | `n` (FLOAT64) | The maximum capacity of the Right Tip fuel tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUEL_TANK_RIGHT_TIP_LEVEL` | `n` (FLOAT64) | The fuel left in the Right Tip tank expressed as a value between 0 and 8388608, corresponding to 0 to 100 percent. | {{< /table-wrapper >}}     ### General Fuel
ParametersUniversal Var MemberDescription
FUEL_DUMP_ACTIVEb (BOOL)Whether the fuel dump is active (TRUE, 1) or not (FALSE, 0).
FUEL_PUMPb (BOOL)Whether the fuel pump is active (TRUE, 1) or not (FALSE, 0).
FUEL_QUANTITY_CENTER FUEL_QUANTITY_CENTER2 FUEL_QUANTITY_CENTER3n (FLOAT64)The quantity of fuel in the Center 1/2/3 tank, in Gallons.
FUEL_QUANTITY_LEFTn (FLOAT64)The quantity of fuel in the Left tank, in Gallons.
FUEL_QUANTITY_RIGHTn (FLOAT64)The quantity of fuel in the Right tank, in Gallons.

FUEL_TRANSFERT_PUMP_ON

b (BOOL)Whether the transfer pump is active (TRUE, 1) or not (FALSE, 0).
FUEL_WEGHT_PER_GALLONn (FLOAT64)Specifies weight of fuel, in pounds I.F. (6 lbs/gal = 1536)
SELECTED_FUEL_QUANTITY_GALLONSn (FLOAT64)The fuel quantity for the selected tank, in Gallons.
SELECTED_FUEL_QUANTITY_LITERSn (FLOAT64)The fuel quantity for the selected tank, in Liters.
SELECTED_FUEL_QUANTITY_PERCENTn (FLOAT64)The quantity of fuel in the tank expressed as a Percent Over 100.
SELECTED_FUEL_TRANSFER_MODE

e (ENUM)

  1. -1 = off
  2. 0 = auto
  3. 1 = forward
  4. 2 = aft
The transfer mode for the selected fuel tank.
TOTAL_FUEL_QUANTITY_GALLONSn (FLOAT64)The total fuel quantity available from all tanks, in Gallons.
TOTAL_FUEL_QUANTITY_LBSn (FLOAT64)The total fuel quantity available from all tanks, in lbs.
TOTAL_UNUSABLE_FUEL_QUANTITY_GALLONSn (FLOAT64)The total fuel quantity that will not be useable from all tanks, in Gallons.
    ### Fuel System The following fuel system token variables all require that the aircraft is using the [Fuel System](../../../../content-configuration/cfg-files/flight-model/modular-fuel-system-information/) parameters, not the legacy [\[FUEL\]](../../../../content-configuration/cfg-files/flight_model.cfg/#FUEL) parameters. {{< table-wrapper >}} | Parameters | Universal Var Member | Description | |-----------------------------------------------------------------------------------|----------------------|-------------------------------------------------------------------------------------------------------------------------| | `FUELSYSTEM_ENGINE_PRESSURE` | `n` (FLOAT64) | The pressure of the fuel coming to the engine, in kilopascal. | | `FUELSYSTEM_JUNCTION_SETTING` | `n` (FLOAT64) | The fuel system junction setting. | | `FUELSYSTEM_LINE_FUEL_FLOW` | `n` (FLOAT64) | The fuel flowing through the line, in {{< glossterm >}}gallons{{< /glossterm >}} per hour. | | `FUELSYSTEM_LINE_FUEL_LEVEL` | `n` (FLOAT64) | The level of fuel in the line, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUELSYSTEM_LINE_FUEL_PRESSURE` | `n` (FLOAT64) | The fuel pressure in the line, in kilopascals. | | `FUELSYSTEM_PUMP_ACTIVE` | `b` (BOOL) | Whether the fuel system pump is active (TRUE, 1) or not (FALSE, 0). | | `FUELSYSTEM_PUMP_SWITCH` | `b` (BOOL) | Whether the fuel system pump is enabled (TRUE, 1) or not (FALSE, 0). | | `FUELSYSTEM_TANK_CAPACITY` | `n` (FLOAT64) | The total capacity of the tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUELSYSTEM_TANK_LEVEL` | `n` (FLOAT64) | The quantity of fuel available for use in the tank, expressed as a {{< glossterm >}}percent_over_100{{< /glossterm >}}. | | `FUELSYSTEM_TANK_QUANTITY` | `n` (FLOAT64) | The quantity of fuel available for use in the tank, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUELSYSTEM_TANK_TOTAL_QUANTITY` | `n` (FLOAT64) | The total quantity of fuel in the tank, including any that can't be used, in {{< glossterm >}}gallons{{< /glossterm >}}. | | `FUELSYSTEM_TANK_WEIGHT` | `n` (FLOAT64) | The weight of fuel in the fuel tank, in {{< glossterm >}}lbs{{< /glossterm >}}. | | `FUELSYSTEM_TRIGGER_STATUS` | `b` (BOOL) | Whether a trigger is active (TRUE, 1) or not (FALSE, 0). | | `FUELSYSTEM_VALVE_OPEN` | `b` (BOOL) | Whether the valve is open (TRUE, 1) or not (FALSE, 0). | | `FUELSYSTEM_VALVE_SWITCH` | `n` (FLOAT64) | Whether the valve is set to be opened (TRUE, 1) or not (FALSE, 0). | {{< /table-wrapper >}}     ### Engine Fuel Systems
ParametersUniversal Var MemberDescription
ENGINE_1_FUELFLOW_BUG_POSITION ENGINE_2_FUELFLOW_BUG_POSITION ENGINE_3_FUELFLOW_BUG_POSITION ENGINE_4_FUELFLOW_BUG_POSITIONn (FLOAT64)The fuelflow bug position in lbs per hour for engine 1/2/3/4.
ENGINE1_FUEL_PUMP_ON ENGINE2_FUEL_PUMP_ON ENGINE3_FUEL_PUMP_ON ENGINE4_FUEL_PUMP_ONn (FLOAT64)Whether the fuel pump for engine 1/2/3/4 is on (TRUE, 1) or off (FALSE, 0).
GENERAL_ENGINE1_FUEL_PRESSURE GENERAL_ENGINE2_FUEL_PRESSURE GENERAL_ENGINE3_FUEL_PRESSURE GENERAL_ENGINE4_FUEL_PRESSUREn (FLOAT64)The engine 1/2/3/4 fuel pressure, in psf.
GENERAL_ENGINE1_FUEL_VALVE GENERAL_ENGINE2_FUEL_VALVE GENERAL_ENGINE3_FUEL_VALVE GENERAL_ENGINE4_FUEL_VALVEn (FLOAT64)The fuel valve state for engine 1/2/3/4, either open (TRUE, 1) or closed (FALSE, 0).