# Capital Stranding Cascades This repository contains the code and material for __Cahen-Fourot, L., Campiglio, E., Godin, A., Kemp-Benedict, E. and Trsek, S. (2021): "Capital stranding cascades: The impact of decarbonisation on productive asset utilisation"__. The article, published in Energy Economics, is available open-access [__here__](https://doi.org/10.1016/j.eneco.2021.105581). All code and data necessary to replicate the the results can be found in the [Main](/Main) folder. The __main code file__ is *Cascades_script.R*. It requires the installation of [R](https://cran.r-project.org/). To run the main code, two additional files are required: * A library of functions (*Cascades_function_library.R*) * A version of the World Input-Output Database (WIOD) for the year 2014 (including capital stocks) in which the mining sector has been disaggregated into three separate sectors (*WIOT2014_disaggregated.Rdata*, see [Data](/Data) folder) --- The disaggregation of the WIOD mining sector is conducted in separate preparatory code files (see [WIOD_disaggregation](/WIOD_disaggregation) for code and data). However, to run the main code, it is not necessary to run the preparatory code before. * The script *ICIO_FossilRatios.R* computes ratios for the splitting of the WIOD mining sector from the OECD Inter-Country Input-Output (ICIO) table. This script requires the sector correspondence sheet *ICIO_to_WIOD.xlsx* as well as the OECD ICIO table for the year 2014. To run the code, please download the ICIO table in csv format from the [OECD website](https://www.oecd.org/sti/ind/inter-country-input-output-tables.htm). * The script *WIOD_MiningDisaggregation.R* disaggregates the WIOD mining sector using the ratios from ICIO and balances the disaggregated table by means of a two-step RAS algorithm. It requires the raw WIOD table for the year 2014 (*WIOT2014_October16_ROW.RData*), the WIOD capital stock data and exchange rates for the same year (*capital_stocks_wiod.csv* & *exchange_rate_wiod.csv*) as well as the splitting ratios obtained from ICIO (*FossilRatios2014_ICIO.Rdata*). ## Results The [Results](/Results) folder contains several tables and figures contained in the paper. Below we show some key figures (see paper for more details). - __Stranding cascade__ caused by a marginal supply shock in the __global fossil mining sector__ ([download interactive version](/Results/figures/html/Cascades_global_sectors_HTML.html))\ ![Stranding cascade from the global mining sector](/Results/figures/Cascades_global_sectors.png) - __Stranding caused by domestic fossil sectors__ in other countries (Top 10 countries for external marginal stranding multipliers) ![Top 10 countries for external marginal stranding multipliers](/Results/figures/Lollipop_country.png) - Main __stranding exposure__ links for the __United States__ ![Main exposure links for USA](Results/figures/Exposure_USA_top2.png) ## Licenses __Data__: CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/. The input database we provide is a modified version of the WIOD database (http://www.wiod.org/home), also available with CC-BY 4.0 license. See also: Timmer, M. P., Dietzenbacher, E., Los, B., Stehrer, R. and de Vries, G. J. (2015), "An Illustrated User Guide to the World Input–Output Database: the Case of Global Automotive Production", Review of International Economics., 23: 575–605. __Figures__ in "Results\figures\" folder: CC-BYNCND 4.0: https://creativecommons.org/licenses/by-nc-nd/4.0/. __Code__: MIT (https://choosealicense.com/licenses/mit/); year: 2021; copyright holders: Louison Cahen-Fourot, Emanuele Campiglio, Antoine Godin, Eric Kemp-Benedict, Stefan Trsek. ## Contact For any questions or comments, please write to: emanuele.campiglio@unibo.it