src/AircraftTrajectories/Models/Optimisation/Boeing747-400.cs
/// <summary>
/// Calculate the amound of fuel is consumed in kilograms per second
/// </summary>
/// <param name="totalThrust">The total amound of thrust delivered by all engines</param>
/// <param name="TAS">The current True AirSpeed</param>
/// <param name="altitude">The current altitude</param>
/// <returns></returns>
Calculate the amound of fuel is consumed in kilograms per second
Calculate the amound of fuel is consumed in kilograms per second
public double FuelFLow(double totalThrust, double TAS, double altitude)
        {
            double ktsToMps = 0.514444444;
            double lbsToKg = 0.45359237;
            var isa = new ISA(altitude);
            double machNumber = (TAS * ktsToMps) / isa.VSound;
            double thrust = totalThrust / NumberOfEngines;
            double thrustNormalized = thrust / isa.Delta;
            double temperatureRatio = isa.Theta;
            return NumberOfEngines  * isa.Delta * Math.Pow(temperatureRatio, 0.62) * (
                (826.15 + 2140.5 * machNumber - 382.94 * machNumber * machNumber) +
                (0.2332 + 0.14859 * machNumber - 0.095481 * machNumber * machNumber) * thrustNormalized +
                (0.000001461 + 0.00000901 * machNumber - 0.000010795 * machNumber * machNumber) * thrustNormalized * thrustNormalized
            ) / 3600.0 * lbsToKg;
        }
public double FuelFLow ( double totalThrust , double TAS , double altitude ) { double ktsToMps = 0.514444444 ; double lbsToKg = 0.45359237 ; var isa = new ISA ( altitude ) ; double machNumber = ( TAS * ktsToMps ) / isa . VSound ; double thrust = totalThrust / NumberOfEngines ; double thrustNormalized = thrust / isa . Delta ; double temperatureRatio = isa . Theta ; return NumberOfEngines * isa . Delta * Math . Pow ( temperatureRatio , 0.62 ) * ( ( 826.15 + 2140.5 * machNumber - 382.94 * machNumber * machNumber ) + ( 0.2332 + 0.14859 * machNumber - 0.095481 * machNumber * machNumber ) * thrustNormalized + ( 0.000001461 + 0.00000901 * machNumber - 0.000010795 * machNumber * machNumber ) * thrustNormalized * thrustNormalized ) / 3600.0 * lbsToKg ; }
Calculate the amound of fuel is consumed in kilograms per second
Calculate the amound of fuel is consumed in kilograms per second
None
totalThrust
double
The total amound of thrust delivered by all engines
The total amound of thrust delivered by all engines
TAS
double
The current True AirSpeed
The current True AirSpeed
altitude
double
The current altitude
The current altitude