Home > Libraries > FLIGHT_SIM library
FLIGHT_SIM library
General description
The purpose of this library is to demonstrate how flight mechanics problems are modelled by creating a library with the generic elements that represent any aircraft and applying it to the particular case of an F-16.
The majority of development mechanisms and concepts of a complete library have been used in this library: global constants and variables, functions, ports, components, inheritance, aggregation, etc. This example could therefore be very useful when it comes to developing a library for productive purposes.
Palette of symbols
Ports description
- Forces: This port type represents mechanical interactions, forces and moments.
- State: This port type represents the state of the bodies: position, velocity, acceleration, attitude,...
Components description
- AccelSensor: Accelerometer (acceleration sensor).
- Actuator: Hydraulic actuator.
- AOASEnsor: Angle of attack sensor.
- ARI: ARI (Aileron-Rudder Interconnect) actuator for autopilots.
- F16: F-16 aircraft model.
- F16_Autopiloted: F-16 aircraft model with pitch-rate and lateral-directional CAS (Control Augmentation System) autopilots.
- F16Aerodynamics: F-16 aerodynamic model.
- F16Engine: F-16 engine model.
- F16prAutopilot: F-16 lateral-directional CAS (Control Augmentation System) autopilot.
- F16qAutopilot: F-16 pitch-rate CAS (Control Augmentation System) autopilot.
- Frame: six-degrees-of-freedom nonlinear aircraft body model.
- GyroSensor: Gyroscope (angular velocity sensor).
- SDLSensor: Sideslip angle sensor.
- Trimmer: Component used for calculating aircraft control signals for some coordinated steady-state flight conditions.
Flight dynamic example
F16_Autopiloted
This model represents an F-16 aircraft developed with the FLIGHT_SIM library to which we have added two autopilots, pitch-rate and lateral-directional, in order to obtain the response of this aircraft in different manoeuvres.
For this example, a "PitchAutopilot" experiment has been created which consists in a vertical ascent manoeuvre to a height of 7000 metres following by a 360 degree loop. In this experiment we can see, for example, the outline of the trajectory and the longitudinal and vertical accelerations to which the pilot is subjected.


