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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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