Skip to main content

Numerical Optimization of Aviation Decarbonization Scenarios with GEMSEO-JAX

Project description

Numerical Optimization of Aviation Decarbonization Scenarios (NOADS)

PyPI Documentation License: LGPL v3 Python

Overview

Numerical Optimization of Aviation Decarbonization Scenarios with GEMSEO-JAX.

Despite being considered a hard-to-abate sector, aviation's emissions will play an important role in long-term climate mitigation of transportation. The introduction of low-carbon energy carriers and the deployment of new aircraft in the current fleet are modeled as a technology-centered decarbonization policy, and supply constraints in targeted market segments are modeled as demand-side policy.

Mitigation scenarios are formulated as optimization problems and three applications are demonstrated: no-policy baselines, single-policy optimization, and scenario-robust policies.

The usual burdens associated with nonlinear optimization with high-dimensional variables are dealt with by jointly using libraries for Multidisciplinary Optimization (GEMSEO) and Automatic Differentiation (JAX), which resulted in speedups of two orders of magnitude at the optimization level, while reducing associated implementation efforts.

NOADS accompanies the paper Numerical optimization of aviation decarbonization scenarios: balancing traffic and emissions with maturing energy carriers and aircraft technology (Costa-Alves et al., Applied Energy, 2026, doi:10.1016/j.apenergy.2026.127631). The documentation includes the paper as a browsable "extended paper" with the full supplementary information.

Citation

If you use NOADS in your research, please cite the paper:

