After modeling the aircraft and its environment, the next task is implementing those models in a computer. This section describes the implementation of the flight simulator program.
The flight simulator program internally has five different tasks: input, calculations, output, time synchronization, and support tasks. Input refers to getting the control values from the user, such as positions of the yoke, throttle, and pedals, or whether a button has been pressed or a switch has been toggled. Calculations refer to the process of numerically integrating the state variables. Output refers to displaying the aircraft and its surroundings in the current state, as in drawing the scenery and instrument panel. Time synchronization code makes sure virtual time is the same as real time. Support tasks refer to tasks that are not directly involved in flight simulation, such as loading the scenery from a file. This paper does not cover support tasks.