Giter Site home page Giter Site logo

aerospace_utils's Introduction

Aerospace_utils

Aerospace_utils aims to be a collection of useful functions to calculated aeronautical and aerospace related parameters and results.

I don't pretend to create a very complex library with infinite functionallity, but I'll try to add everything I would need for ease calculations needed in my carrer.

Tools

ISA

ISA (International Standard Atmosphere) is an ideal model for Earth Atmosphere, which don't take into account non-idealities of gases, wheater conditions or other gases as water vapor or suspended particles or dust.

isa.py

isa.py implements a series of functions like isa_calc, which calculates the thermodynamical variables of the air at a given altitude.

Usage: gas_state, layer = isa_calc(altitude) where:

  • gas_state = object containing the thermodynamical values at given altitude:
    • gas_state.T = Temperature in kelvin
    • gas_state.p = pressure in Pa
    • gas_state.rho = density in Kg/m3
  • layer = the number of the layer at given altitude
  • altitude: in meters above sea level

isa_print.py

This functions is a simple way to print the results of isa_calc to screen in a command line

Usage: python isa_print.py <altitude_in_meters>

Example:

python isa_print.py 9000
At 9000 you are in the Tropsosphere
  Temperature:  233.65 K = -39.5 degree Celsius
  Pressure:  33630.13 Pa
  Density:  0.50151 kg/m^3

isa_plot.py

This function creates a plot for different thermodynamical parameters as a function of the altitude for a given range.

For a range between 0 to 68000 m the plot will look like:

from isa_plot import isa_plot as plt
plt(h=0,h=68000,N=100)

image

aerospace_utils's People

Contributors

cmolinaord avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.