@article{costaalves2026,
    title = {Numerical optimization of aviation decarbonization scenarios: balancing traffic and emissions with maturing energy carriers and aircraft technology},
    journal = {Applied Energy},
    volume = {412},
    pages = {127631},
    year = {2026},
    issn = {0306-2619},
    doi = {https://doi.org/10.1016/j.apenergy.2026.127631},
    url = {https://www.sciencedirect.com/science/article/pii/S0306261926002837},
    author = {Ian Costa-Alves and Nicolas Gourdain and François Gallard and Anne Gazaix and Yri Amandine Kambiri and Thierry Druot},
    keywords = {Multidisciplinary optimization, Low-carbon fuels, Aircraft design, Integrated assessment models, Shared socioeconomic pathways},
}

Installation

Install the latest version from PyPI (Python 3.10-3.12):

pip install noads

JAX runs on CPU by default, which is sufficient to reproduce all the scenarios.

Quick start

from noads.application.examples import single_policy_scenario_optimization

results = single_policy_scenario_optimization(
    global_scenario_name="SSP2-26",  # SSP2 pathway, 2°C target
    technology_index=1,               # mid-tech assumptions
    carbon_budget_percent=3,          # aviation's share of the global CO2 budget
    plot_optimum=True,
)

The documentation covers a 10-minute quickstart, the core concepts, a user guide, runnable example galleries for the elementary models and every scenario family of the paper, and the API reference. Pre-computed optima are shipped in docs/examples/optimization/results/ so the comparison examples run in seconds; the run_*.py scripts reproduce each optimization from scratch.

Documentation

The built documentation, including the "extended paper" and the API reference, is published at iancostalves.github.io/noads. The docs GitHub Actions workflow runs the test suite first (unit tests plus the documentation-deployability checks in tests/test_docs.py) and only builds and publishes the site, on pushes to main, once the tests pass.

To build it locally:

git clone https://github.com/iancostalves/noads.git
cd noads
pip install -e ".[doc]"
sphinx-build -b html docs docs/_build/html

Then open docs/_build/html/index.html in a browser. Equivalently, with tox:

tox -e doc          # one-off build into docs/_build/html
tox -e doc-serve     # live-reloading local server (sphinx-autobuild)

The first build re-executes the plot_*.py example scripts (a few minutes, loading the pre-computed optima shipped in the repo); -W --keep-going is used in CI to fail on any warning. run_*.py scripts (full scenario optimizations, hours of compute) are rendered without execution and are not part of the build.

Development

Clone the repository and install in editable mode with the development extras:

git clone https://github.com/iancostalves/noads.git
cd noads
pip install -e ".[test,doc]"

Common tasks (automated with tox, using tox-uv):

tox -e test         # run the test suite (or: pytest tests/)
tox -e check        # lint and format via pre-commit (ruff)
tox -e doc          # build the documentation with Sphinx into docs/_build/html
tox -e doc-serve    # serve the documentation with live reload
tox -e dist         # build and check the PyPI distribution
tox -e update-deps  # regenerate the frozen requirements files

The documentation is built with Sphinx (MyST markdown, sphinx-book-theme, sphinx-gallery). Example scripts under docs/examples/ follow the sphinx-gallery format: only plot_*.py scripts are executed during the build; run_*.py scripts (full optimizations) are rendered without execution.

Credits

The Generic Airplane Model (GAM) code was re-written in JAX together with Yri Amandine KAMBIRI. For more information on the GAM model please check Kambiri et al., Energy consumption of Aircraft with new propulsion systems and storage media, Scitech Forum, Orlando, January 2024.

Furthermore, open-access data are also used for calibration of air traffic demand (World Bank, ICAO) and for linking the background with a scenario from the IPCC's 6th Assessment Report (AR6 scenario database):

  • Population, total, SP.POP.TOTL; GDP (current US$), NY.GDP.MKTP.CD; Air transport, registered carrier departures worldwide, IS.AIR.DPRT. World Development Indicators. World Bank Group Archives, Washington, D.C., United States.

  • RPK. World Airlines Traffic and Capacity, Airlines for America. Source: ICAO. url: https://www.airlines.org/dataset/world-airlines-traffic-and-capacity/

  • Primary Energy (Biomass); Final Energy (Electricity); Emissions Energy Supply (Electricity); GDP; Population. Variables are taken for a select scenario range, C1 (limit warming to 1.5°C with no or limited overshoot) to C6 (limit warming to 3°C), and can be vizualized here. Source: Byers et al, 2022. AR6 Scenarios Database hosted by IIASA. International Institute for Applied Systems Analysis, 2022. doi: 10.5281/zenodo.5886911 | url: data.ece.iiasa.ac.at/ar6/

Licences

Most of the repository is under the GNU Lesser General Public License v3 (LGPL3), same as GEMSEO and GAM.

However, some equations, such as sigmoid functions instead of custom time-dependent controls for aircraft penetration [noads.core.models.fleet.aircraft_operation] and quadratic load factor [noads.core.models.traffic] are a direct JAX re-implementation of AeroMAPS models, therefore they are left with GNU General Public License v3 (GPL3). The model instantiation [noads.application.base_objects], scenario setup [noads.application.scenario_setup.single_scenario_setup], scenario optimization examples [noads.application.examples] and the documentation that depend on these are also GPL3.

The examples are distributed under the BSD 0-Clause license and the documentation under CC BY-SA 4.0.

Bugs and questions

Please use the GitHub issue tracker to submit bugs or questions.

Contributing

See the contributing section of GEMSEO.

Contributors

  • Ian COSTA ALVES
  • François GALLARD
  • Yri Amandine KAMBIRI

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

noads-1.0.tar.gz (22.2 MB view details)

Uploaded Source

Built Distribution

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

noads-1.0-py3-none-any.whl (985.2 kB view details)

Uploaded Python 3

File details

Details for the file noads-1.0.tar.gz.

File metadata

  • Download URL: noads-1.0.tar.gz
  • Upload date:
  • Size: 22.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noads-1.0.tar.gz
Algorithm Hash digest
SHA256 4ca28ad3ef92cf6c0c9b18758d291b1f7596520ea09ac38ba9eb504ce1ef93fb
MD5 78b54176b1f4aa0ee929b1ad747e9fe6
BLAKE2b-256 83f765bd335d6156076567735bbc284c2eeed7c657f78ff07ef1ac4fb2ae764b

See more details on using hashes here.

Provenance

The following attestation bundles were made for noads-1.0.tar.gz:

Publisher: release.yml on iancostalves/noads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file noads-1.0-py3-none-any.whl.

File metadata

  • Download URL: noads-1.0-py3-none-any.whl
  • Upload date:
  • Size: 985.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noads-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a35e32ae624bb691d174013ba022057c26f681d4c835c5dbb7dc265d7a6a8e0d
MD5 f69fee6925b18fd5fcb811c2ba2a2295
BLAKE2b-256 dedaa56df100c578fac67820df12870e72a1d8a4c8a3695df5cb6cf97c13cada

See more details on using hashes here.

Provenance

The following attestation bundles were made for noads-1.0-py3-none-any.whl:

Publisher: release.yml on iancostalves/noads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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