Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Where does Fs store the amount of Fuel ?

Featured Replies

Hi everyone,

 

If I change the amount of fuel in the Fuel & Payload menu, where does Fs store this fuel data ?

It is not in the aircraft.cfg file like the payload ...

 

In the [fuel] sector of the aircraft.cfg file you only will find the max amount of fuel the tanks are able to contain.

Those numbers never change.

 

 

Thanks in advance,

Gerard

 

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Words seemed to be that FSX defaults to full tank with no config option, but would keep fuel onboard number in a saved flight. Tools like FSPassenger do track fuel amount on aircrafts registered in them, though.

Jiang/James Wu

FSX/A+SE

  • Author

Mmmm....

Tweak Fs , the Ifly Config Tool are also able to board fuel ...

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

FSX has a number of variables that return current quantity in volume in gallons for the individual tanks - FUEL TANK CENTER QUANTITY, FUEL TANK CENTER2 QUANTITY.... through FUEL TANK EXTERNAL2 QUANTITY. In addition it give FUEL TOTAL QUANTITY.

Gerry Howard

  • Author

FSX has a number of variables that return current quantity in volume in gallons for the individual tanks - FUEL TANK CENTER QUANTITY, FUEL TANK CENTER2 QUANTITY.... through FUEL TANK EXTERNAL2 QUANTITY. In addition it give FUEL TOTAL QUANTITY.

The question remains : where is it stored ?

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

In its Variables - with many other variables.

Gerry Howard

  • Author

In its Variables - with many other variables.

Where specific ? I did not find them in the aircraft.cfg file...

Only the maximum quantity that is useable.

Not what is stored when using the Fuel loader.

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

These values are not stored in the aircraft config files.  Instead, they are stored as variables within the game.  They are not written to a text file and will require some programming/math knowledge to abstract the data you're looking for.  However, said variables can be read via Simconnect or FSUIPC.  What is it exactly you're trying to accomplish? 

Matt King

  • Author

In FSX I used the Ifly and with its Config Manager Tool I could load passengers, baggage and fuel into the aircraft.

 

At this moment I use P3D v3 and the Ifly does not work with it,

So I switched to the default FSX 737 which flies very nicely in P3D v3.

 

What I did : installed the Ifly into P3D v3 . I now use the Config Manager Tool to load passengers and baggage into the aircraft.cfg file.

Then with a batch file I copy these values into the 737 aircraft.cfg file that I use with Project Magenta.

 

That is working fine, as I get the correct load for passengers and baggage .

Only the fuel amount I set does not load.

 

Surely I can use the deault Payload and Fuel loader from Fs , but if I can make the fuel work too that would be great.

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

  • Commercial Member

Then with a batch file I copy these values into the 737 aircraft.cfg file that I use with Project Magenta.

 

You should do this with SimConnect, not changing the cfg files.

 

Cheers!

 

Luke

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

  • Commercial Member

Set the percentages in the Fuel.0 section of a saved flight file Gerard:

 

<Section Name="Fuel.0">

<Property Name="TankSelector" Value="All" />

<Property Name="TankSelector1" Value="All" />

<Property Name="Center" Value="100" />

<Property Name="LeftMain" Value="99.9818" />

<Property Name="RightMain" Value="99.9818" />

<Property Name="LeftAux" Value="100" />

<Property Name="RightAux" Value="100" />

<Property Name="LeftTip" Value="100" />

<Property Name="RightTip" Value="100" />

<Property Name="Center 2" Value="100" />

<Property Name="Center 3" Value="100" />

<Property Name="External 1" Value="100" />

<Property Name="External 2" Value="100" />

</Section>

 

100 = full tank 100%. Planes have fuel tanks, useable, and unusable fuel amounts, specified in the aircraft.cfg.

Steve Waite: Engineer at codelegend.com

  • Author

Thanks Steve .

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Where specific ? I did not find them in the aircraft.cfg file...

Only the maximum quantity that is useable.

Not what is stored when using the Fuel loader.

 

In the FSX SDK in Core Untiities Kit>Variables>Simulation Variables in section Aircraft Fuel Data

Gerry Howard

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.