import { WeightAndBalanceDatum } from "../datum/datum"; import { WeightAndBalanceMoment } from "./result-types"; /** * Calculate the arm for an object in the aircraft by looking at the moment change * between two consecutive weighings and the known object weight. This is the more * generic version using the results from the empty weighing and then a weighing * with the object/person in the aircraft and weighed again. * * There are caveats with this result, so please read AIRW‐D011 Section 7.1 for more details * * @param emptyResult The base W&B result of the empty aircraft. * @param withObjectResult The calculated result from weighing with the object/person change * @returns The arm calculated from the two weighings */ export declare function calculateArm(emptyResult: WeightAndBalanceMoment, withObjectResult: WeightAndBalanceMoment): number; /** * Calculate the amount of tail ballast needed in order to achieve the desired * loaded CG position. This calculation does not know the maximum amount of * water/blocks that can be placed in the tail, so the pilot must limit the * weight to what can be physically installed. * * If this is already at the aft CG, return 0. * If the pilot weight is outside the allowed seat range provided by the datum * return NaN. * If the pilot weight puts the MAC rearward from the desired MAC (ie requires * a negative weight in the tail), return NaN * * If the desired MAC range is not [0,100] throw an error * * * @param datum W&B datum details * @param emptyResult Base empty W&B result for the aircraft * @param cockpitWeight The combined weight of pilot, parachute and anything else in * the cockpit that would move the CG forward * @param macPercent The percentage of Mean Aerodynamic Chord that is desired. 0 is forward CG limit, 100 is aftCGLimit * @returns The amount of weight to place the CG at the desired position. If this is not * possible, return NaN. */ export declare function calculateTailBallastAmountForCGPosition(datum: WeightAndBalanceDatum, emptyResult: WeightAndBalanceMoment, cockpitWeight: number, macPercent: number): number; //# sourceMappingURL=helpers.d.ts.map