Simulate the longitudinal climb and descent phases of a Cessna 182 Skylane’s flight including the aircraft’s change in altitude, speed, fuel consumption, thrust, and lift coefficient.
Process
Develop a JavaScript/HTML flight simulation.
Define the aircraft’s initial flight parameters based on manufacturer specifications and the definition of the International Standard Atmosphere.
Dynamically calculate the aircraft’s thrust, available fuel, lift coefficient, flight path angle, groundspeed, and altitude until available fuel is exhausted.
Dynamically calculate the aircraft’s flight parameters through the descent portion of flight until the aircraft’s altitude reaches zero.
Plot all of the parameters on a normalized axis over traversed ground distance.