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
Help AVSIM continue to serve you!
Please donate today!

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

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