Skip to main content

OpenAP Polynomial Model for Emission Research

Project description

Super fast Polynomial Model for Flight Emission Research

This is the simplest aircraft emission model that gives you fuel and co2 estimations based on the aircraft type, distance, and takeoff mass.

This reduced-order aircraft emission model is based on OpenAP.

Quick example

from openap import polymer

flight = polymer.Flight("A320")

flight.fuel(distance=2000, mass=65000)  # in km and kg
flight.co2(distance=2000, mass=65000)

# or even simpler
flight.fuel(distance=2000)
flight.co2(distance=2000)

Visualize the actual model

from openap import polymer

flight = polymer.Flight("A320")

flight.plot()

a320_model

Install

openap.polymer uses openap.top for generating flights with varying flight distances to construct a simplified fuel and emission calculation model.

  1. Create a new conda environment (openap-env), which avoids messing up the base conda environment:
conda create -n openap-env python=3.10 -c conda-forge
  1. Use the openap-env environment
conda activate openap-env
  1. Install dependent libraries:

The most recent version of openap and openap-top:

pip install --upgrade git+https://github.com/junzis/openap
pip install --upgrade git+https://github.com/junzis/openap-top
  1. Install openap.polymer
pip install --upgrade git+https://github.com/junzis/openap-polymer

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openap_polymer-0.1.tar.gz (141.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openap_polymer-0.1-py3-none-any.whl (158.1 kB view details)

Uploaded Python 3

File details

Details for the file openap_polymer-0.1.tar.gz.

File metadata

  • Download URL: openap_polymer-0.1.tar.gz
  • Upload date:
  • Size: 141.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for openap_polymer-0.1.tar.gz
Algorithm Hash digest
SHA256 87d177c4cee65f253f8b74a62bbcbe05175a6d14830f83c16b6bf86cb480c2b2
MD5 c756f9006961f238df2b0a3f748f08b7
BLAKE2b-256 ab9b88ec0609511639953a5febdc5b69474e8c5282aed5eb4046730670cb248b

See more details on using hashes here.

File details

Details for the file openap_polymer-0.1-py3-none-any.whl.

File metadata

  • Download URL: openap_polymer-0.1-py3-none-any.whl
  • Upload date:
  • Size: 158.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for openap_polymer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e436f81c70ddfd32099c5b125586f96afefede961b427b649402b4f3cff80353
MD5 25b02c06609bdd0456364338c16fac3e
BLAKE2b-256 2e2b0762bc40c5424d2287772d569e7d7cb5b55ed4bbe160acdac56f963a09fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page