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()
Install
openap.polymer uses openap.top for generating flights with varying flight distances to construct a simplified fuel and emission calculation model.
- 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
- Use the
openap-envenvironment
conda activate openap-env
- 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
- Install
openap.polymer
pip install --upgrade git+https://github.com/junzis/openap-polymer
Metadata
Release files for openap-polymer 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openap_polymer-0.1.tar.gz | 141.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openap_polymer-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 299.6 kB
Release files / openap_polymer-0.1.tar.gz
| Download URL | openap_polymer-0.1.tar.gz |
|---|---|
| Size | 141.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87d177c4cee65f253f8b74a62bbcbe05175a6d14830f83c16b6bf86cb480c2b2
|
|
BLAKE2b-256 checksum How to use checksums |
ab9b88ec0609511639953a5febdc5b69474e8c5282aed5eb4046730670cb248b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / openap_polymer-0.1-py3-none-any.whl
| Download URL | openap_polymer-0.1-py3-none-any.whl |
|---|---|
| Size | 158.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e436f81c70ddfd32099c5b125586f96afefede961b427b649402b4f3cff80353
|
|
BLAKE2b-256 checksum How to use checksums |
2e2b0762bc40c5424d2287772d569e7d7cb5b55ed4bbe160acdac56f963a09fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for openap-polymer 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.