Skip to content

spjuhel/BoARIO

Repository files navigation

BoARIO

GitHub Actions Workflow Status Code Style - Black Contribution - Welcome Licence - GPLv3 PyPI - Version PyPI - Python Version Joss Status

BoARIO : The Adaptative Regional Input Output model in python.

Disclaimer

Indirect impact modeling is tied to a lot of uncertainties and complex dynamics. Any results produced with BoARIO should be interpreted with great care. Do not hesitate to contact the author when using the model !

What is BoARIO ?

BoARIO, is a python implementation project of the Adaptative Regional Input Output (ARIO) model [Hal13].

Its objectives are to give an accessible and inter-operable implementation of ARIO, as well as tools to visualize and analyze simulation outputs and to evaluate the effects of many parameters of the model.

This implementation would not have been possible without the Pymrio module and amazing work of [Sta21].

It is still an ongoing project (in parallel with a PhD project).

You can find most academic literature using ARIO or related models here

What is ARIO ?

ARIO stands for Adaptive Regional Input-Output. It is an hybrid input-output / agent-based economic model, designed to compute indirect costs from economic shocks. Its first version dates back to 2008 and has originally been developed to assess the indirect costs of natural disasters [Hal08].

In ARIO, the economy is modelled as a set of economic sectors and a set of regions. Each economic sector produces its generic product and draws inputs from an inventory. Each sector answers to a total demand consisting of a final demand (household consumption, public spending and private investments) of all regions (local demand and exports) and intermediate demand (through inputs inventory resupply). An initial equilibrium state of the economy is built based on multi-regional input-output tables (MRIOTs).

For a more detailed description, please refer to the Mathematical documentation of the model.

Multi-Regional Input-Output tables

Multi-Regional Input-Output tables (MRIOTs) are comprehensive economic data sets that capture inter-regional trade flows, production activities, and consumption patterns across different regions or countries. These tables provide a detailed breakdown of the flows of goods and services between industries within each region and between regions themselves. MRIOTs are constructed through a combination of national or regional input-output tables, international trade data, and other relevant economic statistics. By integrating data from multiple regions, MRIOTs enable the analysis of global supply chains, international trade dependencies, and the estimation of economic impacts across regions. However, they also come with limitations, such as data inconsistencies across regions, assumptions about trade patterns and production technologies, and the challenge of ensuring coherence and accuracy in the aggregation of data from various sources.

Where to get BoARIO ?

You can install BoARIO from pip with:

pip install boario

Or from conda-forge using conda (or mamba):

conda install -c conda-forge boario

The full source code is also available on Github at: https://github.com/spjuhel/BoARIO

More info in the installation page of the documentation.

How does BoARIO work?

In a nutshell, BoARIO takes the following inputs :

  • a (possibly Environmentally Extended) Multi-Regional IO table (such as EXIOBASE 3 or EORA26) in the form of an pymrio.IOSystem object, using the Pymrio python package. Please reference the Pymrio documentation for details on methods available to pymrio objects.
  • multiple parameters which govern the simulation,
  • event(s) description(s), which are used as the perturbation to analyse during the simulation

And produces the following outputs:

  • the step by step, sector by sector, region by region evolution of most of the variables involved in the simulation (production, demand, stocks, ...)
  • aggregated indicators for the whole simulation (shortages duration, aggregated impacts, ...)

Example of use

See Boario quickstart.

Credits

Associated PhD project

This model is part of my PhD on the indirect impact of extreme events. This work was supported by the French Environment and Energy Management Agency (ADEME).

ADEME Logo

Development

** Samuel Juhel ([email protected])

Contributions

All contributions to the project are welcome !

Acknowledgements

I would like to thank Vincent Viguie, Fabio D'Andrea my PhD supervisors as well as Célian Colon, Alessio Ciulo and Adrien Delahais for their inputs during the model implementation.