A python package to model Circular Economy policy and technological interventions in Environmentally Extended Input-Output Analysis starting from SUTs (EXIOBASE V3.3)
Documentation: https://pycirk.readthedocs.io/en/latest/readme.html
To cite the use of the software in your research please use the following publication:
“Modeling the circular economy in environmentally extended input-output tables: Methods, software and case study”
https://doi.org/10.1016/j.resconrec.2019.104508
Run in your terminal:
$ pip install pycirk
Clone repository:
$ git clone https://fdonati@bitbucket.org/CML-IE/pycirk.git or
$ git clone https://github.com/CMLPlatform/pycirk.git
Once you have a copy of the source, you can install it with:
$ python setup.py install
You can download the biregional or multiregional database by following this link
http://doi.org/10.5281/zenodo.4695823
You need to place the data inside the package e.g. /home/UserName/.local/lib/python3.6/site-packages/pycirk/data
import pycirk
my_work = pycirk.Launch(method, directory, aggregation, make_secondary)
Run one specific scenario
my_work.scenario_results(scen_no, output_dataset)
(0 = baseline)
Run all scenarios
my_work.all_results()
Save your results
my_work.save_results()
pycirk –help
Usage: pycirk [OPTIONS]
Console script for pycirk. A software to model policy and technological interventions in Environmentally Extended Input-Output Analysis (EXIOBASE V3.3, 2011)
Options:
Command | Variables |
---|---|
-tm, –transf_method TEXT | 0 = PXP ITA_TC; 1 = PXP ITA_MSC |
-dr, –directory TEXT | if left black it will be default |
-ag, –aggregation | 1 = bi-regional (EU-ROW) |
0 = None (49 regions) | |
-sc, –scenario TEXT | all, 1, 2,… accepted - 0=baseline |
-s, –save TEXT | False=no, True=yes |
-od, –output_dataset | False=no, True=yes |
–help | Show this message and exit. |
Command example
pycirk -tm 0 -dr "" -sc "1" -s True -od False
Examples of policies that can be modelled through the software:
The tables in which it is possible to apply changes:
primary inputs (W)
resource final demand extensions (RY)
It is possible to specify:
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage
project template.
Cookiecutter: https://github.com/audreyr/cookiecutter audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage