# Contributor - Aerospace Blockset for Xcos

Contents

## Description

Develop blocks for modeling and simulating aircraft, spacecraft, rocket, and propulsion systems. Blocks should implement mathematical representations using aerospace standards. Include blocks for modeling equations of motion and for navigation, gain scheduling, visualization, and unit conversion. More details:

Guidance, Navigation, and Control (GNC) library - Include the ability to calculate range between two objects given respective positions. Also include the ability to model a three-axis accelerometer, gyroscope,and inertial measurement unit. Controller forms should include state-space controller blocks (one, two and three dimensional gain scheduling), linear interpolation, observer and self conditioned forms, and matrix interpolation (one, two, and three dimensional).

Propulsion library should include a turbofan engine system block which allows first-order modeling of the engine and controller including thruse, fuel flow relative to throttle position, Mach, and altitude.

Actuators library should include the ability to simulate second-order linear and non-linear actuators.

Mass Properties library should include the ability to model inertia tensor, symmetric inertia tensor, and moments due to forces.

Standards-based reference blocks, including environmental models for gravity, atmosphere, and wind, enable users to verify and validate their vehicle system design.

Equations of motion library for three and six-degrees of freedom systems of both fixed and variable mass. These equations should allow for representation of body, wind, Earth-centered Earth-fixed (ECEF). Fourth and Sixth order point mass equations of motion should allow for representations of vehicle dynamics for multiple body modeling.

Flight parameters library should account for incidence, sideslip, airspeed, Mach number, dynamic pressure, relative ratios, equivalent airspeed, calibrated airspeed, wind angular rate vector, and, for a given geocentric latitude, planet radius. Finally, blocks for calculating and simulating aerodynamic forces and moments are very interesting to users.

Environmental conditions library should include standards-based libraries for environment (atmosphere, gravity, geoid height, magnetic field, and wind), atmosphere (temperatures, densities, zonal wind, geopotential height and pressure), gravity (geoid height, horizontal intensity, declination, inclination, total intensity, and magnetic field vector all at location and time), and wind (shear, generate wind gusts, turbulence, horizontal wind at various angular rates)

The ability to interface to FlightGear for simulation and visualization as well as hardware-based simulations via the mavlink protocol would be interesting to users.

## Ideas

<Ideas>

## Links

### Atmospheric standards

### Gravity standards