Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Code:(A:GENERAL ENG FUEL USED SINCE START, Pounds)
Anyone got this variable to work and how??
A engine thats runs on love and air..
The variable works on the DG-808S.
...
Now how do I get to know the value of fuel consumed?
You can also save the amount of fuel at startup.Track it incrementally - fuel flow multiplied by change in elapsed time will give change in fuel used.
Doug
<PartInfo>
<Name>Fuel_Used_Logic</Name>
<Visibility>
<Parameter>
<Code>
(L:Init_Fuel_Start,bool) 0 ==
if{
(A:FUEL TANK LEFT MAIN QUANTITY, liters)
(A:FUEL TANK RIGHT MAIN QUANTITY, liters) +
(A:FUEL TANK CENTER QUANTITY, liters) +
(>L:Fuel_Total_Initial, liters)
1 (>L:Init_Fuel_Start,bool)
}
(A:FUEL TANK LEFT MAIN QUANTITY, liters)
(A:FUEL TANK RIGHT MAIN QUANTITY, liters) +
(A:FUEL TANK CENTER QUANTITY, liters) +
(>L:Fuel_Total_Current, liters)
(L:Fuel_Total_Initial, liters)
(L:Fuel_Total_Current, liters) -
(>L:Fuel_Total_Consumed, liters)
</Code>
</Parameter>
</Visibility>
</PartInfo>
It's what I did.
Searched the forum and come across a code that I modified a little.