Andy Ross replied > Vivian Meazza wrote: > > How do we handle fuel in lbs and account for Avgas/JP4? > > For read access, you will find a level-lbs property also. > But the only one you are allowed to change is the gallons > one. There is a density-ppg property there too, for doing > conversions. It gets set from the FDM with a density > appropriate to the fuel in the tank. > > Here's the complete "documentation" as it appears at the top of > fuel.nas: > > # Properties under /consumables/fuel/tank[n]: > # + level-gal_us - Current fuel load. Can be set by user code. > # + level-lbs - OUTPUT ONLY property, do not try to set > # + selected - boolean indicating tank selection. > # + density-ppg - Fuel density, in lbs/gallon. > # + capacity-gal_us - Tank capacity > # > # Properties under /engines/engine[n]: > # + fuel-consumed-lbs - Output from the FDM, zeroed by this script > # + out-of-fuel - boolean, set by this code. >
In the YASim file we quote tank capacities as lbs (and that is normal AFAIK in UK) and can specify Avgas or JetA. I think but (I'm not sure) that the new fuel code appears to only allow Avgas 80/100/100LL? (Avgas 100 Density @ 15�C 695 (kg/m3)), and not JetA (820 (kg/m3)). JetA is only available in US and Canada, so perhaps JetA-1 (available worldwide) would be more appropriate (804 (kg/m3)). JetA-1 is equivalent (approx - don't ask) to Avtur in UK military use. I can fix up the density for Avtur, when I've worked up the ppg equivalent (phew!!), for my own use if that's required. Or have I got this all wrong? Regards Vivian _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
