pyam: Analysis and visualisation of integrated assessment and macro-energy scenarios

The open-source Python package pyam provides a suite of features and methods for the analysis, validation and visualization of reference data and scenario results generated by integrated assessment models, macro-energy tools and other frameworks in the domain of energy transition, climate change mitigation and sustainable development. It bridges the gap between scenario processing and visualisation solutions that are "hard-wired" to specific modelling frameworks and generic data analysis or plotting packages. The package aims to facilitate reproducibility and reliability of scenario processing, validation and analysis by providing well-tested and documented methods for timeseries aggregation, downscaling and unit conversion. It supports various data formats, including sub-annual resolution using continuous time representation and "representative timeslices". The code base is implemented following best practices of collaborative scientific-software development. This manuscript describes the design principles of the package and the types of data which can be handled. The usefulness of pyam is illustrated by highlighting several recent applications.

[1]  F. Arnaud,et al.  From core referencing to data re-use: two French national initiatives to reinforce paleodata stewardship (National Cyber Core Repository and LTER France Retro-Observatory) , 2017 .

[2]  Lex Nederbragt,et al.  Good enough practices in scientific computing , 2016, PLoS Comput. Biol..

[3]  Akimitsu Inoue,et al.  An open-source tool for visualization of climate mitigation scenarios: Mipplot , 2021, Environ. Model. Softw..

[4]  Silicone v1.0.0: an open-source Python package for inferring missing emissions data for climate change research , 2020 .

[5]  John D. Hunter,et al.  Matplotlib: A 2D Graphics Environment , 2007, Computing in Science & Engineering.

[6]  Detlef Stolten,et al.  The future of European onshore wind energy potential: Detailed distribution and simulation of advanced turbine designs , 2019, Energy.

[7]  Karl E. Taylor,et al.  An overview of CMIP5 and the experiment design , 2012 .

[8]  Klaus Zimmermann,et al.  Earth System Model Evaluation Tool (ESMValTool) v2.0 – technical overview , 2020, Geoscientific Model Development.

[9]  Graham Ault,et al.  Translating CIM XML power system data to a proprietary format for system simulation , 2004 .

[10]  Pao-Yu Oei,et al.  Emission Pathways Towards a Low-Carbon Energy System for Europe: A Model-Based Analysis of Decarbonization Scenarios , 2018 .

[11]  Keywan Riahi,et al.  A new scenario resource for integrated 1.5 °C research , 2018, Nature Climate Change.

[12]  Tom Brown,et al.  PyPSA: Python for Power System Analysis , 2017, 1707.09913.

[13]  Karl R. Haapala,et al.  Leveraging Open-Source Tools for Collaborative Macro-energy System Modeling Efforts , 2020, Joule.

[14]  Hans Auer,et al.  Open-source modeling of a low-carbon urban neighborhood with high shares of local renewable generation , 2021 .

[15]  J. DeCarolis,et al.  Energy Scenario Exploration with Modeling to Generate Alternatives (MGA) , 2019, 1912.03788.

[16]  Florian Schäfer,et al.  Pandapower—An Open-Source Python Tool for Convenient Modeling, Analysis, and Optimization of Electric Power Systems , 2017, IEEE Transactions on Power Systems.

[17]  Daniel Huppmann,et al.  pyam: a Python Package for the Analysis and Visualization of Models of the Interaction of Climate, Human, and Environmental Systems , 2019, J. Open Source Softw..

[18]  Keywan Riahi,et al.  A methodology and implementation of automated emissions harmonization for use in Integrated Assessment Models , 2018, Environ. Model. Softw..

[19]  Michael L. Waskom,et al.  Seaborn: Statistical Data Visualization , 2021, J. Open Source Softw..

[20]  Iain Staffell,et al.  Opening the black box of energy modelling: strategies and lessons learned , 2017, ArXiv.

[21]  Luca Cinquini,et al.  Requirements for a global data infrastructure in support of CMIP6 , 2018, Geoscientific Model Development.

[22]  Erik Schultes,et al.  The FAIR Guiding Principles for scientific data management and stewardship , 2016, Scientific Data.

[23]  Geordie Z. Zhang,et al.  Regionally aggregated, stitched and de‐drifted CMIP‐climate data, processed with netCDF‐SCM v2.0.0 , 2021, Geoscience Data Journal.

[24]  R D Zimmerman,et al.  MATPOWER: Steady-State Operations, Planning, and Analysis Tools for Power Systems Research and Education , 2011, IEEE Transactions on Power Systems.

[25]  Stephan Hoyer,et al.  xarray: N-D labeled arrays and datasets in Python , 2017 .

[26]  Veronika Eyring,et al.  Overview of the Coupled Model Intercomparison Project Phase 6 (CMIP6) experimental design and organization , 2015 .