A software to model Circular Economy policy andtechnological interventions in Environmentally Extended Input-Output Analysis (EXIOBASE V3.3)
Project description
A python package to model Circular Economy policy and technological interventions in Environmentally Extended Input-Output Analysis starting from SUTs (EXIOBASE V3.3)
10.5281/zenodo.1492957
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
1. Installation
1.1. Stable release
Run in your terminal:0
$ pip install pycirk
1.2. From source
Clone repository:
$ git clone https://fdonati@bitbucket.org/CML-IE/pycirk.git
Once you have a copy of the source, you can install it with:
$ python setup.py install
1.3 Data
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
2. Usage
2.1. Import package
import pycirk
2.2. Initialize
my_work = pycirk.Launch(method, directory, aggregation)
2.3. set your scenarios and analysis
Open scenarios.xls in the directory that was specified
From there you can specify interventions and parameters for the analysis
save and continue to the following steps
2.4. Run scenarios
Run one specific scenario
my_work.scenario_results(scen_no, output_dataset) (0 = baseline)
Run all scenarios
my_work.all_results()
2.5. save scenarios
Save your results
my_work.save_results()
2.6. Use from command line
2.6.1. 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. |
2.6.2. Command example
pycirk -tm 0 -dr “” -sc “1” -s True -od False
3. Features
Examples of policies that can be modelled through the software:
sharing
recycling
life extension
rebound effects
substituion
market and value added changes
efficiency
The tables in which it is possible to apply changes:
total requirement matrix (A)
intermediate transactions (Z)
final demand (Y)
primary inputs (W)
emission intermediate extentions (E)
material intermediate extensions (M)
resource intermediate extensions (R)
emission final demand extension (EY)
material final demand extension (MY)
resource final demand extensions (RY)
primary inputs coefficients (w)
emission intermediate extentions coefficients (e)
material intermediate extensions coefficients (m)
resource intermediate extensions coefficients (r)
emission final demand extension coefficients (eY)
material final demand extension coefficients (mY)
resource final demand extensions coefficients (rY)
It is possible to specify:
region of the intervention
whether the intervention affects domestic, import transactions or both
4. Important modules
4.1. scenarios.xls
From this .xls file it is possible to set different types of interventions and the analysis to perform:
matrix = specifies in which matrix of IOT the changes are applied
change_type = Primary and ancillary are only used to specify the type of intervention from a conceptual level
reg_o or reg_d = Regional coordinates (o=origin or row, d=destination or column)
cat_o or cat_d = category (e.g. products or extensions ) coordinates (o=origin or row, d=destination or column)
kt = technical coefficient (max achievable technically); a negative value means reduction; unit = %
ka = absolute values for addition
kp = penetration coefficient (level of market penetration of the policy); unit = %
copy = allows you to copy a specific transation to a different point in the matrices (useful for proxy creation)
substitution = tells the software whether it needs to substitute values among specified categories
sk = which intervention should be substituted
swk = Substitution weighing factor (how much of the original transaction should be substituted); allows to simulate difference in prices and physical properties between categories; unit = %
These can be set for:
product category e.g. C_STEL (basic iron), C_PULP (pulp), etc.
final demand category e.g. F_HOUS (households), F_GOVE (government), etc.
primary input category e.g. E_HRHS (employment highly skilled), T_TLSA (taxes less subsidies), etc.
emissions extensions e.g. E_CO2_c (CO2 - combustion)
material extensions e.g. NI.02 (Nature Inputs: Coking Coal)
resource extension e.g. L_1.1 (Land use - Arable Land - Rice)
Furthemore, from the analysis sheet you can set the following variables to be compared in the analysis:
product categories
primary input categories
emissions extensions
material extensions
resource extensions
region of interest
impact categories # Please see the data_validation_list sheet in the scenarios.xls file for the comprehensive list
6. Credits
Thanks to dr. Arnold Tukker, dr. Joao Dias Rodriguez for the supervision dr. Arjan de Koning for knowledge support in exiobase MSc. Glenn Auguilar Hernandez for testing
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-05-11)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycirk-2.0.tar.gz
.
File metadata
- Download URL: pycirk-2.0.tar.gz
- Upload date:
- Size: 230.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba48e383dc64acbe2ff595006ebce6d3ae3e6c748ccadea347e4a2b4b243f775 |
|
MD5 | 55a4ab953e876586177c7eecf7434efe |
|
BLAKE2b-256 | 1d27090c508d920445fa345dec543329bbbfeb4bffe92444deff186eea4573c7 |
File details
Details for the file pycirk-2.0-py38-none-any.whl
.
File metadata
- Download URL: pycirk-2.0-py38-none-any.whl
- Upload date:
- Size: 151.1 kB
- Tags: Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e4d431824280d02da41c1477a23a77d3ab94a78fbca1a76af851bba67464e2 |
|
MD5 | 79e503d69df623a90fa10aef2ef46b1d |
|
BLAKE2b-256 | 9e090f2938f1a18be3feca54e768efadceb50884016c777632ec2b8f92bef7c2 |