The open-source Python package pyam provides a suite of tools and functions for analyzing and visualizing input data (i.e., assumptions/parametrization) and results (model output) of integrated-assessment models, macro-energy scenarios, energy systems analysis, and sectoral studies.
The comprehensive documentation is hosted on Read the Docs!
The pyam package was initially developed to work with the IAMC template, a timeseries format for yearly data developed and used by the Integrated Assessment Modeling Consortium (IAMC).
|MESSAGE||CD-LINKS 400||World||Primary Energy||EJ/y||462.5||500.7||...|
The package also supports timeseries data with a sub-annual time resolution:
An introduction to the basic functions is shown in the "first-steps" notebook.
All tutorials are available in rendered format (i.e., with output) as part of the online documentation. The source code of the tutorials notebooks is available in the folder doc/source/tutorials of this repository.
The comprehensive documentation is hosted on Read the Docs.
The documentation pages can be built locally, refer to the instruction in doc/README.
See the complete list of contributors.
The following manuscripts describe the pyam package at specific stages of development.
The source documents are available in the manuscripts folder of the GitHub repository.
Published to mark the first major release of the pyam package.
Daniel Huppmann, Matthew Gidden, Zebedee Nicholls, Jonas Hörsch, Robin Lamboll, Paul Natsuo Kishimoto, Thorsten Burandt, Oliver Fricko, Edward Byers, Jarmo Kikstra, Maarten Brinkerink, Maik Budzinski, Florian Maczek, Sebastian Zwickl-Bernhard, Lara Welder, Erik Francisco Alvarez Quispe, and Christopher J. Smith. pyam: Analysis and visualisation of integrated assessment and macro-energy scenarios. Open Research Europe, 2021. doi: 10.12688/openreseurope.13633.2
Published following the successful application of pyam in the IPCC SR15 and the Horizon 2020 CRESCENDO project.
Matthew Gidden and Daniel Huppmann. pyam: a Python package for the analysis and visualization of models of the interaction of climate, human, and environmental systems. Journal of Open Source Software (JOSS), 4(33):1095, 2019. doi: 10.21105/joss.01095.
Copyright 2017-2021 IIASA and the pyam developer team
For basic instructions, please read the docs!
To install from source (including all dependencies) after cloning this repository, simply run
pip install --editable .[tests,optional_io_formats,tutorials]
To check that the package was installed correctly, run