Jump to content

LBS to KG Change


Nagelfar

Recommended Posts

  • 9 months later...

Hi Jeffrey first I wanna say thank you for PHPVMS..This is really perfect.And Really we want to KG recording..FSACARS is ok but Ireally want to KACARS but they working only with LBS..We are a TURKEY Airliner and we have try KG ;) Thank you and Waiting your help about this problem ;)

Link to comment
Share on other sites

Guest lorathon

Vansers is correct.

kACARS_Free sends the data in lbs, but this is only for consistency. Ther settings in phpVMS will convert the lbs to kg or gallons. That is up to you. There is also a setting in kACARS_Free for the view of fuel. The log can be set to record lbs, kgs, or gals. Look at the settings.

Link to comment
Share on other sites

  • Moderators

Look for this line in your local config in the core folder of your VMS. mine's different, alot of lines.

Look for that line.....

Config::Set('LiquidUnit', '3');   # 0=liter 1=gal 2=kg 3=lbs

And Change the Value to whatever units you want and kACARS will automatically convert to your Setting's Units.

Link to comment
Share on other sites

  • 1 year later...

Hi guys,

Sorry to resurrect this year-old post, but my pilots are reporting some strange issues with fuel usage figures.

For example, a flight of just over an hour in a 757-200 recorded about 13000lbs fuel used, but the PIREP showed 28000kg (my local.config is setup for liquid units in kg).

Now, obviously that figure in kg is way off, so I looked at another PIREP log which showed take off fuel as

4737 lbs and landing with 2921 lbs, so 1816 lbs used. I looked at the kACARS code, which shows that if liquid unit is set to 2, then the conversion to kg is fuelused * .45359237, which in that case would work out as 823.72 kg. However, the PIREP showed 916.71kg !

Can someone shed some light on this issue please ? Is fuel usage definitely the take-off minus landing values, and if so, how come the total is not that of the formula in the code ?

Many thanks,

Nige

Link to comment
Share on other sites

  • 6 months later...

I am confused on this as well. I have a pirep that starts (at takeoff) "With 13196lbs of fuel on board" and lands "With 4554lbs of fuel onboard"

So that is an 8642 lb difference, but it shows "4473.78 fuel used" I know it is from "start record to stop record" as you said, but it would not burn over 4000 additional pounds for the taxi time.

Am I missing something here?!

Link to comment
Share on other sites

Guest lorathon

What do you have your units set to?

local.config.php

Config::Set('LiquidUnit', '2'); # 0=liter 1=gal 2=kg 3=lbs

If it is set to kg as I suspect than it calculates as such ($fuelused = lbs)

$fuelused = $fuelused * .45359237;

8642 * .45359237 = 3919.95 kgs (553 kg for taxi difference)

535 / .45359237 = 1219 lbs for taxi

Last flight I made using an A320 I used 1500 lbs for taxi (total taxi time = 24 minutes)

I am assuming that you are referring to this PIREP

http://www.canadianc...viewreport/2391

Pilot started flight at [18:40]

Take off at [19:05]

Land at [20:52]

End flight at [21:02]

Total time between start flight and end flight less flying time (Taxi time) = 35 minutes.

So I am not sure there is a problem. I have checked and rechecked but will do so again :)

Link to comment
Share on other sites

Guest lorathon

You would have to run a script to recalculate all of the fuelused columns. It could be done but it would take some work

You should be able to run a query in phpadmin like

UPDATE phpvms_pireps SET `fuelused` = ROUND((`fuelused` / .4535927), 2) WHERE 1

I would test this first but it make work for you.

BE SURE TO BACKUP YOUR DB BEFORE DOING ANYTHING LIKE THIS!!!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...