Jump to content
Sign in to follow this  
phjvh

xml fuel config

Recommended Posts

HiCan someone help me with the following code:A light has to come one when there is an unbalance between the left- and right main fueltanks of app. 1000 lbs.Something like this:{(A:FUEL TANK left MAIN QUANTITY,gallons)(A:Fuel weight per gallon,pounds per gallon)}{(A:FUEL TANK RIGHT MAIN QUANTITY,gallons(A:Fuel weight per gallon,pounds per gallon)} - > 1000FUELThis one doesn't work.Please advice!Thankshttp://www.geocities.com/phjvh/plaatjes/logo.JPG

Share this post


Link to post
Share on other sites
Guest

You could try something like this, as your syntax is a little wrong:(A:FUEL TANK left MAIN QUANTITY,gallons) (A:FUEL TANK right MAIN QUANTITY,gallons) - abs 10 >I believe (not sure though) that fuel weight is constant in FS2002, so unless you're prepared to make temperature variations (when you fuel the aircraft), there is no need to get involved with it.I didn't check the correctness of the variables used, but they "seem" ok. Replace > with & g t ;Don't guarantee it will work, but this would have been my first attempt ;)

Share this post


Link to post
Share on other sites
Guest

Looking good, but I still believe you should use the absolute value, so that it works "both ways". ;)

Share this post


Link to post
Share on other sites

Yes Karl, You 're right.With " - abs 5 > " i can scrap the half formula.ThanksJan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...