FUEL
IMPORTANT! Token Variables - along with the Gauge API - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new Vars API and Event API, which work with the more extensive and supported Simulation Variables and Key Events.
This page lists the available fuel Token Variables for use when creating gauges using WASM / C++.
Fuel Tanks
Parameters | Universal Var Member | Description |
---|---|---|
FUEL_TANK_LEFT_AUX_CAPACITY |
n (FLOAT64) |
The maximum capacity of the Left Auxiliary fuel tank, in Gallons. |
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 Gallons. |
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 Gallons. |
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 Gallons. |
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 Gallons. |
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 Gallons. |
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 Gallons. |
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 Gallons. |
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. |
General Fuel
Parameters | Universal Var Member | Description |
---|---|---|
FUEL_DUMP_ACTIVE |
b (BOOL) |
Whether the fuel dump is active (TRUE, 1) or not (FALSE, 0). |
FUEL_PUMP |
b (BOOL) |
Whether the fuel pump is active (TRUE, 1) or not (FALSE, 0). |
FUEL_QUANTITY_CENTER FUEL_QUANTITY_CENTER2 FUEL_QUANTITY_CENTER3
|
n (FLOAT64) |
The quantity of fuel in the Center 1/2/3 tank, in Gallons. |
FUEL_QUANTITY_LEFT |
n (FLOAT64) |
The quantity of fuel in the Left tank, in Gallons. |
FUEL_QUANTITY_RIGHT |
n (FLOAT64) |
The quantity of fuel in the Right tank, in Gallons. |
b (BOOL) |
Whether the transfer pump is active (TRUE, 1) or not (FALSE, 0). | |
FUEL_WEGHT_PER_GALLON |
n (FLOAT64) |
Specifies weight of fuel, in pounds I.F. (6 lbs/gal = 1536) |
SELECTED_FUEL_QUANTITY_GALLONS |
n (FLOAT64) |
The fuel quantity for the selected tank, in Gallons. |
SELECTED_FUEL_QUANTITY_LITERS |
n (FLOAT64) |
The fuel quantity for the selected tank, in Liters. |
SELECTED_FUEL_QUANTITY_PERCENT |
n (FLOAT64) |
The quantity of fuel in the tank expressed as a Percent Over 100. |
SELECTED_FUEL_TRANSFER_MODE |
|
The transfer mode for the selected fuel tank. |
TOTAL_FUEL_QUANTITY_GALLONS |
n (FLOAT64) |
The total fuel quantity available from all tanks, in Gallons. |
TOTAL_FUEL_QUANTITY_LBS |
n (FLOAT64) |
The total fuel quantity available from all tanks, in lbs. |
TOTAL_UNUSABLE_FUEL_QUANTITY_GALLONS |
n (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 parameters, not the legacy [FUEL] parameters.
Parameters | Universal Var Member | Description |
---|---|---|
FUELSYSTEM_ENGINE_PRESSURE |
n (FLOAT64) |
The pressure of the fuel coming to the engine, in kilopascal. |
FUELSYSTEM_JUNCTION_SETTING |
|
The fuel system junction setting. |
FUELSYSTEM_LINE_FUEL_FLOW |
n (FLOAT64) |
The fuel flowing through the line, in Gallons per hour. |
FUELSYSTEM_LINE_FUEL_LEVEL |
n (FLOAT64) |
The level of fuel in the line, in Gallons. |
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 Gallons. |
FUELSYSTEM_TANK_LEVEL |
n (FLOAT64) |
The quantity of fuel available for use in the tank, expressed as a Percent Over 100. |
FUELSYSTEM_TANK_QUANTITY |
n (FLOAT64) |
The quantity of fuel available for use in the tank, in Gallons. |
FUELSYSTEM_TANK_TOTAL_QUANTITY |
n (FLOAT64) |
The total quantity of fuel in the tank, including any that can't be used, in Gallons. |
FUELSYSTEM_TANK_WEIGHT |
n (FLOAT64) |
The weight of fuel in the fuel tank, in lbs. |
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). |
Engine Fuel Systems
Parameters | Universal Var Member | Description |
---|---|---|
ENGINE_1_FUELFLOW_BUG_POSITION ENGINE_2_FUELFLOW_BUG_POSITION ENGINE_3_FUELFLOW_BUG_POSITION ENGINE_4_FUELFLOW_BUG_POSITION
|
n (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_ON
|
n (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_PRESSURE
|
n (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_VALVE
|
n (FLOAT64) |
The fuel valve state for engine 1/2/3/4, either open (TRUE, 1) or closed (FALSE, 0). |