I have noticed my fuel price on each pirep is getting higher. is this whats suppose to happen? All my fuel prices are set to 0 but when a flight is done the price comes through at over $700 per Kg
It’s grabbing the live price most likely. Prices are going up now since it’s summer time
Yeah but surely $700 per Kg isn’t right. Can it be fixed or can I stop it getting real world prices.
How much fuel was used? And which airport?
100% of my airports are in Australia and 90% are not Flight Sim default. I have added them all in manually. I thought the Live Fuel Price was for USA only. I haven’t got the particular airport and price as I edit them out when I come across them. If I don’t my finances take a huge dive.
Then it won’t goto the the lives prices, it’s whatever price you’ve entered into the airport settings
All of my airport fuel price settings are set to zero. This flight was logged with FSAcars and came through with a fuel price of 1282.35 per Kg.. WOW expensive fuel. Here is the log
[2009/06/15 00:45:00]
Flight IATA:FRA525
Pilot Number:FRA0006
Company ICAO:FRA
Aircraft Type:58 BARON
PAX:6
Aircraft Registration:BE58
Departing Airport: YMIG
Destination Airport: YSCH
Online: No
Route:DIRECT GPS
00:45 Zero fuel Weight: 4443 Lbs, Fuel Weight: 595 Lbs
00:45 Parking Brakes off
00:45 Com1 Freq=128.30
00:46 VR= 080 Knots
00:46 V2= 083 Knots
00:46 Take-off
00:46 Take off Weight: 5037 Lbs
00:46 Wind: 126 @ 000 Knots Heading: 072
00:46 POS S34 26 59 E150 29 54
00:46 N11 99 N12 99
00:46 TOC
00:46 Fuel Weight: 594 Lb
00:46 Flaps:2 at 82 Knots
00:46 Flaps:1 at 90 Knots
00:46 Gear Up: 091 Knots
00:46 Flaps:0 at 116 Knots
01:01 Wind:271@012 Knots Heading: 012 Ground Speed: 172 Knots Altitude 9058 ft
01:16 Wind:278@015 Knots Heading: 029 Ground Speed: 176 Knots Altitude 9061 ft
01:31 Wind:288@021 Knots Heading: 026 Ground Speed: 169 Knots Altitude 9058 ft
01:46 Wind:292@026 Knots Heading: 024 Ground Speed: 167 Knots Altitude 9058 ft
02:01 Wind:290@026 Knots Heading: 032 Ground Speed: 172 Knots Altitude 9055 ft
02:16 Wind:292@019 Knots Heading: 031 Ground Speed: 143 Knots Altitude 6302 ft
02:31 Wind:320@001 Knots Heading: 031 Ground Speed: 146 Knots Altitude 2969 ft
02:36 Gear Down: 125 Knots
02:38 Flaps:1 at 120 Knots
02:40 Flaps:2 at 101 Knots
02:40 TouchDown:Rate -116 ft/min Speed: 82 Knots
02:41 Land
02:41 Wind:290@000 Knots
02:41 Heading: 218
02:41 Flight Duration: 01:55
02:41 Landing Weight: 4789 Lbs
02:41 POS S30 19 56 E153 06 44
02:41 Parking brakes on
02:41 Block to Block Duration: 01:56
02:41 Final Fuel: 346 Lbls
02:41 Spent Fuel: 249 Lbls
02:41 Flight Length: 311 NM
02:41 TOD Land Length: 311 NM
Any ideas?
I’ll post a file tomorrow morning, we can see what’s going on. But my other question was, is it possible it’s calculating the price based on the fuel left?
Is it a US airport? A price of 0 will default to looking online
Departing Airport: YMIG
Destination Airport: YSCH
Both Australian airports. I wouldnt of thought fuel quantity should have anything to do with the kg price.
hello dit you changed the units form lb to kg if so you have to recalculate the fuel pricing my va i lokated in the netherlands and here we use around 0.76 as fuel pricing.
than you get about for us 23 pireps = 280000€ of fuel paymend (thats aboud 40 hours of flying) after some calculating we thought the price is good.
gr joeri
Departing Airport: YMIG
Destination Airport: YSCH
Both Australian airports. I wouldnt of thought fuel quantity should have anything to do with the kg price.
It could be using the wrong amount to calculate your total price (the amount left vs the amount used)
Anyway, create a file called test.php in the same directory as index.php, and paste this into it:
<?php
include 'core/codon.config.php';
echo FuelData::GetFuelPrice('YMMV');
And run the file. Replace the YMMV with your airport (the departure in this case)
Have done the test.php and got the answer of 5.10 being the default value.
Ok, so you have to set the fuel price in the airport dialog box. When you goto airports, select the airport, and set the price there. Or have you done that?
Yes I have done that. All my airports are set to zero. I probably could set them all manually to a figure of say 3.75 and it may fix my issue. But I thought you may want to fault find and fix the problem for future.
It’s because they are set to 0, so it’s using the default value from the config file.
Set the default fuel price in the local.config.php
hmmmm.. I cant find any settings in the core/local.config.php file to do with fuel cost. Am I looking in the right spot?
You have to add it in, the directions are in the post. Copy it from app.config into the local.config
I think I have fudged it as I couldn’t find any directions ??? Will let you know how it goes
Add this to local.config
Config::Set(‘FUEL_GET_LIVE_PRICE’, true);
OK thanks
This is what I have added to the local.config
# Fuel info
/* Default fuel price, for airports that don't have
And the surcharge percentage. View the docs
for more details about these
*/
Config::Set('FUEL_DEFAULT_PRICE', '5.10');
Config::Set('FUEL_SURCHARGE', '5');
Config::Set('FUEL_GET_LIVE_PRICE', true);